diff mbox series

[2/2] arm64: dts: rockchip: make "multi-led" controllable under sysfs for Radxa E25

Message ID 20240816023243.487-2-naoki@radxa.com (mailing list archive)
State New
Headers show
Series [1/2] arm64: defconfig: add CONFIG_LEDS_PWM_MULTICOLOR | expand

Commit Message

FUKAUMI Naoki Aug. 16, 2024, 2:32 a.m. UTC
Radxa E25 carrier board has 16x RGB PWM LEDs. This patch make it
controllable under sysfs.

$ ls /sys/class/leds/rgb\:status
brightness  max_brightness  multi_intensity  subsystem	uevent
device	    multi_index     power	     trigger

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
---
 arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts | 1 +
 1 file changed, 1 insertion(+)

Comments

FUKAUMI Naoki Aug. 16, 2024, 2:40 a.m. UTC | #1
Hi,

sorry, commit message was not correct. I'll fix it in v2.

--
FUKAUMI Naoki
Radxa Computer (Shenzhen) Co., Ltd.

On 8/16/24 11:32, FUKAUMI Naoki wrote:
> Radxa E25 carrier board has 16x RGB PWM LEDs. This patch make it
> controllable under sysfs.
> 
> $ ls /sys/class/leds/rgb\:status
> brightness  max_brightness  multi_intensity  subsystem	uevent
> device	    multi_index     power	     trigger
> 
> Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
> ---
>   arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts b/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts
> index 72ad74c38a2b..1eaf304d94b9 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts
> @@ -16,6 +16,7 @@ pwm-leds {
>   
>   		multi-led {
>   			color = <LED_COLOR_ID_RGB>;
> +			function = LED_FUNCTION_STATUS;
>   			max-brightness = <255>;
>   
>   			led-red {
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts b/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts
index 72ad74c38a2b..1eaf304d94b9 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts
@@ -16,6 +16,7 @@  pwm-leds {
 
 		multi-led {
 			color = <LED_COLOR_ID_RGB>;
+			function = LED_FUNCTION_STATUS;
 			max-brightness = <255>;
 
 			led-red {