phy: samsung-ufs: convert phy clk usage to clk_bulk API
authorChanho Park <chanho61.park@samsung.com>
Wed, 6 Jul 2022 02:02:53 +0000 (11:02 +0900)
committerVinod Koul <vkoul@kernel.org>
Fri, 8 Jul 2022 05:08:59 +0000 (10:38 +0530)
commit8d5bb683d50a80edaf8a6db9bfa28864914f5947
tree07c4b945b806717d0051c8ccb8943044acf94602
parentc1ab64aaacd61be70af26c711aa08345ff84f166
phy: samsung-ufs: convert phy clk usage to clk_bulk API

Instead of using separated clock manipulation, this converts the phy
clock usage to be clk_bulk APIs. By using this, we can completely
remove has_symbol_clk check and symbol clk variables.
Furthermore, clk_get should be moved to probe because there is no need
to get them in the phy_init callback.

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220706020255.151177-2-chanho61.park@samsung.com
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