From 21f5506c288470383922d232d73b487c2471ee78 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Fri, 9 Jan 2015 11:49:53 +0100 Subject: [PATCH] karo: tx6: use LDB clock as parent for DI clock for LVDS display --- board/karo/tx6/tx6qdl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.2