On Wed, Nov 22, 2023 at 5:39 AM Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> wrote: > > > 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@3b6e8000 { > 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 */ }; }; > }; > }; > This works! Thanks. I didn't know that you can leave an endpoint unused :). So please ignore my initial patch then.