lkml.org 
[lkml]   [2022]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/2] ASoC: dt-bindings: audio-graph-port: Add dai-tdm-slot-width-map
Date
Some audio hardware cannot support a fixed slot width or a slot width
equal to the sample width in all cases. This is usually due either to
limitations of the audio serial port or system clocking restrictions.

This property allows setting a mapping of sample widths and the
corresponding tdm slot widths.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
---
.../devicetree/bindings/sound/audio-graph-port.yaml | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml
index 476dcb49ece6..420adad49382 100644
--- a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml
+++ b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml
@@ -71,4 +71,11 @@ patternProperties:
description: CPU to Codec rate channels.
$ref: /schemas/types.yaml#/definitions/uint32

+ dai-tdm-slot-width-map:
+ description: Mapping of sample widths to slot widths. For hardware that
+ cannot support a fixed slot width or a slot width equal to sample
+ width. An array containing one or more pairs of values. Each pair
+ of values is a sample_width and the corresponding slot_width.
+ $ref: /schemas/types.yaml#/definitions/uint32-array
+
additionalProperties: true
--
2.30.2
\
 
 \ /
  Last update: 2022-02-16 18:41    [W:0.042 / U:0.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site