aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2010-07-05 09:31:39 -0400
committerTony Lindgren <tony@atomide.com>2010-07-05 09:31:39 -0400
commit18dbe6c5dd3de93e99afdaf1f0fa663b57314c63 (patch)
treef60f75355d71e2a2150fdcebf6c3a7adb65cf8e3
parent93c43f2561f18b50e3376be968d0688315afc44c (diff)
omap: mux: Mux Apollon LCD power in board-apollon.c
Use the new mux function for that. Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Tomi Valkeinen <tomi.valkeinen@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/mach-omap2/board-apollon.c3
-rw-r--r--drivers/video/omap/lcd_apollon.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c
index b86a8790dd98..bc67026088f6 100644
--- a/arch/arm/mach-omap2/board-apollon.c
+++ b/arch/arm/mach-omap2/board-apollon.c
@@ -332,6 +332,9 @@ static void __init omap_apollon_init(void)
332 /* REVISIT: where's the correct place */ 332 /* REVISIT: where's the correct place */
333 omap_cfg_reg(W19_24XX_SYS_NIRQ); 333 omap_cfg_reg(W19_24XX_SYS_NIRQ);
334 334
335 /* LCD PWR_EN */
336 omap_mux_init_signal("mcbsp2_dr.gpio_11", OMAP_PULL_ENA | OMAP_PULL_UP);
337
335 /* Use Interal loop-back in MMC/SDIO Module Input Clock selection */ 338 /* Use Interal loop-back in MMC/SDIO Module Input Clock selection */
336 v = omap_ctrl_readl(OMAP2_CONTROL_DEVCONF0); 339 v = omap_ctrl_readl(OMAP2_CONTROL_DEVCONF0);
337 v |= (1 << 24); 340 v |= (1 << 24);
diff --git a/drivers/video/omap/lcd_apollon.c b/drivers/video/omap/lcd_apollon.c
index 2be94eb3bbf5..10459d8bd9a0 100644
--- a/drivers/video/omap/lcd_apollon.c
+++ b/drivers/video/omap/lcd_apollon.c
@@ -25,7 +25,6 @@
25#include <linux/platform_device.h> 25#include <linux/platform_device.h>
26 26
27#include <mach/gpio.h> 27#include <mach/gpio.h>
28#include <plat/mux.h>
29 28
30#include "omapfb.h" 29#include "omapfb.h"
31 30
@@ -34,8 +33,6 @@
34static int apollon_panel_init(struct lcd_panel *panel, 33static int apollon_panel_init(struct lcd_panel *panel,
35 struct omapfb_device *fbdev) 34 struct omapfb_device *fbdev)
36{ 35{
37 /* configure LCD PWR_EN */
38 omap_cfg_reg(M21_242X_GPIO11);
39 return 0; 36 return 0;
40} 37}
41 38