ARM: dts: imx: ventana LVDS fixes
Subsystems (2)
cover ARM: dts: imx: ventana LVDS fixes
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(-)
Signature · 1 line
1.9.1
PATCH 1/3 ARM: dts: imx: ventana: GW54xx PMIC swbst reg always-on
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.
--- arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boot/dts/imx6qdl-gw54xx.dtsi +2 -0
@@ -260,6 +260,8 @@ swbst_reg: swbst { regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5150000>; + regulator-boot-on; + regulator-always-on; }; snvs_reg: vsnvs {
Signature · 1 line
1.9.1
PATCH 2/3 ARM: dts: imx: ventana: fix GW53xx/GW54xx lvds channel
In reply to Tim Harvey--- arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | 2 +- arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx6qdl-gw53xx.dtsi +1 -1
@@ -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";
arch/arm/boot/dts/imx6qdl-gw54xx.dtsi +1 -1
@@ -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";
Signature · 1 line
1.9.1
PATCH 3/3 ARM: dts: imx: ventana: Allow HDMI and LVDS to work simultaneously
In reply to Tim HarveyCurrently 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.
--- 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(+)
arch/arm/boot/dts/imx6qdl-gw52xx.dtsi +7 -0
@@ -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>;
arch/arm/boot/dts/imx6qdl-gw53xx.dtsi +7 -0
@@ -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>;
arch/arm/boot/dts/imx6qdl-gw54xx.dtsi +7 -0
@@ -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>;
Signature · 1 line
1.9.1
Fabio Estevam
reviewerPATCH 3/3 ARM: dts: imx: ventana: Allow HDMI and LVDS to work simultaneously
Quoted 6 lines · Tim Harvey
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.
Quoted 6 lines
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 <[email protected]>Cc Philipp Zabel <[email protected]>Signed-off-by Tim Harvey <[email protected]>
Shawn Guo
Appliedcover ARM: dts: imx: ventana LVDS fixes
In reply to Tim HarveyQuoted 4 lines · Tim Harvey
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.