]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: ufs-exynos: Introduce ExynosAuto v9 virtual host
authorChanho Park <chanho61.park@samsung.com>
Mon, 18 Oct 2021 12:42:15 +0000 (21:42 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 28 Oct 2021 03:10:35 +0000 (23:10 -0400)
commit34996f3db8995eafefc63eeebce63bd3abba0a58
tree73427d9d43367899f8b57b702f1734a9a0763cbc
parent733ffe84b0121bb1f5ce303cb0a3f44d9fcbe2ce
scsi: ufs: ufs-exynos: Introduce ExynosAuto v9 virtual host

Introduce virtual host driver for ExynosAuto v9 UFS mHCI.

The VH (Virtual Host) only supports data transfer functions so most of
physical features must be disabled by setting the following quirks:

 - UFSHCD_QUIRK_BROKEN_UIC_CMD

 - UFSHCD_QUIRK_SKIP_PH_CONFIGURATION

Before initialization, the VH must wait until PH is ready. This wait is
currently implemented via polling.

Link: https://lore.kernel.org/r/20211018124216.153072-15-chanho61.park@samsung.com
Cc: Alim Akhtar <alim.akhtar@samsung.com>
Cc: Kiwoong Kim <kwmad.kim@samsung.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-exynos.c