[alsa-devel] [PATCH 2/3] ASoC: simple-card: make sysclk index configurable

Mark Brown broonie at kernel.org
Tue May 29 13:24:47 CEST 2018


On Mon, May 28, 2018 at 09:35:02PM +0200, Daniel Mack wrote:
> The simple-card driver currently hard-codes the clk_id parameter in
> snd_soc_dai_set_sysclk() to 0. Make this configrable for both CPU and
> codec dai sub-nodes.

> This still has the limitation that only one clk_id can be configured, but it
> should help some more platforms to use simple-card in favor to a more
> specific machine driver.

If we want to get more complex usage of clocks in the DT we should be
moving the CODECs over to using the standard clock bindings for this
stuff rather than inventing custom ASoC clock bindings for it.  That way
we don't have to deal with the pain of trying to join things up in the
future.

As a practical matter we also don't have any CODECs specifying any
bindings for ASoC level clock IDs right now either.
-------------- 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/20180529/b196f4a6/attachment.sig>


More information about the Alsa-devel mailing list