SND_SOC_DAIFMT_NB_NF meaning
A quick question here. Does SND_SOC_DAIFMT_NB_NF have a standard meaning or does it depend on what mode your in (I2S, DSP_A, right just). From looking at the sources, SND_SOC_DAIFMT_NB_NF usually means that data is valid on the rising BCLK and start of frame is rising edge if DSP mode. The reason I ask, is that I'd like to pass the same flags to the codec and the cpu_dai and have them agree with the interpretation.
Thanks
Troy
Quoted 4 lines · Troy Kisky
A quick question here. Does
SND_SOC_DAIFMT_NB_NFhave a standard meaning or does it depend on what mode your in (I2S,DSP_A, right just). From looking at the sources,SND_SOC_DAIFMT_NB_NFusually means that data is valid on the rising BCLK and start of frame is rising edge if DSP mode.
It means whatever is normal for the mode the bus is in (I2S, DSP_A and so on) - hence the name.
Quoted 2 lines
The reason I ask, is that I'd like to pass the same flags to the codec and the
cpu_daiand have them agree with the interpretation.
That is the intention. Anything that's doing something else is buggy.