Skip to contentSkip to conversation

ARM: dts: imx6qdl-sabreauto: Allow HDMI and LVDS to work simultaneously

PATCH Superseded Fabio Estevam 3 participants 3 messages Jul 13, 2015

Subsystems (2)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: imx6qdl-sabreauto: Allow HDMI and LVDS to work simultaneously

Currently it is not possible to have HDMI and LVDS working simultaneously, because both ports try to use PLL5.

Move the LVDS clock parent to PLL3_USB_OTG, so that HDMI and LVDS can be driven from independent sources.

With this change the LDB pixel clock goes to 68.57 MHz, which is still within the valid range for the HSD100PXN1 LVDS panel.

---
Changes since v1:
- Rebased against latest imx/dt branch

 arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +7 -0
index 6b17b85..2030de8 100644
@@ -99,6 +99,13 @@
 	assigned-clock-rates = <0>, <0>, <24576000>;
 };
 
+&clks {
+	assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
+			  <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
+	assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
+				 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
+};
+
 &ecspi1 {
 	fsl,spi-num-chipselects = <1>;
 	cs-gpios = <&gpio3 19 0>;
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/1 ARM: dts: imx6qdl-sabreauto: Allow HDMI and LVDS to work simultaneously

Quoted 22 lines · Fabio Estevam

Currently it is not possible to have HDMI and LVDS working simultaneously, because both ports try to use PLL5.

Move the LVDS clock parent to PLL3_USB_OTG, so that HDMI and LVDS can be driven from independent sources.

With this change the LDB pixel clock goes to 68.57 MHz, which is still within the valid range for the HSD100PXN1 LVDS panel.

---
Changes since v1:
- Rebased against latest imx/dt branch

 arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +0 -0
index 6b17b85..2030de8 100644

arch/arm/boot/dts/imx6qdl-sabreauto.dtsi line 108

Quoted 10 lines
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +7 -0
@@ -99,6 +99,13 @@
 	assigned-clock-rates = <0>, <0>, <24576000>;
 };
 
+&clks {
+	assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
+			  <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
+	assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
+				 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
+};
+

There is already an assigned-clocks in &clks added by audio support.

Shawn

Quoted 12 lines
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +0 -0
 &ecspi1 {
 	fsl,spi-num-chipselects = <1>;
 	cs-gpios = <&gpio3 19 0>;
Signature · 7 lines
1.9.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
reviewer
#2 lore raw

PATCH v2 1/1 ARM: dts: imx6qdl-sabreauto: Allow HDMI and LVDS to work simultaneously

Quoted 1 line · Shawn Guo

There is already an assigned-clocks in &clks added by audio support.

Ops, that's true. Please consider v4 instead, which I have just tested on the sabreauto board.