[alsa-devel] DAPM: codec to codec link documentation[RFC]

Charles Keepax ckeepax at opensource.wolfsonmicro.com
Mon Sep 26 10:46:08 CEST 2016


On Sun, Sep 25, 2016 at 10:53:25PM -0700, anish kumar wrote:
> On Thu, Sep 15, 2016 at 1:33 AM, Charles Keepax
> <ckeepax at opensource.wolfsonmicro.com> wrote:
> > On Wed, Sep 14, 2016 at 12:08:56PM -0700, anish kumar wrote:
> >> {
> >>     .name = "your_name",
> >>     .stream_name = "your_stream_name",
> >>     .cpu_dai_name = "snd-soc-dummy-dai",
> >>     .codec_name = "codec-2,
> >>     .codec_dai_name = "codec-2-dai_name",
> >>     .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
> >>                     | SND_SOC_DAIFMT_CBM_CFM,
> >>     .ignore_suspend = 1,
> >>     .params = &dummy_params,
> >> },
> >> {
> >>     .name = "your_name",
> >>     .stream_name = "your_stream_name",
> >>     .cpu_dai_name = "snd-soc-dummy-dai",
> >>     .codec_name = "codec-3,
> >>     .codec_dai_name = "codec-3-dai_name",
> >>     .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
> >>                     | SND_SOC_DAIFMT_CBM_CFM,
> >>     .ignore_suspend = 1,
> >>     .params = &dummy_params,
> >> },
> >>
> >
> > Probably worth having a look at DT options as well, not sure how
> > well would be supported for c2c links at the mo but probably
> > worth mentioning something about it.
> 
> I didn't get you. Do you mean using DT option to specify if
> a particular node is c2c?

I just mean that most machine drivers these days specify at least
part of the DAI link configuration through device tree. I don't
know off the top of my head what support is currently provided for
codec to codec links in DT, my suspicion is none. So it might be
worth at least noting that.

Thanks,
Charles


More information about the Alsa-devel mailing list