Linux 6.9-rc1
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / sound / audio-graph.yaml
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
7 title: Audio Graph
8
9 maintainers:
10   - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
11
12 allOf:
13   - $ref: /schemas/sound/dai-params.yaml#
14
15 properties:
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
44 required:
45   - dais
46
47 additionalProperties: true