summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/pfc-sh7372.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2010-06-25 07:26:05 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-08-04 15:34:27 +0900
commit94f4e51ae9358c876e86e5e7bfef1e62ab1faf14 (patch)
tree3f93f0a5a9015a15788f1c8367337c4df24338e7 /arch/arm/mach-shmobile/pfc-sh7372.c
parent9fa1b7fe716d0a0fb1629e0b95efd4ee47e380e1 (diff)
downloadlinux-94f4e51ae9358c876e86e5e7bfef1e62ab1faf14.tar.gz
linux-94f4e51ae9358c876e86e5e7bfef1e62ab1faf14.tar.bz2
linux-94f4e51ae9358c876e86e5e7bfef1e62ab1faf14.zip
ARM: mach-shmobile: add GPIO definitions for switching between LCDC0 and LCDC1
With these defines now it is possible to use gpio_request(GPIO_FN_LCDC1_SELECT, NULL) or ...LCDC0... respectively to switch between the two LCDC instances. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/pfc-sh7372.c')
-rw-r--r--arch/arm/mach-shmobile/pfc-sh7372.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/pfc-sh7372.c b/arch/arm/mach-shmobile/pfc-sh7372.c
index 9557d0964d73..ec420353f8e3 100644
--- a/arch/arm/mach-shmobile/pfc-sh7372.c
+++ b/arch/arm/mach-shmobile/pfc-sh7372.c
@@ -1160,6 +1160,9 @@ static struct pinmux_gpio pinmux_gpios[] = {
GPIO_FN(LCDD18), GPIO_FN(LCDD19), GPIO_FN(LCDD20),
GPIO_FN(LCDD21), GPIO_FN(LCDD22), GPIO_FN(LCDD23),
+ GPIO_FN(LCDC0_SELECT),
+ GPIO_FN(LCDC1_SELECT),
+
/* IRDA */
GPIO_FN(IRDA_OUT), GPIO_FN(IRDA_IN), GPIO_FN(IRDA_FIRSEL),
GPIO_FN(IROUT_139), GPIO_FN(IROUT_140),