On Tue, 1 Mar 2016 20:29:17 +0200 Jyri Sarha jsarha@ti.com wrote:
I understand the short comings of simple-card and it's binding. However, the binding is documented and it is feasible to extract the audio connections from a simple-card binding too. In fact it models the I2S connections better than straight out of the box graph binding. Actually a graph is not the best way describe an i2s-bus with multiple DAIs (codec or CPU) connected to it.
I still don't understand your problem. You want something like:
audio-ports = < TDA998x_SPDIF 0x04 TDA998x_I2S 0x03>;
and the graph definition would be:
port@03 { reg = <0x03>; port-type = "audio-i2s"; ... };
port@04 { reg = <0x04>; port-type = "audio-spdif"; ... };
Apart the syntax, I don't really see the difference.