Re: [PATCH 12/16] irqchip/eip201-aic: Add support for Safexcel EIP-201 AIC

From: Geert Uytterhoeven

Date: Wed Apr 08 2026 - 04:18:04 EST


Hi Miquel,

On Fri, 27 Mar 2026 at 21:11, Miquel Raynal (Schneider Electric)
<miquel.raynal@xxxxxxxxxxx> wrote:
> Describe the EIP-201 Advanced Interrupt Controller from Inside Secure,
> typically found in a bigger block named EIP-150. This controller is
> rather simple and is driven using the generic irqchip model. Its
> own interrupt domain is limited to just a few interrupts connected to
> other inner blocks, such as a Random Number Generator and a Public Key
> Accelerator.
>
> The one I used receives only rising edge interrupts and uses its own
> logic to track them. It is theoretically possible to wire devices with
> level interrupts, but not in the context of the EIP-150.
>
> Signed-off-by: Miquel Raynal (Schneider Electric) <miquel.raynal@xxxxxxxxxxx>

Thanks for your patch!

> --- a/drivers/irqchip/Kconfig
> +++ b/drivers/irqchip/Kconfig
> @@ -826,4 +826,12 @@ config SUNPLUS_SP7021_INTC
> chained controller, routing all interrupt source in P-Chip to
> the primary controller on C-Chip.
>
> +config SAFEXCEL_EIP201_AIC
> + tristate "Safexcel EIP201 AIC"

Is there any platform dependency that could be added here?

> + select IRQ_DOMAIN
> + help
> + Support for the Advanced Interrupt Controller (AIC) typically
> + inside Safexcel EIP150 IPs, gathering Public Key Accelerator
> + and True Random Number Generator interrupts.
> +
> endmenu

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds