ARM: dts: imx6qdl-sabrelite: Allow HDMI and LVDS to work simultaneously
Subsystems (2)
PATCH 1/3 ARM: dts: imx6qdl-sabrelite: 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.
--- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +7 -0
@@ -148,6 +148,13 @@ status = "okay"; }; +&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
PATCH 2/3 ARM: dts: imx6qdl-nitrogen6x: 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.
--- arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi +7 -0
@@ -149,6 +149,13 @@ status = "okay"; }; +&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
PATCH 2/3 ARM: dts: imx6qdl-nitrogen6x: Allow HDMI and LVDS to work simultaneously
Fabio, All,
Quoted 33 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.
Signed-off-by Fabio Estevam <[email protected]>--- arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi +7
-1@@ -149,6 +149,13 @@ status = "okay"; }; +&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>; --
Quoted 2 lines
1.9.1
Tested using linux-next 20150629 on Nitrogen6x with either Hannstar 7" or 10" + HDMI monitor.
This patch relies on previous clk-imx6q patch from Fabio:
https://patchwork.kernel.org/patch/6682561/
Regards,
Gary
PATCH 2/3 ARM: dts: imx6qdl-nitrogen6x: Allow HDMI and LVDS to work simultaneously
In reply to Fabio EstevamAm Montag, den 29.06.2015, 13:16 -0300 schrieb Fabio Estevam:
Quoted 19 lines
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.
Signed-off-by Fabio Estevam <[email protected]>--- arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi +0
-0
arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi line 157
Quoted 9 lines
arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi +6
-0@@ -149,6 +149,13 @@ status = "okay"; }; +&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>; +};
with a HannStar HSD070PWW1 7" 1280x800 panel (results in 58.93 Hz vrefresh with the default timings).
regards
Philipp
PATCH 3/3 ARM: dts: imx6qdl-sabreauto: Allow HDMI and LVDS to work simultaneously
In reply to Fabio EstevamCurrently 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.
--- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +7 -0
@@ -45,6 +45,13 @@ }; }; +&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
PATCH 1/3 ARM: dts: imx6qdl-sabrelite: Allow HDMI and LVDS to work simultaneously
In reply to Fabio EstevamFabio, all,
Quoted 33 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.
Signed-off-by Fabio Estevam <[email protected]>--- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +7
-1@@ -148,6 +148,13 @@ status = "okay"; }; +&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>; --
Quoted 2 lines
1.9.1
Tested using linux-next 20150629 on Sabrelite with either Hannstar 7" or 10" + HDMI monitor.
This patch relies on previous clk-imx6q patch from Fabio:
https://patchwork.kernel.org/patch/6682561/
Regards,
Gary
PATCH 1/3 ARM: dts: imx6qdl-sabrelite: Allow HDMI and LVDS to work simultaneously
In reply to Fabio EstevamAm Montag, den 29.06.2015, 13:16 -0300 schrieb Fabio Estevam:
Quoted 10 lines
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.
Signed-off-by Fabio Estevam <[email protected]>
All three
regards
Philipp
PATCH 1/3 ARM: dts: imx6qdl-sabrelite: Allow HDMI and LVDS to work simultaneously
In reply to Fabio EstevamQuoted 10 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.
Signed-off-by Fabio Estevam <[email protected]>
Applied #1 and #2. But #3 doesn't apply to my imx/dt branch.
Shawn