ARM: dts: qcom: mdm9615: move PMIC interrupts to the board files
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 28 Sep 2023 11:02:46 +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-14-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm/boot/dts/qcom/qcom-mdm9615-wp8548.dtsi
arch/arm/boot/dts/qcom/qcom-mdm9615.dtsi

index dac3aa793f711555b7380f47b1cfebc5b87a7aed..b782ff0d16cd9e94f1ea10d56e640eac324b88a4 100644 (file)
        };
 };
 
+&pm8018 {
+       interrupts-extended = <&intc GIC_PPI 226 IRQ_TYPE_LEVEL_HIGH>;
+};
+
 &pm8018_gpio {
        usb_vbus_5v_pins: usb-vbus-5v-state {
                pins = "gpio4";
index c0a60bae703b112d663b092735311ea5c73b5431..0b88ed3189b5db985c00895fe9ee430e33e7f399 100644 (file)
 
                        pm8018: pmic {
                                compatible = "qcom,pm8018", "qcom,pm8921";
-                               interrupts = <GIC_PPI 226 IRQ_TYPE_LEVEL_HIGH>;
                                #interrupt-cells = <2>;
                                interrupt-controller;
                                #address-cells = <1>;