xref: /freebsd/sys/contrib/device-tree/Bindings/sound/dai-params.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
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