ARM: dts: qcom: msm8660: move PMIC interrupts to the board files
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 28 Sep 2023 11:02:47 +0000 (14:02 +0300)
committerBjorn Andersson <andersson@kernel.org>
Tue, 14 Nov 2023 17:25:59 +0000 (11:25 -0600)
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.

Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230928110309.1212221-15-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm/boot/dts/qcom/qcom-apq8060-dragonboard.dts
arch/arm/boot/dts/qcom/qcom-msm8660-surf.dts
arch/arm/boot/dts/qcom/qcom-msm8660.dtsi

index 94351c9bf94b92f19afb76b8d51a403ca9722014..8a82f56fe7ca8fb7a8a8cc14146b22545aace465 100644 (file)
        };
 };
 
+&pm8058 {
+       interrupts-extended = <&tlmm 88 IRQ_TYPE_LEVEL_LOW>;
+};
+
 &pm8058_gpio {
        dragon_ethernet_gpios: ethernet-state {
                pinconf {
index 86fbb6dfdc2a1c7ccfb3f8f839bdf6dfb26c537e..a5441aecd63711f395734e09ab3235214b6ea1ae 100644 (file)
        status = "okay";
 };
 
+&pm8058 {
+       interrupts-extended = <&tlmm 88 IRQ_TYPE_LEVEL_LOW>;
+};
+
 &pm8058_keypad {
        linux,keymap = <
                MATRIX_KEY(0, 0, KEY_FN_F1)
index 9217ced108c42f297423c74858cdbfa156125c0c..84b0366792d4ef0dd540e9c74cc35624cb3cc827 100644 (file)
 
                        pm8058: pmic {
                                compatible = "qcom,pm8058";
-                               interrupt-parent = <&tlmm>;
-                               interrupts = <88 8>;
                                #interrupt-cells = <2>;
                                interrupt-controller;
                                #address-cells = <1>;