ARM: dts: stm32: Fix GPIO hog flags on DHCOM PicoITX
authorMarek Vasut <marex@denx.de>
Tue, 29 Dec 2020 17:55:20 +0000 (18:55 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Thu, 14 Jan 2021 17:17:26 +0000 (18:17 +0100)
The GPIO hog flags are ignored by gpiolib-of.c now, set the flags to 0.
Due to a change in gpiolib-of.c, setting flags to GPIO_ACTIVE_LOW and
using output-low DT property leads to the GPIO being set high instead.

Fixes: ac68793f49de ("ARM: dts: stm32: Add DHCOM based PicoITX board")
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32mp15xx-dhcom-picoitx.dtsi

index b99f2b8916298acae36d0b0059b1688d261427e6..32700cca24c8207e3ae52a2a21694218ef877585 100644 (file)
@@ -45,7 +45,7 @@
         */
        usb-port-power-hog {
                gpio-hog;
-               gpios = <13 GPIO_ACTIVE_LOW>;
+               gpios = <13 0>;
                output-low;
                line-name = "usb-port-power";
        };