Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

OMAP1: Amstrad Delta: use FIQ for processing GPIO interrupts

The patch adds initialization of FIQ related handlers to the Amstrad Delta
videophone board code. FIQ will be used instead of a traditional IRQ for
processing all GPIO generated interrupts, including a keyboard serial clock
line.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Tony Lindgren <tony@atomide.com>

authored by

Janusz Krzysztofik and committed by
Tony Lindgren
e6f740f5 4cb2dc67

+6
+6
arch/arm/mach-omap1/board-ams-delta.c
··· 33 33 #include <plat/board.h> 34 34 #include <plat/common.h> 35 35 36 + #include <mach/ams-delta-fiq.h> 37 + 36 38 static u8 ams_delta_latch1_reg; 37 39 static u16 ams_delta_latch2_reg; 38 40 ··· 237 235 238 236 omap_usb_init(&ams_delta_usb_config); 239 237 platform_add_devices(ams_delta_devices, ARRAY_SIZE(ams_delta_devices)); 238 + 239 + #ifdef CONFIG_AMS_DELTA_FIQ 240 + ams_delta_init_fiq(); 241 + #endif 240 242 241 243 omap_writew(omap_readw(ARM_RSTCT1) | 0x0004, ARM_RSTCT1); 242 244 }