summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/include
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2012-05-16 06:45:34 (GMT)
committerRafael J. Wysocki <rjw@sisk.pl>2012-05-17 22:14:02 (GMT)
commit088efd9273b5076a0aead479aa31f1066d182b3e (patch)
tree17f7972d2134719a36d9527cfeea154fca409b24 /arch/arm/mach-shmobile/include
parentbd5a875d90c878be4d23f54ea565253734ae2377 (diff)
downloadlinux-fsl-qoriq-088efd9273b5076a0aead479aa31f1066d182b3e.tar.xz
mach-shmobile: Emma Mobile EV2 GPIO support V3
Tie in the Emma Mobile GPIO driver "em-gio" to support the GPIOs on Emma Mobile EV2. A static IRQ range is used to allow boards to hook up their platform devices to the GPIOs. DT support is still on the TODO for the GPIO driver, so only platform device support is included here. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'arch/arm/mach-shmobile/include')
-rw-r--r--arch/arm/mach-shmobile/include/mach/emev2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/emev2.h b/arch/arm/mach-shmobile/include/mach/emev2.h
index 3fc7184..e6b0c1b 100644
--- a/arch/arm/mach-shmobile/include/mach/emev2.h
+++ b/arch/arm/mach-shmobile/include/mach/emev2.h
@@ -13,4 +13,7 @@ extern void emev2_secondary_init(unsigned int cpu);
extern int emev2_boot_secondary(unsigned int cpu);
extern void emev2_smp_prepare_cpus(void);
+#define EMEV2_GPIO_BASE 200
+#define EMEV2_GPIO_IRQ(n) (EMEV2_GPIO_BASE + (n))
+
#endif /* __ASM_EMEV2_H__ */