From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrice CHOTARD Date: Tue, 5 Jan 2021 17:39:21 +0100 Subject: [PATCH 1/2] ARM: dts: stm32: Fix GPIO hog flags on DHCOM PicoITX In-Reply-To: <20210102164447.43918-1-marex@denx.de> References: <20210102164447.43918-1-marex@denx.de> Message-ID: <498cb2d4-fd1a-a472-533c-2a839006befe@foss.st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Marek On 1/2/21 5:44 PM, Marek Vasut wrote: > 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 > Cc: Patrice Chotard > Cc: Patrick Delaunay > --- > arch/arm/dts/stm32mp15xx-dhcom-picoitx.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/dts/stm32mp15xx-dhcom-picoitx.dts b/arch/arm/dts/stm32mp15xx-dhcom-picoitx.dts > index 7f5cff49b70..59d13713d88 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"; > }; Reviewed-by: Patrice Chotard Thanks