Skip to contentSkip to conversation

ARM: dts: imx: Power off display output on Data Modul i.MX8M Mini/Plus eDM SBC

PATCH In review Marek Vasut 2 participants 2 messages Dec 18, 2023 – Dec 19, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx: Power off display output on Data Modul i.MX8M Mini/Plus eDM SBC

Turn display connector power off on boot and reboot to prevent any bogus start up sequence of any panel potentially attached to the display connector.

---
Cc: Fabio Estevam <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>

---
 .../dts/imx8mm-data-modul-edm-sbc-u-boot.dtsi | 49 +++++++++++++++++++
 .../dts/imx8mp-data-modul-edm-sbc-u-boot.dtsi | 48 ++++++++++++++++++
 2 files changed, 97 insertions(+)
arch/arm/dts/imx8mm-data-modul-edm-sbc-u-boot.dtsi +49 -0
index 144c42b2103..a235e088fa4 100644
@@ -77,10 +77,59 @@
 
 &gpio2 {
 	bootph-pre-ram;
+
+	dsi-reset-hog {
+		bootph-pre-ram;
+		gpio-hog;
+		output-high;
+		gpios = <2 GPIO_ACTIVE_LOW>;
+		line-name = "DSI_RESET_1V8#";
+	};
+
+
+	dsi-irq-hog {
+		bootph-pre-ram;
+		gpio-hog;
+		input;
+		gpios = <3 GPIO_ACTIVE_LOW>;
+		line-name = "DSI_IRQ_1V8#";
+	};
+
+	graphics-prsnt-hog {
+		bootph-pre-ram;
+		gpio-hog;
+		input;
+		gpios = <7 GPIO_ACTIVE_LOW>;
+		line-name = "GRAPHICS_PRSNT_1V8#";
+	};
 };
 
 &gpio3 {
 	bootph-pre-ram;
+
+	bl-enable-hog {
+		bootph-pre-ram;
+		gpio-hog;
+		output-low;
+		gpios = <0 GPIO_ACTIVE_HIGH>;
+		line-name = "BL_ENABLE_1V8";
+	};
+
+	tft-enable-hog {
+		bootph-pre-ram;
+		gpio-hog;
+		output-low;
+		gpios = <6 GPIO_ACTIVE_HIGH>;
+		line-name = "TFT_ENABLE_1V8";
+	};
+
+	graphics-gpio0-hog {
+		bootph-pre-ram;
+		gpio-hog;
+		input;
+		gpios = <7 GPIO_ACTIVE_HIGH>;
+		line-name = "GRAPHICS_GPIO0_1V8";
+	};
 };
 
 &gpio4 {
arch/arm/dts/imx8mp-data-modul-edm-sbc-u-boot.dtsi +48 -0

58 lines not on this page · raw message

Signature · 1 line
2.43.0
reviewer
#1 lore raw
Quoted 6 lines · Marek Vasut

Turn display connector power off on boot and reboot to prevent any bogus start up sequence of any panel potentially attached to the display connector.

Applied to u-boot-imx/master, thanks.