1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/audio-graph.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Audio Graph
8
9maintainers:
10  - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
11
12properties:
13  dais:
14    $ref: /schemas/types.yaml#/definitions/phandle-array
15  label:
16    maxItems: 1
17  prefix:
18    description: device name prefix
19    $ref: /schemas/types.yaml#/definitions/string
20  routing:
21    description: |
22      A list of the connections between audio components.
23      Each entry is a pair of strings, the first being the
24      connection's sink, the second being the connection's source.
25    $ref: /schemas/types.yaml#/definitions/non-unique-string-array
26  widgets:
27    description: User specified audio sound widgets.
28    $ref: /schemas/types.yaml#/definitions/non-unique-string-array
29  convert-rate:
30    $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-rate
31  convert-channels:
32    $ref: /schemas/sound/dai-params.yaml#/$defs/dai-channels
33  convert-sample-format:
34    $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-format
35
36  pa-gpios:
37    maxItems: 1
38  hp-det-gpio:
39    maxItems: 1
40  mic-det-gpio:
41    maxItems: 1
42
43required:
44  - dais
45
46additionalProperties: true
47