On Fri, Aug 30, 2013 at 10:26:07AM +0200, Lars-Peter Clausen wrote: > On 08/30/2013 09:20 AM, Kuninori Morimoto wrote: > > 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. > 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. Indeed, and doing things that can be done with a direct search and replace is not so bad. Splitting things up makes life easier too. I'd been planning to start looking at the merge of CODEC and component myself during the next release cycle.