mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alain Volmat <avolmat@me.com>
To: Patrice Chotard <patrice.chotard@foss.st.com>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: avolmat@me.com, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 3/3] ARM: dts: st: correct led level in stih418-b2264.dts
Date: Sun,  2 Jul 2023 16:19:35 +0000	[thread overview]
Message-ID: <20230702161936.134429-4-avolmat@me.com> (raw)
In-Reply-To: <20230702161936.134429-1-avolmat@me.com>

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


  parent reply	other threads:[~2023-07-02 16:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-02 16:19 [PATCH 0/3] ARM: dts: st: dts fixes " Alain Volmat
2023-07-02 16:19 ` [PATCH 1/3] ARM: dts: st: correct serial alias " Alain Volmat
2023-08-16  7:07   ` Patrice CHOTARD
2023-08-16  7:16   ` Patrice CHOTARD
2023-07-02 16:19 ` [PATCH 2/3] ARM: dts: st: move leds out of soc " Alain Volmat
2023-08-16  7:08   ` Patrice CHOTARD
2023-08-16  7:16   ` Patrice CHOTARD
2023-08-16  7:16     ` Patrice CHOTARD
2023-07-02 16:19 ` Alain Volmat [this message]
2023-08-16  7:08   ` [PATCH 3/3] ARM: dts: st: correct led level " Patrice CHOTARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230702161936.134429-4-avolmat@me.com \
    --to=avolmat@me.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patrice.chotard@foss.st.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®