* [PATCH 2/3] ARM: dts: imx6qdl-nitrogen6x: Allow HDMI and LVDS to work simultaneously
2015-06-29 16:16 [PATCH 1/3] ARM: dts: imx6qdl-sabrelite: Allow HDMI and LVDS to work simultaneously Fabio Estevam
@ 2015-06-29 16:16 ` Fabio Estevam
2015-06-29 18:14 ` Gary Bisson
2015-06-30 9:41 ` Philipp Zabel
2015-06-29 16:16 ` [PATCH 3/3] ARM: dts: imx6qdl-sabreauto: " Fabio Estevam
` (3 subsequent siblings)
4 siblings, 2 replies; 8+ messages in thread
From: Fabio Estevam @ 2015-06-29 16:16 UTC (permalink / raw)
To: linux-arm-kernel
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 <fabio.estevam@freescale.com>
---
arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi
index 3af16df..1cba390 100644
--- a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi
@@ -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>;
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 2/3] ARM: dts: imx6qdl-nitrogen6x: Allow HDMI and LVDS to work simultaneously
2015-06-29 16:16 ` [PATCH 2/3] ARM: dts: imx6qdl-nitrogen6x: " Fabio Estevam
@ 2015-06-29 18:14 ` Gary Bisson
2015-06-30 9:41 ` Philipp Zabel
1 sibling, 0 replies; 8+ messages in thread
From: Gary Bisson @ 2015-06-29 18:14 UTC (permalink / raw)
To: linux-arm-kernel
Fabio, All,
On Mon, Jun 29, 2015 at 6:16 PM, Fabio Estevam
<fabio.estevam@freescale.com> wrote:
> 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 <fabio.estevam@freescale.com>
> ---
> arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi
> index 3af16df..1cba390 100644
> --- a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi
> @@ -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>;
> --
> 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/
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Regards,
Gary
^ permalink raw reply [flat|nested] 8+ messages in thread* [PATCH 2/3] ARM: dts: imx6qdl-nitrogen6x: Allow HDMI and LVDS to work simultaneously
2015-06-29 16:16 ` [PATCH 2/3] ARM: dts: imx6qdl-nitrogen6x: " Fabio Estevam
2015-06-29 18:14 ` Gary Bisson
@ 2015-06-30 9:41 ` Philipp Zabel
1 sibling, 0 replies; 8+ messages in thread
From: Philipp Zabel @ 2015-06-30 9:41 UTC (permalink / raw)
To: linux-arm-kernel
Am Montag, den 29.06.2015, 13:16 -0300 schrieb 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 <fabio.estevam@freescale.com>
> ---
> arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi
> index 3af16df..1cba390 100644
> --- a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi
> @@ -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>;
> +};
Tested-by: Philipp Zabel <p.zabel@pengutronix.de>
with a HannStar HSD070PWW1 7" 1280x800 panel (results in 58.93 Hz
vrefresh with the default timings).
regards
Philipp
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 3/3] ARM: dts: imx6qdl-sabreauto: Allow HDMI and LVDS to work simultaneously
2015-06-29 16:16 [PATCH 1/3] ARM: dts: imx6qdl-sabrelite: Allow HDMI and LVDS to work simultaneously Fabio Estevam
2015-06-29 16:16 ` [PATCH 2/3] ARM: dts: imx6qdl-nitrogen6x: " Fabio Estevam
@ 2015-06-29 16:16 ` Fabio Estevam
2015-06-29 18:14 ` [PATCH 1/3] ARM: dts: imx6qdl-sabrelite: " Gary Bisson
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Fabio Estevam @ 2015-06-29 16:16 UTC (permalink / raw)
To: linux-arm-kernel
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 <fabio.estevam@freescale.com>
---
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
index bd0707f..8acf319 100644
--- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
@@ -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>;
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 1/3] ARM: dts: imx6qdl-sabrelite: Allow HDMI and LVDS to work simultaneously
2015-06-29 16:16 [PATCH 1/3] ARM: dts: imx6qdl-sabrelite: Allow HDMI and LVDS to work simultaneously Fabio Estevam
2015-06-29 16:16 ` [PATCH 2/3] ARM: dts: imx6qdl-nitrogen6x: " Fabio Estevam
2015-06-29 16:16 ` [PATCH 3/3] ARM: dts: imx6qdl-sabreauto: " Fabio Estevam
@ 2015-06-29 18:14 ` Gary Bisson
2015-06-30 9:40 ` Philipp Zabel
2015-07-13 13:57 ` Shawn Guo
4 siblings, 0 replies; 8+ messages in thread
From: Gary Bisson @ 2015-06-29 18:14 UTC (permalink / raw)
To: linux-arm-kernel
Fabio, all,
On Mon, Jun 29, 2015 at 6:16 PM, Fabio Estevam
<fabio.estevam@freescale.com> wrote:
> 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 <fabio.estevam@freescale.com>
> ---
> arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi
> index e00c44f..d87e71c 100644
> --- a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi
> @@ -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>;
> --
> 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/
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Regards,
Gary
^ permalink raw reply [flat|nested] 8+ messages in thread* [PATCH 1/3] ARM: dts: imx6qdl-sabrelite: Allow HDMI and LVDS to work simultaneously
2015-06-29 16:16 [PATCH 1/3] ARM: dts: imx6qdl-sabrelite: Allow HDMI and LVDS to work simultaneously Fabio Estevam
` (2 preceding siblings ...)
2015-06-29 18:14 ` [PATCH 1/3] ARM: dts: imx6qdl-sabrelite: " Gary Bisson
@ 2015-06-30 9:40 ` Philipp Zabel
2015-07-13 13:57 ` Shawn Guo
4 siblings, 0 replies; 8+ messages in thread
From: Philipp Zabel @ 2015-06-30 9:40 UTC (permalink / raw)
To: linux-arm-kernel
Am Montag, den 29.06.2015, 13:16 -0300 schrieb 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 <fabio.estevam@freescale.com>
All three
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
regards
Philipp
^ permalink raw reply [flat|nested] 8+ messages in thread* [PATCH 1/3] ARM: dts: imx6qdl-sabrelite: Allow HDMI and LVDS to work simultaneously
2015-06-29 16:16 [PATCH 1/3] ARM: dts: imx6qdl-sabrelite: Allow HDMI and LVDS to work simultaneously Fabio Estevam
` (3 preceding siblings ...)
2015-06-30 9:40 ` Philipp Zabel
@ 2015-07-13 13:57 ` Shawn Guo
4 siblings, 0 replies; 8+ messages in thread
From: Shawn Guo @ 2015-07-13 13:57 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Jun 29, 2015 at 01:16:53PM -0300, Fabio Estevam wrote:
> 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 <fabio.estevam@freescale.com>
Applied #1 and #2. But #3 doesn't apply to my imx/dt branch.
Shawn
^ permalink raw reply [flat|nested] 8+ messages in thread