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

Wolfgang Denk wd at denx.de
Thu Dec 16 12:41:47 CET 2010


From: Stefano Babic <sbabic at 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 at denx.de>

---


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




Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Steal five dollars and you were a petty  thief.  Steal  thousands  of
dollars and you are either a government or a hero.
                                   - Terry Pratchett, _Going_Postal_


More information about the U-Boot mailing list