ARM: dts: qcom: apq8064: 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-13-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Dmitry Baryshkov 2023-09-28 14:02:45 +03:00 committed by Bjorn Andersson
parent a10a09f34e
commit 7b22923c3f
5 changed files with 32 additions and 4 deletions

View File

@ -184,6 +184,14 @@
remote-endpoint = <&dsi0_in>;
};
&pm8821 {
interrupts-extended = <&tlmm_pinmux 76 IRQ_TYPE_LEVEL_LOW>;
};
&pm8921 {
interrupts-extended = <&tlmm_pinmux 74 IRQ_TYPE_LEVEL_LOW>;
};
&rpm {
regulators {
vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;

View File

@ -69,6 +69,14 @@
status = "okay";
};
&pm8821 {
interrupts-extended = <&tlmm_pinmux 76 IRQ_TYPE_LEVEL_LOW>;
};
&pm8921 {
interrupts-extended = <&tlmm_pinmux 74 IRQ_TYPE_LEVEL_LOW>;
};
&pm8921_gpio {
wlan_default_gpios: wlan-gpios-state {
pinconf {

View File

@ -170,6 +170,14 @@
perst-gpios = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
};
&pm8821 {
interrupts-extended = <&tlmm_pinmux 76 IRQ_TYPE_LEVEL_LOW>;
};
&pm8921 {
interrupts-extended = <&tlmm_pinmux 74 IRQ_TYPE_LEVEL_LOW>;
};
&pm8921_gpio {
wlan_default_gpios: wlan-gpios-state {
pinconf {

View File

@ -65,6 +65,14 @@
status = "okay";
};
&pm8821 {
interrupts-extended = <&tlmm_pinmux 76 IRQ_TYPE_LEVEL_LOW>;
};
&pm8921 {
interrupts-extended = <&tlmm_pinmux 74 IRQ_TYPE_LEVEL_LOW>;
};
&pm8921_gpio {
gpio_keys_pin_a: gpio-keys-active-state {
pins = "gpio3", "gpio4", "gpio29", "gpio35";

View File

@ -662,8 +662,6 @@
pm8821: pmic {
compatible = "qcom,pm8821";
interrupt-parent = <&tlmm_pinmux>;
interrupts = <76 IRQ_TYPE_LEVEL_LOW>;
#interrupt-cells = <2>;
interrupt-controller;
#address-cells = <1>;
@ -688,8 +686,6 @@
pm8921: pmic {
compatible = "qcom,pm8921";
interrupt-parent = <&tlmm_pinmux>;
interrupts = <74 8>;
#interrupt-cells = <2>;
interrupt-controller;
#address-cells = <1>;