arm: dts: qcom: mdm9615: add interrupt controller properties
authorBrian Masney <masneyb@onstation.org>
Fri, 8 Feb 2019 02:16:29 +0000 (21:16 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 13 Feb 2019 08:33:55 +0000 (09:33 +0100)
Add interrupt controller properties now that ssbi-gpio is a proper
hierarchical IRQ chip. The interrupts property is no longer needed so
remove it.

Note that the IRQs started at 24 instead of 192 like all of the other
PMICs. This is the same IRQs as the MPP for this board. qcom-pm8xxx.c
doesn't set the shared IRQs so this is highly likely to be a copy and
paste error.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/qcom-mdm9615.dtsi

index c852b69..0ed6fc3 100644 (file)
 
                                pmicgpio: gpio@150 {
                                        compatible = "qcom,pm8018-gpio", "qcom,ssbi-gpio";
-                                       interrupt-parent = <&pmicintc>;
-                                       interrupts = <24 IRQ_TYPE_NONE>,
-                                                    <25 IRQ_TYPE_NONE>,
-                                                    <26 IRQ_TYPE_NONE>,
-                                                    <27 IRQ_TYPE_NONE>,
-                                                    <28 IRQ_TYPE_NONE>,
-                                                    <29 IRQ_TYPE_NONE>;
+                                       interrupt-controller;
+                                       #interrupt-cells = <2>;
                                        gpio-controller;
                                        #gpio-cells = <2>;
                                };