[alsa-devel] at91 SoC Modifications

Liam Girdwood lg at opensource.wolfsonmicro.com
Thu Jun 21 14:07:52 CEST 2007


On Wed, 2007-06-20 at 16:46 -0500, Paul Kavan wrote:
> Okay:
> 
> Working on my new format. Backed up at91-ssc.c and now writing a
> supplement to it including my new format, which I will dub
> SND_SOC_DAIFMT_PCM_L unless someone has an objection to that. 
> 
> I need to define it in sound/soc.h I notice the other defs as: 
> 
> #define SND_SOC_DAIFMT_I2S        0    /* I2S mode */
> #define SND_SOC_DAIFMT_RIGHT_J    1    /* Right justified mode */
> #define SND_SOC_DAIFMT_LEFT_J    2    /* Left Justified mode */
> #define SND_SOC_DAIFMT_DSP_A    3    /* L data msb after FRM or LRC
> */ 
> #define SND_SOC_DAIFMT_DSP_B    4    /* L data msb during FRM or LRC
> */
> #define SND_SOC_DAIFMT_AC97        5    /* AC97 */
> 
> so, could I add a line:
> 
> #define SND_SOC_DAIFMT_PCM_L    6    /* PCM Long Sync Format*/ 
> 
> ..without too many hassles? Just want to make sure i am not violating
> a standard or something. 
> 

Do you have a link to any timing diagrams for this format ?

Liam



More information about the Alsa-devel mailing list