diff options
Diffstat (limited to 'drivers/video/omap2/dss/dss.h')
-rw-r--r-- | drivers/video/omap2/dss/dss.h | 12 |
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); | |||
295 | void dsi_irq_handler(void); | 295 | void dsi_irq_handler(void); |
296 | u8 dsi_get_pixel_size(enum omap_dss_dsi_pixel_format fmt); | 296 | u8 dsi_get_pixel_size(enum omap_dss_dsi_pixel_format fmt); |
297 | 297 | ||
298 | unsigned long dsi_get_pll_clkin(struct platform_device *dsidev); | ||
299 | |||
300 | typedef bool (*dsi_pll_calc_func)(int regn, int regm, unsigned long fint, | ||
301 | unsigned long pll, void *data); | ||
302 | typedef bool (*dsi_hsdiv_calc_func)(int regm_dispc, unsigned long dispc, | ||
303 | void *data); | ||
304 | bool dsi_hsdiv_calc(struct platform_device *dsidev, unsigned long pll, | ||
305 | unsigned long out_min, dsi_hsdiv_calc_func func, void *data); | ||
306 | bool 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 | |||
298 | unsigned long dsi_get_pll_hsdiv_dispc_rate(struct platform_device *dsidev); | 310 | unsigned long dsi_get_pll_hsdiv_dispc_rate(struct platform_device *dsidev); |
299 | int dsi_pll_set_clock_div(struct platform_device *dsidev, | 311 | int dsi_pll_set_clock_div(struct platform_device *dsidev, |
300 | struct dsi_clock_info *cinfo); | 312 | struct dsi_clock_info *cinfo); |