]> git.openfabrics.org - ~emulex/infiniband.git/commit
OMAPDSS: Fix SDI PLL locking
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 21 Aug 2012 06:09:47 +0000 (09:09 +0300)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 23 Aug 2012 12:37:21 +0000 (12:37 +0000)
commit35d678664873041026171b4b5e1cec49299e33a0
tree0e4e82ed0be75f870e0c937a68f2e416e249b7c4
parent25682362564fa0c950d9afe798def2ec9c3676a2
OMAPDSS: Fix SDI PLL locking

Commit f476ae9dab3234532d41d36beb4ba7be838fa786 (OMAPDSS: APPLY: Remove
DISPC writes to manager's lcd parameters in interface) broke the SDI
output, as it causes the SDI PLL locking to fail.

LCLK and PCLK divisors are located in shadow registers, and we normally
write them to DISPC registers when enabling the output.  However, SDI
uses pck-free as source clock for its PLL, and pck-free is affected by
the divisors. And as we need the PLL before enabling the output, we need
to write the divisors early.

It seems just writing to the DISPC register is enough, and we don't need
to care about the shadow register mechanism for pck-free. The exact
reason for this is unknown.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reported-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/omap2/dss/sdi.c