Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: display: imx: add HDMI PAI for i.MX8MP

Add binding for the i.MX8MP HDMI parallel Audio interface block.

The HDMI TX Parallel Audio Interface (HTX_PAI) is a digital module that
acts as the bridge between the Audio Subsystem to the HDMI TX Controller.
This IP block is found in the HDMI subsystem of the i.MX8MP SoC.

Aud2htx module in Audio Subsystem, HDMI PAI module and HDMI TX
Controller compose the HDMI audio pipeline.

In fsl,imx8mp-hdmi-tx.yaml, add port@2 that is linked to pai_to_hdmi_tx.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Link: https://lore.kernel.org/r/20250923053001.2678596-2-shengjiu.wang@nxp.com

authored by

Shengjiu Wang and committed by
Liu Ying
4e7511fa a7493ff9

+81
+12
Documentation/devicetree/bindings/display/bridge/fsl,imx8mp-hdmi-tx.yaml
··· 49 49 $ref: /schemas/graph.yaml#/properties/port 50 50 description: HDMI output port 51 51 52 + port@2: 53 + $ref: /schemas/graph.yaml#/properties/port 54 + description: Parallel audio input port 55 + 52 56 required: 53 57 - port@0 54 58 - port@1 ··· 100 96 reg = <1>; 101 97 endpoint { 102 98 remote-endpoint = <&hdmi0_con>; 99 + }; 100 + }; 101 + 102 + port@2 { 103 + reg = <2>; 104 + 105 + endpoint { 106 + remote-endpoint = <&pai_to_hdmi_tx>; 103 107 }; 104 108 }; 105 109 };
+69
Documentation/devicetree/bindings/display/imx/fsl,imx8mp-hdmi-pai.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/display/imx/fsl,imx8mp-hdmi-pai.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Freescale i.MX8MP HDMI Parallel Audio Interface 8 + 9 + maintainers: 10 + - Shengjiu Wang <shengjiu.wang@nxp.com> 11 + 12 + description: 13 + The HDMI TX Parallel Audio Interface (HTX_PAI) is a bridge between the 14 + Audio Subsystem to the HDMI TX Controller. 15 + 16 + properties: 17 + compatible: 18 + const: fsl,imx8mp-hdmi-pai 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + interrupts: 24 + maxItems: 1 25 + 26 + clocks: 27 + maxItems: 1 28 + 29 + clock-names: 30 + const: apb 31 + 32 + power-domains: 33 + maxItems: 1 34 + 35 + port: 36 + $ref: /schemas/graph.yaml#/properties/port 37 + description: Output to the HDMI TX controller. 38 + 39 + required: 40 + - compatible 41 + - reg 42 + - interrupts 43 + - clocks 44 + - clock-names 45 + - power-domains 46 + - port 47 + 48 + additionalProperties: false 49 + 50 + examples: 51 + - | 52 + #include <dt-bindings/clock/imx8mp-clock.h> 53 + #include <dt-bindings/power/imx8mp-power.h> 54 + 55 + audio-bridge@32fc4800 { 56 + compatible = "fsl,imx8mp-hdmi-pai"; 57 + reg = <0x32fc4800 0x800>; 58 + interrupt-parent = <&irqsteer_hdmi>; 59 + interrupts = <14>; 60 + clocks = <&clk IMX8MP_CLK_HDMI_APB>; 61 + clock-names = "apb"; 62 + power-domains = <&hdmi_blk_ctrl IMX8MP_HDMIBLK_PD_PAI>; 63 + 64 + port { 65 + pai_to_hdmi_tx: endpoint { 66 + remote-endpoint = <&hdmi_tx_from_pai>; 67 + }; 68 + }; 69 + };