diff mbox series

mvebu: mcbin-singleshot: enable hearbeat LED by default

Message ID 20230707191459.2424-1-tmn505@terefe.re
State Accepted
Delegated to: Hauke Mehrtens
Headers show
Series mvebu: mcbin-singleshot: enable hearbeat LED by default | expand

Commit Message

Tomasz Maciej Nowak July 7, 2023, 7:13 p.m. UTC
From: Tomasz Maciej Nowak <tmn505@gmail.com>

This has been a part of modified upstream patch but got lost on major
kernel bump to 5.15, so bring it back.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
---

Please backport to 23.05 branch

 ...vell-enable-heartbeat-LED-by-default.patch | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 target/linux/mvebu/patches-5.15/314-arm64-dts-marvell-enable-heartbeat-LED-by-default.patch
diff mbox series

Patch

diff --git a/target/linux/mvebu/patches-5.15/314-arm64-dts-marvell-enable-heartbeat-LED-by-default.patch b/target/linux/mvebu/patches-5.15/314-arm64-dts-marvell-enable-heartbeat-LED-by-default.patch
new file mode 100644
index 000000000000..7221e04de1dd
--- /dev/null
+++ b/target/linux/mvebu/patches-5.15/314-arm64-dts-marvell-enable-heartbeat-LED-by-default.patch
@@ -0,0 +1,22 @@ 
+From: Tomasz Maciej Nowak <tmn505@gmail.com>
+Date: Fri, 7 Jul 2023 19:06:05 +0200
+Subject: [PATCH] arm64: dts: marvell: enable heartbeat LED by default
+
+Some boards could be placed in an enclosure, so enable LED18 by default,
+since that'll be the only visible indicator that the board is operating.
+
+Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
+---
+ arch/arm64/boot/dts/marvell/armada-8040-mcbin-singleshot.dts | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin-singleshot.dts
++++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin-singleshot.dts
+@@ -25,6 +25,7 @@
+ 			function = LED_FUNCTION_HEARTBEAT;
+ 			color = <LED_COLOR_ID_GREEN>;
+ 			linux,default-trigger = "heartbeat";
++			default-state = "on";
+ 		};
+ 	};
+ };