summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/dai-params.yaml
diff options
context:
space:
mode:
authorSameer Pujar <spujar@nvidia.com>2022-08-08 08:27:31 +0300
committerMark Brown <broonie@kernel.org>2022-08-15 03:19:54 +0300
commit955927873d82c5127e31e618703d804033a93e4f (patch)
treef6eae2ebcc382a4ab3a3acd65b41181ceced53c5 /Documentation/devicetree/bindings/sound/dai-params.yaml
parentb79b6220a753995b80054916f1f8f037113d8d93 (diff)
downloadlinux-955927873d82c5127e31e618703d804033a93e4f.tar.xz
ASoC: dt-bindings: Add sample format conversion
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>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/dai-params.yaml')
-rw-r--r--Documentation/devicetree/bindings/sound/dai-params.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/dai-params.yaml b/Documentation/devicetree/bindings/sound/dai-params.yaml
index f1421a0798c4..f5fb71f9b603 100644
--- a/Documentation/devicetree/bindings/sound/dai-params.yaml
+++ b/Documentation/devicetree/bindings/sound/dai-params.yaml
@@ -19,6 +19,16 @@ $defs:
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