arm64: dts: qcom: pm660: Support SPMI regulators on PMIC sid 1
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Wed, 28 Jul 2021 22:25:23 +0000 (00:25 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 4 Aug 2021 20:07:03 +0000 (15:07 -0500)
The PM660 PMIC has SPMI regulators on the PMIC SID 1: let's
declare the second pmic subtree and add the spmi vregs compatible
to probe them there.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210728222542.54269-21-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/pm660.dtsi

index 2e6a6f6c3b6608371f452f8260683c7325f8ba29..c6c57fe626e38359ab622157fc4447ceda6878ce 100644 (file)
                        #interrupt-cells = <2>;
                };
        };
+
+       pmic@1 {
+               compatible = "qcom,pm660", "qcom,spmi-pmic";
+               reg = <0x1 SPMI_USID>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               pm660_spmi_regulators: pm660-regulators {
+                       compatible = "qcom,pm660-regulators";
+               };
+       };
 };