arm64: dts: clearfog-gt-8k: fix USB regulator gpio polarity
authorBaruch Siach <baruch@tkos.co.il>
Tue, 16 Oct 2018 10:50:52 +0000 (13:50 +0300)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 30 Nov 2018 17:44:46 +0000 (18:44 +0100)
The fixed regulator driver ignores the gpio flags, so this change has
no practical effect in the current implementation. Fix it anyway to
correct the hardware description.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts

index 9473d40a292a875d25abe2961659227b35ce7d0d..f03740d5ce624ed59e41bbb925a390c8b9659ccb 100644 (file)
@@ -42,7 +42,7 @@
 
        v_5v0_usb3_hst_vbus: regulator-usb3-vbus0 {
                compatible = "regulator-fixed";
-               gpio = <&cp0_gpio2 15 GPIO_ACTIVE_HIGH>;
+               gpio = <&cp0_gpio2 15 GPIO_ACTIVE_LOW>;
                pinctrl-names = "default";
                pinctrl-0 = <&cp0_xhci_vbus_pins>;
                regulator-name = "v_5v0_usb3_hst_vbus";