On 03/19/2014 08:51 PM, Lars-Peter Clausen wrote:
On 03/19/2014 11:08 AM, Jyri Sarha wrote: [...]
It may sometimes be helpful to allow overwriting link level settings in dai level. In order to do that it should be possible to write all daifmt settings explicitly like this:
bitclock-inversion = <0>; /* <0> = no bitclock-inversion */
When does this make sense? Either the bitclock is inverted for all of them or for none.
Definition of clock signal and it's inversion varies between chip manufacturers and sometimes it may not be possible to get all the dai drivers to work identically in this respect. Because of this in some cases there may be a need to set the inversion bit only at one end of the link.
I think there was an example of this in some mail regarding the simple-card DT-bidings, but I can't find it ATM.
Best regards, Jyri