All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Andy Gross <agross@kernel.org>,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Subject: [PATCH 02/10] ARM: dts: qcom: apq8060-ifc6410: add color to LED node
Date: Tue,  7 Jun 2022 12:29:23 +0200	[thread overview]
Message-ID: <20220607102931.102805-2-krzysztof.kozlowski@linaro.org> (raw)
In-Reply-To: <20220607102931.102805-1-krzysztof.kozlowski@linaro.org>

Add common LED property - the color - to LED node.

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

diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
index 2638b380be20..49607b7b2120 100644
--- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
@@ -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 @@ leds {
 
 		led@1 {
 			label = "apq8064:green:user1";
+			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
 		};
-- 
2.34.1


  reply	other threads:[~2022-06-07 10:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Krzysztof Kozlowski [this message]
2022-06-07 10:29 ` [PATCH 03/10] ARM: dts: qcom: ipq4018-ap120c-ac: " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220607102931.102805-2-krzysztof.kozlowski@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=agross@kernel.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.