[alsa-devel] [PATCH 0/5 v7][RFC] ASoC: simple-card DT support

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Fri Jul 12 02:04:45 CEST 2013


Hi Daniel
Cc Mark, Stephen

> > These are v7 of simple-card DT support.
> > I well considered your comments/advices.
> > Then, I noticed that creating snd_soc_register_cpu() is better solution.
> > It is very basic/simple version at this point, and I added [RFC] on these patches.
> > I hope it is accepted by you, and updated to be more useful.
> > Now, snd_soc_codec, and snd_soc_cpu has .of_xlate_dai_name() callback.
> > 
> > Kuninori Morimoto (5):
> >       ASoC: add snd_soc_register_cpu()
> >       ASoC: add .of_xlate_dai_name on snd_soc_cpu_cpu/codec_driver
> >       ASoC: simple-card: add Device Tree support
> >       ASoC: ak4642: add .of_xlate_dai_name support
> >       ASoC: fsi: add .of_xlate_dai_name support
> 
> May I ask what happened to this approach and the patch set?

The 1st patch renamed as snd_soc_register_component() on
a1422b8cb443c6cfc58da38394673b8b8eda6458
(ASoC: snd_soc_register_component() uses properly snd_soc_register_dai[s]())

In next step (2nd step), if my understanding was correct,
current snd_soc_register_codec() will replaced to use snd_soc_register_component().

In 3rd step, snd_soc_register_component() will have name <-> id exchange function for DT suport.
(DT use "ID", but ALSA use "name" for sound card matching)

In 4th step, simple-card can support DT

But, I'm busy now. and unfortunately, I don't know detail of how to do 2nd step at this point.

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list