c861e3848cd4abe0f671deb0b63da6c96a5b403d
[openwrt/openwrt.git] / target / linux / imx6 / patches-4.1 / 037-ARM-dts-imx-ventana-fix-GW53xx-GW54xx-lvds-channel.patch
1 From d86b202436b6f3111c4c37b8701daa0764d2ca55 Mon Sep 17 00:00:00 2001
2 From: Tim Harvey <tharvey@gateworks.com>
3 Date: Thu, 5 Nov 2015 11:10:00 -0800
4 Subject: [PATCH 3/3] ARM: dts: imx: ventana: Allow HDMI and LVDS to work
5 simultaneously
6
7 Currently it is not possible to have HDMI and LVDS working simultaneously,
8 because both ports try to use PLL5.
9
10 Move the LVDS clock parent to PLL3_USB_OTG, so that HDMI and LVDS can be
11 driven from independent sources.
12
13 With this change the LDB pixel clock goes to 68.57 MHz, which is still
14 within the valid range for the displays supported by the Ventana boards.
15
16 Signed-off-by: Tim Harvey <tharvey@gateworks.com>
17 ---
18 arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 7 +++++++
19 arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | 7 +++++++
20 arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 7 +++++++
21 3 files changed, 21 insertions(+)
22
23 --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
24 +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
25 @@ -151,6 +151,13 @@
26 status = "okay";
27 };
28
29 +&clks {
30 + assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
31 + <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
32 + assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
33 + <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
34 +};
35 +
36 &fec {
37 pinctrl-names = "default";
38 pinctrl-0 = <&pinctrl_enet>;
39 --- a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
40 +++ b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
41 @@ -152,6 +152,13 @@
42 status = "okay";
43 };
44
45 +&clks {
46 + assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
47 + <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
48 + assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
49 + <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
50 +};
51 +
52 &fec {
53 pinctrl-names = "default";
54 pinctrl-0 = <&pinctrl_enet>;
55 --- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
56 +++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
57 @@ -142,6 +142,13 @@
58 status = "okay";
59 };
60
61 +&clks {
62 + assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
63 + <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
64 + assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
65 + <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
66 +};
67 +
68 &fec {
69 pinctrl-names = "default";
70 pinctrl-0 = <&pinctrl_enet>;