xref: /linux/Documentation/devicetree/bindings/display/imx/fsl,imx8mp-hdmi-pai.yaml (revision f6e8dc9edf963dbc99085e54f6ced6da9daa6100)
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
7title: Freescale i.MX8MP HDMI Parallel Audio Interface
8
9maintainers:
10  - Shengjiu Wang <shengjiu.wang@nxp.com>
11
12description:
13  The HDMI TX Parallel Audio Interface (HTX_PAI) is a bridge between the
14  Audio Subsystem to the HDMI TX Controller.
15
16properties:
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
39required:
40  - compatible
41  - reg
42  - interrupts
43  - clocks
44  - clock-names
45  - power-domains
46  - port
47
48additionalProperties: false
49
50examples:
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    };
70