summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-06-07 13:29:30 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-07-03 06:17:10 +0300
commitb7428806b4345c5cce056756570ce68b4fdbcc57 (patch)
tree467af9a7fa263befef853eda3799b2cc5cbe680f
parent09143dd2cbd6d0b14fa18fcbabb12b8f78e88a1a (diff)
downloadlinux-b7428806b4345c5cce056756570ce68b4fdbcc57.tar.xz
arm64: dts: qcom: sc7280-herobrine: add function to LED node
Add common LED property - the function - to LED node. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220607102931.102805-9-krzysztof.kozlowski@linaro.org
-rw-r--r--arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
index 5cf86d415ba7..ed8008174a33 100644
--- a/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
@@ -15,6 +15,7 @@
#include <dt-bindings/input/gpio-keys.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
#include "sc7280-qcard.dtsi"
#include "sc7280-chrome-common.dtsi"
@@ -300,6 +301,7 @@
status = "disabled";
keyboard_backlight: keyboard-backlight {
label = "cros_ec::kbd_backlight";
+ function = LED_FUNCTION_KBD_BACKLIGHT;
pwms = <&cros_ec_pwm 0>;
max-brightness = <1023>;
};