]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: dts: exynos: fix polarity of VBUS GPIO of Origen
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 27 Sep 2022 22:05:03 +0000 (15:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 11:22:33 +0000 (13:22 +0200)
[ Upstream commit cd9abc711c639d083e65e129b68d893810c08f83 ]

EHCI Oxynos (drivers/usb/host/ehci-exynos.c) drives VBUS GPIO high when
trying to power up the bus, therefore the GPIO in DTS must be marked as
"active high". This will be important when EHCI driver is converted to
gpiod API that respects declared polarities.

Fixes: 292174060a8b ("ARM: dts: exynos: Enable AX88760 USB hub on Origen board")
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://lore.kernel.org/r/20220927220504.3744878-1-dmitry.torokhov@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/exynos4412-origen.dts

index ecd14b283a6b409d5fdf5488f2af3db0bc543a0b..c6678c120cbd1e92d92c5cb656944850507d6b33 100644 (file)
@@ -86,7 +86,7 @@
 };
 
 &ehci {
-       samsung,vbus-gpio = <&gpx3 5 1>;
+       samsung,vbus-gpio = <&gpx3 5 GPIO_ACTIVE_HIGH>;
        status = "okay";
        phys = <&exynos_usbphy 2>, <&exynos_usbphy 3>;
        phy-names = "hsic0", "hsic1";