From: Lothar Waßmann Date: Fri, 9 Jan 2015 10:49:53 +0000 (+0100) Subject: karo: tx6: use LDB clock as parent for DI clock for LVDS display X-Git-Tag: KARO-TX6-2015-02-05~20 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=21f5506c288470383922d232d73b487c2471ee78 karo: tx6: use LDB clock as parent for DI clock for LVDS display --- diff --git a/board/karo/tx6/tx6qdl.c b/board/karo/tx6/tx6qdl.c index aac62ccd85..a577f48559 100644 --- a/board/karo/tx6/tx6qdl.c +++ b/board/karo/tx6/tx6qdl.c @@ -1039,7 +1039,9 @@ void lcd_ctrl_init(void *lcdbase) int ret; debug("Initializing LCD controller\n"); - ret = ipuv3_fb_init(p, 0, pix_fmt, DI_PCLK_PLL3, di_clk_rate, -1); + ret = ipuv3_fb_init(p, 0, pix_fmt, + is_lvds() ? DI_PCLK_LDB : DI_PCLK_PLL3, + di_clk_rate, -1); if (ret) { printf("Failed to initialize FB driver: %d\n", ret); lcd_enabled = 0;