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 Subject: Re: [RFC][PATCH 0/5] omap1: Amstrad Delta: add support for external keyboard Date: Fri, 11 Dec 2009 15:39:34 +0100 [thread overview] Message-ID: <200912111539.36507.jkrzyszt@tis.icnet.pl> (raw) In-Reply-To: <200912102058.43892.jkrzyszt@tis.icnet.pl> (resending with LAKML added to CC: after Tony's suggestion) ---------- Original message ---------- Subject: [RFC][PATCH 0/5] omap1: Amstrad Delta: add support for external keyboard Date: Thursday 10 December 2009 Od: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> Do: linux-omap@vger.kernel.org This series of patches adds support for an external keyboard (called mailboard) connected to the Amstrad Delta (E3) videophone. The series is based on a patch by Matt Callow, created against linux-omap-2.6.19[1], initially submitted to the e3-hacking mailing list in April 2006[2]. Since the keyboard serial clock line is connected to a GPIO line, it generates interrupts every single bit received. In order to handle this correctly, the code makes use of a FIQ hardware feature. Since all MPU GPIO generated interrupts would be converted to FIQ, the handler must include support for all supported MPU GPIO connected devices: the keyboard, a modem and a hook switch. My modifications to the original patch include: - split into several patches, - refresh against a recent linux version, - a lot of cleanups, mainly to get rid of checkpatch reported issues, - add support for also handling interrupts generated by a GPIO line that the recently added hook switch hangs off. Created and tested against linux-omap for-next, commit 82f1d8f22f2c65e70206e40a6f17688bf64a892c dated 2009-12-02. Janusz Krzysztofik(5) omap1: Amstrad Delta: add FIQ handler for serial keyboard port interrupt processing omap1: Amstrad Delta: add a handler for processing interrupts generated by the FIQ routine omap1: Amstrad Delta: use FIQ for processing MPU GPIO interrupts input: serio: add support for Amstrad Delta serial keyboard port omap1: Amstrad Delta: modify defconfig for external keyboard support arch/arm/configs/ams_delta_defconfig | 2 arch/arm/mach-omap1/Kconfig | 8 arch/arm/mach-omap1/Makefile | 3 arch/arm/mach-omap1/ams-delta-fiq-handler.S | 342 +++++++++++++++++++++++ arch/arm/mach-omap1/ams-delta-fiq.c | 175 +++++++++++ arch/arm/mach-omap1/board-ams-delta.c | 6 arch/arm/mach-omap1/include/mach/ams-delta-fiq.h | 56 +++ arch/arm/plat-omap/include/plat/irqs.h | 4 drivers/input/serio/Kconfig | 9 drivers/input/serio/Makefile | 1 drivers/input/serio/ams_delta_keyboard.c | 240 ++++++++++++++++ 11 files changed, 845 insertions(+), 1 deletion(-) [1] http://the.earth.li/pub/e3/2.6.19/ams-delta-keyboard.patch [2] http://www.earth.li/pipermail/e3-hacking/2006-April/000453.html --- There is one minor issue that I have not dealt with yet: when built with CONFIG_OMAP_RESET_CLOCKS=y, the keyboard driver stops working. I have no idea how I could find which clock I should enable to get it working regardless of boot loader used. Any suggestions? Thanks, Janusz -------------------------------------------------------
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 0/5] omap1: Amstrad Delta: add support for external keyboard Date: Fri, 11 Dec 2009 15:39:34 +0100 [thread overview] Message-ID: <200912111539.36507.jkrzyszt@tis.icnet.pl> (raw) In-Reply-To: <200912102058.43892.jkrzyszt@tis.icnet.pl> (resending with LAKML added to CC: after Tony's suggestion) ---------- Original message ---------- Subject: [RFC][PATCH 0/5] omap1: Amstrad Delta: add support for external keyboard Date: Thursday 10 December 2009 Od: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> Do: linux-omap at vger.kernel.org This series of patches adds support for an external keyboard (called mailboard) connected to the Amstrad Delta (E3) videophone. The series is based on a patch by Matt Callow, created against linux-omap-2.6.19[1], initially submitted to the e3-hacking mailing list in April 2006[2]. Since the keyboard serial clock line is connected to a GPIO line, it generates interrupts every single bit received. In order to handle this correctly, the code makes use of a FIQ hardware feature. Since all MPU GPIO generated interrupts would be converted to FIQ, the handler must include support for all supported MPU GPIO connected devices: the keyboard, a modem and a hook switch. My modifications to the original patch include: - split into several patches, - refresh against a recent linux version, - a lot of cleanups, mainly to get rid of checkpatch reported issues, - add support for also handling interrupts generated by a GPIO line that the recently added hook switch hangs off. Created and tested against linux-omap for-next, commit 82f1d8f22f2c65e70206e40a6f17688bf64a892c dated 2009-12-02. Janusz Krzysztofik(5) omap1: Amstrad Delta: add FIQ handler for serial keyboard port interrupt processing omap1: Amstrad Delta: add a handler for processing interrupts generated by the FIQ routine omap1: Amstrad Delta: use FIQ for processing MPU GPIO interrupts input: serio: add support for Amstrad Delta serial keyboard port omap1: Amstrad Delta: modify defconfig for external keyboard support arch/arm/configs/ams_delta_defconfig | 2 arch/arm/mach-omap1/Kconfig | 8 arch/arm/mach-omap1/Makefile | 3 arch/arm/mach-omap1/ams-delta-fiq-handler.S | 342 +++++++++++++++++++++++ arch/arm/mach-omap1/ams-delta-fiq.c | 175 +++++++++++ arch/arm/mach-omap1/board-ams-delta.c | 6 arch/arm/mach-omap1/include/mach/ams-delta-fiq.h | 56 +++ arch/arm/plat-omap/include/plat/irqs.h | 4 drivers/input/serio/Kconfig | 9 drivers/input/serio/Makefile | 1 drivers/input/serio/ams_delta_keyboard.c | 240 ++++++++++++++++ 11 files changed, 845 insertions(+), 1 deletion(-) [1] http://the.earth.li/pub/e3/2.6.19/ams-delta-keyboard.patch [2] http://www.earth.li/pipermail/e3-hacking/2006-April/000453.html --- There is one minor issue that I have not dealt with yet: when built with CONFIG_OMAP_RESET_CLOCKS=y, the keyboard driver stops working. I have no idea how I could find which clock I should enable to get it working regardless of boot loader used. Any suggestions? Thanks, Janusz -------------------------------------------------------
next prev parent reply other threads:[~2009-12-11 14:39 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-12-10 19:58 [RFC][PATCH 0/5] omap1: Amstrad Delta: add support for external keyboard Janusz Krzysztofik 2009-12-10 20:04 ` [RFC][PATCH 1/5] omap1: Amstrad Delta: add FIQ handler for serial keyboard port interrupt processing Janusz Krzysztofik 2009-12-10 20:05 ` [RFC][PATCH 2/5] omap1: Amstrad Delta: add a handler for processing interrupts generated by the FIQ routine Janusz Krzysztofik 2009-12-10 20:06 ` [RFC][PATCH 3/5] omap1: Amstrad Delta: use FIQ for processing MPU GPIO interrupts Janusz Krzysztofik 2009-12-10 20:07 ` [RFC][PATCH 4/5] input: serio: add support for Amstrad Delta serial keyboard port Janusz Krzysztofik 2009-12-10 20:08 ` [RFC][PATCH 5/5] omap1: Amstrad Delta: modify defconfig for external keyboard support Janusz Krzysztofik 2009-12-11 14:39 ` Janusz Krzysztofik [this message] 2009-12-11 14:39 ` [RFC][PATCH 0/5] omap1: Amstrad Delta: add support for external keyboard Janusz Krzysztofik 2009-12-11 14:52 ` [RFC][PATCH 1/5] omap1: Amstrad Delta: add FIQ handler for serial keyboard port interrupt processing Janusz Krzysztofik 2009-12-11 14:52 ` Janusz Krzysztofik 2009-12-11 14:54 ` [RFC][PATCH 2/5] omap1: Amstrad Delta: add a handler for processing interrupts generated by the FIQ routine Janusz Krzysztofik 2009-12-11 14:54 ` Janusz Krzysztofik
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=200912111539.36507.jkrzyszt@tis.icnet.pl \ --to=jkrzyszt@tis.icnet.pl \ --cc=dmitry.torokhov@gmail.com \ --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.