]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: imx8mp: Add hdmi parallel audio interface node
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 23 Sep 2025 05:30:00 +0000 (13:30 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sun, 16 Nov 2025 03:48:25 +0000 (11:48 +0800)
The HDMI TX Parallel Audio Interface (HTX_PAI) is a bridge between the
Audio Subsystem to the HDMI TX Controller.

Shrink register map size of hdmi_pvi to avoid overlapped hdmi_pai device.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp.dtsi

index 2898654cda2b661482763627228c93dce1105267..354a8616cb528ffcd9ae20869a43ab57b8fc6c50 100644 (file)
 
                        hdmi_pvi: display-bridge@32fc4000 {
                                compatible = "fsl,imx8mp-hdmi-pvi";
-                               reg = <0x32fc4000 0x1000>;
+                               reg = <0x32fc4000 0x800>;
                                interrupt-parent = <&irqsteer_hdmi>;
                                interrupts = <12>;
                                power-domains = <&hdmi_blk_ctrl IMX8MP_HDMIBLK_PD_PVI>;
                                };
                        };
 
+                       hdmi_pai: audio-bridge@32fc4800 {
+                               compatible = "fsl,imx8mp-hdmi-pai";
+                               reg = <0x32fc4800 0x800>;
+                               interrupt-parent = <&irqsteer_hdmi>;
+                               interrupts = <14>;
+                               clocks = <&clk IMX8MP_CLK_HDMI_APB>;
+                               clock-names = "apb";
+                               power-domains = <&hdmi_blk_ctrl IMX8MP_HDMIBLK_PD_PAI>;
+                               status = "disabled";
+
+                               port {
+                                       pai_to_hdmi_tx: endpoint {
+                                               remote-endpoint = <&hdmi_tx_from_pai>;
+                                       };
+                               };
+                       };
+
                        lcdif3: display-controller@32fc6000 {
                                compatible = "fsl,imx8mp-lcdif";
                                reg = <0x32fc6000 0x1000>;
                                                reg = <1>;
                                                /* Point endpoint to the HDMI connector */
                                        };
+
+                                       port@2 {
+                                               reg = <2>;
+
+                                               hdmi_tx_from_pai: endpoint {
+                                                       remote-endpoint = <&pai_to_hdmi_tx>;
+                                               };
+                                       };
                                };
                        };