public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] initialize gpio debounce register
@ 2009-06-19 16:07 ye janboe
  2009-06-19 18:05 ` Kevin Hilman
  2009-06-22  9:23 ` [APPLIED] " Tony Lindgren
  0 siblings, 2 replies; 3+ messages in thread
From: ye janboe @ 2009-06-19 16:07 UTC (permalink / raw)
  To: tony; +Cc: linux-omap, linux-arm-kernel

Hi,
some bootloader may initialize debounce register and this will make
dbclk not consist with the debounce register after linux kernel boot
up.

>From 8f97e5b50e50627e9e4b40f5d4fba09d750aceb1 Mon Sep 17 00:00:00 2001
From: janboe <janboe.ye@gmail.com>
Date: Fri, 19 Jun 2009 10:56:02 -0500
Subject: [PATCH] initialize gpio debounce register

Signed-off-by: janboe <janboe.ye@gmail.com>
---
 arch/arm/plat-omap/gpio.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c
index 7fd89ba..26b387c 100644
--- a/arch/arm/plat-omap/gpio.c
+++ b/arch/arm/plat-omap/gpio.c
@@ -1585,6 +1585,7 @@ static int __init _omap_gpio_init(void)
 			__raw_writel(0x00000000, bank->base + OMAP24XX_GPIO_IRQENABLE1);
 			__raw_writel(0xffffffff, bank->base + OMAP24XX_GPIO_IRQSTATUS1);
 			__raw_writew(0x0015, bank->base + OMAP24XX_GPIO_SYSCONFIG);
+			__raw_writel(0x00000000, bank->base + OMAP24XX_GPIO_DEBOUNCE_EN);

 			/* Initialize interface clock ungated, module enabled */
 			__raw_writel(0, bank->base + OMAP24XX_GPIO_CTRL);

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

* Re: [PATCH] initialize gpio debounce register
  2009-06-19 16:07 [PATCH] initialize gpio debounce register ye janboe
@ 2009-06-19 18:05 ` Kevin Hilman
  2009-06-22  9:23 ` [APPLIED] " Tony Lindgren
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin Hilman @ 2009-06-19 18:05 UTC (permalink / raw)
  To: ye janboe; +Cc: tony, linux-omap, linux-arm-kernel

ye janboe <janboe.ye@gmail.com> writes:

> Hi,
> some bootloader may initialize debounce register and this will make
> dbclk not consist with the debounce register after linux kernel boot
> up.
>
> From 8f97e5b50e50627e9e4b40f5d4fba09d750aceb1 Mon Sep 17 00:00:00 2001
> From: janboe <janboe.ye@gmail.com>
> Date: Fri, 19 Jun 2009 10:56:02 -0500
> Subject: [PATCH] initialize gpio debounce register
>
> Signed-off-by: janboe <janboe.ye@gmail.com>

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>

Tony, this should go into -fixes.

Kevin

> ---
>  arch/arm/plat-omap/gpio.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c
> index 7fd89ba..26b387c 100644
> --- a/arch/arm/plat-omap/gpio.c
> +++ b/arch/arm/plat-omap/gpio.c
> @@ -1585,6 +1585,7 @@ static int __init _omap_gpio_init(void)
>  			__raw_writel(0x00000000, bank->base + OMAP24XX_GPIO_IRQENABLE1);
>  			__raw_writel(0xffffffff, bank->base + OMAP24XX_GPIO_IRQSTATUS1);
>  			__raw_writew(0x0015, bank->base + OMAP24XX_GPIO_SYSCONFIG);
> +			__raw_writel(0x00000000, bank->base + OMAP24XX_GPIO_DEBOUNCE_EN);
>
>  			/* Initialize interface clock ungated, module enabled */
>  			__raw_writel(0, bank->base + OMAP24XX_GPIO_CTRL);
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [APPLIED]  [PATCH] initialize gpio debounce register
  2009-06-19 16:07 [PATCH] initialize gpio debounce register ye janboe
  2009-06-19 18:05 ` Kevin Hilman
@ 2009-06-22  9:23 ` Tony Lindgren
  1 sibling, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2009-06-22  9:23 UTC (permalink / raw)
  To: linux-omap

This patch has been applied to the linux-omap
by youw fwiendly patch wobot.

Branch in linux-omap: omap-fixes

Initial commit ID (Likely to change): 732636a34b4c10224c212325878f97274b4df426

PatchWorks
http://patchwork.kernel.org/patch/31373/

Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=732636a34b4c10224c212325878f97274b4df426



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

end of thread, other threads:[~2009-06-22  9:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-19 16:07 [PATCH] initialize gpio debounce register ye janboe
2009-06-19 18:05 ` Kevin Hilman
2009-06-22  9:23 ` [APPLIED] " Tony Lindgren

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