From: Andrzej Zaborowski Date: Tue, 28 Nov 2006 02:30:48 +0000 (+0000) Subject: ARM: OMAP: Set keypad sense delays for the Palms X-Git-Tag: v2.6.19-omap1~34 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e4bbd3ec9084824eba003cdf91378138f239d03f;p=linux-2.6-omap-h63xx.git ARM: OMAP: Set keypad sense delays for the Palms 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 Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap1/board-palmte.c b/arch/arm/mach-omap1/board-palmte.c index 73e5f50f378..c23e8b6b0a3 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 palmte_kp_data = { .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 ebcc6a70aeb..b1ef1be395a 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 palmz71_kp_data = { .cols = 8, .keymap = palmz71_keymap, .rep = 1, + .delay = 80, }; static struct resource palmz71_kp_resources[] = {