aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dss.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/omap2/dss/dss.h')
-rw-r--r--drivers/video/omap2/dss/dss.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h
index 4180302a7fb3..dde6cc109480 100644
--- a/drivers/video/omap2/dss/dss.h
+++ b/drivers/video/omap2/dss/dss.h
@@ -295,6 +295,18 @@ void dsi_dump_clocks(struct seq_file *s);
295void dsi_irq_handler(void); 295void dsi_irq_handler(void);
296u8 dsi_get_pixel_size(enum omap_dss_dsi_pixel_format fmt); 296u8 dsi_get_pixel_size(enum omap_dss_dsi_pixel_format fmt);
297 297
298unsigned long dsi_get_pll_clkin(struct platform_device *dsidev);
299
300typedef bool (*dsi_pll_calc_func)(int regn, int regm, unsigned long fint,
301 unsigned long pll, void *data);
302typedef bool (*dsi_hsdiv_calc_func)(int regm_dispc, unsigned long dispc,
303 void *data);
304bool dsi_hsdiv_calc(struct platform_device *dsidev, unsigned long pll,
305 unsigned long out_min, dsi_hsdiv_calc_func func, void *data);
306bool dsi_pll_calc(struct platform_device *dsidev, unsigned long clkin,
307 unsigned long pll_min, unsigned long pll_max,
308 dsi_pll_calc_func func, void *data);
309
298unsigned long dsi_get_pll_hsdiv_dispc_rate(struct platform_device *dsidev); 310unsigned long dsi_get_pll_hsdiv_dispc_rate(struct platform_device *dsidev);
299int dsi_pll_set_clock_div(struct platform_device *dsidev, 311int dsi_pll_set_clock_div(struct platform_device *dsidev,
300 struct dsi_clock_info *cinfo); 312 struct dsi_clock_info *cinfo);