]> git.karo-electronics.de Git - linux-beck.git/commit
OMAP: DSS2: DSI: implement ULPS enter and exit
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 28 Jul 2010 12:53:38 +0000 (15:53 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 11 May 2011 11:20:13 +0000 (14:20 +0300)
commit40885ab31f754426c2e9a40362e568778baa5e82
tree8593954df65902178f975a128ba4c502aa5eb341
parent95861368e3eb2180dc9f00e916a4ba6f5e1fe4ce
OMAP: DSS2: DSI: implement ULPS enter and exit

Entering ULPS (Ultra Low Power State) happens by sending ULPS entry
sequence to the DSI peripheral and pulling the DSI lines down.

Exiting ULPS happens by sending ULPS exit sequence.

We can send the ULPS entry sequence by using OMAP DSS HW's ULPS support,
but we cannot use the ULPS exit support from DSS HW. DSS HW refuses to
send the ULPS exit sequence if it thinks that the lanes are not in ULPS.
After being in OFF mode the DSS HW has been reset, and so it does not
know that the lanes are actually in ULPS.

Thus we need to use the lane override support and manually send the ULPS
exit sequence. Luckily the sequence is very simple.

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