]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: imx8mp-navqp: Add HDMI support
authorGilles Talis <gilles.talis@gmail.com>
Sun, 27 Oct 2024 22:54:08 +0000 (18:54 -0400)
committerShawn Guo <shawnguo@kernel.org>
Mon, 4 Nov 2024 08:46:32 +0000 (16:46 +0800)
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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-navqp.dts

index 5fd1614982cd5089fc149ad9248e14d9d75698d5..4a4f7c1adc23fe2615d8eb4904d795b46af4ca9f 100644 (file)
                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";
        };
 };
 
+&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";
        };
 };
 
+&lcdif3 {
+       status = "okay";
+};
+
 &uart2 {
        /* console */
        pinctrl-names = "default";
                >;
        };
 
+       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