* [PATCH 0/3] ARM: dts: imx: ventana LVDS fixes
@ 2015-11-06 22:40 Tim Harvey
2015-11-06 22:40 ` [PATCH 1/3] ARM: dts: imx: ventana: GW54xx PMIC swbst reg always-on Tim Harvey
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Tim Harvey @ 2015-11-06 22:40 UTC (permalink / raw)
To: linux-arm-kernel
This series has a vew device-tree patches that resolves some LVDS issues
with Gateworks Ventana boards.
Tim Harvey (3):
ARM: dts: imx: ventana: set GW54xx PMIC swbst regulator as always-on
ARM: dts: imx: ventana: fix GW53xx/GW54xx lvds channel
ARM: dts: imx: ventana: Allow HDMI and LVDS to work simultaneously
arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 7 +++++++
arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | 9 ++++++++-
arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 11 ++++++++++-
3 files changed, 25 insertions(+), 2 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/3] ARM: dts: imx: ventana: GW54xx PMIC swbst reg always-on
2015-11-06 22:40 [PATCH 0/3] ARM: dts: imx: ventana LVDS fixes Tim Harvey
@ 2015-11-06 22:40 ` Tim Harvey
2015-11-06 22:40 ` [PATCH 2/3] ARM: dts: imx: ventana: fix GW53xx/GW54xx lvds channel Tim Harvey
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Tim Harvey @ 2015-11-06 22:40 UTC (permalink / raw)
To: linux-arm-kernel
The GW54xx PMIC swbst regulator is used for LVDS power, CANbus xceiver
and HDMI DDC and is enabled by the bootloader. Set the regulator to
always-on so that Linux doesn't turn it off thinking its not needed.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
index 929e0b3..743db9f 100644
--- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
@@ -260,6 +260,8 @@
swbst_reg: swbst {
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5150000>;
+ regulator-boot-on;
+ regulator-always-on;
};
snvs_reg: vsnvs {
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/3] ARM: dts: imx: ventana: fix GW53xx/GW54xx lvds channel
2015-11-06 22:40 [PATCH 0/3] ARM: dts: imx: ventana LVDS fixes Tim Harvey
2015-11-06 22:40 ` [PATCH 1/3] ARM: dts: imx: ventana: GW54xx PMIC swbst reg always-on Tim Harvey
@ 2015-11-06 22:40 ` Tim Harvey
2015-11-06 22:40 ` [PATCH 3/3] ARM: dts: imx: ventana: Allow HDMI and LVDS to work simultaneously Tim Harvey
2015-11-24 8:44 ` [PATCH 0/3] ARM: dts: imx: ventana LVDS fixes Shawn Guo
3 siblings, 0 replies; 6+ messages in thread
From: Tim Harvey @ 2015-11-06 22:40 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | 2 +-
arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
index 7c51839..5172de0 100644
--- a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
@@ -247,7 +247,7 @@
&ldb {
status = "okay";
- lvds-channel at 1 {
+ lvds-channel at 0 {
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
status = "okay";
diff --git a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
index 743db9f..aad051b 100644
--- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
@@ -338,7 +338,7 @@
&ldb {
status = "okay";
- lvds-channel at 1 {
+ lvds-channel at 0 {
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
status = "okay";
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/3] ARM: dts: imx: ventana: Allow HDMI and LVDS to work simultaneously
2015-11-06 22:40 [PATCH 0/3] ARM: dts: imx: ventana LVDS fixes Tim Harvey
2015-11-06 22:40 ` [PATCH 1/3] ARM: dts: imx: ventana: GW54xx PMIC swbst reg always-on Tim Harvey
2015-11-06 22:40 ` [PATCH 2/3] ARM: dts: imx: ventana: fix GW53xx/GW54xx lvds channel Tim Harvey
@ 2015-11-06 22:40 ` Tim Harvey
2015-11-06 22:44 ` Fabio Estevam
2015-11-24 8:44 ` [PATCH 0/3] ARM: dts: imx: ventana LVDS fixes Shawn Guo
3 siblings, 1 reply; 6+ messages in thread
From: Tim Harvey @ 2015-11-06 22:40 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 displays supported by the Ventana boards.
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 7 +++++++
arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | 7 +++++++
arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 7 +++++++
3 files changed, 21 insertions(+)
diff --git a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
index 1b66328..9709728 100644
--- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
@@ -151,6 +151,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>;
+};
+
&fec {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet>;
diff --git a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
index 5172de0..dc1cd13 100644
--- a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi
@@ -152,6 +152,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>;
+};
+
&fec {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet>;
diff --git a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
index aad051b..d8aa22e 100644
--- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
@@ -142,6 +142,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>;
+};
+
&fec {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet>;
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/3] ARM: dts: imx: ventana: Allow HDMI and LVDS to work simultaneously
2015-11-06 22:40 ` [PATCH 3/3] ARM: dts: imx: ventana: Allow HDMI and LVDS to work simultaneously Tim Harvey
@ 2015-11-06 22:44 ` Fabio Estevam
0 siblings, 0 replies; 6+ messages in thread
From: Fabio Estevam @ 2015-11-06 22:44 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Nov 6, 2015 at 8:40 PM, Tim Harvey <tharvey@gateworks.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 displays supported by the Ventana boards.
>
> Cc: Fabio Estevam <fabio.estevam@freescale.com>
> Cc: Philipp Zabel <p.zabel@pengutronix.de>
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 0/3] ARM: dts: imx: ventana LVDS fixes
2015-11-06 22:40 [PATCH 0/3] ARM: dts: imx: ventana LVDS fixes Tim Harvey
` (2 preceding siblings ...)
2015-11-06 22:40 ` [PATCH 3/3] ARM: dts: imx: ventana: Allow HDMI and LVDS to work simultaneously Tim Harvey
@ 2015-11-24 8:44 ` Shawn Guo
3 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2015-11-24 8:44 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Nov 06, 2015 at 02:40:29PM -0800, Tim Harvey wrote:
> Tim Harvey (3):
> ARM: dts: imx: ventana: set GW54xx PMIC swbst regulator as always-on
> ARM: dts: imx: ventana: fix GW53xx/GW54xx lvds channel
> ARM: dts: imx: ventana: Allow HDMI and LVDS to work simultaneously
Applied all, thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-11-24 8:44 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-06 22:40 [PATCH 0/3] ARM: dts: imx: ventana LVDS fixes Tim Harvey
2015-11-06 22:40 ` [PATCH 1/3] ARM: dts: imx: ventana: GW54xx PMIC swbst reg always-on Tim Harvey
2015-11-06 22:40 ` [PATCH 2/3] ARM: dts: imx: ventana: fix GW53xx/GW54xx lvds channel Tim Harvey
2015-11-06 22:40 ` [PATCH 3/3] ARM: dts: imx: ventana: Allow HDMI and LVDS to work simultaneously Tim Harvey
2015-11-06 22:44 ` Fabio Estevam
2015-11-24 8:44 ` [PATCH 0/3] ARM: dts: imx: ventana LVDS fixes Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).