aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin, Meng-Bo <[email protected]>2022-11-17 14:48:19 +0000
committerBjorn Andersson <[email protected]>2022-12-27 13:27:12 -0600
commitcc8619e893297ac90e7796751e39c4ea46123e69 (patch)
treefb182f70b5c9ce7500acbf4e12862dac7ec2b44a
parent36e830a5656d6c22110c5dcffb611fc69a57a269 (diff)
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 <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--arch/arm64/boot/dts/qcom/msm8916-samsung-grandmax.dts6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-grandmax.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-grandmax.dts
index a3d572d851ef..4cbd68b89448 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>;
};