]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
arm64: dts: allwinner: Use the new r_intc binding
authorSamuel Holland <samuel@sholland.org>
Mon, 18 Jan 2021 05:50:39 +0000 (23:50 -0600)
committerChen-Yu Tsai <wens@csie.org>
Sat, 6 Mar 2021 07:39:18 +0000 (15:39 +0800)
The binding of R_INTC was updated to allow specifying interrupts other
than the external NMI, since routing those interrupts through the R_INTC
driver allows using them for wakeup.

Update the device trees to use the new binding.

Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
17 files changed:
arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts
arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts
arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts
arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi
arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts
arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi

index c7bd73f35ed89e917e2060d61aefd8b1603721c3..f17cc89f472d9479ba69c096877c98061655a74b 100644 (file)
                compatible = "x-powers,axp803";
                reg = <0x3a3>;
                interrupt-parent = <&r_intc>;
-               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
                x-powers,drive-vbus-en; /* set N_VBUSEN as output pin */
        };
 };
index f7fe9fa50cb39ec1a1018c74e4d46d0f6dc3c669..997a193726836b62ad7204ab989198dafbc5ae69 100644 (file)
                compatible = "x-powers,axp803";
                reg = <0x3a3>;
                interrupt-parent = <&r_intc>;
-               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
                x-powers,drive-vbus-en; /* set N_VBUSEN as output pin */
        };
 };
index 09b3c7fb82c00917d0040e769f2536dcdfe3fe0f..e47ff06a6fa9990b2d2f0b4de59b2b55de02d20b 100644 (file)
                compatible = "x-powers,axp803";
                reg = <0x3a3>;
                interrupt-parent = <&r_intc>;
-               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
        };
 };
 
index f3f8e177ab610352846905ec7a4edffb8341c2df..ec7e2c0e82c1911ac30cf3e515418e7e31f612e4 100644 (file)
                compatible = "x-powers,axp803";
                reg = <0x3a3>;
                interrupt-parent = <&r_intc>;
-               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
                x-powers,drive-vbus-en; /* set N_VBUSEN as output pin */
        };
 };
index 70e31743f0bacbcd5cf1b9e384f2a8319bae80a8..097a5511523ad54eff05d8dc8efcb2db84196f97 100644 (file)
                compatible = "x-powers,axp803";
                reg = <0x3a3>;
                interrupt-parent = <&r_intc>;
-               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
                x-powers,drive-vbus-en; /* set N_VBUSEN as output pin */
        };
 };
index 329cf276561e896bbc193eb26208d4348e03c74d..2accb5ddf783359e3de69d155edb0c4cf479e66a 100644 (file)
                compatible = "x-powers,axp803";
                reg = <0x3a3>;
                interrupt-parent = <&r_intc>;
-               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
        };
 };
 
index 7ae16541d14f5f738901d86c57997c3b72f5f659..34e67f5f829794fde53be977d601f2adf7c108d2 100644 (file)
                compatible = "x-powers,axp803";
                reg = <0x3a3>;
                interrupt-parent = <&r_intc>;
-               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
        };
 };
 
index 9f69d489a81de906f7086e771b6d12b972a80e92..79adea3f8cc16aaf42f64568f164d35d4251b209 100644 (file)
                compatible = "x-powers,axp803";
                reg = <0x3a3>;
                interrupt-parent = <&r_intc>;
-               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
        };
 };
 
index 422a8507f674fc7e1dd1d6365225af76275d1926..7ef96f9ff7aed0ec02bc2b7c2c27b6958e50c307 100644 (file)
                compatible = "x-powers,axp803";
                reg = <0x3a3>;
                interrupt-parent = <&r_intc>;
-               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
                x-powers,drive-vbus-en;
        };
 };
index 3402cec87035bbea4ee851482323d99b4191c94c..50308077ea8c46b322d8ad02c07b931638efe739 100644 (file)
@@ -45,7 +45,7 @@
                compatible = "x-powers,axp803";
                reg = <0x3a3>;
                interrupt-parent = <&r_intc>;
-               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
        };
 };
 
index f0a16f355e270619b8afb14d1b45f23b3e166a5e..45e1abdf70a05fffd6eeda6a97a3957012cf090d 100644 (file)
                compatible = "x-powers,axp803";
                reg = <0x3a3>;
                interrupt-parent = <&r_intc>;
-               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_LOW>;
                wakeup-source;
        };
 };
index 57786fc120c30b884c4509648c7ded86f2cc030c..5bf9d61fab121645a18a88910746ffe56b0e3f58 100644 (file)
                        compatible = "allwinner,sun50i-a64-r-intc",
                                     "allwinner,sun6i-a31-r-intc";
                        interrupt-controller;
-                       #interrupt-cells = <2>;
+                       #interrupt-cells = <3>;
                        reg = <0x01f00c00 0x400>;
                        interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
                };
index 4f4755152fcea822da8318f2926e0ab54de95d48..c42b2abc1ad05b4d6a10fe3826372d30a89c4f37 100644 (file)
                compatible = "x-powers,axp805", "x-powers,axp806";
                reg = <0x36>;
                interrupt-parent = <&r_intc>;
-               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
                interrupt-controller;
                #interrupt-cells = <1>;
                x-powers,self-working-mode;
index 7e83f6146f8a589f06fad2d1f5ec215a78217a8a..19339644a68a51315a07e37614417ba0650e9548 100644 (file)
                compatible = "x-powers,axp805", "x-powers,axp806";
                reg = <0x36>;
                interrupt-parent = <&r_intc>;
-               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
                interrupt-controller;
                #interrupt-cells = <1>;
                x-powers,self-working-mode;
index da0875bd38d40e2e5419bf5e8b0c577cc45714b2..4ec4996592befb5e58c522fe21dd60f294f3e86a 100644 (file)
                compatible = "x-powers,axp805", "x-powers,axp806";
                reg = <0x36>;
                interrupt-parent = <&r_intc>;
-               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
                interrupt-controller;
                #interrupt-cells = <1>;
                x-powers,self-working-mode;
index b868ad17af8fdad6563035996b82fb5da7bf7dcd..1ffd68f43f875845f245e60d17e8c02f932ed88d 100644 (file)
                compatible = "x-powers,axp805", "x-powers,axp806";
                reg = <0x36>;
                interrupt-parent = <&r_intc>;
-               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
                interrupt-controller;
                #interrupt-cells = <1>;
                x-powers,self-working-mode;
                compatible = "nxp,pcf8563";
                reg = <0x51>;
                interrupt-parent = <&r_intc>;
-               interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+               interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
                #clock-cells = <0>;
        };
 };
index 49e979794094f415bb880883188bcce3b8bd2b34..d395e50912a5f2373930f6950d72213c686121cf 100644 (file)
                };
 
                r_intc: interrupt-controller@7021000 {
-                       compatible = "allwinner,sun50i-h6-r-intc",
-                                    "allwinner,sun6i-a31-r-intc";
+                       compatible = "allwinner,sun50i-h6-r-intc";
                        interrupt-controller;
-                       #interrupt-cells = <2>;
+                       #interrupt-cells = <3>;
                        reg = <0x07021000 0x400>;
                        interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
                };