summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Suijten <marijn.suijten@somainline.org>2022-05-11 22:07:17 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-07-03 05:50:26 +0300
commitfc41893fe8289967d0aaffab25d8bb96334cc676 (patch)
treecda41e351d726e146c12c9ce1284a6923fa9d9c3
parent2cac6baf0249cdd3748128f3196c2d203b06a4af (diff)
downloadlinux-fc41893fe8289967d0aaffab25d8bb96334cc676.tar.xz
arm64: dts: qcom: pm660l: Add LPG node
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
-rw-r--r--arch/arm64/boot/dts/qcom/pm660l.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/pm660l.dtsi b/arch/arm64/boot/dts/qcom/pm660l.dtsi
index cf26432bb7ce..c7945470ffee 100644
--- a/arch/arm64/boot/dts/qcom/pm660l.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm660l.dtsi
@@ -65,6 +65,12 @@
#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>;