diff mbox series

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

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

Commit Message

SEO HOYOUNG March 24, 2022, 5:21 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

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

Comments

Alim Akhtar March 25, 2022, 7:15 a.m. UTC | #1
>-----Original Message-----
>From: SEO HOYOUNG [mailto:hy50.seo@samsung.com]
>Sent: Thursday, March 24, 2022 10:51 PM
>To: linux-scsi@vger.kernel.org; linux-kernel@vger.kernel.org;
>alim.akhtar@samsung.com; avri.altman@wdc.com; jejb@linux.ibm.com;
>martin.petersen@oracle.com; beanhuo@micron.com;
>asutoshd@codeaurora.org; cang@codeaurora.org; bvanassche@acm.org;
>bhoon95.kim@samsung.com; kwmad.kim@samsung.com
>Cc: SEO HOYOUNG <hy50.seo@samsung.com>
>Subject: [PATCH v1] scsi: ufs: unipro: add to define HS-Gear5 mode
>
>UFS devices support HS-Gear5 mode with UFS4.0 spec.
>However there is no definition of HS-Gear5.
>So added it in unipro header
>
>Change-Id: Id5475005000fe66b432ab76fa3364a8c12296f7c


Change-id should not be part of this, please run checkpatch to catch such things

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

I don’t have access to UFS4.0 spec yet, so not sure if this is the only change required for UFS4.0
Without having added support for UFS4.0, just updating HS gear does not make much sense

> };

>
> enum ufs_unipro_ver {
>--
>2.26.0
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 {