| 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 <[email protected]> |
| 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 |
deprecated: true |
| 41 |
maxItems: 1 |
| 42 |
hp-det-gpios: |
| 43 |
maxItems: 1 |
| 44 |
mic-det-gpio: |
| 45 |
deprecated: true |
| 46 |
maxItems: 1 |
| 47 |
mic-det-gpios: |
| 48 |
maxItems: 1 |
| 49 |
|
| 50 |
required: |
| 51 |
- dais |
| 52 |
|
| 53 |
additionalProperties: true |