arm64: dts: qcom: pm660l: Add LPG node
authorMarijn Suijten <marijn.suijten@somainline.org>
Wed, 11 May 2022 19:07:17 +0000 (21:07 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 3 Jul 2022 02:50:26 +0000 (21:50 -0500)
The Light Pulse Generator describes a hardware block responsible for
displaying colors and patterns on an RGB LED (usually used for [battery]
status and notifications), and drive PWM signals for general-purpose
(ie. backlight) LEDs.  The availability and usage of the individual
channels differ per board and is hence left for individual platform DTs
to configure.

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
[bjorn: Dropped #address/size-cells]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220511190718.764445-3-marijn.suijten@somainline.org
arch/arm64/boot/dts/qcom/pm660l.dtsi

index cf26432..c794547 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
 
+               pm660l_lpg: lpg@b100 {
+                       compatible = "qcom,pm660l-lpg";
+
+                       status = "disabled";
+               };
+
                pm660l_wled: leds@d800 {
                        compatible = "qcom,pm660l-wled";
                        reg = <0xd800>, <0xd900>;