xref: /freebsd/sys/contrib/device-tree/Bindings/sound/dai-params.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
17ef62cebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
27ef62cebSEmmanuel Vadot%YAML 1.2
37ef62cebSEmmanuel Vadot---
47ef62cebSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/dai-params.yaml#
57ef62cebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
67ef62cebSEmmanuel Vadot
77ef62cebSEmmanuel Vadottitle: Digital Audio Interface (DAI) Stream Parameters
87ef62cebSEmmanuel Vadot
97ef62cebSEmmanuel Vadotmaintainers:
107ef62cebSEmmanuel Vadot  - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
117ef62cebSEmmanuel Vadot
127ef62cebSEmmanuel Vadotselect: false
137ef62cebSEmmanuel Vadot
14*84943d6fSEmmanuel Vadotproperties:
15*84943d6fSEmmanuel Vadot  convert-channels:
167ef62cebSEmmanuel Vadot    description: Number of audio channels used by DAI
177ef62cebSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
187ef62cebSEmmanuel Vadot    minimum: 1
197ef62cebSEmmanuel Vadot    maximum: 32
207ef62cebSEmmanuel Vadot
21*84943d6fSEmmanuel Vadot  convert-sample-format:
227ef62cebSEmmanuel Vadot    description: Audio sample format used by DAI
237ef62cebSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/string
247ef62cebSEmmanuel Vadot    enum:
257ef62cebSEmmanuel Vadot      - s8
267ef62cebSEmmanuel Vadot      - s16_le
277ef62cebSEmmanuel Vadot      - s24_le
287ef62cebSEmmanuel Vadot      - s24_3le
297ef62cebSEmmanuel Vadot      - s32_le
307ef62cebSEmmanuel Vadot
31*84943d6fSEmmanuel Vadot  convert-rate:
327ef62cebSEmmanuel Vadot    description: Audio sample rate used by DAI
337ef62cebSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
347ef62cebSEmmanuel Vadot    minimum: 8000
357ef62cebSEmmanuel Vadot    maximum: 192000
367ef62cebSEmmanuel Vadot
377ef62cebSEmmanuel VadotadditionalProperties: true
38