mbox series

[0/2] irqchip/mchp-eic: add driver for Microchip EIC

Message ID 20210302102846.619980-1-claudiu.beznea@microchip.com
Headers show
Series irqchip/mchp-eic: add driver for Microchip EIC | expand

Message

Claudiu Beznea March 2, 2021, 10:28 a.m. UTC
Hi,

This patch adds support for Microchip External Interrupt Controller
present on SAMA7G5. The controller supports for 2 external interrupt
lines, glitch filter capabilities and is connected to GIC as follows:

pinX   +------+ EXT_IRQ0 +------+ int 153 (for pinX) +------+
------>|      |--------->|      |------------------->|      |
pinY   | PIO  | EXT_IRQ1 | EIC  | int 154 (for pinY) | GIC  |
------>|      |--------->|      |------------------->|      |
       +------+          +------+                    +------+

where PIO is the pin controller.

Thank you,
Claudiu Beznea

Claudiu Beznea (2):
  dt-bindings: mchp-eic: add bindings
  irqchip/mchp-eic: add support

 .../interrupt-controller/mchp,eic.yaml        |  74 ++++
 MAINTAINERS                                   |   6 +
 drivers/irqchip/Kconfig                       |   7 +
 drivers/irqchip/Makefile                      |   1 +
 drivers/irqchip/irq-mchp-eic.c                | 350 ++++++++++++++++++
 5 files changed, 438 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/mchp,eic.yaml
 create mode 100644 drivers/irqchip/irq-mchp-eic.c