[PATCH 0/7] UFS cleanups and enhancements to ufs-exynos for gs101

From: Peter Griffin
Date: Wed Oct 09 2024 - 07:21:58 EST


Hi folks,

This series provides a few cleanups, bug fixes and feature enhancements for
the ufs-exynos driver, particularly for gs101 SoC.

Regarding cleanup we remove some unused phy attribute data that isn't
required when EXYNOS_UFS_OPT_SKIP_CONFIG_PHY_ATTR is not set.

Regarding bug fixes the check for EXYNOS_UFS_OPT_UFSPR_SECURE is moved
inside exynos_ufs_config_smu() which fixes a serror in the resume path
for gs101.

Regarding feature enhancements:
* Gear 4 is enabled which has higher speeds and better power management
* WriteBooster capability is enabled for gs101 which increases write
performance

Note further patches in a separate series will follow to enable
UFSHCD_CAP_HIBERN8_WITH_CLK_GATING once the phy hibern8 interface is
settled over in [1]

[1] https://lore.kernel.org/linux-arm-kernel/20241002201555.3332138-3-peter.griffin@xxxxxxxxxx/T/

regards,

Peter

Peter Griffin (7):
scsi: ufs: exynos: Allow UFS Gear 4
scsi: ufs: exynos: add check inside exynos_ufs_config_smu()
scsi: ufs: exynos: gs101: remove EXYNOS_UFS_OPT_BROKEN_AUTO_CLK_CTRL
scsi: ufs: exynos: Add EXYNOS_UFS_OPT_SKIP_CONFIG_PHY_ATTR check
scsi: ufs: exynos: gs101: remove unused phy attribute fields
scsi: ufs: exynos: remove tx_dif_p_nsec from exynosauto_ufs_drv_init()
scsi: ufs: exynos: add gs101_ufs_drv_init() hook and enable
WriteBooster

drivers/ufs/host/ufs-exynos.c | 73 +++++++++++++++++++++--------------
1 file changed, 43 insertions(+), 30 deletions(-)

--
2.47.0.rc0.187.ge670bccf7e-goog