diff options
author | Marek Vasut <marex@denx.de> | 2021-01-02 17:44:46 +0100 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@foss.st.com> | 2021-01-06 11:01:31 +0100 |
commit | 1a6de002e53ebbe1753f68be0a65ceeb32064b3d (patch) | |
tree | f14c95e05968b0faee9b357feb17c18e27f9eb07 | |
parent | 62b07b5173e3d04fabfac42cf1f4779d021f94ad (diff) |
ARM: dts: stm32: Fix GPIO hog flags on DHCOM PicoITX
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>
-rw-r--r-- | arch/arm/dts/stm32mp15xx-dhcom-picoitx.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/dts/stm32mp15xx-dhcom-picoitx.dts b/arch/arm/dts/stm32mp15xx-dhcom-picoitx.dts index 7f5cff49b7..59d13713d8 100644 --- a/arch/arm/dts/stm32mp15xx-dhcom-picoitx.dts +++ b/arch/arm/dts/stm32mp15xx-dhcom-picoitx.dts @@ -37,7 +37,7 @@ */ usb-port-power { gpio-hog; - gpios = <13 GPIO_ACTIVE_LOW>; + gpios = <13 0>; output-low; line-name = "usb-port-power"; }; |