OMAP: 4430SDP: remove DSI clock config from board file
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 15 Aug 2012 14:40:05 +0000 (17:40 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 7 Sep 2012 17:02:05 +0000 (20:02 +0300)
DSI clocks are now configured dynamically by the DSI driver, so we can
remove the hardcoded clock configuration from the board file.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-4430sdp.c

index 2c151c28cca1681cf46e9db7f5ec7781f3aa5af2..c165e20506c92e36ef0606bc87567881da5fa1af 100644 (file)
@@ -621,29 +621,6 @@ static struct omap_dss_device sdp4430_lcd_device = {
        .phy.dsi                = {
                .module         = 0,
        },
-
-       .clocks = {
-               .dispc = {
-                       .channel = {
-                               /* Logic Clock = 172.8 MHz */
-                               .lck_div        = 1,
-                               /* Pixel Clock = 34.56 MHz */
-                               .pck_div        = 5,
-                               .lcd_clk_src    = OMAP_DSS_CLK_SRC_DSI_PLL_HSDIV_DISPC,
-                       },
-                       .dispc_fclk_src = OMAP_DSS_CLK_SRC_FCK,
-               },
-
-               .dsi = {
-                       .regn           = 16,   /* Fint = 2.4 MHz */
-                       .regm           = 180,  /* DDR Clock = 216 MHz */
-                       .regm_dispc     = 5,    /* PLL1_CLK1 = 172.8 MHz */
-                       .regm_dsi       = 5,    /* PLL1_CLK2 = 172.8 MHz */
-
-                       .lp_clk_div     = 10,   /* LP Clock = 8.64 MHz */
-                       .dsi_fclk_src   = OMAP_DSS_CLK_SRC_DSI_PLL_HSDIV_DSI,
-               },
-       },
        .channel                = OMAP_DSS_CHANNEL_LCD,
 };
 
@@ -668,29 +645,6 @@ static struct omap_dss_device sdp4430_lcd2_device = {
 
                .module         = 1,
        },
-
-       .clocks = {
-               .dispc = {
-                       .channel = {
-                               /* Logic Clock = 172.8 MHz */
-                               .lck_div        = 1,
-                               /* Pixel Clock = 34.56 MHz */
-                               .pck_div        = 5,
-                               .lcd_clk_src    = OMAP_DSS_CLK_SRC_DSI2_PLL_HSDIV_DISPC,
-                       },
-                       .dispc_fclk_src = OMAP_DSS_CLK_SRC_FCK,
-               },
-
-               .dsi = {
-                       .regn           = 16,   /* Fint = 2.4 MHz */
-                       .regm           = 180,  /* DDR Clock = 216 MHz */
-                       .regm_dispc     = 5,    /* PLL1_CLK1 = 172.8 MHz */
-                       .regm_dsi       = 5,    /* PLL1_CLK2 = 172.8 MHz */
-
-                       .lp_clk_div     = 10,   /* LP Clock = 8.64 MHz */
-                       .dsi_fclk_src   = OMAP_DSS_CLK_SRC_DSI2_PLL_HSDIV_DSI,
-               },
-       },
        .channel                = OMAP_DSS_CHANNEL_LCD2,
 };