[PATCH v2 1/6] dt-bindings: display: imx: add HDMI PAI for i.MX8MP
Krzysztof Kozlowski
krzk at kernel.org
Thu Jul 24 08:52:34 UTC 2025
On Thu, Jul 24, 2025 at 03:22:43PM +0800, Shengjiu Wang wrote:
> Add binding for the i.MX8MP HDMI parallel Audio interface block.
>
> In fsl,imx8mp-hdmi-tx.yaml, add port at 2 that linked to pai_to_hdmi_tx.
>
> Signed-off-by: Shengjiu Wang <shengjiu.wang at nxp.com>
> ---
> .../display/bridge/fsl,imx8mp-hdmi-tx.yaml | 12 ++++
> .../display/imx/fsl,imx8mp-hdmi-pai.yaml | 69 +++++++++++++++++++
> 2 files changed, 81 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/imx/fsl,imx8mp-hdmi-pai.yaml
>
> diff --git a/Documentation/devicetree/bindings/display/bridge/fsl,imx8mp-hdmi-tx.yaml b/Documentation/devicetree/bindings/display/bridge/fsl,imx8mp-hdmi-tx.yaml
> index 05442d437755..6211ab8bbb0e 100644
> --- a/Documentation/devicetree/bindings/display/bridge/fsl,imx8mp-hdmi-tx.yaml
> +++ b/Documentation/devicetree/bindings/display/bridge/fsl,imx8mp-hdmi-tx.yaml
> @@ -49,6 +49,10 @@ properties:
> $ref: /schemas/graph.yaml#/properties/port
> description: HDMI output port
>
> + port at 2:
> + $ref: /schemas/graph.yaml#/properties/port
> + description: Parallel audio input port
Which data path this represents? Feels like you are duplicating ASoC
dai-links/cells...
> +
> required:
> - port at 0
> - port at 1
> @@ -98,5 +102,13 @@ examples:
> remote-endpoint = <&hdmi0_con>;
> };
> };
> +
> + port at 2 {
> + reg = <2>;
> +
> + endpoint {
> + remote-endpoint = <&pai_to_hdmi_tx>;
> + };
> + };
> };
> };
> diff --git a/Documentation/devicetree/bindings/display/imx/fsl,imx8mp-hdmi-pai.yaml b/Documentation/devicetree/bindings/display/imx/fsl,imx8mp-hdmi-pai.yaml
> new file mode 100644
> index 000000000000..4f99682a308d
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/imx/fsl,imx8mp-hdmi-pai.yaml
> @@ -0,0 +1,69 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/imx/fsl,imx8mp-hdmi-pai.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Freescale i.MX8MP HDMI Parallel Audio Interface
> +
> +maintainers:
> + - Shengjiu Wang <shengjiu.wang at nxp.com>
> +
> +description:
> + The HDMI TX Parallel Audio Interface (HTX_PAI) is a bridge between the
> + Audio Subsystem to the HDMI TX Controller.
What is Audio Subsystem? Like Linux Audio or some name matching actual
hardware?
> +
> +properties:
> + compatible:
> + const: fsl,imx8mp-hdmi-pai
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + clocks:
> + maxItems: 1
> +
> + clock-names:
> + const: apb
> +
> + power-domains:
> + maxItems: 1
> +
> + port:
> + $ref: /schemas/graph.yaml#/properties/port
> + description: Output to the HDMI TX controller.
And how do you plug it into sound card? Where are any DAI links?
Best regards,
Krzysztof
More information about the dri-devel
mailing list