]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ARM: mach-shmobile: add GPIO definitions for switching between LCDC0 and LCDC1
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 25 Jun 2010 07:26:05 +0000 (07:26 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 4 Aug 2010 06:34:27 +0000 (15:34 +0900)
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>
arch/arm/mach-shmobile/pfc-sh7372.c

index 9557d0964d73eae7eeb373bd8e5940eddfc351e2..ec420353f8e3b3289b7d6cfa313c7089a9f8b1eb 100644 (file)
@@ -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),