summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/dai-params.yaml
blob: f5fb71f9b603f1e9e8c16a5e65111000fb21c64a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/dai-params.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Digital Audio Interface (DAI) Stream Parameters

maintainers:
  - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

select: false

$defs:

  dai-channels:
    description: Number of audio channels used by DAI
    $ref: /schemas/types.yaml#/definitions/uint32
    minimum: 1
    maximum: 32

  dai-sample-format:
    description: Audio sample format used by DAI
    $ref: /schemas/types.yaml#/definitions/string
    enum:
      - s8
      - s16_le
      - s24_le
      - s24_3le
      - s32_le

  dai-sample-rate:
    description: Audio sample rate used by DAI
    $ref: /schemas/types.yaml#/definitions/uint32
    minimum: 8000
    maximum: 192000

properties: {}

additionalProperties: true