lkml.org 
[lkml]   [2023]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCH] ASoC: simple-card: Use dai_id from node description
Date

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 */ }; };
};
};


Thank you for your help !!

Best regards
---
Kuninori Morimoto

\
 
 \ /
  Last update: 2023-11-22 04:40    [W:0.063 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site