Alternative binding proposal for tda998x audio (Was: Re: [PATCH RFC v5 4/8] drm/i2c: tda998x: Add support of a DT graph of ports)
Jean-Francois Moine
moinejf at free.fr
Tue Mar 1 19:26:19 UTC 2016
On Tue, 1 Mar 2016 20:29:17 +0200
Jyri Sarha <jsarha at 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 at 03 {
reg = <0x03>;
port-type = "audio-i2s";
...
};
port at 04 {
reg = <0x04>;
port-type = "audio-spdif";
...
};
Apart the syntax, I don't really see the difference.
--
Ken ar c'hentaƱ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
More information about the dri-devel
mailing list