diff mbox series

[v2] scsi: ufs: unipro: add to define HS-Gear5 mode

Message ID 20220324201410.59187-1-hy50.seo@samsung.com (mailing list archive)
State Changes Requested
Headers show
Series [v2] scsi: ufs: unipro: add to define HS-Gear5 mode | expand

Commit Message

SEO HOYOUNG March 24, 2022, 8:14 p.m. UTC
UFS devices support HS-Gear5 mode with UFS4.0 spec.
However there is no definition of HS-Gear5.
So added it in unipro header

- there is no another mainline need to changed for
support GEAR5 with UFS4.0 spec.
It just need to check if the device supports HS-gear5.
And send to PMC command to changed HS-gear5.
It is a definition to check if the device supports
- delete change-id

Signed-off-by: SEO HOYOUNG <hy50.seo@samsung.com>
---
 drivers/scsi/ufs/unipro.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Bart Van Assche March 25, 2022, 3:34 p.m. UTC | #1
On 3/24/22 13:14, SEO HOYOUNG wrote:
> diff --git a/drivers/scsi/ufs/unipro.h b/drivers/scsi/ufs/unipro.h
> index 8e9e486a4f7b..0d2131e1f027 100644
> --- a/drivers/scsi/ufs/unipro.h
> +++ b/drivers/scsi/ufs/unipro.h
> @@ -231,6 +231,7 @@ enum ufs_hs_gear_tag {
>   	UFS_HS_G2,		/* HS Gear 2 */
>   	UFS_HS_G3,		/* HS Gear 3 */
>   	UFS_HS_G4,		/* HS Gear 4 */
> +	UFS_HS_G5,		/* HS Gear 5 */
>   };

Where is the code that uses this new constant?

Thanks,

Bart.
diff mbox series

Patch

diff --git a/drivers/scsi/ufs/unipro.h b/drivers/scsi/ufs/unipro.h
index 8e9e486a4f7b..0d2131e1f027 100644
--- a/drivers/scsi/ufs/unipro.h
+++ b/drivers/scsi/ufs/unipro.h
@@ -231,6 +231,7 @@  enum ufs_hs_gear_tag {
 	UFS_HS_G2,		/* HS Gear 2 */
 	UFS_HS_G3,		/* HS Gear 3 */
 	UFS_HS_G4,		/* HS Gear 4 */
+	UFS_HS_G5,		/* HS Gear 5 */
 };
 
 enum ufs_unipro_ver {