037-ARM-dts-imx-ventana-Allow-HDMI-and-LVDS-to-work-simultaneously.patch 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. Currently it is not possible to have HDMI and LVDS working simultaneously,
  7. because both ports try to use PLL5.
  8. Move the LVDS clock parent to PLL3_USB_OTG, so that HDMI and LVDS can be
  9. driven from independent sources.
  10. With this change the LDB pixel clock goes to 68.57 MHz, which is still
  11. within the valid range for the displays supported by the Ventana boards.
  12. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
  13. ---
  14. arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 7 +++++++
  15. arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | 7 +++++++
  16. arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 7 +++++++
  17. 3 files changed, 21 insertions(+)
  18. --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
  19. +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
  20. @@ -151,6 +151,13 @@
  21. status = "okay";
  22. };
  23. +&clks {
  24. + assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
  25. + <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
  26. + assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
  27. + <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
  28. +};
  29. +
  30. &fec {
  31. pinctrl-names = "default";
  32. pinctrl-0 = <&pinctrl_enet>;
  33. --- a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
  34. +++ b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
  35. @@ -152,6 +152,13 @@
  36. status = "okay";
  37. };
  38. +&clks {
  39. + assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
  40. + <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
  41. + assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
  42. + <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
  43. +};
  44. +
  45. &fec {
  46. pinctrl-names = "default";
  47. pinctrl-0 = <&pinctrl_enet>;
  48. --- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
  49. +++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
  50. @@ -142,6 +142,13 @@
  51. status = "okay";
  52. };
  53. +&clks {
  54. + assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
  55. + <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
  56. + assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
  57. + <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
  58. +};
  59. +
  60. &fec {
  61. pinctrl-names = "default";
  62. pinctrl-0 = <&pinctrl_enet>;