diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-08-06 13:31:47 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-11-12 13:40:20 +0200 |
commit | 1a7f4bf186e6e629d8cb3226be4b9fbb48c812b8 (patch) | |
tree | b6aaf6daca5a1cf1f5d5f53fbad39d7a6cd60151 /drivers/video/fbdev/omap2/dss/dss.h | |
parent | d845600e2f693b3020fa779d2dc1a0767718eebc (diff) | |
download | linux-1a7f4bf186e6e629d8cb3226be4b9fbb48c812b8.tar.bz2 |
OMAPDSS: DSI: always power on hsclk & hsdiv
The DSS PLL has support to power on the PLL's highspeed clock output
and HSDIV output separately. In practice both need to powered on, as in
most OMAP's that's the only working configuration. We already do that in
dsi_pll_init(), by overriding the passed arguments so that both are
always powered.
Simplify the code by removing the support for choosing which outputs to
power on.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/omap2/dss/dss.h')
-rw-r--r-- | drivers/video/fbdev/omap2/dss/dss.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/fbdev/omap2/dss/dss.h b/drivers/video/fbdev/omap2/dss/dss.h index 4617b4d9f78d..2defcaedbef5 100644 --- a/drivers/video/fbdev/omap2/dss/dss.h +++ b/drivers/video/fbdev/omap2/dss/dss.h @@ -296,8 +296,7 @@ bool dsi_pll_calc(struct platform_device *dsidev, unsigned long clkin, unsigned long dsi_get_pll_hsdiv_dispc_rate(struct platform_device *dsidev); int dsi_pll_set_clock_div(struct platform_device *dsidev, struct dsi_clock_info *cinfo); -int dsi_pll_init(struct platform_device *dsidev, bool enable_hsclk, - bool enable_hsdiv); +int dsi_pll_init(struct platform_device *dsidev); void dsi_pll_uninit(struct platform_device *dsidev, bool disconnect_lanes); struct platform_device *dsi_get_dsidev_from_id(int module); #else @@ -324,8 +323,7 @@ static inline int dsi_pll_set_clock_div(struct platform_device *dsidev, WARN("%s: DSI not compiled in\n", __func__); return -ENODEV; } -static inline int dsi_pll_init(struct platform_device *dsidev, - bool enable_hsclk, bool enable_hsdiv) +static inline int dsi_pll_init(struct platform_device *dsidev) { WARN("%s: DSI not compiled in\n", __func__); return -ENODEV; |