]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - Bindings/sound/audio-graph.yaml
Import device-tree files from Linux 6.4
[FreeBSD/FreeBSD.git] / 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 properties:
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
43 required:
44   - dais
45
46 additionalProperties: true