Re: [PATCH 0/2] Graph fixes for using multiple endpoints per port

From: Tony Lindgren
Date: Tue Dec 11 2018 - 00:44:43 EST


* Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> [181211 05:30]:
>
> Hi Tony, again
>
> > > mcbsp3_port: port {
> > > - cpu_dai3: endpoint {
> > > + cpu_dai3: endpoint@0 {
> > > dai-format = "dsp_a";
> > > frame-master = <&cpcap_audio_codec1>;
> > > bitclock-master = <&cpcap_audio_codec1>;
> > > remote-endpoint = <&cpcap_audio_codec1>;
> > > };
> > > + cpu_dai_mdm: endpoint@1 {
> > > + dai-format = "dsp_a";
> > > + frame-master = <&cpcap_audio_codec1>;
> > > + bitclock-master = <&cpcap_audio_codec1>;
> > > + remote-endpoint = <&mot_mdm6600_audio_codec0>;
> > > + };
>
> audio-graph-scu-card and my posting merged audio-graph-card
> are assuming multi-endpoint will be used for DPCM purpose.
>
> But, above endpoint connection seems you want to is
> not DPCM (?), I'm not sure.

Yes DPCM should work nicely here :)

So to recap, Sebastian already added the cpcap codec a while back,
please see arch/arm/boot/dts/omap4-droid4-xt894.dts for the soundcard
node. Then see the link below for an earlier email describing how the
various components are wired for TDM [0].

Hope that clarifies things a bit more,

Tony

[0] https://lkml.org/lkml/2018/3/28/405