From 59fa089b2b191c87bc1ad81b5ddd553de665001c Mon Sep 17 00:00:00 2001 From: Vasily Khoruzhick Date: Sun, 20 Mar 2016 18:37:01 -0700 Subject: zipitz2: enable LCD rotation z2's screen is rotated by 270 degrees Signed-off-by: Vasily Khoruzhick Acked-by: Marek Vasut --- drivers/video/pxa_lcd.c | 1 + include/configs/zipitz2.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/video/pxa_lcd.c b/drivers/video/pxa_lcd.c index 2799425..1809fc6 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, diff --git a/include/configs/zipitz2.h b/include/configs/zipitz2.h index 586a445..169eaf3 100644 --- a/include/configs/zipitz2.h +++ b/include/configs/zipitz2.h @@ -83,6 +83,7 @@ #ifdef CONFIG_CMD_SPI #define CONFIG_SOFT_SPI #define CONFIG_LCD +#define CONFIG_LCD_ROTATION #define CONFIG_PXA_LCD #define CONFIG_LMS283GF05 -- cgit v1.1