]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: imx8mp: Enable HDMI to Data Modul i.MX8M Plus eDM SBC
authorMarek Vasut <marex@denx.de>
Sun, 18 Aug 2024 20:27:10 +0000 (22:27 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 4 Sep 2024 09:36:19 +0000 (17:36 +0800)
Enable HDMI support on Data Modul i.MX8M Plus eDM SBC.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts

index 837ea79741e8dba29cb7e6497b54427867934054..d0fc5977258fbf14fa5c957f897c073aafcb2ec7 100644 (file)
                pwms = <&pwm4 0 83 0>;
        };
 
+       hdmi-connector {
+               compatible = "hdmi-connector";
+               label = "J17";
+               type = "a";
+
+               port {
+                       hdmi_connector_in: endpoint {
+                               remote-endpoint = <&hdmi_tx_out>;
+                       };
+               };
+       };
+
        panel: panel {
                /* Compatible string is filled in by panel board DT Overlay. */
                backlight = <&backlight>;
                "", "SPI3_CS#", "", "", "", "", "", "";
 };
 
+&hdmi_pvi {
+       status = "okay";
+};
+
+&hdmi_tx {
+       ddc-i2c-bus = <&i2c5>;
+       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";
+};
+
+&lcdif3 {
+       status = "okay";
+};
+
 &i2c1 {
        clock-frequency = <100000>;
        pinctrl-names = "default", "gpio";
                >;
        };
 
+       pinctrl_hdmi: hdmi-grp {
+               fsl,pins = <
+                       MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC         0x154
+                       MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD         0x154
+               >;
+       };
+
        pinctrl_hog_feature: hog-feature-grp {
                fsl,pins = <
                        /* GPIO5_IO03 */