All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: msm8916-samsung-grandmax: Add properties function and color for keyled
@ 2022-11-17 14:48 Lin, Meng-Bo
  2022-12-28  2:41 ` Bjorn Andersson
  0 siblings, 1 reply; 2+ messages in thread
From: Lin, Meng-Bo @ 2022-11-17 14:48 UTC (permalink / raw
  To: devicetree
  Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, open list:ARM/QUALCOMM SUPPORT, open list

keyled is white, and used as touchkey LEDs.
Add properties function and color for keyled.

Signed-off-by: Lin, Meng-Bo <linmengbo0689@protonmail.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



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

* Re: [PATCH] arm64: dts: qcom: msm8916-samsung-grandmax: Add properties function and color for keyled
  2022-11-17 14:48 [PATCH] arm64: dts: qcom: msm8916-samsung-grandmax: Add properties function and color for keyled Lin, Meng-Bo
@ 2022-12-28  2:41 ` Bjorn Andersson
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2022-12-28  2:41 UTC (permalink / raw
  To: linmengbo0689, devicetree
  Cc: Andy Gross, Rob Herring, open list:ARM/QUALCOMM SUPPORT,
	Konrad Dybcio, open list, Krzysztof Kozlowski

On Thu, 17 Nov 2022 14:48:19 +0000, Lin, Meng-Bo wrote:
> keyled is white, and used as touchkey LEDs.
> Add properties function and color for keyled.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: msm8916-samsung-grandmax: Add properties function and color for keyled
      commit: cc8619e893297ac90e7796751e39c4ea46123e69

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

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

end of thread, other threads:[~2022-12-28  2:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-17 14:48 [PATCH] arm64: dts: qcom: msm8916-samsung-grandmax: Add properties function and color for keyled Lin, Meng-Bo
2022-12-28  2:41 ` 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.