summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2016-03-20 18:37:01 -0700
committerTom Rini <trini@konsulko.com>2016-03-27 09:12:56 -0400
commit59fa089b2b191c87bc1ad81b5ddd553de665001c (patch)
tree6b0fdd3092838f814529b4874c1c490ea0923230 /drivers/video
parentf19eb15426d83f983fc18b46e6c274caf62cfd42 (diff)
zipitz2: enable LCD rotation
z2's screen is rotated by 270 degrees Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/pxa_lcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/pxa_lcd.c b/drivers/video/pxa_lcd.c
index 2799425a633..1809fc6f1e2 100644
--- a/drivers/video/pxa_lcd.c
+++ b/drivers/video/pxa_lcd.c
@@ -175,6 +175,7 @@ vidinfo_t panel_info = {
vidinfo_t panel_info = {
.vl_col = 240,
.vl_row = 320,
+ .vl_rot = 3,
.vl_width = 240,
.vl_height = 320,
.vl_clkp = CONFIG_SYS_HIGH,