aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dss.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-03-05 10:23:59 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-04-03 08:19:18 -0400
commitb7ec96c78b0d5c89f5a1082e62e0d0021b2920ed (patch)
tree4aaec4504f381e75bf1c8422e857035a71be8fea /drivers/video/omap2/dss/dss.h
parentf1e0001f973cfbec62d702cbd3d56f6b703cc90e (diff)
OMAPDSS: remove unused old clock calculation code
Now that the old clock calculation code is no longer used, we can remove it from the driver. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dss.h')
-rw-r--r--drivers/video/omap2/dss/dss.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h
index dde6cc109480..faaf35857b0e 100644
--- a/drivers/video/omap2/dss/dss.h
+++ b/drivers/video/omap2/dss/dss.h
@@ -268,8 +268,6 @@ void dss_set_dac_pwrdn_bgz(bool enable);
268unsigned long dss_get_dpll4_rate(void); 268unsigned long dss_get_dpll4_rate(void);
269int dss_calc_clock_rates(struct dss_clock_info *cinfo); 269int dss_calc_clock_rates(struct dss_clock_info *cinfo);
270int dss_set_clock_div(struct dss_clock_info *cinfo); 270int dss_set_clock_div(struct dss_clock_info *cinfo);
271int dss_calc_clock_div(unsigned long req_pck, struct dss_clock_info *dss_cinfo,
272 struct dispc_clock_info *dispc_cinfo);
273 271
274typedef bool (*dss_div_calc_func)(int fckd, unsigned long fck, void *data); 272typedef bool (*dss_div_calc_func)(int fckd, unsigned long fck, void *data);
275bool dss_div_calc(unsigned long fck_min, dss_div_calc_func func, void *data); 273bool dss_div_calc(unsigned long fck_min, dss_div_calc_func func, void *data);
@@ -310,9 +308,6 @@ bool dsi_pll_calc(struct platform_device *dsidev, unsigned long clkin,
310unsigned long dsi_get_pll_hsdiv_dispc_rate(struct platform_device *dsidev); 308unsigned long dsi_get_pll_hsdiv_dispc_rate(struct platform_device *dsidev);
311int dsi_pll_set_clock_div(struct platform_device *dsidev, 309int dsi_pll_set_clock_div(struct platform_device *dsidev,
312 struct dsi_clock_info *cinfo); 310 struct dsi_clock_info *cinfo);
313int dsi_pll_calc_clock_div_pck(struct platform_device *dsidev,
314 unsigned long req_pck, struct dsi_clock_info *cinfo,
315 struct dispc_clock_info *dispc_cinfo);
316int dsi_pll_init(struct platform_device *dsidev, bool enable_hsclk, 311int dsi_pll_init(struct platform_device *dsidev, bool enable_hsclk,
317 bool enable_hsdiv); 312 bool enable_hsdiv);
318void dsi_pll_uninit(struct platform_device *dsidev, bool disconnect_lanes); 313void dsi_pll_uninit(struct platform_device *dsidev, bool disconnect_lanes);
@@ -343,14 +338,6 @@ static inline int dsi_pll_set_clock_div(struct platform_device *dsidev,
343 WARN("%s: DSI not compiled in\n", __func__); 338 WARN("%s: DSI not compiled in\n", __func__);
344 return -ENODEV; 339 return -ENODEV;
345} 340}
346static inline int dsi_pll_calc_clock_div_pck(struct platform_device *dsidev,
347 unsigned long req_pck,
348 struct dsi_clock_info *dsi_cinfo,
349 struct dispc_clock_info *dispc_cinfo)
350{
351 WARN("%s: DSI not compiled in\n", __func__);
352 return -ENODEV;
353}
354static inline int dsi_pll_init(struct platform_device *dsidev, 341static inline int dsi_pll_init(struct platform_device *dsidev,
355 bool enable_hsclk, bool enable_hsdiv) 342 bool enable_hsclk, bool enable_hsdiv)
356{ 343{
@@ -400,8 +387,6 @@ bool dispc_div_calc(unsigned long dispc,
400bool dispc_mgr_timings_ok(enum omap_channel channel, 387bool dispc_mgr_timings_ok(enum omap_channel channel,
401 const struct omap_video_timings *timings); 388 const struct omap_video_timings *timings);
402unsigned long dispc_fclk_rate(void); 389unsigned long dispc_fclk_rate(void);
403void dispc_find_clk_divs(unsigned long req_pck, unsigned long fck,
404 struct dispc_clock_info *cinfo);
405int dispc_calc_clock_rates(unsigned long dispc_fclk_rate, 390int dispc_calc_clock_rates(unsigned long dispc_fclk_rate,
406 struct dispc_clock_info *cinfo); 391 struct dispc_clock_info *cinfo);
407 392