]> git.itanic.dy.fi Git - linux-stable/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:15:41 +0000 (13:15 +0200)
[ Upstream commit a08137bd1e0a7ce951dce9ce4a83e39d379b6e1b ]

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: 4e8991def565 ("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 a1ab6f94bb64dbae91664907441563c8a0f6000d..62f9623d1fb1b32822321050aba09e40bd7c41d8 100644 (file)
@@ -90,7 +90,7 @@ &exynos_usbphy {
 };
 
 &ehci {
-       samsung,vbus-gpio = <&gpx3 5 1>;
+       samsung,vbus-gpio = <&gpx3 5 GPIO_ACTIVE_HIGH>;
        status = "okay";
 
        port@1{