ARM: dts: msm: update PMIC GPIO access permissions for Kona
Update the PM8150, PM8150B, and PM8150L PMIC GPIO configurations
to accurately capture application processor peripheral ownership
details. In particular, allow usage of GPIO 7 for each of these
PMICs and disallow usage of PM8150L GPIO 9.
Change-Id: I90391eb0bedf46919d3e3e80e9f5abca9b5a5d52
Signed-off-by: David Collins <collinsd@codeaurora.org>
diff --git a/arch/arm64/boot/dts/qcom/pm8150.dtsi b/arch/arm64/boot/dts/qcom/pm8150.dtsi
index 29495c1..10161b4 100644
--- a/arch/arm64/boot/dts/qcom/pm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8150.dtsi
@@ -76,14 +76,15 @@
interrupts = <0x0 0xc0 0x0 IRQ_TYPE_NONE>,
<0x0 0xc2 0x0 IRQ_TYPE_NONE>,
<0x0 0xc5 0x0 IRQ_TYPE_NONE>,
+ <0x0 0xc6 0x0 IRQ_TYPE_NONE>,
<0x0 0xc8 0x0 IRQ_TYPE_NONE>,
<0x0 0xc9 0x0 IRQ_TYPE_NONE>;
interrupt-names = "pm8150_gpio1", "pm8150_gpio3",
- "pm8150_gpio6", "pm8150_gpio9",
- "pm8150_gpio10";
+ "pm8150_gpio6", "pm8150_gpio7",
+ "pm8150_gpio9", "pm8150_gpio10";
gpio-controller;
#gpio-cells = <2>;
- qcom,gpios-disallowed = <2 4 5 7 8>;
+ qcom,gpios-disallowed = <2 4 5 8>;
};
pm8150_rtc: qcom,pm8150_rtc {
diff --git a/arch/arm64/boot/dts/qcom/pm8150b.dtsi b/arch/arm64/boot/dts/qcom/pm8150b.dtsi
index c427d85..1b87f43 100644
--- a/arch/arm64/boot/dts/qcom/pm8150b.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8150b.dtsi
@@ -61,17 +61,19 @@
<0x2 0xc1 0x0 IRQ_TYPE_NONE>,
<0x2 0xc4 0x0 IRQ_TYPE_NONE>,
<0x2 0xc5 0x0 IRQ_TYPE_NONE>,
+ <0x2 0xc6 0x0 IRQ_TYPE_NONE>,
<0x2 0xc7 0x0 IRQ_TYPE_NONE>,
<0x2 0xc8 0x0 IRQ_TYPE_NONE>,
<0x2 0xc9 0x0 IRQ_TYPE_NONE>,
<0x2 0xcb 0x0 IRQ_TYPE_NONE>;
interrupt-names = "pm8150b_gpio1", "pm8150b_gpio2",
"pm8150b_gpio5", "pm8150b_gpio6",
- "pm8150b_gpio8", "pm8150b_gpio9",
- "pm8150b_gpio10", "pm8150b_gpio12";
+ "pm8150b_gpio7", "pm8150b_gpio8",
+ "pm8150b_gpio9", "pm8150b_gpio10",
+ "pm8150b_gpio12";
gpio-controller;
#gpio-cells = <2>;
- qcom,gpios-disallowed = <3 4 7 11>;
+ qcom,gpios-disallowed = <3 4 11>;
};
pm8150b_charger: qcom,qpnp-smb5 {
diff --git a/arch/arm64/boot/dts/qcom/pm8150l.dtsi b/arch/arm64/boot/dts/qcom/pm8150l.dtsi
index da4e4e5..186c86f 100644
--- a/arch/arm64/boot/dts/qcom/pm8150l.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8150l.dtsi
@@ -55,18 +55,18 @@
<0x4 0xc3 0x0 IRQ_TYPE_NONE>,
<0x4 0xc4 0x0 IRQ_TYPE_NONE>,
<0x4 0xc5 0x0 IRQ_TYPE_NONE>,
+ <0x4 0xc6 0x0 IRQ_TYPE_NONE>,
<0x4 0xc7 0x0 IRQ_TYPE_NONE>,
- <0x4 0xc8 0x0 IRQ_TYPE_NONE>,
<0x4 0xc9 0x0 IRQ_TYPE_NONE>,
<0x4 0xca 0x0 IRQ_TYPE_NONE>;
interrupt-names = "pm8150l_gpio1", "pm8150l_gpio3",
"pm8150l_gpio4", "pm8150l_gpio5",
- "pm8150l_gpio6", "pm8150l_gpio8",
- "pm8150l_gpio9", "pm8150l_gpio10",
+ "pm8150l_gpio6", "pm8150l_gpio7",
+ "pm8150l_gpio8", "pm8150l_gpio10",
"pm8150l_gpio11";
gpio-controller;
#gpio-cells = <2>;
- qcom,gpios-disallowed = <2 7 12>;
+ qcom,gpios-disallowed = <2 9 12>;
};
pm8150l_vadc: vadc@3100 {