ARM: dts: qcom: apq8060-ifc6410: add color to LED node
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 7 Jun 2022 10:29:23 +0000 (12:29 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 1 Jul 2022 03:18:25 +0000 (22:18 -0500)
Add common LED property - the color - to LED node.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220607102931.102805-2-krzysztof.kozlowski@linaro.org
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts

index 24eacf5..dd534e3 100644 (file)
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0
 #include "qcom-apq8064-v2.0.dtsi"
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
 
 / {
@@ -39,6 +40,7 @@
 
                led@1 {
                        label = "apq8064:green:user1";
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };