On Fri, Mar 1, 2013 at 6:22 PM, Jon Hunter [off-list ref] wrote:
Summary of updates:
- Convert OMAP GPIO driver to use linear mapping for IRQ domains
- Avoid crashes seen if a gpio bank is not enabled when requesting an IRQ.
Testing includes:
- Boot testing on OMAP5912 OSK, OMAP2420 H4, OMAP3430 SDP, OMAP4430 SDP
and AM335x EVM.
- Verified that GPIO interrupts are working on OMAP5912 OSK, OMAP2420 H4,
OMAP3430 SDP and OMAP4430 SDP by making sure networking was working
correctly as these boards use a GPIO with the ethernet chips. Also
checked /proc/interrupts to ensure GPIO interrupt counts are
incrementing as expected.
Jon Hunter (2):
gpio/omap: convert gpio irq domain to linear mapping
gpio/omap: warn if bank is not enabled on setting irq type
drivers/gpio/gpio-omap.c | 75 +++++++++++++++++++++-------------------------
1 file changed, 34 insertions(+), 41 deletions(-)
--
I've tested on a TI OMAP3 DM3735 board (IGEPv2) and the ethernet chip
(which use a GPIO line as a IRQ) is working correctly too.
So, for both patches:
Tested-by: Javier Martinez Canillas <javier@dowhile0.org>