[PATCH 00/10] irqchip: sunxi-nmi: Cleanups and fix A31 R_INTC register offset
From: Chen-Yu Tsai
Date: Tue Jun 06 2017 - 01:59:50 EST
Hi everyone,
This is an alternative to Icenowy's recent A64 R_INTC patches.
This is a two part series. The first four patches clean up the existing
sunxi-nmi driver. Patches five and six add a new "sun6i-a31-r-intc"
compatible, which mainly adjusts or removes the awkward register region
offset the old "sun6i-a31-sc-nmi" compatible needed. The remaining
patches fix or add device nodes for SoC's having this hardware.
Using "sun6i-a31-r-intc" introduced in this series, instead of Icenowy's
"sun50i-a64-r-intc" is preferred. This follows our policy of naming
hardware blocks and compatibles after their first occurrence.
The first six patches should go through the irqchip tree, while we
(sunxi) can take the device tree changes after the driver has been
merged, to avoid breaking linux-next as a whole.
Regards
ChenYu
Chen-Yu Tsai (9):
irqchip: sunxi-nmi: Convert magic numbers to defines
irqchip: sunxi-nmi: Document interrupt disabling and clearing at probe
time
irqchip: sunxi-nmi: Reorder sunxi_sc_nmi_reg_offs' in ascending order
irqchip: sunxi-nmi: const-ify sunxi_sc_nmi_reg_offs structures
dt-bindings: interrupt-controller: sunxi-nmi: Add compatible for A31
R_INTC
irqchip: sunxi-nmi: Support sun6i-a31-r-intc compatible
ARM: sun6i: a31: Use new sun6i-a31-r-intc compatible for NMI/R_INTC
ARM: sun8i: a23/a33: Use new sun6i-a31-r-intc compatible for
NMI/R_INTC
ARM: sun8i: a83t: Add device node for R_INTC interrupt controller
Icenowy Zheng (1):
arm64: allwinner: a64: add NMI (R_INTC) controller on A64
.../interrupt-controller/allwinner,sunxi-nmi.txt | 7 ++-
arch/arm/boot/dts/sun6i-a31.dtsi | 6 +-
arch/arm/boot/dts/sun8i-a23-a33.dtsi | 6 +-
arch/arm/boot/dts/sun8i-a83t.dtsi | 9 +++
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 9 +++
drivers/irqchip/irq-sunxi-nmi.c | 68 +++++++++++++++++-----
6 files changed, 83 insertions(+), 22 deletions(-)
--
2.11.0