diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2021-09-27 08:36:57 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-10-20 20:40:54 +0200 |
commit | 00fa3461c86dd289b441d4d5a6bb236064bd207b (patch) | |
tree | b234afb66834b8695032e3f5ef0ad2c8c2408fc2 /drivers/irqchip/Kconfig | |
parent | dt-bindings: microchip,eic: Add bindings for the Microchip EIC (diff) | |
download | linux-00fa3461c86dd289b441d4d5a6bb236064bd207b.tar.xz linux-00fa3461c86dd289b441d4d5a6bb236064bd207b.zip |
irqchip/mchp-eic: Add support for the Microchip EIC
Add support for Microchip External Interrupt Controller. The controller
supports 2 external interrupt lines. For every external input there is
a connection to GIC. The interrupt controllers contains only 4
registers:
- EIC_GFCS (read only): which indicates that glitch filter configuration
is ready (not addressed in this implementation)
- EIC_SCFG0R, EIC_SCFG1R (read, write): allows per interrupt specific
settings: enable, polarity/edge settings, glitch filter settings
- EIC_WPMR, EIC_WPSR: enables write protection mode specific settings
(which are architecture specific) for the controller and are not
addressed in this implementation
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210927063657.2157676-3-claudiu.beznea@microchip.com
Diffstat (limited to 'drivers/irqchip/Kconfig')
-rw-r--r-- | drivers/irqchip/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index aca7b595c4c7..8df8ffb9379f 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -602,4 +602,12 @@ config APPLE_AIC Support for the Apple Interrupt Controller found on Apple Silicon SoCs, such as the M1. +config MCHP_EIC + bool "Microchip External Interrupt Controller" + depends on ARCH_AT91 || COMPILE_TEST + select IRQ_DOMAIN + select IRQ_DOMAIN_HIERARCHY + help + Support for Microchip External Interrupt Controller. + endmenu |