Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [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/dai-params.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Digital Audio Interface (DAI) Stream Parameters |
| 8 | |
| 9 | maintainers: |
| 10 | - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| 11 | |
| 12 | select: false |
| 13 | |
| 14 | properties: |
| 15 | convert-channels: |
| 16 | description: Number of audio channels used by DAI |
| 17 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 18 | minimum: 1 |
| 19 | maximum: 32 |
| 20 | |
| 21 | convert-sample-format: |
| 22 | description: Audio sample format used by DAI |
| 23 | $ref: /schemas/types.yaml#/definitions/string |
| 24 | enum: |
| 25 | - s8 |
| 26 | - s16_le |
| 27 | - s24_le |
| 28 | - s24_3le |
| 29 | - s32_le |
| 30 | |
| 31 | convert-rate: |
| 32 | description: Audio sample rate used by DAI |
| 33 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 34 | minimum: 8000 |
| 35 | maximum: 192000 |
| 36 | |
| 37 | additionalProperties: true |