arm64: dts: qcom: pm8150b: add Light Pulse Generator device node
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 5 May 2022 14:51:00 +0000 (17:51 +0300)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 3 Jul 2022 02:50:12 +0000 (21:50 -0500)
Add device node defining LPG/PWM block on PM8150B PMIC chip.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220505145102.1432670-2-dmitry.baryshkov@linaro.org
arch/arm64/boot/dts/qcom/pm8150b.dtsi

index d0d8890..5d1ec3a 100644 (file)
                reg = <0x3 SPMI_USID>;
                #address-cells = <1>;
                #size-cells = <0>;
+
+               pm8150b_lpg: lpg {
+                       compatible = "qcom,pm8150b-lpg";
+
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       #pwm-cells = <2>;
+
+                       status = "disabled";
+               };
        };
 };