aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/imx-audio-hdmi.yaml
blob: e7e7bb65c366fa6c7f57c733690c51b7534ece5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/imx-audio-hdmi.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NXP i.MX audio complex with HDMI

maintainers:
  - Shengjiu Wang <shengjiu.wang@nxp.com>

properties:
  compatible:
    enum:
      - fsl,imx-audio-hdmi
      - fsl,imx-audio-sii902x

  model:
    $ref: /schemas/types.yaml#/definitions/string
    description: User specified audio sound card name

  audio-cpu:
    $ref: /schemas/types.yaml#/definitions/phandle
    description: The phandle of an CPU DAI controller

  hdmi-out:
    type: boolean
    description: |
      This is a boolean property. If present, the transmitting function
      of HDMI will be enabled, indicating there's a physical HDMI out
      connector or jack on the board or it's connecting to some other IP
      block, such as an HDMI encoder or display-controller.

  hdmi-in:
    type: boolean
    description: |
      This is a boolean property. If present, the receiving function of
      HDMI will be enabled, indicating there is a physical HDMI in
      connector/jack on the board.

required:
  - compatible
  - model
  - audio-cpu

additionalProperties: false

examples:
  - |
    sound-hdmi {
        compatible = "fsl,imx-audio-hdmi";
        model = "audio-hdmi";
        audio-cpu = <&aud2htx>;
        hdmi-out;
    };