arm64: dts: freescale: imx8mp-toradex-smarc: remove gpio-hog on lvds_dsi_sel
Subsystems (2)
cover arm64: dts: freescale: imx8mp-toradex-smarc: remove gpio-hog on lvds_dsi_sel
From: Max Krummenacher <[email protected]>
The LVDS_DSI_SEL does not leave the SoM, so do its pinmuxing on the SoM dtsi and don't leave that to a carrier board dts file.
Using a pull down on the LVDS_DSI_SEL signal is enough to have the signal not floating and have the SoM in a defined state.
Thus remove the gpio-hog used on the line and leave this to carrier board dts files or overlays to use the signal as needed.
Max Krummenacher (2):
arm64: dts: freescale: imx8mp-toradex-smarc: fix lvds dsi mux gpio
arm64: dts: freescale: imx8mp-toradex-smarc: remove gpio hog
.../boot/dts/freescale/imx8mp-toradex-smarc-dev.dts | 5 ----- .../arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi | 10 ++-------- 2 files changed, 2 insertions(+), 13 deletions(-)
Signature · 1 line
2.42.0
PATCH 1/2 arm64: dts: freescale: imx8mp-toradex-smarc: fix lvds dsi mux gpio
From: Max Krummenacher <[email protected]>
The MUX which either outputs DSI or 2nd channel LVDS signals is part of the SoM. Move the pinmuxing of the GPIO used for controlling the MUX to the SoM dtsi file.
---
arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc-dev.dts | 5 ----- arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc-dev.dts +0 -5
@@ -102,11 +102,6 @@ &gpio1 { <&pinctrl_gpio13>; }; -&gpio3 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_lvds_dsi_sel>; -}; - &gpio4 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio4>, <&pinctrl_gpio6>;
arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi +2 -0
@@ -320,6 +320,8 @@ &gpio2 { }; &gpio3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lvds_dsi_sel>; gpio-line-names = "ETH_0_INT#", /* 0 */ "SLEEP#", "",
Signature · 1 line
2.42.0
PATCH 2/2 arm64: dts: freescale: imx8mp-toradex-smarc: remove gpio hog
In reply to [email protected]From: Max Krummenacher <[email protected]>
Remove the gpio hog node which forces using DSI signals rather than the second LVDS channels signals.
The dsi signals are not used in any of the current device trees. Leave that decision to the actual device tree which will also define the consumer of the signals.
---
arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi | 8 -------- 1 file changed, 8 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc.dtsi +0 -8
@@ -351,14 +351,6 @@ &gpio3 { "", "", "SMARC_I2C_PM_CK"; - - lvds_dsi_mux_hog: lvds-dsi-mux-hog { - gpio-hog; - gpios = <7 GPIO_ACTIVE_HIGH>; - line-name = "LVDS_DSI_SEL"; - /* LVDS_DSI_SEL as DSI */ - output-low; - }; }; &gpio4 {
Signature · 1 line
2.42.0
Shawn Guo
AppliedQuoted 11 lines · On Tue, Jul 08, 2025 at 03:51:40PM +0200, [email protected] wrote:
From: Max Krummenacher <[email protected]>
The
LVDS_DSI_SELdoes not leave the SoM, so do its pinmuxing on the SoM dtsi and don't leave that to a carrier board dts file.Using a pull down on the
LVDS_DSI_SELsignal is enough to have the signal not floating and have the SoM in a defined state.
Thus remove the gpio-hog used on the line and leave this to carrier board dts files or overlays to use the signal as needed.
Quoted 3 lines
Max Krummenacher (2):
arm64: dts: freescale: imx8mp-toradex-smarc: fix lvds dsi mux gpio
arm64: dts: freescale: imx8mp-toradex-smarc: remove gpio hog
Applied both, thanks!