arm64: dts: qcom: pm8150l: Add wled node
authorDanila Tikhonov <danila@jiaxyga.com>
Wed, 13 Sep 2023 18:55:14 +0000 (21:55 +0300)
committerBjorn Andersson <andersson@kernel.org>
Wed, 20 Sep 2023 16:42:58 +0000 (09:42 -0700)
WLED is used for controlling the backlight on some boards, add the node
for it.

Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
Link: https://lore.kernel.org/r/20230913185514.21840-1-danila@jiaxyga.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/pm8150l.dtsi

index b1686e5777b8ff514578f2eb5679440e66b2d8e4..ac08a09c64c28c2675b5d327469bfb2f0a4030e6 100644 (file)
                        status = "disabled";
                };
 
+               pm8150l_wled: leds@d800 {
+                       compatible = "qcom,pm8150l-wled";
+                       reg = <0xd800>, <0xd900>;
+                       interrupts = <0x5 0xd8 0x1 IRQ_TYPE_EDGE_RISING>,
+                                    <0x5 0xd8 0x2 IRQ_TYPE_EDGE_RISING>;
+                       interrupt-names = "ovp", "short";
+                       label = "backlight";
+
+                       status = "disabled";
+               };
        };
 };