Patchwork [U-Boot] video/mx3fb: fix clock divider

login
register
mail settings
Submitter Wolfgang Denk
Date Dec. 16, 2010, 11:41 a.m.
Message ID <20101216114147.D4AF3BB0BA@gemini.denx.de>
Download mbox | patch
Permalink /patch/75741/
State Accepted
Headers show

Comments

Wolfgang Denk - Dec. 16, 2010, 11:41 a.m.
From: Stefano Babic <sbabic@denx.de>

Fix clock divider for COM57H5M10XRC display.
The previous setting caused flicker.

Tested on Qong (EVBLite with COM57H5M10XRC).

Signed-off-by: Stefano Babic <sbabic@denx.de>

---




Best regards,

Wolfgang Denk
Stefano Babic - Dec. 16, 2010, 12:35 p.m.
On 12/16/2010 12:41 PM, Wolfgang Denk wrote:
> From: Stefano Babic <sbabic@denx.de>
> 
> Fix clock divider for COM57H5M10XRC display.
> The previous setting caused flicker.
> 
> Tested on Qong (EVBLite with COM57H5M10XRC).
> 
> Signed-off-by: Stefano Babic <sbabic@denx.de>

It seems I forget to submit this patch....thanks for doing !

Best regards,
Stefano Babic
Wolfgang Denk - Dec. 16, 2010, 1:31 p.m.
Dear Stefano & Anatolij,

In message <20101216114147.D4AF3BB0BA@gemini.denx.de> I wrote:
> From: Stefano Babic <sbabic@denx.de>
> 
> Fix clock divider for COM57H5M10XRC display.
> The previous setting caused flicker.
> 
> Tested on Qong (EVBLite with COM57H5M10XRC).
> 
> Signed-off-by: Stefano Babic <sbabic@denx.de>

If both of you ACK I could pull this directly.

Best regards,

Wolfgang Denk
Stefano Babic - Dec. 16, 2010, 1:41 p.m.
On 12/16/2010 12:41 PM, Wolfgang Denk wrote:
> From: Stefano Babic <sbabic@denx.de>
> 
> Fix clock divider for COM57H5M10XRC display.
> The previous setting caused flicker.
> 
> Tested on Qong (EVBLite with COM57H5M10XRC).
> 
> Signed-off-by: Stefano Babic <sbabic@denx.de>
> 
> ---

Acked-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic
Anatolij Gustschin - Dec. 16, 2010, 11:17 p.m.
Hello Wolfgang,

On Thu, 16 Dec 2010 14:31:20 +0100
Wolfgang Denk <wd@denx.de> wrote:

> Dear Stefano & Anatolij,
> 
> In message <20101216114147.D4AF3BB0BA@gemini.denx.de> I wrote:
> > From: Stefano Babic <sbabic@denx.de>
> > 
> > Fix clock divider for COM57H5M10XRC display.
> > The previous setting caused flicker.
> > 
> > Tested on Qong (EVBLite with COM57H5M10XRC).
> > 
> > Signed-off-by: Stefano Babic <sbabic@denx.de>
> 
> If both of you ACK I could pull this directly.

Acked-by: Anatolij Gustschin <agust@denx.de>

Thanks,
Anatolij
Wolfgang Denk - Dec. 17, 2010, 8:24 p.m.
In message <20101216114147.D4AF3BB0BA@gemini.denx.de> you wrote:
> From: Stefano Babic <sbabic@denx.de>
> 
> Fix clock divider for COM57H5M10XRC display.
> The previous setting caused flicker.
> 
> Tested on Qong (EVBLite with COM57H5M10XRC).
> 
> Signed-off-by: Stefano Babic <sbabic@denx.de>
> 
> ---
> 
> 
> diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c

Applied, thanks.

Best regards,

Wolfgang Denk

Patch

diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c
index 7f04b49..893ec04 100644
--- a/drivers/video/mx3fb.c
+++ b/drivers/video/mx3fb.c
@@ -85,7 +85,7 @@  void lcd_panel_disable(void)
 #define V_END_WIDTH    (7 + 3) /* lower_margin + vsync_len */
 #define SIG_POL                (DI_D3_DRDY_SHARP_POL | DI_D3_CLK_POL)
 #define IF_CONF                0
-#define IF_CLK_DIV     0x175
+#define IF_CLK_DIV     0x55
 #else