diff options
author | janboe <janboe.ye@gmail.com> | 2009-06-23 13:30:25 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-06-23 13:30:25 +0300 |
commit | cb5793db5ecf108594d8006ae838e47996a76a19 (patch) | |
tree | a4940a2882b2d917fa24642fcfb4603de620d0ef | |
parent | f48ef99ca14577f3ea0a48c0e05ed7f5f6d211e9 (diff) | |
download | blackbird-op-linux-cb5793db5ecf108594d8006ae838e47996a76a19.tar.gz blackbird-op-linux-cb5793db5ecf108594d8006ae838e47996a76a19.zip |
OMAP2/3: Initialize gpio debounce register
Some bootloader may initialize debounce register and this will make
dbclk not consist with the debounce register after linux kernel boot
up.
Signed-off-by: janboe <janboe.ye@gmail.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | 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 7fd89ba8d3b5..26b387c12423 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); |