phy: samsung-ufs: ufs: Add SoC callbacks for calibration and clk data recovery
authorPeter Griffin <peter.griffin@linaro.org>
Thu, 4 Apr 2024 12:25:52 +0000 (13:25 +0100)
committerVinod Koul <vkoul@kernel.org>
Sat, 6 Apr 2024 08:57:17 +0000 (14:27 +0530)
commita4de58a9096b471f9dc1c2bc6bfaa8aa48110c31
treebe0d79364985247861857ee5deab92b6cd3374c7
parentf2c6d0fa197a1558f4ef50162bb87e6644af232d
phy: samsung-ufs: ufs: Add SoC callbacks for calibration and clk data recovery

Some SoCs like gs101 don't fit in well with the existing pll lock and
clock data recovery (CDR) callback used by existing exynos platforms.

Allow SoCs to specifify and implement their own calibration and CDR
functions that can be called by the generic samsung phy code.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240404122559.898930-11-peter.griffin@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/samsung/phy-exynos7-ufs.c
drivers/phy/samsung/phy-exynosautov9-ufs.c
drivers/phy/samsung/phy-fsd-ufs.c
drivers/phy/samsung/phy-samsung-ufs.c
drivers/phy/samsung/phy-samsung-ufs.h