From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 16 Dec 2010 12:41:47 +0100 Subject: [U-Boot] video/mx3fb: fix clock divider Message-ID: <20101216114147.D4AF3BB0BA@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Stefano Babic Fix clock divider for COM57H5M10XRC display. The previous setting caused flicker. Tested on Qong (EVBLite with COM57H5M10XRC). Signed-off-by: Stefano Babic --- 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_