]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: qcom: msm8974-hammerhead: Hook up backlight
authorLuca Weiss <luca@z3ntu.xyz>
Mon, 19 Feb 2024 23:11:22 +0000 (00:11 +0100)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 May 2024 17:03:39 +0000 (12:03 -0500)
Connect the panel with the backlight nodes so that the backlight can be
turned off when the display is blanked.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20240220-lm3630a-fixups-v1-4-9ca62f7e4a33@z3ntu.xyz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm/boot/dts/qcom/qcom-msm8974-lge-nexus5-hammerhead.dts

index 4aaae8537a3fd9fd41524f60d2c2ef43821e9140..8eaa5b162815c08ec3b2e2aeb755188154635297 100644 (file)
        status = "okay";
        clock-frequency = <355000>;
 
-       led-controller@38 {
+       backlight: led-controller@38 {
                compatible = "ti,lm3630a";
                status = "okay";
                reg = <0x38>;
                reg = <0>;
                compatible = "lg,acx467akm-7";
 
+               backlight = <&backlight>;
+
                pinctrl-names = "default";
                pinctrl-0 = <&panel_pin>;