diff options
author | Frank Mandarino <fmandarino@endrelia.com> | 2007-04-16 19:18:52 +0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-05-11 18:56:00 +0400 |
commit | 36b8a8bbb402911e59acf13b5074eb8915e47a6a (patch) | |
tree | 11a9b7a77dd235f9baabd4770a742745b13092a5 /sound/soc/at91/at91-ssc.h | |
parent | 1e39221eba72e4af37b40e71749b0c18bb16b9a6 (diff) | |
download | linux-36b8a8bbb402911e59acf13b5074eb8915e47a6a.tar.xz |
[ALSA] ASoC AT91xxxx - SSC port DSP support
This patch series by Frank Madarino updates the AT91xxxx core to add
DSP/PCM audio hardware formats.
Changes:-
o Rename at19-i2s.c -> at91-ssc.c
o Rename at91-i2s.h -> at91-ssc.h
o Add DSP hardware formats.
o Rename various I2S labels to SSC
Signed-off-by: Frank Mandarino <fmandarino@endrelia.com>
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/soc/at91/at91-ssc.h')
-rw-r--r-- | sound/soc/at91/at91-ssc.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sound/soc/at91/at91-ssc.h b/sound/soc/at91/at91-ssc.h new file mode 100644 index 000000000000..b188f973df9f --- /dev/null +++ b/sound/soc/at91/at91-ssc.h @@ -0,0 +1,27 @@ +/* + * at91-ssc.h - ALSA SSC interface for the Atmel AT91 SoC + * + * Author: Frank Mandarino <fmandarino@endrelia.com> + * Endrelia Technologies Inc. + * Created: Jan 9, 2007 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef _AT91_SSC_H +#define _AT91_SSC_H + +/* SSC system clock ids */ +#define AT91_SYSCLK_MCK 0 /* SSC uses AT91 MCK as system clock */ + +/* SSC divider ids */ +#define AT91SSC_CMR_DIV 0 /* MCK divider for BCLK */ +#define AT91SSC_TCMR_PERIOD 1 /* BCLK divider for transmit FS */ +#define AT91SSC_RCMR_PERIOD 2 /* BCLK divider for receive FS */ + +extern struct snd_soc_cpu_dai at91_ssc_dai[]; + +#endif /* _AT91_SSC_H */ + |