diff mbox

scsi: ufs: enable no vccq quirk for skhynix device

Message ID 1474901905-21551-1-git-send-email-kyuho.choi@sk.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Kyuho Choi Sept. 26, 2016, 2:58 p.m. UTC
This patch enable no vccq quirk for SKHynix devices.
SKHynix ufs device don't need vccq vrail for device operation.

Signed-off-by: Kyuho Choi <kyuho.choi@sk.com>
---
 drivers/scsi/ufs/ufs_quirks.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

subhashj@codeaurora.org Sept. 27, 2016, 8:09 p.m. UTC | #1
Looks good to me.
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>

On 2016-09-26 07:58, Kyuho Choi wrote:
> This patch enable no vccq quirk for SKHynix devices.
> SKHynix ufs device don't need vccq vrail for device operation.
> 
> Signed-off-by: Kyuho Choi <kyuho.choi@sk.com>
> ---
>  drivers/scsi/ufs/ufs_quirks.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/scsi/ufs/ufs_quirks.h 
> b/drivers/scsi/ufs/ufs_quirks.h
> index ee4ab85..22f881e 100644
> --- a/drivers/scsi/ufs/ufs_quirks.h
> +++ b/drivers/scsi/ufs/ufs_quirks.h
> @@ -25,6 +25,7 @@
> 
>  #define UFS_VENDOR_TOSHIBA     0x198
>  #define UFS_VENDOR_SAMSUNG     0x1CE
> +#define UFS_VENDOR_SKHYNIX     0x1AD
> 
>  /**
>   * ufs_device_info - ufs device details
> @@ -145,6 +146,7 @@ static struct ufs_dev_fix ufs_fixups[] = {
>  		UFS_DEVICE_QUIRK_PA_TACTIVATE),
>  	UFS_FIX(UFS_VENDOR_TOSHIBA, "THGLF2G9D8KBADG",
>  		UFS_DEVICE_QUIRK_PA_TACTIVATE),
> +	UFS_FIX(UFS_VENDOR_SKHYNIX, UFS_ANY_MODEL, UFS_DEVICE_NO_VCCQ),
> 
>  	END_FIX
>  };
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Martin K. Petersen Sept. 28, 2016, 5:09 a.m. UTC | #2
>>>>> "Kyuho" == Kyuho Choi <chlrbgh0@gmail.com> writes:

Kyuho> This patch enable no vccq quirk for SKHynix devices.  SKHynix ufs
Kyuho> device don't need vccq vrail for device operation.

Applied to 4.9/scsi-queue.
diff mbox

Patch

diff --git a/drivers/scsi/ufs/ufs_quirks.h b/drivers/scsi/ufs/ufs_quirks.h
index ee4ab85..22f881e 100644
--- a/drivers/scsi/ufs/ufs_quirks.h
+++ b/drivers/scsi/ufs/ufs_quirks.h
@@ -25,6 +25,7 @@ 
 
 #define UFS_VENDOR_TOSHIBA     0x198
 #define UFS_VENDOR_SAMSUNG     0x1CE
+#define UFS_VENDOR_SKHYNIX     0x1AD
 
 /**
  * ufs_device_info - ufs device details
@@ -145,6 +146,7 @@  static struct ufs_dev_fix ufs_fixups[] = {
 		UFS_DEVICE_QUIRK_PA_TACTIVATE),
 	UFS_FIX(UFS_VENDOR_TOSHIBA, "THGLF2G9D8KBADG",
 		UFS_DEVICE_QUIRK_PA_TACTIVATE),
+	UFS_FIX(UFS_VENDOR_SKHYNIX, UFS_ANY_MODEL, UFS_DEVICE_NO_VCCQ),
 
 	END_FIX
 };