Re: Query on audio-graph-card DT binding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sameer

Sorry to my lack of understanding

> What I am asking is, with audio-graph-card2, when you declare 1:N 
> connection in DT bindings, how many DAI links you create in the driver.
> Is it like the audio-graph-card2 driver parses the whole 1:N connection 
> and creates only one DAI link in ASoC core or it breaks them into 
> multiple links and create N+1 DAI links in ASoC core?
> 
> In other words,
> 
> 1:N connection in DT == 1 DAI link in ASoC core?
> Or
> 1:N connection in DT == N+1 DAI links in ASoC core?

If you create it as Multi-CPU/Codec connection,
1:N connection will be 1 DAI link [1]. I think your case is this.
But if you create it as DPCM connection, 1:N connection will be
N+1 DAI links [2].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/tree/sound/soc/generic/audio-graph-card2-custom-sample.dtsi?h=for-6.8#n179
[2] https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/tree/sound/soc/generic/audio-graph-card2-custom-sample.dtsi?h=for-6.8#n199

Thank you for your help !!

Best regards
---
Renesas Electronics
Ph.D. Kuninori Morimoto



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux