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>
---
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 28 ++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
index 841d155685ee..00d8474bd1b1 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
@@ -2066,7 +2066,7 @@ irqsteer_hdmi: interrupt-controller@32fc2000 {
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>;
@@ -2092,6 +2092,24 @@ pvi_to_hdmi_tx: endpoint {
};
};
+ 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>;
@@ -2143,6 +2161,14 @@ port@1 {
reg = <1>;
/* Point endpoint to the HDMI connector */
};
+
+ port@2 {
+ reg = <2>;
+
+ hdmi_tx_from_pai: endpoint {
+ remote-endpoint = <&pai_to_hdmi_tx>;
+ };
+ };
};
};
--
2.34.1
On Fri, Aug 08, 2025 at 04:06:16PM +0800, Shengjiu Wang wrote: > 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> > --- > arch/arm64/boot/dts/freescale/imx8mp.dtsi | 28 ++++++++++++++++++++++- > 1 file changed, 27 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > index 841d155685ee..00d8474bd1b1 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > @@ -2066,7 +2066,7 @@ irqsteer_hdmi: interrupt-controller@32fc2000 { > > 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>; > @@ -2092,6 +2092,24 @@ pvi_to_hdmi_tx: endpoint { > }; > }; > > + 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>; > @@ -2143,6 +2161,14 @@ port@1 { > reg = <1>; > /* Point endpoint to the HDMI connector */ > }; > + > + port@2 { > + reg = <2>; > + > + hdmi_tx_from_pai: endpoint { > + remote-endpoint = <&pai_to_hdmi_tx>; > + }; > + }; > }; > }; > > -- > 2.34.1 >
On 08/08/2025, Shengjiu Wang wrote: > 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> > --- > arch/arm64/boot/dts/freescale/imx8mp.dtsi | 28 ++++++++++++++++++++++- > 1 file changed, 27 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > index 841d155685ee..00d8474bd1b1 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > @@ -2066,7 +2066,7 @@ irqsteer_hdmi: interrupt-controller@32fc2000 { > > 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>; > @@ -2092,6 +2092,24 @@ pvi_to_hdmi_tx: endpoint { > }; > }; > > + 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 { > + Nit: Drop this blank line. > + pai_to_hdmi_tx: endpoint { > + remote-endpoint = <&hdmi_tx_from_pai>; > + }; > + }; > + }; > + > lcdif3: display-controller@32fc6000 { > compatible = "fsl,imx8mp-lcdif"; > reg = <0x32fc6000 0x1000>; > @@ -2143,6 +2161,14 @@ port@1 { > reg = <1>; > /* Point endpoint to the HDMI connector */ > }; > + > + port@2 { > + reg = <2>; > + > + hdmi_tx_from_pai: endpoint { > + remote-endpoint = <&pai_to_hdmi_tx>; > + }; > + }; > }; > }; > -- Regards, Liu Ying
© 2016 - 2025 Red Hat, Inc.