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 12properties: 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: | 28 User specified audio sound widgets. 29 Each entry is a pair of strings, the first being the type of 30 widget ("Microphone", "Line", "Headphone", "Speaker"), the 31 second being the machine specific name for the widget. 32 $ref: /schemas/types.yaml#/definitions/non-unique-string-array 33 convert-rate: 34 $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-rate 35 convert-channels: 36 $ref: /schemas/sound/dai-params.yaml#/$defs/dai-channels 37 convert-sample-format: 38 $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-format 39 40 pa-gpios: 41 maxItems: 1 42 hp-det-gpio: 43 maxItems: 1 44 mic-det-gpio: 45 maxItems: 1 46 47required: 48 - dais 49 50additionalProperties: true 51