[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <878r6qh2y1.wl-kuninori.morimoto.gx@renesas.com>
Date: Wed, 22 Nov 2023 03:39:02 +0000
From: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
To: Daniel Baluta <daniel.baluta@...il.com>
Cc: Daniel Baluta <daniel.baluta@....nxp.com>,
"broonie@...nel.org" <broonie@...nel.org>,
"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"iuliana.prodan@....com" <iuliana.prodan@....com>,
"shengjiu.wang@....com" <shengjiu.wang@....com>
Subject: Re: [RFC PATCH] ASoC: simple-card: Use dai_id from node description
Hi Daniel
> > But hmm... in your case, you need to setup 2ports, and use 2nd port
> > is assumed approach.
> > Why you don't setup full port ? Do you have some reason ??
(snip)
> Now, I want to write a DTS description where my DAI link uses
> Component 0 (CPU) (with its DAI index 1) connected with Component 1
> (codec) (with its DAI index 0).
Thank you for indicating your DTS.
So in imx8m_dai case, it has total 3 DAIs, and you want to use reg = 1.
In such case, your DTS need to have like below, if my understanding was
correct.
dsp: dsp@...e8000 {
ports {
port@0 { reg = <0>; endpoint { /* not used */ }; };
cpu: port@1 { reg = <1>; cpu_ep: endpoint { remote-endpoint = <xxx>; }; };
port@2 { reg = <2>; endpoint { /* not used */ }; };
};
};
Thank you for your help !!
Best regards
---
Kuninori Morimoto
Powered by blists - more mailing lists