]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: fix TV-out issue with DSI PLL
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 13 Dec 2012 12:21:30 +0000 (14:21 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 13 Dec 2012 12:24:43 +0000 (14:24 +0200)
commit536d01ebe062599bd861219692002d75c3da3cb2
tree1dd04f07c8b9f471f9f5f9b0a3031535d5d91aea
parentad0fa054e6c047bb920bf6b3f0654c9cc83d01fc
OMAPDSS: fix TV-out issue with DSI PLL

Commit 09855ccd47459c9e0de0ee3db61d7baa3403f6c6 (OMAPDSS: DPI: always
use DSI PLL if available) made dpi.c use DSI PLL for its clock. This
works fine, for DPI, but has a nasty side effect on OMAP3:

On OMAP3 the same clock is used for DISPC fclk and LCD output. Thus,
after the above patch, DSI PLL is used for DISPC and LCD output. If
TV-out is used, the TV-out needs DISPC. And if DPI is turned off, the
DSI PLL is also turned off, disabling DISPC.

For this to work, we'd need proper DSS internal clock handling, with
refcounts, which is a non-trivial project.

This patch fixes the issue for now by disabling the use of DSI PLL for
DPI on OMAP3.

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