[PATCH 2/4] arm64: dts: qcom: pmi8998: Add nodes for LAB and IBB regulators

From: Nisha Kumari
Date: Wed Jun 12 2019 - 07:05:52 EST


This patch adds devicetree nodes for LAB and IBB regulators.

Signed-off-by: Nisha Kumari <nishakumari@xxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/pmi8998.dtsi | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/pmi8998.dtsi b/arch/arm64/boot/dts/qcom/pmi8998.dtsi
index da3285e..6c8539f 100644
--- a/arch/arm64/boot/dts/qcom/pmi8998.dtsi
+++ b/arch/arm64/boot/dts/qcom/pmi8998.dtsi
@@ -36,5 +36,27 @@
reg = <0x3 SPMI_USID>;
#address-cells = <1>;
#size-cells = <0>;
+
+ labibb: qcom-lab-ibb-regulator {
+ compatible = "qcom,lab-ibb-regulator";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ibb_regulator: qcom,ibb@dc00 {
+ reg = <0xdc00>;
+ regulator-name = "ibb_reg";
+
+ interrupts = <0x3 0xdc 0x2 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "ibb-sc-err";
+ };
+
+ lab_regulator: qcom,lab@de00 {
+ reg = <0xde00>;
+ regulator-name = "lab_reg";
+
+ interrupts = <0x3 0xde 0x0 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "lab-sc-err";
+ };
+ };
};
};
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project