ARM: dts: qcom: msm8960: move PMIC interrupts to the board files

The interrupt of SSBI PMICs is routed to the SoCs GPIO. As such, it is
not a property of the SoC, it is a property of the particular board
(even if it is standard and unified between all devices). Move these
interrupt specifications to the board files.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230928110309.1212221-16-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Dmitry Baryshkov 2023-09-28 14:02:48 +03:00 committed by Bjorn Andersson
parent 41cdee8a33
commit 31c4b7415a
3 changed files with 8 additions and 2 deletions

View File

@ -88,6 +88,10 @@
};
};
&pm8921 {
interrupts-extended = <&msmgpio 104 IRQ_TYPE_LEVEL_LOW>;
};
&pm8921_keypad {
linux,keymap = <
MATRIX_KEY(0, 0, KEY_VOLUMEUP)

View File

@ -84,6 +84,10 @@
};
};
&pm8921 {
interrupts-extended = <&msmgpio 104 IRQ_TYPE_LEVEL_LOW>;
};
&rpm {
regulators {
compatible = "qcom,rpm-pm8921-regulators";

View File

@ -266,8 +266,6 @@
pm8921: pmic {
compatible = "qcom,pm8921";
interrupt-parent = <&msmgpio>;
interrupts = <104 IRQ_TYPE_LEVEL_LOW>;
#interrupt-cells = <2>;
interrupt-controller;
#address-cells = <1>;