summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2013-07-02 20:30:46 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-07-05 08:27:11 +0200
commit414ee7154ac3f105930d1a441b082eeb86c5b24a (patch)
treee59e8771b1ccfb94c8aee16a37c87aa3b3cbeed8 /arch/arm
parentf10119f27e4bd6c3f92036bfe5e8119c652f8aa3 (diff)
downloadbarebox-414ee7154ac3f105930d1a441b082eeb86c5b24a.tar.gz
barebox-414ee7154ac3f105930d1a441b082eeb86c5b24a.tar.xz
GPIO: add Marvell Orion/MVEBU SoC GPIO driver
This adds a DT only driver for the GPIO controller found on Marvell Orion/MVEBU SoCs (Armada 370/XP, Dove, Kirkwood, MV78x00, Orion5x). Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/Kconfig1
-rw-r--r--arch/arm/mach-mvebu/include/mach/gpio.h6
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index e7d8cdd315..bd1059130b 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -83,6 +83,7 @@ config ARCH_MVEBU
bool "Marvell EBU platforms"
select COMMON_CLK
select CLKDEV_LOOKUP
+ select GPIOLIB
select HAS_DEBUG_LL
config ARCH_MXS
diff --git a/arch/arm/mach-mvebu/include/mach/gpio.h b/arch/arm/mach-mvebu/include/mach/gpio.h
new file mode 100644
index 0000000000..fee693e557
--- /dev/null
+++ b/arch/arm/mach-mvebu/include/mach/gpio.h
@@ -0,0 +1,6 @@
+#ifndef __ASM_ARCH_GPIO_H
+#define __ASM_ARCH_GPIO_H
+
+#include <asm-generic/gpio.h>
+
+#endif /* __ASM_ARCH_GPIO_H */