OMAP2PLUS: DSS2: Remove hack config "CONFIG_OMAP2_DSS_USE_DSI_PLL"
authorArchit Taneja <archit@ti.com>
Tue, 12 Apr 2011 08:22:26 +0000 (13:52 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 11 May 2011 11:20:10 +0000 (14:20 +0300)
commit7636b3b4e178f6c09d9e2650f206eab62a67453b
tree2861d3e6d8beea23a1bcbcda16ac3c2ce99dec6f
parent6cb07b256af233965663d6dfc329d7df3dcae786
OMAP2PLUS: DSS2: Remove hack config "CONFIG_OMAP2_DSS_USE_DSI_PLL"

The clock sources for DISPC_FCLK and LCD1_CLK are now specified in the board file.
There is no need for the hack config "CONFIG_OMAP2_DSS_USE_DSI_PLL" anymore.
Introduce function dpi_use_dsi_pll() which checks for the clock sources to decide
whether DSI PLL is to be used or not.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/Kconfig
drivers/video/omap2/dss/dpi.c
drivers/video/omap2/dss/dsi.c