[alsa-devel] [PATCH RFC 00/13] Adding SPDIF support to kirkwood-i2s

Lars-Peter Clausen lars at metafoo.de
Fri Aug 30 10:26:07 CEST 2013

On 08/30/2013 09:20 AM, Kuninori Morimoto wrote:
> Hi
>>> Kuninori Morimoto started working on a xlate callback for CODECs and DAIs
>>> some time ago[1]. If nobody else is going to pick this up I'm probably going
>>> to continue his work on this.
>> Thank you for your offer about above.
>> I'm sorry for my late work for xlate callback.
>> but, unfortunately, I busy now, so, I can't work for it now.
>> I'm very happy if someone/you can work for it.
> My understanding for this ASoC DT support milestone is that
>  1) merge codec/component
>  2) add .of_xlate_dai_name on it
>  3) add DT support
> But, do you think 1) is possible ?
> Becouse, now, too many functions are based on/using "codec"
> struct snd_soc_codec / struct snd_soc_codec_driver.
> In reality, merging these is super difficult IMO.
> But adding .of_xlate_dai_name on each codec/component
> is not difficult, and, I can do it immediately.
> what is your opinion ?

The idea is to use the component struct as a base class for the codec and
platform struct. So drivers will keep seeing what they see now and don't
need to be updated. Lots of the fields that can be shared between component,
platform and codec are only used by the core.

- Lars

More information about the Alsa-devel mailing list