[alsa-devel] [PATCH v2 1/6] ASoC: sun4i-i2s: Add slot width override

Mark Brown broonie at kernel.org
Mon Mar 12 19:20:30 CET 2018


On Mon, Mar 12, 2018 at 04:57:48PM +0100, codekipper at gmail.com wrote:

> Some codecs require a different amount of a bit clocks per frame
> than what is calculated by using the sample width. Use a slot
> width override property to provide this mechanism.

If this is a CODEC requirement we should really be working this out from
the CODEC rather than adding a DT property on the I2S controller, or at
the very least putting this in the machine drivers.  The generic drivers
already have support for mclk-fs and there's an operation set_bclk_ratio() 
for them to use though we don't have a DT binding for that yet.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20180312/a43a4f21/attachment.sig>


More information about the Alsa-devel mailing list