diff mbox series

arm64: dts: imx8mp-navqp: Add HDMI support

Message ID 20241027225408.195475-1-gilles.talis@gmail.com (mailing list archive)
State New
Headers show
Series arm64: dts: imx8mp-navqp: Add HDMI support | expand

Commit Message

Gilles Talis Oct. 27, 2024, 10:54 p.m. UTC
The HDMI connector on the board is a micro-HDMI (type "d")

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
---
 .../arm64/boot/dts/freescale/imx8mp-navqp.dts | 47 +++++++++++++++++++
 1 file changed, 47 insertions(+)


base-commit: 42f7652d3eb527d03665b09edac47f85fb600924

Comments

Fabio Estevam Oct. 28, 2024, 12:33 p.m. UTC | #1
Hi Gilles,

On Sun, Oct 27, 2024 at 7:57 PM Gilles Talis <gilles.talis@gmail.com> wrote:
>
> The HDMI connector on the board is a micro-HDMI (type "d")
>
> Signed-off-by: Gilles Talis <gilles.talis@gmail.com>

Reviewed-by: Fabio Estevam <festevam@gmail.com>
Shawn Guo Nov. 2, 2024, 6:50 a.m. UTC | #2
On Sun, Oct 27, 2024 at 06:54:08PM -0400, Gilles Talis wrote:
> The HDMI connector on the board is a micro-HDMI (type "d")
> 
> Signed-off-by: Gilles Talis <gilles.talis@gmail.com>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-navqp.dts b/arch/arm64/boot/dts/freescale/imx8mp-navqp.dts
index 5fd1614982cd..4a4f7c1adc23 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-navqp.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-navqp.dts
@@ -18,6 +18,18 @@  chosen {
 		stdout-path = &uart2;
 	};
 
+	hdmi-connector {
+		compatible = "hdmi-connector";
+		label = "J15";
+		type = "d";
+
+		port {
+			hdmi_connector_in: endpoint {
+				remote-endpoint = <&hdmi_tx_out>;
+			};
+		};
+	};
+
 	leds {
 		compatible = "gpio-leds";
 		pinctrl-names = "default";
@@ -85,6 +97,28 @@  ethphy0: ethernet-phy@0 {
 	};
 };
 
+&hdmi_pvi {
+	status = "okay";
+};
+
+&hdmi_tx {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_hdmi>;
+	status = "okay";
+
+	ports {
+		port@1 {
+			hdmi_tx_out: endpoint {
+				remote-endpoint = <&hdmi_connector_in>;
+			};
+		};
+	};
+};
+
+&hdmi_tx_phy {
+	status = "okay";
+};
+
 &i2c1 {
 	clock-frequency = <400000>;
 	pinctrl-names = "default";
@@ -213,6 +247,10 @@  rtc@53 {
 	};
 };
 
+&lcdif3 {
+	status = "okay";
+};
+
 &uart2 {
 	/* console */
 	pinctrl-names = "default";
@@ -279,6 +317,15 @@  MX8MP_IOMUXC_NAND_READY_B__GPIO3_IO16				0x19
 		>;
 	};
 
+	pinctrl_hdmi: hdmigrp {
+		fsl,pins = <
+			MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL			0x1c2
+			MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA			0x1c2
+			MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD				0x10
+			MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC				0x10
+		>;
+	};
+
 	pinctrl_i2c1: i2c1grp {
 		fsl,pins = <
 			MX8MP_IOMUXC_I2C1_SCL__I2C1_SCL					0x400001c3