scsi: ufs: exynos: Add support for Tensor gs101 SoC
authorPeter Griffin <peter.griffin@linaro.org>
Fri, 26 Apr 2024 12:20:04 +0000 (13:20 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 7 May 2024 01:34:37 +0000 (21:34 -0400)
commitd11e0a318df84f2542316ec8cc0fa4034240ee66
tree6d77c046ab6199ae15f6db4d4310b8469c54e924
parent6f9f0d564b0411f8d86d73c7cb6b2703839e8a96
scsi: ufs: exynos: Add support for Tensor gs101 SoC

Add a dedicated compatible and drv_data with associated hooks for gs101 SoC
found on Pixel 6.

Note we make use of the previously added EXYNOS_UFS_OPT_UFSPR_SECURE
option, to skip initialisation of UFSPR registers as these are only
accessible via SMC call.

EXYNOS_UFS_OPT_TIMER_TICK_SELECT option is also set to select tick
source. This has been done so as not to effect any existing platforms.

DBG_OPTION_SUITE on gs101 has different address offsets to other SoCs so
these register offsets now come from uic_attr struct.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20240426122004.2249178-7-peter.griffin@linaro.org
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested-by: Will McVicker <willmcvicker@google.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufs-exynos.c
drivers/ufs/host/ufs-exynos.h