[lkml]   [2019]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/5] MIPS: lantiq: EBU interrupt controller and generalization
The relevant EBU code which is touched by this series is:
- initialization of the EBU WRDIS register on XWAY SoCs (this was part
of arch/mips/lantiq/xway/sysctrl.c)
- initialization of the global ltq_ebu_membase variable on XWAY and
Falcon SoCs (this was part of arch/mips/lantiq/xway/sysctrl.c and
- handling the chained PCI_INTA interrupt (which was previously managed
by arch/mips/lantiq/irq.c)
- configuring the PCI_INTA interrupt line (which was previously done by

Instead of having the code spread across multiple source code files
this moves them to one "EBU" driver in arch/mips/lantiq/ebu.c utilizing
the irqchip subsystem to implement the PCI_INTA interrupt line.

While here this adds the dt-bindings documentation for the EBU IP block.

I believe that this series should go through the MIPS tree. However, it
would be great to have the irqchip maintainer review patch #3.

Martin Blumenstingl (5):
dt-bindings: MIPS: lantiq: Add documentation for the External Bus Unit
MIPS: lantiq: use a generic "EBU" driver for Falcon and XWAY SoCs
MIPS: lantiq: add an irq_domain and irq_chip for EBU
MIPS: dts: lantiq: danube: mark the ebu0 node as interrupt-controller
MIPS: dts: lantiq: danube: easy50712: route the PCI_INTA IRQ through

.../bindings/mips/lantiq/lantiq,ebu.yaml | 53 ++++
arch/mips/boot/dts/lantiq/danube.dtsi | 3 +
arch/mips/boot/dts/lantiq/easy50712.dts | 4 +-
.../include/asm/mach-lantiq/xway/lantiq_soc.h | 5 -
arch/mips/lantiq/Makefile | 2 +-
arch/mips/lantiq/ebu.c | 238 ++++++++++++++++++
arch/mips/lantiq/falcon/sysctrl.c | 17 +-
arch/mips/lantiq/irq.c | 11 -
arch/mips/lantiq/xway/sysctrl.c | 21 +-
arch/mips/pci/pci-lantiq.c | 4 -
10 files changed, 308 insertions(+), 50 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mips/lantiq/lantiq,ebu.yaml
create mode 100644 arch/mips/lantiq/ebu.c


 \ /
  Last update: 2019-07-27 19:54    [W:0.063 / U:5.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site