]> Git Repo - J-u-boot.git/commitdiff
ARM: dts: stm32: Fix GPIO hog flags on DHCOM DRC02
authorMarek Vasut <[email protected]>
Sat, 2 Jan 2021 16:44:47 +0000 (17:44 +0100)
committerPatrick Delaunay <[email protected]>
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.
Since GPIO_ACTIVE_HIGH is defined as 0, this change only increases the
correctness of the DT.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Reviewed-by: Patrice Chotard <[email protected]>
Reviewed-by: Patrick Delaunay <[email protected]>
arch/arm/dts/stm32mp15xx-dhcom-drc02.dts

index e8508aa4d5afad350a019bbe5ceb551349964b90..4948ccd40148cefbf24b697abca9cdebe3d18103 100644 (file)
@@ -37,7 +37,7 @@
         */
        usb-hub {
                gpio-hog;
-               gpios = <8 GPIO_ACTIVE_HIGH>;
+               gpios = <8 0>;
                output-high;
                line-name = "rs485-rx-en";
        };
@@ -65,7 +65,7 @@
         */
        usb-hub {
                gpio-hog;
-               gpios = <2 GPIO_ACTIVE_HIGH>;
+               gpios = <2 0>;
                output-high;
                line-name = "usb-hub-reset";
        };
This page took 0.038249 seconds and 4 git commands to generate.