[Patch v4 00/12] microblaze/MIPS: xilfpga: intc and peripheral

From: Zubair Lutfullah Kakakhel
Date: Thu Sep 01 2016 - 20:39:00 EST


Hi,

The MIPS based Xilfpga platform uses the axi interrupt controller
daisy chained to the MIPS microAptiv cpu interrupt controller.
This patch series moves the axi interrupt controller driver out
of arch/microblaze to drivers/irqchip and then cleans it up a bit.
This makes it usable by MIPS. The rest of the series basically
enables drivers and adds dt nodes.

Would make sense for this to go via the MIPS tree.
Hence, ACKs from microblaze. irqchip and net welcome.

Compile tested on microblaze-el only!
Based on v4.8-rc4

Regards,
ZubairLK

V3 -> V4
Better error handling
Some minor fixups

V2 -> V3
Cleanup the interrupt controller driver a bit based on feedback
Rebase to v4.8-rc4

V1 -> V2
Resubmitting without truncating the diff output for file moves
Removed accidental local mac address entry
Individual logs have more detail

Zubair Lutfullah Kakakhel (12):
microblaze: irqchip: Move intc driver to irqchip
irqchip: axi-intc: Clean up irqdomain argument and read/write
irqchip: axi-intc: Rename get_irq to xintc_get_irq
irqchip: axi-intc: Add support for parent intc
MIPS: xilfpga: Use irqchip_init instead of the legacy way
MIPS: xilfpga: Use Xilinx AXI Interrupt Controller
MIPS: xilfpga: Update DT node and specify uart irq
MIPS: Xilfpga: Add DT node for AXI I2C
net: ethernet: xilinx: Generate random mac if none found
net: ethernet: xilinx: Enable emaclite for MIPS
MIPS: xilfpga: Add DT node for AXI emaclite
MIPS: xilfpga: Update defconfig

arch/microblaze/Kconfig | 1 +
arch/microblaze/include/asm/irq.h | 2 +-
arch/microblaze/kernel/Makefile | 2 +-
arch/microblaze/kernel/intc.c | 196 --------------------
arch/microblaze/kernel/irq.c | 4 +-
arch/mips/Kconfig | 1 +
arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 63 +++++++
arch/mips/configs/xilfpga_defconfig | 37 +++-
arch/mips/xilfpga/intc.c | 7 +-
drivers/irqchip/Kconfig | 4 +
drivers/irqchip/Makefile | 1 +
drivers/irqchip/irq-axi-intc.c | 252 ++++++++++++++++++++++++++
drivers/net/ethernet/xilinx/Kconfig | 4 +-
drivers/net/ethernet/xilinx/xilinx_emaclite.c | 8 +-
14 files changed, 371 insertions(+), 211 deletions(-)
delete mode 100644 arch/microblaze/kernel/intc.c
create mode 100644 drivers/irqchip/irq-axi-intc.c

--
1.9.1