devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] irqchip/mchp-eic: add driver for Microchip EIC
@ 2021-09-24 16:28 Claudiu Beznea
  2021-09-24 16:28 ` [PATCH v3 1/2] dt-bindings: microchip,eic: add bindings Claudiu Beznea
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Claudiu Beznea @ 2021-09-24 16:28 UTC (permalink / raw)
  To: tglx, maz, robh+dt
  Cc: linux-kernel, devicetree, linux-arm-kernel, Claudiu Beznea

Hi,

This series adds support for Microchip External Interrupt Controller
present on SAMA7G5. The controller supports for 2 external interrupt
lines 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

Changes in v3:
- use irq_domain_translate_twocell() instead of mchp_eic_domain_translate()
  from v2
- use IRQCHIP_PLATFORM_DRIVER_BEGIN(), IRQCHIP_MATCH(),
  IRQCHIP_PLATFORM_DRIVER_END() instead of builtin_platform_driver()
- register suspend/resume functins via syscore_ops; along with this
  driver private data structure (of type struct mchp_eic has been declared
  as static: struct mchp_eic *eic;)
- collected tags

Changes in v2:
- fix compilation warning on bindings

Changes in v2:
- s/mchp/microchip in bindings
- get rid of glitch filter settings
- use s/eic@/interrupt-controller@ in bindings
- removed '' around interrupts in bindings as proposed by Rob
- removed glitch filter settings
- switched to hierarchical irqchip driver
- addressed review comments
- use builtin_platform_driver instead of module_platform_driver

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

 .../interrupt-controller/microchip,eic.yaml   |  73 +++++
 MAINTAINERS                                   |   6 +
 drivers/irqchip/Kconfig                       |   8 +
 drivers/irqchip/Makefile                      |   1 +
 drivers/irqchip/irq-mchp-eic.c                | 280 ++++++++++++++++++
 5 files changed, 368 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/microchip,eic.yaml
 create mode 100644 drivers/irqchip/irq-mchp-eic.c

-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [PATCH v3 0/2] irqchip/mchp-eic: add driver for Microchip EIC
@ 2021-09-10  6:06 Claudiu Beznea
  0 siblings, 0 replies; 5+ messages in thread
From: Claudiu Beznea @ 2021-09-10  6:06 UTC (permalink / raw)
  To: tglx, maz, robh+dt
  Cc: linux-kernel, devicetree, linux-arm-kernel, Claudiu Beznea

Hi,

This patch adds support for Microchip External Interrupt Controller
present on SAMA7G5. The controller supports for 2 external interrupt
lines 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

Changes in v2:
- fix compilation warning on bindings

Changes in v2:
- s/mchp/microchip in bindings
- get rid of glitch filter settings
- use s/eic@/interrupt-controller@ in bindings
- removed '' around interrupts in bindings as proposed by Rob
- removed glitch filter settings
- switched to hierarchical irqchip driver
- addressed review comments
- use builtin_platform_driver instead of module_platform_driver

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

 .../interrupt-controller/microchip,eic.yaml   |  73 ++++
 MAINTAINERS                                   |   6 +
 drivers/irqchip/Kconfig                       |   8 +
 drivers/irqchip/Makefile                      |   1 +
 drivers/irqchip/irq-mchp-eic.c                | 314 ++++++++++++++++++
 5 files changed, 402 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/microchip,eic.yaml
 create mode 100644 drivers/irqchip/irq-mchp-eic.c

-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-09-24 16:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-24 16:28 [PATCH v3 0/2] irqchip/mchp-eic: add driver for Microchip EIC Claudiu Beznea
2021-09-24 16:28 ` [PATCH v3 1/2] dt-bindings: microchip,eic: add bindings Claudiu Beznea
2021-09-24 16:28 ` [PATCH v3 2/2] irqchip/mchp-eic: add support Claudiu Beznea
2021-09-24 16:32 ` [PATCH v3 0/2] irqchip/mchp-eic: add driver for Microchip EIC Claudiu.Beznea
  -- strict thread matches above, loose matches on Subject: below --
2021-09-10  6:06 Claudiu Beznea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).