ARM: dts: qcom-pma8084: add interrupt controller properties
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 8 Oct 2021 01:25:22 +0000 (04:25 +0300)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 18 Oct 2021 00:11:35 +0000 (19:11 -0500)
Now that the pmic-mpp is a proper hierarchical IRQ chip, add interrupt
controller properties ('interrupt-controller' and '#interrupt-cells').
The interrupts property is no longer needed so remove it.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211008012524.481877-24-dmitry.baryshkov@linaro.org
arch/arm/boot/dts/qcom-pma8084.dtsi

index fcee2af..7b8a8d9 100644 (file)
                        gpio-controller;
                        #gpio-cells = <2>;
                        gpio-ranges = <&pma8084_mpps 0 0 8>;
-                       interrupts = <0 0xa0 0 IRQ_TYPE_NONE>,
-                                    <0 0xa1 0 IRQ_TYPE_NONE>,
-                                    <0 0xa2 0 IRQ_TYPE_NONE>,
-                                    <0 0xa3 0 IRQ_TYPE_NONE>,
-                                    <0 0xa4 0 IRQ_TYPE_NONE>,
-                                    <0 0xa5 0 IRQ_TYPE_NONE>,
-                                    <0 0xa6 0 IRQ_TYPE_NONE>,
-                                    <0 0xa7 0 IRQ_TYPE_NONE>;
+                       interrupt-controller;
+                       #interrupt-cells = <2>;
                };
 
                pma8084_temp: temp-alarm@2400 {