diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-02-22 06:36:10 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-05-11 07:19:16 -0400 |
commit | c6940a3dc59d9628c8d407b98b6f57df69e3ef52 (patch) | |
tree | d041fc4a602b76cff311796d8300e9d77ea41e3b /include/video | |
parent | cf398fb3e6aed8e7a9b3bcf77f6de2d34ccd2078 (diff) |
OMAP: DSS2: move dss device clock configuration
Clock configuration was defined inside dssdev.phy.dsi struct. The clock
config doesn't really belong there, and so it's moved to dssdev.clock
struct.
Now the explicit clock configuration could also be used for other
interfaces than DSI, although there's no support for it currently.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/omapdss.h | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 39738688c7ce..53ca97c9793c 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
@@ -399,18 +399,6 @@ struct omap_dss_device { | |||
399 | u8 data2_lane; | 399 | u8 data2_lane; |
400 | u8 data2_pol; | 400 | u8 data2_pol; |
401 | 401 | ||
402 | struct { | ||
403 | u16 regn; | ||
404 | u16 regm; | ||
405 | u16 regm_dispc; | ||
406 | u16 regm_dsi; | ||
407 | |||
408 | u16 lp_clk_div; | ||
409 | |||
410 | u16 lck_div; | ||
411 | u16 pck_div; | ||
412 | } div; | ||
413 | |||
414 | bool ext_te; | 402 | bool ext_te; |
415 | u8 ext_te_gpio; | 403 | u8 ext_te_gpio; |
416 | } dsi; | 404 | } dsi; |
@@ -422,6 +410,22 @@ struct omap_dss_device { | |||
422 | } phy; | 410 | } phy; |
423 | 411 | ||
424 | struct { | 412 | struct { |
413 | struct { | ||
414 | u16 lck_div; | ||
415 | u16 pck_div; | ||
416 | } dispc; | ||
417 | |||
418 | struct { | ||
419 | u16 regn; | ||
420 | u16 regm; | ||
421 | u16 regm_dispc; | ||
422 | u16 regm_dsi; | ||
423 | |||
424 | u16 lp_clk_div; | ||
425 | } dsi; | ||
426 | } clocks; | ||
427 | |||
428 | struct { | ||
425 | struct omap_video_timings timings; | 429 | struct omap_video_timings timings; |
426 | 430 | ||
427 | int acbi; /* ac-bias pin transitions per interrupt */ | 431 | int acbi; /* ac-bias pin transitions per interrupt */ |