Eric Miao
38f539a608
[ARM] pxa: move common GPIO handling code into plat-pxa
...
1. add common GPIO handling code into [arch/arm/plat-pxa]
2. common code in <mach/gpio.h> moved into <plat/gpio.h>, new processors
should implement its own <mach/gpio.h>, provide the following required
definitions and '#include <plat/gpio.h>' in the end:
- GPIO_REGS_VIRT for mapped virtual address of the GPIO registers'
physical I/O memory
- macros of GPLR(), GPSR(), GPDR() for constant optimization for
functions gpio_{set,get}_value() (so that bit-bang code can still
have tolerable performance)
- NR_BUILTIN_GPIO for the number of onchip GPIO
- definitions of __gpio_is_inverted() and __gpio_is_occupied(), they
can be either macros or inlined functions
Signed-off-by: Eric Miao <eric.miao@marvell.com>
2009-03-23 10:11:33 +08:00
..
2009-03-23 10:11:33 +08:00
2009-03-09 21:22:36 +08:00
2009-02-10 11:28:00 +00:00
2009-03-19 16:20:39 +08:00
2009-03-19 16:20:39 +08:00
2009-03-09 21:22:38 +08:00
2008-10-07 12:05:05 +01:00
2009-03-09 21:22:40 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:40 +08:00
2009-03-23 09:59:55 +08:00
2009-03-23 09:57:54 +08:00
2009-03-23 10:00:12 +08:00
2009-03-23 10:00:12 +08:00
2009-03-09 21:22:40 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:40 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-13 17:10:44 +08:00
2009-03-13 17:10:44 +08:00
2009-03-09 21:22:36 +08:00
2008-12-02 14:43:47 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-23 09:55:14 +08:00
2009-03-23 09:55:14 +08:00
2009-03-23 09:55:14 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2008-12-15 03:29:34 +00:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:37 +08:00
2009-03-09 21:22:37 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:38 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:40 +08:00
2009-03-23 09:59:30 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2008-10-01 22:34:34 +01:00
2006-10-03 23:01:26 +02:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:37 +08:00
2009-03-09 21:22:40 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:37 +08:00
2009-03-23 10:11:33 +08:00
2005-04-16 15:20:36 -07:00
2009-03-09 21:22:38 +08:00
2008-08-07 09:55:48 +01:00
2008-11-22 20:57:21 +08:00
2009-03-13 17:10:45 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:40 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:38 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:37 +08:00
2009-03-09 21:22:37 +08:00
2009-03-09 21:22:37 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:40 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:40 +08:00
2008-01-28 13:13:25 +00:00
2009-03-09 21:22:40 +08:00
2008-11-28 16:04:54 +00:00
2009-03-09 21:22:40 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:38 +08:00
2009-03-09 21:22:40 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:40 +08:00
2008-08-07 09:55:48 +01:00
2009-03-23 09:55:14 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:39 +08:00
2009-03-09 21:22:36 +08:00
2009-03-09 21:22:36 +08:00
2008-12-02 14:42:37 +08:00