From: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> To: linux-omap@vger.kernel.org Cc: Tony Lindgren <tony@atomide.com>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-input@vger.kernel.org, linux-arm-kernel@lists.infradead.org, e3-hacking@earth.li Subject: [RFC][PATCH v2 3/5] omap1: Amstrad Delta: use FIQ for processing GPIO interrupts Date: Mon, 29 Mar 2010 16:28:26 +0200 [thread overview] Message-ID: <201003291628.28961.jkrzyszt@tis.icnet.pl> (raw) In-Reply-To: <201003291619.25878.jkrzyszt@tis.icnet.pl> 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. Amstrad Delta defconfig is modified to use FIQ by default. Compiles and works on top of patch 2/5 from this series: omap1: Amstrad Delta: add a handler for processing interrupts generated by the FIQ routine Created and tested against linux-2.6.34-rc2. Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> --- v2 changes: - no functional changes, - refreshed against linux-2.6.34-rc2. arch/arm/configs/ams_delta_defconfig | 1 + arch/arm/mach-omap1/board-ams-delta.c | 6 ++++++ 2 files changed, 7 insertions(+) diff -uprN git.orig/arch/arm/configs/ams_delta_defconfig git/arch/arm/configs/ams_delta_defconfig --- git.orig/arch/arm/configs/ams_delta_defconfig 2010-03-25 15:51:51.000000000 +0100 +++ git/arch/arm/configs/ams_delta_defconfig 2010-03-28 23:38:54.000000000 +0200 @@ -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 -uprN 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 2010-03-25 15:52:17.000000000 +0100 +++ git/arch/arm/mach-omap1/board-ams-delta.c 2010-03-28 23:38:54.000000000 +0200 @@ -33,6 +33,8 @@ #include <plat/board.h> #include <plat/common.h> +#include <mach/ams-delta-fiq.h> + 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); }
WARNING: multiple messages have this Message-ID (diff)
From: jkrzyszt@tis.icnet.pl (Janusz Krzysztofik) To: linux-arm-kernel@lists.infradead.org Subject: [RFC][PATCH v2 3/5] omap1: Amstrad Delta: use FIQ for processing GPIO interrupts Date: Mon, 29 Mar 2010 16:28:26 +0200 [thread overview] Message-ID: <201003291628.28961.jkrzyszt@tis.icnet.pl> (raw) In-Reply-To: <201003291619.25878.jkrzyszt@tis.icnet.pl> 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. Amstrad Delta defconfig is modified to use FIQ by default. Compiles and works on top of patch 2/5 from this series: omap1: Amstrad Delta: add a handler for processing interrupts generated by the FIQ routine Created and tested against linux-2.6.34-rc2. Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> --- v2 changes: - no functional changes, - refreshed against linux-2.6.34-rc2. arch/arm/configs/ams_delta_defconfig | 1 + arch/arm/mach-omap1/board-ams-delta.c | 6 ++++++ 2 files changed, 7 insertions(+) diff -uprN git.orig/arch/arm/configs/ams_delta_defconfig git/arch/arm/configs/ams_delta_defconfig --- git.orig/arch/arm/configs/ams_delta_defconfig 2010-03-25 15:51:51.000000000 +0100 +++ git/arch/arm/configs/ams_delta_defconfig 2010-03-28 23:38:54.000000000 +0200 @@ -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 -uprN 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 2010-03-25 15:52:17.000000000 +0100 +++ git/arch/arm/mach-omap1/board-ams-delta.c 2010-03-28 23:38:54.000000000 +0200 @@ -33,6 +33,8 @@ #include <plat/board.h> #include <plat/common.h> +#include <mach/ams-delta-fiq.h> + 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); }
next prev parent reply other threads:[~2010-03-29 14:28 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-03-29 14:19 [RFC][PATCH v2 0/5] omap1: Amstrad Delta: add support for external keyboard Janusz Krzysztofik 2010-03-29 14:19 ` Janusz Krzysztofik 2010-03-29 14:24 ` [RFC][PATCH v2 1/5] omap1: Amstrad Delta: add FIQ handler for serial keyboard port interrupt processing Janusz Krzysztofik 2010-03-29 14:24 ` Janusz Krzysztofik [not found] ` <20100329183211.F105C493B@blake.inputplus.co.uk> 2010-03-30 15:08 ` [E3-hacking] " Janusz Krzysztofik 2010-03-30 15:08 ` Janusz Krzysztofik 2010-03-31 0:06 ` Ralph Corderoy 2010-03-31 0:06 ` [E3-hacking] " Ralph Corderoy 2010-03-29 14:26 ` [RFC][PATCH v2 2/5] omap1: Amstrad Delta: add a handler for processing interrupts generated by the FIQ routine Janusz Krzysztofik 2010-03-29 14:26 ` Janusz Krzysztofik 2010-03-29 14:28 ` Janusz Krzysztofik [this message] 2010-03-29 14:28 ` [RFC][PATCH v2 3/5] omap1: Amstrad Delta: use FIQ for processing GPIO interrupts Janusz Krzysztofik 2010-03-29 14:30 ` [RFC][PATCH v2 4/5] input: serio: add support for Amstrad Delta serial keyboard port Janusz Krzysztofik 2010-03-30 6:56 ` Dmitry Torokhov 2010-03-30 10:23 ` Janusz Krzysztofik 2010-03-29 14:32 ` [RFC][PATCH v2 5/5] omap1: Amstrad Delta: modify defconfig for external keyboard support Janusz Krzysztofik 2010-03-29 19:58 ` [RFC][PATCH v2 0/5] omap1: Amstrad Delta: add support for external keyboard Janusz Krzysztofik 2010-04-12 3:16 ` Dmitry Torokhov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=201003291628.28961.jkrzyszt@tis.icnet.pl \ --to=jkrzyszt@tis.icnet.pl \ --cc=dmitry.torokhov@gmail.com \ --cc=e3-hacking@earth.li \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-input@vger.kernel.org \ --cc=linux-omap@vger.kernel.org \ --cc=tony@atomide.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.