Re: [U-Boot] [PATCH v2] mx6sabresd: Use VESA 1024x768 timings

2016-03-25 Thread Stefano Babic
On 16/03/2016 16:55, Fabio Estevam wrote:
> VESA 1024x768 results in much more accurate timings.
> 
> Based on the patch from Soeren Moch for the tbs2910 board.
> 
> Signed-off-by: Fabio Estevam 
> ---
> Changes since v1:
> - Fix Soeren's name
> 
>  board/freescale/mx6sabresd/mx6sabresd.c | 28 ++--
>  1 file changed, 14 insertions(+), 14 deletions(-)
> 
> diff --git a/board/freescale/mx6sabresd/mx6sabresd.c 
> b/board/freescale/mx6sabresd/mx6sabresd.c
> index e9d9664..727334a 100644
> --- a/board/freescale/mx6sabresd/mx6sabresd.c
> +++ b/board/freescale/mx6sabresd/mx6sabresd.c
> @@ -386,13 +386,13 @@ struct display_info_t const displays[] = {{
>   .refresh= 60,
>   .xres   = 1024,
>   .yres   = 768,
> - .pixclock   = 15385,
> - .left_margin= 220,
> - .right_margin   = 40,
> - .upper_margin   = 21,
> - .lower_margin   = 7,
> - .hsync_len  = 60,
> - .vsync_len  = 10,
> + .pixclock   = 15384,
> + .left_margin= 160,
> + .right_margin   = 24,
> + .upper_margin   = 29,
> + .lower_margin   = 3,
> + .hsync_len  = 136,
> + .vsync_len  = 6,
>   .sync   = FB_SYNC_EXT,
>   .vmode  = FB_VMODE_NONINTERLACED
>  } }, {
> @@ -406,13 +406,13 @@ struct display_info_t const displays[] = {{
>   .refresh= 60,
>   .xres   = 1024,
>   .yres   = 768,
> - .pixclock   = 15385,
> - .left_margin= 220,
> - .right_margin   = 40,
> - .upper_margin   = 21,
> - .lower_margin   = 7,
> - .hsync_len  = 60,
> - .vsync_len  = 10,
> + .pixclock   = 15384,
> + .left_margin= 160,
> + .right_margin   = 24,
> + .upper_margin   = 29,
> + .lower_margin   = 3,
> + .hsync_len  = 136,
> + .vsync_len  = 6,
>   .sync   = FB_SYNC_EXT,
>   .vmode  = FB_VMODE_NONINTERLACED
>  } }, {
> 
Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic


-- 
=
DENX Software Engineering GmbH,  Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de
=
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH v2] mx6sabresd: Use VESA 1024x768 timings

2016-03-19 Thread Fabio Estevam
VESA 1024x768 results in much more accurate timings.

Based on the patch from Soeren Moch for the tbs2910 board.

Signed-off-by: Fabio Estevam 
---
Changes since v1:
- Fix Soeren's name

 board/freescale/mx6sabresd/mx6sabresd.c | 28 ++--
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/board/freescale/mx6sabresd/mx6sabresd.c 
b/board/freescale/mx6sabresd/mx6sabresd.c
index e9d9664..727334a 100644
--- a/board/freescale/mx6sabresd/mx6sabresd.c
+++ b/board/freescale/mx6sabresd/mx6sabresd.c
@@ -386,13 +386,13 @@ struct display_info_t const displays[] = {{
.refresh= 60,
.xres   = 1024,
.yres   = 768,
-   .pixclock   = 15385,
-   .left_margin= 220,
-   .right_margin   = 40,
-   .upper_margin   = 21,
-   .lower_margin   = 7,
-   .hsync_len  = 60,
-   .vsync_len  = 10,
+   .pixclock   = 15384,
+   .left_margin= 160,
+   .right_margin   = 24,
+   .upper_margin   = 29,
+   .lower_margin   = 3,
+   .hsync_len  = 136,
+   .vsync_len  = 6,
.sync   = FB_SYNC_EXT,
.vmode  = FB_VMODE_NONINTERLACED
 } }, {
@@ -406,13 +406,13 @@ struct display_info_t const displays[] = {{
.refresh= 60,
.xres   = 1024,
.yres   = 768,
-   .pixclock   = 15385,
-   .left_margin= 220,
-   .right_margin   = 40,
-   .upper_margin   = 21,
-   .lower_margin   = 7,
-   .hsync_len  = 60,
-   .vsync_len  = 10,
+   .pixclock   = 15384,
+   .left_margin= 160,
+   .right_margin   = 24,
+   .upper_margin   = 29,
+   .lower_margin   = 3,
+   .hsync_len  = 136,
+   .vsync_len  = 6,
.sync   = FB_SYNC_EXT,
.vmode  = FB_VMODE_NONINTERLACED
 } }, {
-- 
1.9.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot