[PATCH 0/3] SigmaStar SSD20XD GPIO interrupt controller
Andrew Lunn
andrew at lunn.ch
Tue Sep 14 08:59:35 PDT 2021
On Tue, Sep 14, 2021 at 07:04:12PM +0900, Daniel Palmer wrote:
> In new SigmaStar SoCs they have moved away from having a few
> interrupt capable GPIOs and instead have chained yet another
> interrupt controller in to provide interrupt support for
> all of the GPIOs.
>
> I'm hardly an IRQ expert so I expect I've made a total
> mess of this. No one else was going to write this driver
> so I had a go.
Hi Daniel
How are the GPIOs mapped to the interrupts? Is it a simple 1:1?
The GPIO core has some support for the GPIO drivers to be also
interrupt controllers. So if this interrupt control is dedicated to
GPIO, you would be better to make it part of the GPIO driver.
Andrew
More information about the linux-arm-kernel
mailing list