lkml.org 
[lkml]   [2021]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 21/41] arm64: dts: qcom: pm660: Support SPMI regulators on PMIC sid 1
    Date
    From: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>

    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>
    ---
    arch/arm64/boot/dts/qcom/pm660.dtsi | 11 +++++++++++
    1 file changed, 11 insertions(+)

    diff --git a/arch/arm64/boot/dts/qcom/pm660.dtsi b/arch/arm64/boot/dts/qcom/pm660.dtsi
    index 2e6a6f6c3b66..c6c57fe626e3 100644
    --- a/arch/arm64/boot/dts/qcom/pm660.dtsi
    +++ b/arch/arm64/boot/dts/qcom/pm660.dtsi
    @@ -47,4 +47,15 @@ pm660_gpios: gpios@c000 {
    #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";
    + };
    + };
    };
    --
    2.30.1
    \
     
     \ /
      Last update: 2021-02-26 21:27    [W:4.194 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site