xref: /linux/Documentation/devicetree/bindings/sound/dai-params.yaml (revision be239684b18e1cdcafcf8c7face4a2f562c745ad)
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
7title: Digital Audio Interface (DAI) Stream Parameters
8
9maintainers:
10  - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
11
12select: false
13
14properties:
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
37additionalProperties: true
38