Skip to contentSkip to conversation

sh: sh_mobile lcdc clock framework support

PATCH New Magnus Damm 1 participant 1 message Oct 31, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: sh_mobile lcdc clock framework support

From: Magnus Damm <[email protected]>

Add clock framework support to the lcdc driver and adjust the board specific code accordingly.

---

 arch/sh/boards/board-ap325rxa.c   |    1 
 arch/sh/boards/mach-migor/setup.c |    1 
 drivers/video/sh_mobile_lcdcfb.c  |   46 ++++++++++++++++++++++++++-----------
 3 files changed, 33 insertions(+), 15 deletions(-)
arch/sh/boards/board-ap325rxa.c +0 -1
@@ -345,7 +345,6 @@ static int __init ap325rxa_devices_setup
 	gpio_export(GPIO_PTF7, 0);
 
 	/* LCDC */
-	clk_always_enable("mstp200");
 	gpio_request(GPIO_FN_LCDD15, NULL);
 	gpio_request(GPIO_FN_LCDD14, NULL);
 	gpio_request(GPIO_FN_LCDD13, NULL);
arch/sh/boards/mach-migor/setup.c +0 -1
@@ -502,7 +502,6 @@ static int __init migor_devices_setup(vo
 	gpio_request(GPIO_FN_IRQ6, NULL);
 
 	/* LCD Panel */
-	clk_always_enable("mstp200"); /* LCDC */
 #ifdef CONFIG_SH_MIGOR_QVGA /* LCDC - QVGA - Enable SYS Interface signals */
 	gpio_request(GPIO_FN_LCDD17, NULL);
 	gpio_request(GPIO_FN_LCDD16, NULL);
drivers/video/sh_mobile_lcdcfb.c +33 -13

92 lines not on this page · raw message