]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dt-bindings: audio-graph-port: Add dai-tdm-slot-width-map
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Mon, 28 Feb 2022 17:27:53 +0000 (17:27 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 7 Mar 2022 13:12:57 +0000 (13:12 +0000)
commit6c65492da6c8b730e4fd4b6fd77ec0bb68be71a5
tree01f9e912384bcf784c7d0a20b871794cb69e8fb3
parent2fbd9d3d455d1694b1cd99feb6baf6545fd4b712
ASoC: dt-bindings: audio-graph-port: Add dai-tdm-slot-width-map

Some audio hardware cannot support a fixed slot width for all sample
widths, or a slot width equal to the sample width for all sample widths.
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. The slot count is also provided for
each slot width - although this would almost always be the same for
all slot widths this allows for possibly adding extra padding slots
to maintain a fixed bitclock frequency.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220228172754.453783-2-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/audio-graph-port.yaml