On Wed, Oct 18, 2023 at 08:57:17AM +0100, Conor Dooley wrote:
On Wed, Oct 18, 2023 at 12:34:01AM +0000, Kuninori Morimoto wrote:
That seems like a very unintuitive interface. If there were 32 CPUs and 30 codecs, then it'd be very inconvenient for a human reader to grok the configuration.
I don't think such huge number connection will be used...
I suspect that if we run into systems with very large numbers of devices on a single bus they'll either want to do something more dynamic and use it as a switch or be very regular which makes writing things a lot more manageable.
Your binding allows for that though! I really don't like the number of elements inverting the meaning of the property.
I have to say I'm not a big fan of that either. It might be easier to map each channel to a slot number on the link, each DAI could then have an independent map and the kernel could compare DAI slots to join things up.