[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221117144717.17886-1-linmengbo0689@protonmail.com>
Date: Thu, 17 Nov 2022 14:48:19 +0000
From: "Lin, Meng-Bo" <linmengbo0689@...tonmail.com>
To: devicetree@...r.kernel.org
Cc: Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...ainline.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
"open list:ARM/QUALCOMM SUPPORT" <linux-arm-msm@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: [PATCH] arm64: dts: qcom: msm8916-samsung-grandmax: Add properties function and color for keyled
keyled is white, and used as touchkey LEDs.
Add properties function and color for keyled.
Signed-off-by: Lin, Meng-Bo <linmengbo0689@...tonmail.com>
---
arch/arm64/boot/dts/qcom/msm8916-samsung-grandmax.dts | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-grandmax.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-grandmax.dts
index bc7134698978..042ec55d447d 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-samsung-grandmax.dts
+++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-grandmax.dts
@@ -29,8 +29,12 @@ / {
gpio-leds {
compatible = "gpio-leds";
- keyled {
+ led-keyled {
+ function = LED_FUNCTION_KBD_BACKLIGHT;
+ color = <LED_COLOR_ID_WHITE>;
+
gpios = <&msmgpio 60 GPIO_ACTIVE_HIGH>;
+
pinctrl-names = "default";
pinctrl-0 = <&gpio_leds_default>;
};
--
2.30.2
Powered by blists - more mailing lists