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@protonmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221117144717.17886-1-linmengbo0689@protonmail.com
This commit is contained in:
Lin, Meng-Bo
2022-11-17 14:48:19 +00:00
committed by Bjorn Andersson
parent 36e830a565
commit cc8619e893

View File

@@ -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>;
};