linux-zen-desktop/Documentation/devicetree/bindings/sound/audio-graph.yaml

51 lines
1.4 KiB
YAML
Raw Normal View History

2023-08-30 17:31:07 +02:00
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/audio-graph.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Audio Graph
maintainers:
- Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
properties:
dais:
$ref: /schemas/types.yaml#/definitions/phandle-array
label:
maxItems: 1
prefix:
2023-10-24 12:59:35 +02:00
description: device name prefix
2023-08-30 17:31:07 +02:00
$ref: /schemas/types.yaml#/definitions/string
routing:
description: |
A list of the connections between audio components.
Each entry is a pair of strings, the first being the
connection's sink, the second being the connection's source.
$ref: /schemas/types.yaml#/definitions/non-unique-string-array
widgets:
2023-10-24 12:59:35 +02:00
description: |
User specified audio sound widgets.
Each entry is a pair of strings, the first being the type of
widget ("Microphone", "Line", "Headphone", "Speaker"), the
second being the machine specific name for the widget.
2023-08-30 17:31:07 +02:00
$ref: /schemas/types.yaml#/definitions/non-unique-string-array
convert-rate:
2023-10-24 12:59:35 +02:00
$ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-rate
2023-08-30 17:31:07 +02:00
convert-channels:
2023-10-24 12:59:35 +02:00
$ref: /schemas/sound/dai-params.yaml#/$defs/dai-channels
2023-08-30 17:31:07 +02:00
convert-sample-format:
2023-10-24 12:59:35 +02:00
$ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-format
2023-08-30 17:31:07 +02:00
pa-gpios:
maxItems: 1
hp-det-gpio:
maxItems: 1
mic-det-gpio:
maxItems: 1
required:
- dais
additionalProperties: true