Skip to contentSkip to conversation

arm64: dts: rockchip: add LED_FUNCTION_STATUS for RGB LEDs on Radxa E25

PATCH Applied FUKAUMI Naoki 2 participants 2 messages Aug 16, 2024 – Sep 30, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: rockchip: add LED_FUNCTION_STATUS for RGB LEDs on Radxa E25

multicolor(RGB) PWM LEDs on Radxa E25 carrier board is clearly defined as status LED ("use it to see the status") in product overview[1].

add "function = LED_FUNCTION_STATUS" to "multi-led".

fortunately CONFIG_LEDS_PWM_MULTICOLOR is not enabled in defconfig, this change should not affect userland(sysfs).

[1] https://radxa.com/products/network-computer/e25#overview

---
 arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts +1 -0
index 72ad74c38a2b..1eaf304d94b9 100644
@@ -16,6 +16,7 @@ pwm-leds {
 
 		multi-led {
 			color = <LED_COLOR_ID_RGB>;
+			function = LED_FUNCTION_STATUS;
 			max-brightness = <255>;
 
 			led-red {
Signature · 7 lines
2.43.0


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
maintainer Applied
#1 lore raw
Quoted 9 lines · FUKAUMI Naoki

multicolor(RGB) PWM LEDs on Radxa E25 carrier board is clearly defined as status LED ("use it to see the status") in product overview[1].

add "function = LED_FUNCTION_STATUS" to "multi-led".

fortunately CONFIG_LEDS_PWM_MULTICOLOR is not enabled in defconfig, this change should not affect userland(sysfs).

[...]

Applied, thanks!

[1/1] arm64: dts: rockchip: add LED_FUNCTION_STATUS for RGB LEDs on Radxa E25

      commit: 40c60d826f4541668d81d8ee561dced5d4950223

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>