[PATCH 34/90] ARM: OMAP: Set keypad sense delays for the Palms

Tony Lindgren
2007-04-04T18:09:18Z

From: Andrzej Zaborowski <balrog@zabor.org>

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 | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap1/board-palmz71.c b/arch/arm/mach-omap1/board-palmz71.c
index 786142b..54abbaa 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[] = {
--
1.4.4.2