aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/qcom-pm8841.dtsi
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-11-25 14:27:36 -0800
committerAndy Gross <andy.gross@linaro.org>2016-02-23 23:52:25 -0600
commit65d4e83e340421b93739a660282d773d895be57d (patch)
tree15ca5173f1ee2f98a5cd8bdabab7d5f91273e2a7 /arch/arm/boot/dts/qcom-pm8841.dtsi
parentdevicetree: bindings: Document qcom board compatible format (diff)
downloadlinux-dev-65d4e83e340421b93739a660282d773d895be57d.tar.xz
linux-dev-65d4e83e340421b93739a660282d773d895be57d.zip
ARM: dts: qcom: Remove size elements from pmic reg properties
The #size-cells for the pmics are 0, but we specify a size in the reg property so that MPP and GPIO modules can figure out how many pins there are. Now that we've done that by counting irqs, we can remove the size elements in the reg properties and be DT compliant. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Acked-by: Andy Gross <andy.gross@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-pm8841.dtsi')
-rw-r--r--arch/arm/boot/dts/qcom-pm8841.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/qcom-pm8841.dtsi b/arch/arm/boot/dts/qcom-pm8841.dtsi
index 9f357f68713c..0512f645922e 100644
--- a/arch/arm/boot/dts/qcom-pm8841.dtsi
+++ b/arch/arm/boot/dts/qcom-pm8841.dtsi
@@ -11,7 +11,7 @@
pm8841_mpps: mpps@a000 {
compatible = "qcom,pm8841-mpp", "qcom,spmi-mpp";
- reg = <0xa000 0x400>;
+ reg = <0xa000>;
gpio-controller;
#gpio-cells = <2>;
interrupts = <4 0xa0 0 IRQ_TYPE_NONE>,
@@ -22,7 +22,7 @@
temp-alarm@2400 {
compatible = "qcom,spmi-temp-alarm";
- reg = <0x2400 0x100>;
+ reg = <0x2400>;
interrupts = <4 0x24 0 IRQ_TYPE_EDGE_RISING>;
};
};