eric miao 689c04a390 [ARM] pxa: make pxa_gpio_irq_type() processor generic
The main issue here is that pxa3xx does not have GAFRx registers,
access directly to these registers should be avoided for pxa3xx:

1. introduce __gpio_is_occupied() to indicate the GAFRx and GPDRx
   registers are already configured on pxa{25x,27x} while returns
   0 always on pxa3xx

2. pxa_gpio_mode(gpio | GPIO_IN) is replaced directly with assign-
   ment of GPDRx, the side effect of this change is that the pin
   _must_ be configured before use, pxa_gpio_irq_type() will not
   change the pin to GPIO, as this restriction is sane, esp. with
   the new MFP framework

Signed-off-by: eric miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-04-19 11:29:04 +01:00
..
2008-02-03 16:49:43 +02:00
2008-02-29 22:47:17 +00:00
2006-06-29 16:25:37 +01:00
2006-10-03 23:01:26 +02:00
2005-04-16 15:20:36 -07:00
2007-02-26 21:04:29 +00:00
2008-01-28 13:21:38 +00:00
2008-01-26 15:07:57 +00:00