[alsa-devel] [PATCH] ASoC: utils: Add DT support

Mark Brown broonie at kernel.org
Mon May 15 12:21:31 CEST 2017


On Mon, May 15, 2017 at 10:41:43AM +0200, Vishal Thanki wrote:

> Thanks for you comments. Actually in our custom hardware, the codec is
> not accessible/visible from kernel directly, rather additional MCU
> controls and configures it. However MCU needs the I2S clocks and data
> from kernel. So I am using I2S platform driver from Linux just to
> configure I2S clocks, and registering a dummy codec driver to DAI link
> in DT, so that codec can be instantiated and clocks can be enabled
> from user-space ALSA utils while accessing this dummy codec. Please
> suggest if there is any better way to achieve this kind of
> configuration.

You should be representing the I2S control offered by the MCU as a CODEC
driver.  Even if there's no changes ever made there must be some
constraints.
-------------- 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/20170515/08d5816e/attachment.sig>


More information about the Alsa-devel mailing list