public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Set keypad sense delays for the Palms.
@ 2006-11-26 20:30 Andrzej Zaborowski
  2006-11-28  2:31 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Andrzej Zaborowski @ 2006-11-26 20:30 UTC (permalink / raw)
  To: Linux-OMAP

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: OMAP: Set keypad sense delays for the Palms.
  2006-11-26 20:30 [PATCH] ARM: OMAP: Set keypad sense delays for the Palms Andrzej Zaborowski
@ 2006-11-28  2:31 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2006-11-28  2:31 UTC (permalink / raw)
  To: balrogg; +Cc: Linux-OMAP

* Andrzej Zaborowski <balrog@zabor.org> [061126 18:30]:
> 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

Thanks, pushing today.

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-28  2:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-26 20:30 [PATCH] ARM: OMAP: Set keypad sense delays for the Palms Andrzej Zaborowski
2006-11-28  2:31 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox