summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2023-02-06 21:40:17 +0100
committerBjorn Andersson <andersson@kernel.org>2023-02-08 19:30:53 -0800
commit44244ed2a95956b9ac1c3e6c7ffd77c88fac05bd (patch)
tree8d1261ff5a68a5a0c2d494ea67100d0e54f56c90 /arch/arm/boot
parentde0520a6e27299c6a893c01aa5bb098810ef7349 (diff)
downloadlinux-stable-44244ed2a95956b9ac1c3e6c7ffd77c88fac05bd.tar.gz
linux-stable-44244ed2a95956b9ac1c3e6c7ffd77c88fac05bd.tar.bz2
linux-stable-44244ed2a95956b9ac1c3e6c7ffd77c88fac05bd.zip
ARM: dts: qcom: msm8974-oneplus-bacon: Add backlight
Add the node for the lm3630 that is used to control backlight. Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230122-msm8974-bacon-features-v2-4-06bb83c20a58@z3ntu.xyz
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/qcom-msm8974pro-oneplus-bacon.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-msm8974pro-oneplus-bacon.dts b/arch/arm/boot/dts/qcom-msm8974pro-oneplus-bacon.dts
index c4c355533149..a4b5d680c097 100644
--- a/arch/arm/boot/dts/qcom-msm8974pro-oneplus-bacon.dts
+++ b/arch/arm/boot/dts/qcom-msm8974pro-oneplus-bacon.dts
@@ -99,6 +99,21 @@
syna,clip-y-high = <1920>;
};
};
+
+ led-controller@36 {
+ compatible = "ti,lm3630a";
+ reg = <0x36>;
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ led@0 {
+ reg = <0>;
+ led-sources = <0 1>;
+ label = "lcd-backlight";
+ default-brightness = <80>;
+ };
+ };
};
&blsp1_i2c6 {