[PATCH 3/3] ARM: dts: st: correct led level in stih418-b2264.dts

Alain Volmat posted 3 patches 2 years, 7 months ago
[PATCH 3/3] ARM: dts: st: correct led level in stih418-b2264.dts
Posted by Alain Volmat 2 years, 7 months ago
The state of the green led on the stih418-b2264 is currently
inverted.  Correct this by fixing the GPIO active state.

Signed-off-by: Alain Volmat <avolmat@me.com>
---
 arch/arm/boot/dts/st/stih418-b2264.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/st/stih418-b2264.dts b/arch/arm/boot/dts/st/stih418-b2264.dts
index d4874282cfba..fdc16e9f5822 100644
--- a/arch/arm/boot/dts/st/stih418-b2264.dts
+++ b/arch/arm/boot/dts/st/stih418-b2264.dts
@@ -76,7 +76,7 @@ aliases {
 	leds {
 		compatible = "gpio-leds";
 		led-green {
-			gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
+			gpios = <&pio1 3 GPIO_ACTIVE_LOW>;
 			default-state = "off";
 		};
 	};
-- 
2.34.1
Re: [PATCH 3/3] ARM: dts: st: correct led level in stih418-b2264.dts
Posted by Patrice CHOTARD 2 years, 5 months ago

On 7/2/23 18:19, Alain Volmat wrote:
> The state of the green led on the stih418-b2264 is currently
> inverted.  Correct this by fixing the GPIO active state.
> 
> Signed-off-by: Alain Volmat <avolmat@me.com>
> ---
>  arch/arm/boot/dts/st/stih418-b2264.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/st/stih418-b2264.dts b/arch/arm/boot/dts/st/stih418-b2264.dts
> index d4874282cfba..fdc16e9f5822 100644
> --- a/arch/arm/boot/dts/st/stih418-b2264.dts
> +++ b/arch/arm/boot/dts/st/stih418-b2264.dts
> @@ -76,7 +76,7 @@ aliases {
>  	leds {
>  		compatible = "gpio-leds";
>  		led-green {
> -			gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
> +			gpios = <&pio1 3 GPIO_ACTIVE_LOW>;
>  			default-state = "off";
>  		};
>  	};

Acked-by: Patrice Chotard <patrice.chotard@foss.st.com>

Thanks
Patrice