Home
last modified time | relevance | path

Searched hist:"38 f539a6" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arm/mach-pxa/
H A DMakefile38f539a6 Mon Jan 19 22:09:06 CST 2009 Eric Miao <eric.miao@marvell.com> [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>
38f539a6 Mon Jan 19 22:09:06 CST 2009 Eric Miao <eric.miao@marvell.com> [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>