14 Oct
2008
14 Oct
'08
3:44 p.m.
On Tue, Oct 14, 2008 at 03:16:58PM +0200, John Kacur wrote:
My situation is that although the codec has an internal clock, I will not be using it, (because it is not activated in the presense of an external clock source on the pin) the bit clock and the master clock are coming from the i2s bus, and I suppose the details of where they stem from is irrelevant. If they are not irrelevant, then the master clock is provided to the i2s bus from a crystal. So that means from the codec's view point that makes everything SND_SOC_DAIFMT_CBS_CFS.
If the I2S bus is being clocked directly from the crystal rather than via the CPU you want to tell the codec CBS_CFS and the CPU CBM_CFM so that both devices are configured as slaves.