]> 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>
Tue, 28 Nov 2006 02:30:48 +0000 (02:30 +0000)
committerTony Lindgren <tony@atomide.com>
Tue, 28 Nov 2006 02:30:48 +0000 (02:30 +0000)
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-palmte.c
arch/arm/mach-omap1/board-palmz71.c

index 73e5f50f378e9aaf9db6229834e439198ffd87d7..c23e8b6b0a3481474dd9a658c8b3687ac10a442e 100644 (file)
@@ -70,6 +70,7 @@ static struct omap_kp_platform_data palmte_kp_data = {
        .cols   = 8,
        .keymap = palmte_keymap,
        .rep    = 1,
+       .delay  = 12,
 };
 
 static struct resource palmte_kp_resources[] = {
index ebcc6a70aeb020034bb07411825a2375787cc2ea..b1ef1be395a5462beae257a3f857ef4e19f823fe 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[] = {