diff options
author | Sudhakar Rajashekhara <sudhakar.raj@ti.com> | 2009-09-15 17:46:14 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-11-25 13:21:23 -0500 |
commit | 7761ef67930dac37f90aaf0ffcd6b1f473c07dfc (patch) | |
tree | 035af012c4bf1b1827a8932f8cd54910c30e7920 /arch/arm/mach-davinci/da850.c | |
parent | c51df70b1e14220c8fc0799f6c27b9362d9424d0 (diff) |
davinci: Correct the GPIO number for LCD panel power
On the latest DA850/OMAP-L138 EVM (Beta) the GPIO pin
number of LCD panel power has changed. This patch takes
care of this change. Software will support only Beta
versions of DA850/OMAP-L138 EVM.
In the process, add the missing entry for data pin 0
and remove the GPIO specific pins from da850_lcdcntl_pins
structure. EVM specific muxing for LCD is being done in the
board file now.
Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/da850.c')
-rw-r--r-- | arch/arm/mach-davinci/da850.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index 575e9ccbb25f..a62863c57459 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c | |||
@@ -513,8 +513,8 @@ static const struct mux_config da850_pins[] = { | |||
513 | MUX_CFG(DA850, EMA_WAIT_1, 6, 24, 15, 1, false) | 513 | MUX_CFG(DA850, EMA_WAIT_1, 6, 24, 15, 1, false) |
514 | MUX_CFG(DA850, NEMA_CS_2, 7, 0, 15, 1, false) | 514 | MUX_CFG(DA850, NEMA_CS_2, 7, 0, 15, 1, false) |
515 | /* GPIO function */ | 515 | /* GPIO function */ |
516 | MUX_CFG(DA850, GPIO2_8, 5, 28, 15, 8, false) | ||
516 | MUX_CFG(DA850, GPIO2_15, 5, 0, 15, 8, false) | 517 | MUX_CFG(DA850, GPIO2_15, 5, 0, 15, 8, false) |
517 | MUX_CFG(DA850, GPIO8_10, 18, 28, 15, 8, false) | ||
518 | MUX_CFG(DA850, GPIO4_0, 10, 28, 15, 8, false) | 518 | MUX_CFG(DA850, GPIO4_0, 10, 28, 15, 8, false) |
519 | MUX_CFG(DA850, GPIO4_1, 10, 24, 15, 8, false) | 519 | MUX_CFG(DA850, GPIO4_1, 10, 24, 15, 8, false) |
520 | #endif | 520 | #endif |
@@ -562,12 +562,11 @@ const short da850_mcasp_pins[] __initdata = { | |||
562 | }; | 562 | }; |
563 | 563 | ||
564 | const short da850_lcdcntl_pins[] __initdata = { | 564 | const short da850_lcdcntl_pins[] __initdata = { |
565 | DA850_LCD_D_1, DA850_LCD_D_2, DA850_LCD_D_3, DA850_LCD_D_4, | 565 | DA850_LCD_D_0, DA850_LCD_D_1, DA850_LCD_D_2, DA850_LCD_D_3, |
566 | DA850_LCD_D_5, DA850_LCD_D_6, DA850_LCD_D_7, DA850_LCD_D_8, | 566 | DA850_LCD_D_4, DA850_LCD_D_5, DA850_LCD_D_6, DA850_LCD_D_7, |
567 | DA850_LCD_D_9, DA850_LCD_D_10, DA850_LCD_D_11, DA850_LCD_D_12, | 567 | DA850_LCD_D_8, DA850_LCD_D_9, DA850_LCD_D_10, DA850_LCD_D_11, |
568 | DA850_LCD_D_13, DA850_LCD_D_14, DA850_LCD_D_15, DA850_LCD_PCLK, | 568 | DA850_LCD_D_12, DA850_LCD_D_13, DA850_LCD_D_14, DA850_LCD_D_15, |
569 | DA850_LCD_HSYNC, DA850_LCD_VSYNC, DA850_NLCD_AC_ENB_CS, DA850_GPIO2_15, | 569 | DA850_LCD_PCLK, DA850_LCD_HSYNC, DA850_LCD_VSYNC, DA850_NLCD_AC_ENB_CS, |
570 | DA850_GPIO8_10, | ||
571 | -1 | 570 | -1 |
572 | }; | 571 | }; |
573 | 572 | ||