diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2020-11-20 09:56:36 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-11-30 16:20:59 +0530 |
commit | 81b534f7e9b27309b99ac2b870518c17381d2912 (patch) | |
tree | 487f2193b4dd2601c804773b7d8a0c7f1112d472 /drivers/phy/samsung/phy-samsung-usb2.c | |
parent | 53e7c92c7fa0077f507951206bb329aadab785fb (diff) | |
download | linux-81b534f7e9b27309b99ac2b870518c17381d2912.tar.gz linux-81b534f7e9b27309b99ac2b870518c17381d2912.tar.bz2 linux-81b534f7e9b27309b99ac2b870518c17381d2912.zip |
phy: samsung: Add support for the Exynos5420 variant of the USB2 PHY
Exynos5420 differs a bit from Exynos5250 in USB2 PHY related registers in
the PMU region. Add a variant for the Exynos5420 case. Till now, USB2 PHY
worked only because the bootloader enabled the PHY, but then driver messed
USB 3.0 DRD related registers during the suspend/resume cycle.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20201120085637.7299-2-m.szyprowski@samsung.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/samsung/phy-samsung-usb2.c')
-rw-r--r-- | drivers/phy/samsung/phy-samsung-usb2.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/phy/samsung/phy-samsung-usb2.c b/drivers/phy/samsung/phy-samsung-usb2.c index f79f605cff79..3908153f2ce5 100644 --- a/drivers/phy/samsung/phy-samsung-usb2.c +++ b/drivers/phy/samsung/phy-samsung-usb2.c @@ -128,6 +128,12 @@ static const struct of_device_id samsung_usb2_phy_of_match[] = { .data = &exynos5250_usb2_phy_config, }, #endif +#ifdef CONFIG_PHY_EXYNOS5420_USB2 + { + .compatible = "samsung,exynos5420-usb2-phy", + .data = &exynos5420_usb2_phy_config, + }, +#endif #ifdef CONFIG_PHY_S5PV210_USB2 { .compatible = "samsung,s5pv210-usb2-phy", |