omapfb: add support for rotation on the Blizzard LCD ctrl
authorRodrigo Vivi <rodrigo.vivi@openbossa.org>
Tue, 22 Sep 2009 23:46:53 +0000 (16:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Sep 2009 14:39:49 +0000 (07:39 -0700)
commit2f21a62f16136f369788795a98aa5c313261f07b
tree1974092ab93bee721536018d7890d77e268af7cd
parent8fea8844a72f95ef22b108f5dc5c4237019771dd
omapfb: add support for rotation on the Blizzard LCD ctrl

The LCD controller (EPSON S1D13744) supports rotation (0, 90, 180 and 270
degrees) on hardware just setting the bits 0 and 1 of 0x28 register (LCD
Panel Configuration Register).  Now it is possible to use this caps only
setting the angle degree on var rotate of fb_var_screeninfo using the
FBIOPUT_VSCREENINFO ioctl.

Fixed-by: Siarhei Siamashka <siarhei.siamashka@nokia.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@openbossa.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Imre Deak <imre.deak@nokia.com>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/omap/blizzard.c
drivers/video/omap/omapfb_main.c