Patchwork [U-Boot,3/3] video: mxsfb: Add an entry for mx23evk/mx28vk video modes

login
register
mail settings
Submitter Fabio Estevam
Date May 10, 2013, 7:14 p.m.
Message ID <1368213258-23811-3-git-send-email-festevam@gmail.com>
Download mbox | patch
Permalink /patch/243059/
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Comments

Fabio Estevam - May 10, 2013, 7:14 p.m.
From: Fabio Estevam <fabio.estevam@freescale.com>

Currently the mxsfb driver takes the display timings from the 'videomode'
environment variable.

Provide an example on how to set 'videomode' for using splash screen on
mx23evk and mx28vk boards.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 drivers/video/mxsfb.c |    5 +++++
 1 file changed, 5 insertions(+)
Marek Vasut - May 10, 2013, 11:19 p.m.
Dear Fabio Estevam,

> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Currently the mxsfb driver takes the display timings from the 'videomode'
> environment variable.
> 
> Provide an example on how to set 'videomode' for using splash screen on
> mx23evk and mx28vk boards.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  drivers/video/mxsfb.c |    5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
> index 461ff6e..b189419 100644
> --- a/drivers/video/mxsfb.c
> +++ b/drivers/video/mxsfb.c
> @@ -39,6 +39,11 @@ static GraphicDevice panel;
>   * setenv videomode
>   * video=ctfb:x:800,y:480,depth:18,mode:0,pclk:30066,
>   *       le:0,ri:256,up:0,lo:45,hs:1,vs:1,sync:100663296,vmode:0
> + *
> + * Freescale mx23evk/mx28evk with a Seiko 4.3'' WVGA panel:
> + * setenv videomode
> + * video=ctfb:x:800,y:480,depth:24,mode:0,pclk:29851,
> + * 	 le:89,ri:164,up:23,lo:10,hs:10,vs:10,sync:0,vmode:0
>   */

On SCH-26062 Rev B the image is shifted downwards on MX23EVK, but maybe that's 
not SEIKO LCD ;-)

Otherwise for MX23EVK,

Tested-by: Marek Vasut <marex@denx.de>

Best regards,
Marek Vasut
Stefano Babic - May 16, 2013, 3:48 p.m.
On 10/05/2013 21:14, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Currently the mxsfb driver takes the display timings from the 'videomode'
> environment variable.
> 
> Provide an example on how to set 'videomode' for using splash screen on
> mx23evk and mx28vk boards.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---


Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

Patch

diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
index 461ff6e..b189419 100644
--- a/drivers/video/mxsfb.c
+++ b/drivers/video/mxsfb.c
@@ -39,6 +39,11 @@  static GraphicDevice panel;
  * setenv videomode
  * video=ctfb:x:800,y:480,depth:18,mode:0,pclk:30066,
  *       le:0,ri:256,up:0,lo:45,hs:1,vs:1,sync:100663296,vmode:0
+ *
+ * Freescale mx23evk/mx28evk with a Seiko 4.3'' WVGA panel:
+ * setenv videomode
+ * video=ctfb:x:800,y:480,depth:24,mode:0,pclk:29851,
+ * 	 le:89,ri:164,up:23,lo:10,hs:10,vs:10,sync:0,vmode:0
  */
 
 static void mxs_lcd_init(GraphicDevice *panel,