phy: samsung: Add support for the Exynos5420 variant of the USB2 PHY
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 20 Nov 2020 08:56:36 +0000 (09:56 +0100)
committerVinod Koul <vkoul@kernel.org>
Mon, 30 Nov 2020 10:50:59 +0000 (16:20 +0530)
commit81b534f7e9b27309b99ac2b870518c17381d2912
tree487f2193b4dd2601c804773b7d8a0c7f1112d472
parent53e7c92c7fa0077f507951206bb329aadab785fb
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>
Documentation/devicetree/bindings/phy/samsung-phy.txt
drivers/phy/samsung/Kconfig
drivers/phy/samsung/phy-exynos5250-usb2.c
drivers/phy/samsung/phy-samsung-usb2.c
drivers/phy/samsung/phy-samsung-usb2.h