arm64: dts: imx8mp: Enable HDMI on i.MX8MP DHCOM PDK2 and PDK3
authorMarek Vasut <marex@denx.de>
Tue, 14 May 2024 01:06:42 +0000 (03:06 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 15 Jun 2024 08:05:52 +0000 (16:05 +0800)
Enable HDMI output on i.MX8MP DHCOM PDK2 and PDK3. The I2C5 on PDK2 and
I2C mux port 1 on PDK3 respectively are used in regular I2C mode instead
of HDMI DDC mode to permit connection of other I2C devices on those buses.
The pinctrl_hdmi node is part of the SoM DTSI already.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk2.dts
arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts

index 3b1c940860e02bc09d84c565da25fdc2b5da273b..ebdf13e97b4e2d1f2dc22e7fe916bcba4ef5ac1e 100644 (file)
                };
        };
 
+       hdmi-connector {
+               compatible = "hdmi-connector";
+               label = "X38";
+               type = "a";
+
+               port {
+                       hdmi_connector_in: endpoint {
+                               remote-endpoint = <&hdmi_tx_out>;
+                       };
+               };
+       };
+
        led {
                compatible = "gpio-leds";
 
        status = "okay";
 };
 
+&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";
+};
+
 &pcie_phy {
        clock-names = "ref";
        clocks = <&hsio_blk_ctrl>;
index ac7ec7533a3c8c7b28ec1e75616b55735ba9b306..ef012e8365b1f5ae66d5f50d0dfd4cd2a108a183 100644 (file)
                };
        };
 
+       hdmi-connector {
+               compatible = "hdmi-connector";
+               label = "X28";
+               type = "a";
+
+               port {
+                       hdmi_connector_in: endpoint {
+                               remote-endpoint = <&hdmi_tx_out>;
+                       };
+               };
+       };
+
        led {
                compatible = "gpio-leds";
 
        status = "okay";
 };
 
+&hdmi_pvi {
+       status = "okay";
+};
+
+&hdmi_tx {
+       ddc-i2c-bus = <&i2cmuxed1>;
+       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";
+};
+
 &pcie_phy {
        clocks = <&pcieclk 1>;
        clock-names = "ref";