[alsa-devel] [RFC][PATCH 2/2 v3] ASoC: simple-card: add Device Tree support

Stephen Warren swarren at wwwdotorg.org
Mon Feb 4 23:23:49 CET 2013

On 01/31/2013 06:54 PM, Kuninori Morimoto wrote:
> Hi Mark, Stephen
>>>> There's more attributes that we might want to configure on the
>>>> devices than just the actual DAI link.  Clocks for example.
>>> Sure, but this binding is *simple*-audio, right. If the intent is to
>>> create some more general/all-encompassing binding structure, I'd want
>>> to think about it and review it in a different way.
>> Right, but things like the clocks are basic enough.
> I agree that "simple"-audio has "simple" settings.
> But, there is a board which gets some data delay via external factor.
> Then, it needs special inversion, especially bit clock.
> Without this settings, that board can't get correct data.
> This is maybe special case, so,
> I need cpu/codec special settings as "option".

It seems extremely odd to me that the data delay would just happen to
end up meaning that inverting the clock works out to magically make
everything work.

Still, if there really is a use-case for this in otherwise simple audio
systems, then I guess specifying all the DAI properties in sub-nodes is
indeed to simplest/most-flexible way to go.

More information about the Alsa-devel mailing list