From: Marek Vasut Date: Sat, 2 Jan 2021 16:44:47 +0000 (+0100) Subject: ARM: dts: stm32: Fix GPIO hog flags on DHCOM DRC02 X-Git-Tag: v2021.10~383^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec4efd5ae724c51cf40437fa4c6bd758d3816bcd;p=platform%2Fkernel%2Fu-boot.git ARM: dts: stm32: Fix GPIO hog flags on DHCOM DRC02 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 Cc: Patrice Chotard Cc: Patrick Delaunay Reviewed-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- diff --git a/arch/arm/dts/stm32mp15xx-dhcom-drc02.dts b/arch/arm/dts/stm32mp15xx-dhcom-drc02.dts index e8508aa..4948ccd 100644 --- a/arch/arm/dts/stm32mp15xx-dhcom-drc02.dts +++ b/arch/arm/dts/stm32mp15xx-dhcom-drc02.dts @@ -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"; };