ARM: dts: imx6dl-riotboard: fix OTG regulator polarity
authorAlexander Kurz <akurz@blala.de>
Tue, 29 May 2018 06:20:21 +0000 (06:20 +0000)
committerShawn Guo <shawnguo@kernel.org>
Sun, 17 Jun 2018 07:30:44 +0000 (15:30 +0800)
USB OTG power is switched on when the GPIO is pulled low.

Signed-off-by: Alexander Kurz <akurz@blala.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6dl-riotboard.dts

index a6851bf..89b06e2 100644 (file)
@@ -70,8 +70,7 @@
                regulator-name = "usb_otg_vbus";
                regulator-min-microvolt = <5000000>;
                regulator-max-microvolt = <5000000>;
-               gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
-               enable-active-high;
+               gpio = <&gpio3 22 GPIO_ACTIVE_LOW>;
        };
 };