]> www.infradead.org Git - linux.git/commit
phy: exynos5-usbdrd: support isolating HS and SS ports independently
authorAndré Draszik <andre.draszik@linaro.org>
Mon, 17 Jun 2024 16:44:43 +0000 (17:44 +0100)
committerVinod Koul <vkoul@kernel.org>
Tue, 2 Jul 2024 13:22:04 +0000 (18:52 +0530)
commitbbb28a1d733a94330f5778b4cd0dbccf6c34597d
treed2f4ca2af762dcb6985894e91e943d8a5f02e251
parente340c041b7a4c0321bfe2cb54817837c9040c739
phy: exynos5-usbdrd: support isolating HS and SS ports independently

Some versions of this IP have been integrated using separate PMU power
control registers for the HS and SS parts. One example is the Google
Tensor gs101 SoC.

Such SoCs can now set pmu_offset_usbdrd0_phy_ss in their
exynos5_usbdrd_phy_drvdata for the SS phy to the appropriate value.

The existing 'usbdrdphy' alias can not be used in this case because
that is meant for determining the correct PMU offset if multiple
distinct PHYs exist in the system (as opposed to one PHY with multiple
isolators).

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Tested-by: Will McVicker <willmcvicker@google.com>
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Tested-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20240617-usb-phy-gs101-v3-2-b66de9ae7424@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/samsung/phy-exynos5-usbdrd.c