xref: /freebsd/sys/contrib/device-tree/Bindings/sound/imx-audio-hdmi.yaml (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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    $ref: /schemas/types.yaml#/definitions/phandle
24    description: The phandle of an CPU DAI controller
25
26  hdmi-out:
27    type: boolean
28    description: |
29      This is a boolean property. If present, the transmitting function
30      of HDMI will be enabled, indicating there's a physical HDMI out
31      connector or jack on the board or it's connecting to some other IP
32      block, such as an HDMI encoder or display-controller.
33
34  hdmi-in:
35    type: boolean
36    description: |
37      This is a boolean property. If present, the receiving function of
38      HDMI will be enabled, indicating there is a physical HDMI in
39      connector/jack on the board.
40
41required:
42  - compatible
43  - model
44  - audio-cpu
45
46additionalProperties: false
47
48examples:
49  - |
50    sound-hdmi {
51        compatible = "fsl,imx-audio-hdmi";
52        model = "audio-hdmi";
53        audio-cpu = <&aud2htx>;
54        hdmi-out;
55    };
56