diff options
author | Archit Taneja <archit@ti.com> | 2011-04-12 13:52:24 +0530 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-05-11 14:20:06 +0300 |
commit | e888166247c0b23d3ccc8e54cf92de7325d71145 (patch) | |
tree | 41eb91736e9a2ec7b862146f02ab83516e4b392e /include/video/omapdss.h | |
parent | 89a35e5170fc579e4fc3a1f3444c5dc1aa36904d (diff) | |
download | op-kernel-dev-e888166247c0b23d3ccc8e54cf92de7325d71145.zip op-kernel-dev-e888166247c0b23d3ccc8e54cf92de7325d71145.tar.gz |
OMAP2PLUS: DSS2: Add clock sources to dss device clock configuration
Add enum dss_clock_source in dssdev.clocks struct so that the clock sources can
be specified in the board file.
Replace hard coded clock sources in dsi.c, dpi.c and replace them with the new
clock source members in dssdev.clocks. Modify the sdp4430_lcd_device struct in
board-4430sdp.c to specify clock sources for DISPC_FCLK, LCD1_CLK and DSI1_FCLK.
Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video/omapdss.h')
-rw-r--r-- | include/video/omapdss.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index c17dd59..c57a046 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -420,8 +420,13 @@ struct omap_dss_device { struct { struct { - u16 lck_div; - u16 pck_div; + struct { + u16 lck_div; + u16 pck_div; + enum omap_dss_clk_source lcd_clk_src; + } channel; + + enum omap_dss_clk_source dispc_fclk_src; } dispc; struct { @@ -431,6 +436,7 @@ struct omap_dss_device { u16 regm_dsi; u16 lp_clk_div; + enum omap_dss_clk_source dsi_fclk_src; } dsi; } clocks; |