summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-imx-rt-3.14.28/0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-imx-rt-3.14.28/0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch')
-rw-r--r--recipes-kernel/linux/linux-imx-rt-3.14.28/0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-imx-rt-3.14.28/0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch b/recipes-kernel/linux/linux-imx-rt-3.14.28/0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch
new file mode 100644
index 0000000..d7b852d
--- /dev/null
+++ b/recipes-kernel/linux/linux-imx-rt-3.14.28/0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch
@@ -0,0 +1,40 @@
1From 5b9eb0cdaefd7ac8e31c1e1812582e0169ba9722 Mon Sep 17 00:00:00 2001
2From: Gary Bisson <bisson.gary@gmail.com>
3Date: Wed, 3 Dec 2014 15:03:51 -0800
4Subject: [PATCH 2/3] ARM: clk-imx6q: fix video divider for rev T0 1.0
5
6commit 81ef447950bf0955aca46f4a7617d8ce435cf0ce upstream.
7
8The post dividers do not work on i.MX6Q rev T0 1.0 so they must be fixed
9to 1. As the table index was wrong, a divider a of 4 could still be
10requested which implied the clock not to be set properly. This is the
11root cause of the HDMI not working at high resolution on rev T0 1.0 of
12the SoC.
13
14Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
15Cc: <stable@vger.kernel.org>
16Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
17Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
18
19Upstream-Status: Backport [3.14.29]
20
21---
22 arch/arm/mach-imx/clk-imx6q.c | 2 +-
23 1 file changed, 1 insertion(+), 1 deletion(-)
24
25diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c
26index a5107ab..cf060a9 100644
27--- a/arch/arm/mach-imx/clk-imx6q.c
28+++ b/arch/arm/mach-imx/clk-imx6q.c
29@@ -148,7 +148,7 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node)
30 post_div_table[1].div = 1;
31 post_div_table[2].div = 1;
32 video_div_table[1].div = 1;
33- video_div_table[2].div = 1;
34+ video_div_table[3].div = 1;
35 }
36
37 clk[IMX6QDL_PLL1_BYPASS_SRC] = imx_clk_mux("pll1_bypass_src", base + 0x00, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_sels));
38--
392.1.4
40