[U-Boot] [PATCH 02/11] zipitz2: enable LCD rotation

Marek Vasut marex at denx.de
Mon Mar 21 02:47:26 CET 2016


On 03/21/2016 02:37 AM, Vasily Khoruzhick wrote:
> z2's screen is rotated by 270 degrees
> 
> Signed-off-by: Vasily Khoruzhick <anarsoul at gmail.com>
> ---
>  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,

Someone should rewrite the entire pxa_lcd driver to cfb-console API and
DM, but yeah:

Acked-by: Marek Vasut <marex at denx.de>

Best regards,
Marek Vasut


More information about the U-Boot mailing list