arm64: dts: qcom: pmi8998: Add nodes for LAB and IBB regulators
authorNisha Kumari <nishakumari@codeaurora.org>
Mon, 22 Jun 2020 12:41:09 +0000 (18:11 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 19 Jul 2020 05:37:33 +0000 (22:37 -0700)
This patch adds devicetree nodes for LAB and IBB regulators.

Signed-off-by: Nisha Kumari <nishakumari@codeaurora.org>
[sumits: Updated for better compatible strings and names]
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: https://lore.kernel.org/r/20200622124110.20971-4-sumit.semwal@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/pmi8998.dtsi

index 23f9146..d016b12 100644 (file)
                reg = <0x3 SPMI_USID>;
                #address-cells = <1>;
                #size-cells = <0>;
+
+               labibb {
+                       compatible = "qcom,pmi8998-lab-ibb";
+
+                       ibb: ibb {
+                               interrupts = <0x3 0xdc 0x2 IRQ_TYPE_EDGE_RISING>;
+                       };
+
+                       lab: lab {
+                               interrupts = <0x3 0xde 0x0 IRQ_TYPE_EDGE_RISING>;
+                       };
+               };
        };
 };