[alsa-devel] [RFC PATCH 2/2] ASoC: select sysclk clock from mlck clock provider in wm8994 driver

Mark Brown broonie at kernel.org
Wed Dec 20 16:50:00 CET 2017


On Wed, Dec 20, 2017 at 12:42:10PM +0000, Olivier MOYSAN wrote:

> As a generic machine, simple or audio graph cards are not able to manage 
> codec clock muxing.
> If we exclude the management of muxing through codec controls,
> the remaining solution is to handle it fully through clock framework.
> The current patch only supports a limited range of muxing capabilities 
> of the codec.
> To have a full management of the muxing, I think it is necessary to add
> a device tree node for each codec interface and to define an aif clock 
> in these nodes.
> Then parent clock assignment of these aif clocks would allow to handle 
> the muxing.

Controlling clocking through a clock API binding would be good, yes.
That'd solve a bunch of other problems with use of multi-purpose clocks
for audio as well.
-------------- 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/20171220/19f9c599/attachment.sig>


More information about the Alsa-devel mailing list