955927873d
Presently "convert-channels" and "convert-rate" DT bindings are available for channel and rate fixups respectively. Similarly add "convert-sample-format" binding to fixup DAI sample format as well. This is added to audio-graph-card based bindings. Signed-off-by: Sameer Pujar <spujar@nvidia.com> Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/1659936452-2254-3-git-send-email-spujar@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
41 lines
889 B
YAML
41 lines
889 B
YAML
# 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
|