public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: "Andrzej Zaborowski" <balrog@zabor.org>
To: Linux-OMAP <linux-omap-open-source@linux.omap.com>
Subject: [PATCH] ARM: OMAP: Set keypad sense delays for the Palms.
Date: Sun, 26 Nov 2006 21:30:00 +0100	[thread overview]
Message-ID: <11645730008-git-send-email-balrog@zabor.org> (raw)

Wait a fixed amount of time between writing to the columns
register and reading rows state to allow the keypad to respond
on Palm Tungsten E and Zire 71.  The value for Zire 71 keypad
was tested by Marek Vasut.

Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
---
 arch/arm/mach-omap1/board-palmte.c  |    1 +
 arch/arm/mach-omap1/board-palmz71.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap1/board-palmte.c b/arch/arm/mach-omap1/board-palmte.c
index 73e5f50..c23e8b6 100644
--- a/arch/arm/mach-omap1/board-palmte.c
+++ b/arch/arm/mach-omap1/board-palmte.c
@@ -70,6 +70,7 @@ static struct omap_kp_platform_data palm
 	.cols	= 8,
 	.keymap = palmte_keymap,
 	.rep	= 1,
+	.delay	= 12,
 };
 
 static struct resource palmte_kp_resources[] = {
diff --git a/arch/arm/mach-omap1/board-palmz71.c b/arch/arm/mach-omap1/board-palmz71.c
index ebcc6a7..b1ef1be 100644
--- a/arch/arm/mach-omap1/board-palmz71.c
+++ b/arch/arm/mach-omap1/board-palmz71.c
@@ -76,6 +76,7 @@ static struct omap_kp_platform_data palm
 	.cols	= 8,
 	.keymap	= palmz71_keymap,
 	.rep	= 1,
+	.delay	= 80,
 };
 
 static struct resource palmz71_kp_resources[] = {
-- 
1.4.3.2

             reply	other threads:[~2006-11-26 20:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-26 20:30 Andrzej Zaborowski [this message]
2006-11-28  2:31 ` [PATCH] ARM: OMAP: Set keypad sense delays for the Palms Tony Lindgren

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=11645730008-git-send-email-balrog@zabor.org \
    --to=balrog@zabor.org \
    --cc=balrogg@gmail.com \
    --cc=linux-omap-open-source@linux.omap.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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox