From patchwork Thu Dec 10 20:06:54 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janusz Krzysztofik X-Patchwork-Id: 66341 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nBAK5nIb016332 for ; Thu, 10 Dec 2009 20:06:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755712AbZLJUGp (ORCPT ); Thu, 10 Dec 2009 15:06:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754242AbZLJUGp (ORCPT ); Thu, 10 Dec 2009 15:06:45 -0500 Received: from d1.icnet.pl ([212.160.220.21]:40094 "EHLO d1.icnet.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754147AbZLJUGp (ORCPT ); Thu, 10 Dec 2009 15:06:45 -0500 Received: from 87-205-12-81.ip.netia.com.pl ([87.205.12.81] helo=vclass.intranet) by d1.icnet.pl with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1NIpHn-0005f4-2a; Thu, 10 Dec 2009 21:06:51 +0100 From: Janusz Krzysztofik Organization: Tele-Info-System, Poznan, PL To: linux-omap@vger.kernel.org Subject: [RFC][PATCH 3/5] omap1: Amstrad Delta: use FIQ for processing MPU GPIO interrupts Date: Thu, 10 Dec 2009 21:06:54 +0100 User-Agent: KMail/1.9.10 Cc: Tony Lindgren , Dmitry Torokhov , linux-input@vger.kernel.org References: <200912102058.43892.jkrzyszt@tis.icnet.pl> In-Reply-To: <200912102058.43892.jkrzyszt@tis.icnet.pl> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200912102106.56881.jkrzyszt@tis.icnet.pl> X-SA-Exim-Scanned: No (on d1.icnet); SAEximRunCond expanded to false Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org diff -upr git.orig/arch/arm/configs/ams_delta_defconfig git/arch/arm/configs/ams_delta_defconfig --- git.orig/arch/arm/configs/ams_delta_defconfig 2009-12-10 01:36:57.000000000 +0100 +++ git/arch/arm/configs/ams_delta_defconfig 2009-12-10 11:20:50.000000000 +0100 @@ -195,6 +195,7 @@ CONFIG_ARCH_OMAP15XX=y # CONFIG_MACH_OMAP_PALMTT is not set # CONFIG_MACH_SX1 is not set CONFIG_MACH_AMS_DELTA=y +CONFIG_AMS_DELTA_FIQ=y # CONFIG_MACH_OMAP_GENERIC is not set # diff -upr git.orig/arch/arm/mach-omap1/board-ams-delta.c git/arch/arm/mach-omap1/board-ams-delta.c --- git.orig/arch/arm/mach-omap1/board-ams-delta.c 2009-12-02 15:48:37.000000000 +0100 +++ git/arch/arm/mach-omap1/board-ams-delta.c 2009-12-10 11:20:50.000000000 +0100 @@ -33,6 +33,8 @@ #include #include +#include + static u8 ams_delta_latch1_reg; static u16 ams_delta_latch2_reg; @@ -236,6 +238,10 @@ static void __init ams_delta_init(void) omap_usb_init(&ams_delta_usb_config); platform_add_devices(ams_delta_devices, ARRAY_SIZE(ams_delta_devices)); +#ifdef CONFIG_AMS_DELTA_FIQ + ams_delta_init_fiq(); +#endif + omap_writew(omap_readw(ARM_RSTCT1) | 0x0004, ARM_RSTCT1); }