[PATCH v2 2/9] arm64: dts: imx8mp-kontron: Fix GPIO for DL panel standby signal

Frieder Schrempf frieder at fris.de
Tue Oct 13 04:51:07 PDT 2026


From: Frieder Schrempf <frieder.schrempf at kontron.de>

On the BL carrier board the panel standby signal of the DL display is
connected to the OSM-S pad GPIO_A_7. On the i.MX8MP OSM-S module this
pad is NAND_CE0_B/GPIO3_IO01. Due to an incorrect pad mapping, the
overlay uses SAI3_RXFS/GPIO4_IO28 instead, which is the I2S_B_DATA_IN
pad.

Use the correct GPIO for the panel standby hog. GPIO_A_7 is already
muxed as GPIO by the SoM devicetree, so drop the extra pinctrl group.

Fixes: 946ab10e3f40 ("arm64: dts: Add support for Kontron OSM-S i.MX8MP SoM and BL carrier board")
Signed-off-by: Frieder Schrempf <frieder.schrempf at kontron.de>
---
 .../boot/dts/freescale/imx8mp-kontron-dl.dtso      | 25 ++++++++--------------
 1 file changed, 9 insertions(+), 16 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-kontron-dl.dtso b/arch/arm64/boot/dts/freescale/imx8mp-kontron-dl.dtso
index 88b30ca66adf5..13c6d55126f44 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-kontron-dl.dtso
+++ b/arch/arm64/boot/dts/freescale/imx8mp-kontron-dl.dtso
@@ -52,22 +52,21 @@ panel_in_lvds0: endpoint {
 	};
 };
 
-&gpio4 {
-	pinctrl-names = "default";
-	pinctrl-0 = <&pinctrl_gpio4>, <&pinctrl_panel_stby>;
-
-	panel-rst-hog {
+&gpio3 {
+	panel-stby-hog {
 		gpio-hog;
-		gpios = <21 GPIO_ACTIVE_HIGH>;
+		gpios = <1 GPIO_ACTIVE_HIGH>;
 		output-high;
-		line-name = "panel-reset";
+		line-name = "panel-standby";
 	};
+};
 
-	panel-stby-hog {
+&gpio4 {
+	panel-rst-hog {
 		gpio-hog;
-		gpios = <28 GPIO_ACTIVE_HIGH>;
+		gpios = <21 GPIO_ACTIVE_HIGH>;
 		output-high;
-		line-name = "panel-standby";
+		line-name = "panel-reset";
 	};
 };
 
@@ -127,12 +126,6 @@ &pwm1 {
 };
 
 &iomuxc {
-	pinctrl_panel_stby: panelstbygrp {
-		fsl,pins = <
-			MX8MP_IOMUXC_SAI3_RXFS__GPIO4_IO28		0x19
-		>;
-	};
-
 	pinctrl_touch: touchgrp {
 		fsl,pins = <
 			MX8MP_IOMUXC_GPIO1_IO06__GPIO1_IO06		0x19

-- 
2.55.0




More information about the linux-arm-kernel mailing list