xref: /linux/Documentation/devicetree/bindings/sound/audio-graph.yaml (revision 60a2f25de7b8b785baee2932db932ae9a5b8c86d)
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
12allOf:
13  - $ref: /schemas/sound/dai-params.yaml#
14
15properties:
16  dais:
17    $ref: /schemas/types.yaml#/definitions/phandle-array
18  label:
19    maxItems: 1
20  prefix:
21    description: device name prefix
22    $ref: /schemas/types.yaml#/definitions/string
23  routing:
24    description: |
25      A list of the connections between audio components.
26      Each entry is a pair of strings, the first being the
27      connection's sink, the second being the connection's source.
28    $ref: /schemas/types.yaml#/definitions/non-unique-string-array
29  widgets:
30    description: |
31      User specified audio sound widgets.
32      Each entry is a pair of strings, the first being the type of
33      widget ("Microphone", "Line", "Headphone", "Speaker"), the
34      second being the machine specific name for the widget.
35    $ref: /schemas/types.yaml#/definitions/non-unique-string-array
36
37  pa-gpios:
38    maxItems: 1
39  hp-det-gpio:
40    maxItems: 1
41  mic-det-gpio:
42    maxItems: 1
43
44required:
45  - dais
46
47additionalProperties: true
48