All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/10] ARM: dts: qcom: apq8060-dragonboard: add function and color to LED nodes
@ 2022-06-07 10:29 Krzysztof Kozlowski
  2022-06-07 10:29 ` [PATCH 02/10] ARM: dts: qcom: apq8060-ifc6410: add color to LED node Krzysztof Kozlowski
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-07 10:29 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
	linux-arm-msm, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

Add common LED properties - the function and color - to LED nodes.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm/boot/dts/qcom-apq8060-dragonboard.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-apq8060-dragonboard.dts b/arch/arm/boot/dts/qcom-apq8060-dragonboard.dts
index 138d6478ac84..9a4aedc5f3ea 100644
--- a/arch/arm/boot/dts/qcom-apq8060-dragonboard.dts
+++ b/arch/arm/boot/dts/qcom-apq8060-dragonboard.dts
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
 #include "qcom-msm8660.dtsi"
@@ -416,6 +417,7 @@ led@131 {
 					compatible = "qcom,pm8058-led";
 					reg = <0x131>;
 					label = "pm8058:red";
+					color = <LED_COLOR_ID_RED>;
 					default-state = "off";
 				};
 				led@132 {
@@ -426,6 +428,7 @@ led@132 {
 					compatible = "qcom,pm8058-led";
 					reg = <0x132>;
 					label = "pm8058:yellow";
+					color = <LED_COLOR_ID_YELLOW>;
 					default-state = "off";
 					linux,default-trigger = "mmc0";
 				};
@@ -433,6 +436,8 @@ led@133 {
 					compatible = "qcom,pm8058-led";
 					reg = <0x133>;
 					label = "pm8058:green";
+					function = LED_FUNCTION_HEARTBEAT;
+					color = <LED_COLOR_ID_GREEN>;
 					default-state = "on";
 					linux,default-trigger = "heartbeat";
 				};
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-07-03  3:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-07 10:29 [PATCH 01/10] ARM: dts: qcom: apq8060-dragonboard: add function and color to LED nodes Krzysztof Kozlowski
2022-06-07 10:29 ` [PATCH 02/10] ARM: dts: qcom: apq8060-ifc6410: add color to LED node Krzysztof Kozlowski
2022-06-07 10:29 ` [PATCH 03/10] ARM: dts: qcom: ipq4018-ap120c-ac: add function and color to LED nodes Krzysztof Kozlowski
2022-06-07 10:29 ` [PATCH 04/10] ARM: dts: qcom: ipq8064-rb3011: add color to LED node Krzysztof Kozlowski
2022-06-07 10:29 ` [PATCH 05/10] ARM: dts: qcom: ipq8064: add function to LED nodes Krzysztof Kozlowski
2022-06-07 10:29 ` [PATCH 06/10] arm64: dts: qcom: apq8016-sbc: add function and color " Krzysztof Kozlowski
2022-06-07 10:29 ` [PATCH 07/10] arm64: dts: qcom: qrb5165-rb5: " Krzysztof Kozlowski
2022-06-07 10:29 ` [PATCH 08/10] arm64: dts: qcom: sc7180-trogdor: add function to LED node Krzysztof Kozlowski
2022-06-07 10:29 ` [PATCH 09/10] arm64: dts: qcom: sc7280-herobrine: " Krzysztof Kozlowski
2022-06-07 10:29 ` [PATCH 10/10] arm64: dts: qcom: sdm845-db845c: add function and color to LED nodes Krzysztof Kozlowski
2022-07-03  3:56 ` (subset) [PATCH 01/10] ARM: dts: qcom: apq8060-dragonboard: " Bjorn Andersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.