aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-02-22 13:36:10 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-11 14:19:16 +0300
commitc6940a3dc59d9628c8d407b98b6f57df69e3ef52 (patch)
treed041fc4a602b76cff311796d8300e9d77ea41e3b /include/video
parentcf398fb3e6aed8e7a9b3bcf77f6de2d34ccd2078 (diff)
downloadkernel_samsung_smdk4412-c6940a3dc59d9628c8d407b98b6f57df69e3ef52.zip
kernel_samsung_smdk4412-c6940a3dc59d9628c8d407b98b6f57df69e3ef52.tar.gz
kernel_samsung_smdk4412-c6940a3dc59d9628c8d407b98b6f57df69e3ef52.tar.bz2
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.h28
1 files changed, 16 insertions, 12 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 3973868..53ca97c 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -399,18 +399,6 @@ struct omap_dss_device {
u8 data2_lane;
u8 data2_pol;
- struct {
- u16 regn;
- u16 regm;
- u16 regm_dispc;
- u16 regm_dsi;
-
- u16 lp_clk_div;
-
- u16 lck_div;
- u16 pck_div;
- } div;
-
bool ext_te;
u8 ext_te_gpio;
} dsi;
@@ -422,6 +410,22 @@ struct omap_dss_device {
} phy;
struct {
+ struct {
+ u16 lck_div;
+ u16 pck_div;
+ } dispc;
+
+ struct {
+ u16 regn;
+ u16 regm;
+ u16 regm_dispc;
+ u16 regm_dsi;
+
+ u16 lp_clk_div;
+ } dsi;
+ } clocks;
+
+ struct {
struct omap_video_timings timings;
int acbi; /* ac-bias pin transitions per interrupt */