ARM: dts: qcom: msm8974-oneplus-bacon: Add backlight
authorLuca Weiss <luca@z3ntu.xyz>
Mon, 6 Feb 2023 20:40:17 +0000 (21:40 +0100)
committerBjorn Andersson <andersson@kernel.org>
Thu, 9 Feb 2023 03:30:53 +0000 (19:30 -0800)
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
arch/arm/boot/dts/qcom-msm8974pro-oneplus-bacon.dts

index c4c3555331496d8ab3a42cd51bcabb808cc8baf2..a4b5d680c09769a1bc54831f0b397fe66f71b882 100644 (file)
                        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 {