lkml.org 
[lkml]   [2017]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 2/2] ASoC: select sysclk clock from mlck clock provider in wm8994 driver
On Fri, Dec 15, 2017 at 03:15:22PM +0000, Olivier MOYSAN wrote:

> You are right. wm8994 allows to select either MCLK for each AIF.
> From this point of view, the current patch is too limiting.
> MCLK information in DT allows to enforce MCLK use, but an additionnal
> information is required to determine AIF MCLK assignment.
> Available properties in codec DAI node, such as clocks property, cannot
> help here.

> Maybe a DAPM linked to a control is a better way to select AIF source,
> When source is not provided by clk_id in wm8994_set_dai_sysclk().
> In this case, wm8994_set_dai_sysclk() would only have to check
> if clock source is not already set.

> Please let me know if this option sounds better to you.

What are you trying to accomplish here? You appear to be trying to move
the system clocking configuration from the machine driver to the CODEC
which is not how things are supposed to work.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2017-12-19 10:36    [W:0.110 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site