1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/imx-audio-hdmi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP i.MX audio complex with HDMI
8
9maintainers:
10  - Shengjiu Wang <shengjiu.wang@nxp.com>
11
12properties:
13  compatible:
14    enum:
15      - fsl,imx-audio-hdmi
16      - fsl,imx-audio-sii902x
17
18  model:
19    $ref: /schemas/types.yaml#/definitions/string
20    description: User specified audio sound card name
21
22  audio-cpu:
23    description: The phandle of an CPU DAI controller
24
25  hdmi-out:
26    description: |
27      This is a boolean property. If present, the transmitting function
28      of HDMI will be enabled, indicating there's a physical HDMI out
29      connector or jack on the board or it's connecting to some other IP
30      block, such as an HDMI encoder or display-controller.
31
32  hdmi-in:
33    description: |
34      This is a boolean property. If present, the receiving function of
35      HDMI will be enabled, indicating there is a physical HDMI in
36      connector/jack on the board.
37
38required:
39  - compatible
40  - model
41  - audio-cpu
42
43additionalProperties: false
44
45examples:
46  - |
47    sound-hdmi {
48        compatible = "fsl,imx-audio-hdmi";
49        model = "audio-hdmi";
50        audio-cpu = <&aud2htx>;
51        hdmi-out;
52    };
53