xref: /linux/Documentation/devicetree/bindings/sound/dai-params.yaml (revision f9bff0e31881d03badf191d3b0005839391f5f2b)
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
14$defs:
15
16  dai-channels:
17    description: Number of audio channels used by DAI
18    $ref: /schemas/types.yaml#/definitions/uint32
19    minimum: 1
20    maximum: 32
21
22  dai-sample-format:
23    description: Audio sample format used by DAI
24    $ref: /schemas/types.yaml#/definitions/string
25    enum:
26      - s8
27      - s16_le
28      - s24_le
29      - s24_3le
30      - s32_le
31
32  dai-sample-rate:
33    description: Audio sample rate used by DAI
34    $ref: /schemas/types.yaml#/definitions/uint32
35    minimum: 8000
36    maximum: 192000
37
38properties: {}
39
40additionalProperties: true
41