Sameer Pujar | e52f3f2 | 2020-11-16 19:33:46 -0600 | [diff] [blame] | 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 Device Tree Bindings |
| 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 | description: CPU to Codec rate convert. |
| 31 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 32 | convert-channels: |
| 33 | description: CPU to Codec rate channels. |
| 34 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 35 | pa-gpios: |
| 36 | maxItems: 1 |
| 37 | hp-det-gpio: |
| 38 | maxItems: 1 |
| 39 | mic-det-gpio: |
| 40 | maxItems: 1 |
| 41 | |
| 42 | required: |
| 43 | - dais |
| 44 | |
| 45 | additionalProperties: true |