phy: exynos5-usbdrd: Make it possible to pass custom phy ops
authorSam Protsenko <semen.protsenko@linaro.org>
Sat, 19 Aug 2023 03:17:27 +0000 (22:17 -0500)
committerVinod Koul <vkoul@kernel.org>
Tue, 22 Aug 2023 14:11:15 +0000 (19:41 +0530)
commit6b34ec66e7e7351b9a0a1eba8f57eb46ddeabf1e
tree9e86ab92eb83fac4c4ffe17041f7285d94e7358d
parent0b76bdce32300a626dc796f656c085a786c5dab1
phy: exynos5-usbdrd: Make it possible to pass custom phy ops

Provide a way to use different PHY ops for different chips. Right now
all chips are using exynos5_usbdrd_phy_ops, but it won't always be the
case. For example, Exynos850 has very different USB PHY block, so there
will be another PHY ops implementation for that chip.

No functional change.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230819031731.22618-5-semen.protsenko@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/samsung/phy-exynos5-usbdrd.c