]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Set keypad sense delays for the Palms
authorAndrzej Zaborowski <balrog@zabor.org>
Thu, 7 Dec 2006 01:14:10 +0000 (17:14 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 7 Mar 2007 09:18:14 +0000 (01:18 -0800)
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>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-palmz71.c

index 786142b643f3a5d0a29c4ee0f5f77584dcfd856c..54abbaaebbdc4580b521d87b9f8cb7d21377ccda 100644 (file)
@@ -76,6 +76,7 @@ static struct omap_kp_platform_data palmz71_kp_data = {
        .cols   = 8,
        .keymap = palmz71_keymap,
        .rep    = 1,
+       .delay  = 80,
 };
 
 static struct resource palmz71_kp_resources[] = {