Re: [PATCH 0/3] SigmaStar SSD20XD GPIO interrupt controller
From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-09-14 15:59:39
Also in:
linux-devicetree
From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-09-14 15:59:39
Also in:
linux-devicetree
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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel