[v2 0/7] OMAP: GPIO: Use PM runtime framework
tony at atomide.com
Tue Apr 19 02:26:33 EDT 2011
* Varadarajan, Charulatha <charu at ti.com> [110418 18:00]:
> From: Charulatha V <charu at ti.com>
> Use PM runtime framework in OMAP GPIO driver.
> arch/arm/mach-omap2/gpio.c | 6 +
> arch/arm/mach-omap2/pm34xx.c | 22 +-
> arch/arm/plat-omap/gpio.c | 766 ++++++++++++++++++--------------
> arch/arm/plat-omap/include/plat/gpio.h | 3 +-
> 4 files changed, 439 insertions(+), 358 deletions(-)
Before this series gets merged we first need to do the following:
- Pass some registers in platform_data so we can have common
functions in gpio.c instead of having to test for the bank->method
in each function. This allows getting rid of the ifdefs as
discussed in the ARM Linux consolidation thread.
- Move it to drivers/gpio
- Further consolidate with whatever common GPIO code might
be coming up.
More information about the linux-arm-kernel