android_kernel_motorola_sm6225/arch/arm/mach-iop32x
Linus Walleij 7b85b867b9 ARM: plat-iop: instantiate GPIO from platform device
This converts the IOP32x and IOP33x platforms to pass their
base address offset by a resource attached to a platform device
instead of using static offset macros implicitly passed
through <linux/gpio.h> including <mach/gpio.h>. Delete the
local <mach/gpio.h> and <asm/hardware/iop3xx-gpio.h> headers
and remove the selection of NEED_MACH_GPIO_H.

Pass the virtual address as a resource in the platform device
at this point for bisectability, next patch will pass the
physical address as is custom.

Cc: Lennert Buytenhek <kernel@wantstofly.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Mikael Pettersson <mikpe@it.uu.se>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-09-20 23:04:50 +02:00
..
include/mach ARM: plat-iop: instantiate GPIO from platform device 2013-09-20 23:04:50 +02:00
em7210.c ARM: plat-iop: instantiate GPIO from platform device 2013-09-20 23:04:50 +02:00
glantank.c ARM: plat-iop: instantiate GPIO from platform device 2013-09-20 23:04:50 +02:00
gpio-iop32x.h ARM: plat-iop: instantiate GPIO from platform device 2013-09-20 23:04:50 +02:00
iq31244.c ARM: plat-iop: instantiate GPIO from platform device 2013-09-20 23:04:50 +02:00
iq80321.c ARM: plat-iop: instantiate GPIO from platform device 2013-09-20 23:04:50 +02:00
irq.c arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
Kconfig iop: unconditionally initialize the ATU on platforms known to be 'hosts' 2008-03-26 12:33:41 -07:00
Makefile [ARM] 4476/1: EM7210/SS4000E support 2007-07-20 09:35:35 +01:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
n2100.c ARM: plat-iop: instantiate GPIO from platform device 2013-09-20 23:04:50 +02:00