arm64: dts: qcom: msm8916-samsung-grandmax: Add properties function and color for keyled
Commit Message
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(-)
Comments
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,
@@ -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>;
};