OMAP1: Amstrad Delta: add FIQ handler for serial keyboardport interrupt processing
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Wed, 28 Apr 2010 01:01:29 +0000 (01:01 +0000)
committerTony Lindgren <tony@atomide.com>
Wed, 5 May 2010 18:11:10 +0000 (11:11 -0700)
commit60c3bf3f1215453a4f30f0b91db7fd301d558693
tree14d56bfb91cedb836481b3ab820012f11484235c
parent1c4da2b737cce57f0c17344cda7f9ba1d206bfa5
OMAP1: Amstrad Delta: add FIQ handler for serial keyboardport interrupt processing

This patch introduces a Fast Interrupt Request (FIQ) handler for Amstrad Delta
(E3) videophone. The handler's purpose is to process interrupts generated by a
GPIO line that a serial keyboard clock hangs off. It collects consecutive bits
into words, pushing them into a buffer, then requests a higher level interrupt
after one or more words are ready for further processing by a keyboard port
driver.

The handler also processes interrupts generated by two other GPIO lines, used
by other on-board supported devices, by simply requesting a higher level
interrupt, that in turn should invoke those device's specific irq handlers.

IRQ12 line, not used by OMAP1510 hardware (described as reserved), has been
choosen as a higher level interrupt source.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/Kconfig
arch/arm/mach-omap1/Makefile
arch/arm/mach-omap1/ams-delta-fiq-handler.S [new file with mode: 0644]
arch/arm/mach-omap1/include/mach/ams-delta-fiq.h [new file with mode: 0644]