Skip to content

Commit

Permalink
ARM: mach-shmobile: add GPIO definitions for switching between LCDC0 …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Guennadi Liakhovetski authored and Paul Mundt committed Aug 4, 2010
1 parent 9fa1b7f commit 94f4e51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-shmobile/pfc-sh7372.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 94f4e51

Please sign in to comment.