mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] riscv: dts: starfive: jh7110-common: keep the status power LED on
@ 2026-11-06 18:40 Owen O'Hehir
  2026-11-06 18:51 ` E Shattow
  2026-11-06 18:54 ` Conor Dooley
  0 siblings, 2 replies; 9+ messages in thread
From: Owen O'Hehir @ 2026-11-06 18:40 UTC (permalink / raw)
  To: Conor Dooley, Emil Renner Berthing
  Cc: E Shattow, Rob Herring, Krzysztof Kozlowski, Paul Walmsley,
	Palmer Dabbelt, Albert Ou, Alexandre Ghiti, linux-riscv,
	devicetree, linux-kernel

The firmware turns the status power LED on, but the node has no
default-state, so the LED switches off when leds-gpio probes and the
board looks powered down.

Default the LED to on.

Tested on a VisionFive 2 v1.3B.

Fixes: 1ec99dfe9eb0 ("riscv: dts: starfive: jh7110-common: add status power led node")
Signed-off-by: Owen O'Hehir <oo.hehir@gmail.com>
---
 arch/riscv/boot/dts/starfive/jh7110-common.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi
index 64de468f2..7ec94e968 100644
--- a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi
+++ b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi
@@ -44,6 +44,7 @@ leds {
 
 		led_status_power: led-0 {
 			gpios = <&aongpio 3 GPIO_ACTIVE_HIGH>;
+			default-state = "on";
 		};
 	};
 

base-commit: ddfe51b0a0f5dc9e415cc2c8ad8db17532dd426b
-- 
2.43.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-11-06 21:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 18:40 [PATCH] riscv: dts: starfive: jh7110-common: keep the status power LED on Owen O'Hehir
2026-11-06 18:51 ` E Shattow
2026-11-06 19:59   ` Owen O'Hehir
2026-11-06 20:30     ` E Shattow
2026-11-06 21:12       ` Owen O'Hehir
2026-11-06 21:13       ` Owen O'Hehir
2026-11-06 18:54 ` Conor Dooley
2026-11-06 19:06   ` E Shattow
2026-11-06 21:15     ` Conor Dooley

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®