[PATCH 1/2] ARM: dts: stm32: Fix GPIO hog flags on DHCOM PicoITX
Alexandre TORGUE
alexandre.torgue at foss.st.com
Thu Jan 14 10:11:25 EST 2021
Hi Marek
On 12/29/20 6:55 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.
>
> Fixes: ac68793f49de ("ARM: dts: stm32: Add DHCOM based PicoITX board")
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Alexandre Torgue <alexandre.torgue at st.com>
> Cc: Maxime Coquelin <mcoquelin.stm32 at gmail.com>
> Cc: Patrice Chotard <patrice.chotard at st.com>
> Cc: Patrick Delaunay <patrick.delaunay at st.com>
> Cc: linux-stm32 at st-md-mailman.stormreply.com
> To: linux-arm-kernel at lists.infradead.org
> ---
> arch/arm/boot/dts/stm32mp15xx-dhcom-picoitx.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/stm32mp15xx-dhcom-picoitx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dhcom-picoitx.dtsi
> index 25528a1c096f..757707766fa0 100644
> --- a/arch/arm/boot/dts/stm32mp15xx-dhcom-picoitx.dtsi
> +++ b/arch/arm/boot/dts/stm32mp15xx-dhcom-picoitx.dtsi
> @@ -49,7 +49,7 @@ &gpioa {
> */
> usb-port-power-hog {
On my tree this node is "usb-port-power". Do you want to update the node
name too ? I can do it directly during the merge if you want.
(Note, it is the case for DRC02 hog update).
regards
alex
> gpio-hog;
> - gpios = <13 GPIO_ACTIVE_LOW>;
> + gpios = <13 0>;
> output-low;
> line-name = "usb-port-power";
> };
>
More information about the linux-arm-kernel
mailing list