]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: stm32: Fix GPIO hog flags on DHCOM PicoITX
authorMarek Vasut <marex@denx.de>
Sat, 2 Jan 2021 16:44:46 +0000 (17:44 +0100)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 6 Jan 2021 10:01:31 +0000 (11:01 +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.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/dts/stm32mp15xx-dhcom-picoitx.dts

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