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>
This commit is contained in:
+16
-12
@@ -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;
|
||||
@@ -421,6 +409,22 @@ struct omap_dss_device {
|
||||
} venc;
|
||||
} 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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user