[PATCH 3/4] arm64: dts: qcom: msm8937-xiaomi-land: group status leds

From: Barnabás Czémán

Date: Mon Sep 21 2026 - 13:43:38 EST


Use leds-group-multicolor for handling the RGB notification leds
together.

Signed-off-by: Barnabás Czémán <barnabas.czeman@xxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/msm8937-xiaomi-land.dts | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8937-xiaomi-land.dts b/arch/arm64/boot/dts/qcom/msm8937-xiaomi-land.dts
index 4f301e7c6517..10aea044f787 100644
--- a/arch/arm64/boot/dts/qcom/msm8937-xiaomi-land.dts
+++ b/arch/arm64/boot/dts/qcom/msm8937-xiaomi-land.dts
@@ -81,6 +81,13 @@ irled {
gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
};

+ multi-led {
+ compatible = "leds-group-multicolor";
+ color = <LED_COLOR_ID_RGB>;
+ function = LED_FUNCTION_STATUS;
+ leds = <&led0>, <&led1>, <&led2>;
+ };
+
reserved-memory {
reserved@84a00000 {
reg = <0x0 0x84a00000 0x0 0x1900000>;
@@ -115,23 +122,20 @@ led-controller@45 {
vcc-supply = <&pm8937_l10>;
vio-supply = <&pm8937_l5>;

- led@0 {
+ led0: led@0 {
reg = <0>;
- function = LED_FUNCTION_STATUS;
led-max-microamp = <5000>;
color = <LED_COLOR_ID_RED>;
};

- led@1 {
+ led1: led@1 {
reg = <1>;
- function = LED_FUNCTION_STATUS;
led-max-microamp = <5000>;
color = <LED_COLOR_ID_GREEN>;
};

- led@2 {
+ led2: led@2 {
reg = <2>;
- function = LED_FUNCTION_STATUS;
led-max-microamp = <5000>;
color = <LED_COLOR_ID_BLUE>;
};

--
2.55.0