aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2022-06-07 12:29:30 +0200
committerBjorn Andersson <[email protected]>2022-07-02 22:17:10 -0500
commitb7428806b4345c5cce056756570ce68b4fdbcc57 (patch)
tree467af9a7fa263befef853eda3799b2cc5cbe680f
parent09143dd2cbd6d0b14fa18fcbabb12b8f78e88a1a (diff)
arm64: dts: qcom: sc7280-herobrine: add function to LED node
Add common LED property - the function - to LED node. Signed-off-by: Krzysztof Kozlowski <[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/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>;
};