aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2011-04-12 04:22:24 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-11 07:20:06 -0400
commite888166247c0b23d3ccc8e54cf92de7325d71145 (patch)
tree41eb91736e9a2ec7b862146f02ab83516e4b392e /include/video
parent89a35e5170fc579e4fc3a1f3444c5dc1aa36904d (diff)
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')
-rw-r--r--include/video/omapdss.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index c17dd59d9853..c57a046db538 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -420,8 +420,13 @@ struct omap_dss_device {
420 420
421 struct { 421 struct {
422 struct { 422 struct {
423 u16 lck_div; 423 struct {
424 u16 pck_div; 424 u16 lck_div;
425 u16 pck_div;
426 enum omap_dss_clk_source lcd_clk_src;
427 } channel;
428
429 enum omap_dss_clk_source dispc_fclk_src;
425 } dispc; 430 } dispc;
426 431
427 struct { 432 struct {
@@ -431,6 +436,7 @@ struct omap_dss_device {
431 u16 regm_dsi; 436 u16 regm_dsi;
432 437
433 u16 lp_clk_div; 438 u16 lp_clk_div;
439 enum omap_dss_clk_source dsi_fclk_src;
434 } dsi; 440 } dsi;
435 } clocks; 441 } clocks;
436 442