Commit 7b22923c authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Bjorn Andersson

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: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230928110309.1212221-13-dmitry.baryshkov@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent a10a09f3
...@@ -184,6 +184,14 @@ &mdp_dsi1_out { ...@@ -184,6 +184,14 @@ &mdp_dsi1_out {
remote-endpoint = <&dsi0_in>; 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 { &rpm {
regulators { regulators {
vdd_l1_l2_l12_l18-supply = <&pm8921_s4>; vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
......
...@@ -69,6 +69,14 @@ &pcie { ...@@ -69,6 +69,14 @@ &pcie {
status = "okay"; status = "okay";
}; };
&pm8821 {
interrupts-extended = <&tlmm_pinmux 76 IRQ_TYPE_LEVEL_LOW>;
};
&pm8921 {
interrupts-extended = <&tlmm_pinmux 74 IRQ_TYPE_LEVEL_LOW>;
};
&pm8921_gpio { &pm8921_gpio {
wlan_default_gpios: wlan-gpios-state { wlan_default_gpios: wlan-gpios-state {
pinconf { pinconf {
......
...@@ -170,6 +170,14 @@ &pcie { ...@@ -170,6 +170,14 @@ &pcie {
perst-gpios = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>; 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 { &pm8921_gpio {
wlan_default_gpios: wlan-gpios-state { wlan_default_gpios: wlan-gpios-state {
pinconf { pinconf {
......
...@@ -65,6 +65,14 @@ &gsbi5_serial { ...@@ -65,6 +65,14 @@ &gsbi5_serial {
status = "okay"; status = "okay";
}; };
&pm8821 {
interrupts-extended = <&tlmm_pinmux 76 IRQ_TYPE_LEVEL_LOW>;
};
&pm8921 {
interrupts-extended = <&tlmm_pinmux 74 IRQ_TYPE_LEVEL_LOW>;
};
&pm8921_gpio { &pm8921_gpio {
gpio_keys_pin_a: gpio-keys-active-state { gpio_keys_pin_a: gpio-keys-active-state {
pins = "gpio3", "gpio4", "gpio29", "gpio35"; pins = "gpio3", "gpio4", "gpio29", "gpio35";
......
...@@ -662,8 +662,6 @@ ssbi@c00000 { ...@@ -662,8 +662,6 @@ ssbi@c00000 {
pm8821: pmic { pm8821: pmic {
compatible = "qcom,pm8821"; compatible = "qcom,pm8821";
interrupt-parent = <&tlmm_pinmux>;
interrupts = <76 IRQ_TYPE_LEVEL_LOW>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
interrupt-controller; interrupt-controller;
#address-cells = <1>; #address-cells = <1>;
...@@ -688,8 +686,6 @@ ssbi@500000 { ...@@ -688,8 +686,6 @@ ssbi@500000 {
pm8921: pmic { pm8921: pmic {
compatible = "qcom,pm8921"; compatible = "qcom,pm8921";
interrupt-parent = <&tlmm_pinmux>;
interrupts = <74 8>;
#interrupt-cells = <2>; #interrupt-cells = <2>;
interrupt-controller; interrupt-controller;
#address-cells = <1>; #address-cells = <1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment