arm64: dts: qcom: msm8916-samsung-grandmax: Add properties function and color for...
authorLin, Meng-Bo <linmengbo0689@protonmail.com>
Thu, 17 Nov 2022 14:48:19 +0000 (14:48 +0000)
committerBjorn Andersson <andersson@kernel.org>
Tue, 27 Dec 2022 19:27:12 +0000 (13:27 -0600)
keyled is white, and used as touchkey LEDs.
Add properties function and color for keyled.

Signed-off-by: Lin, Meng-Bo <linmengbo0689@protonmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221117144717.17886-1-linmengbo0689@protonmail.com
arch/arm64/boot/dts/qcom/msm8916-samsung-grandmax.dts

index a3d572d851efdf1f71705dd3885747384997b601..4cbd68b8944815f2b36a3b1bc3eacdf8bac9f11f 100644 (file)
 
        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>;
                };