[PATCH v2 4/5] arm64: dts: freescale: imx8mp-sb-ucm: Add HDMI output support

Laurent Pinchart laurent.pinchart at ideasonboard.com
Sun Mar 17 09:48:49 PDT 2024


Enable the HDMI output on the Compulab SB-UCM-iMX8MPLUS, using the HDMI
encoder in the i.MX8MP SoC.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
 .../boot/dts/freescale/imx8mp-sb-ucm.dts      | 47 +++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-sb-ucm.dts b/arch/arm64/boot/dts/freescale/imx8mp-sb-ucm.dts
index 0141d85dc6a3..9dfa43d14a9b 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-sb-ucm.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-sb-ucm.dts
@@ -32,6 +32,18 @@ dsi_backlight: backlight-dsi {
 		status = "disabled";
 	};
 
+	hdmi-connector {
+		compatible = "hdmi-connector";
+		label = "hdmi";
+		type = "a";
+
+		port {
+			hdmi_connector_in: endpoint {
+				remote-endpoint = <&hdmi_tx_out>;
+			};
+		};
+	};
+
 	reg_3v3_per: regulator-3v3-per {
 		compatible = "regulator-fixed";
 		regulator-name = "3v3_per";
@@ -70,6 +82,28 @@ &eqos {
 	status = "okay";
 };
 
+&hdmi_pvi {
+	status = "okay";
+};
+
+&hdmi_tx {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_hdmi>;
+	status = "okay";
+
+	ports {
+		port at 1 {
+			hdmi_tx_out: endpoint {
+				remote-endpoint = <&hdmi_connector_in>;
+			};
+		};
+	};
+};
+
+&hdmi_tx_phy {
+	status = "okay";
+};
+
 &i2c2 {
 	pca9555: gpio at 20 {
 		compatible = "nxp,pca9555";
@@ -134,6 +168,15 @@ MX8MP_IOMUXC_SAI1_TXD0__GPIO4_IO12		0x00
 		>;
 	};
 
+	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		0x0
+			MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC		0x0
+		>;
+	};
+
 	pinctrl_i2c5: i2c5grp {
 		fsl,pins = <
 			MX8MP_IOMUXC_SAI5_RXD0__I2C5_SCL		0x400001c2
@@ -210,6 +253,10 @@ MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT		0xc0
 	};
 };
 
+&lcdif3 {
+	status = "okay";
+};
+
 &pwm1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_pwm1>;
-- 
Regards,

Laurent Pinchart




More information about the linux-arm-kernel mailing list