aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/s6000/s6000-i2s.h
diff options
context:
space:
mode:
authorDaniel Glöckner <dg@emlix.com>2009-03-28 14:47:01 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-04-04 10:28:22 -0400
commit4b166da939012905f4c36fedada62067db31948e (patch)
tree1519b033ec4895dda560432c09f7eb049317b2b0 /sound/soc/s6000/s6000-i2s.h
parent103f211d0be2bed75b5739de62a10415ef0bbc25 (diff)
ASoC: Add driver for s6000 I2S interface
This patch adds a driver for the I2S interface found on Stretch s6000 family processors. Signed-off-by: Daniel Glöckner <dg@emlix.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/s6000/s6000-i2s.h')
-rw-r--r--sound/soc/s6000/s6000-i2s.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/sound/soc/s6000/s6000-i2s.h b/sound/soc/s6000/s6000-i2s.h
new file mode 100644
index 000000000000..2375fdfe6dba
--- /dev/null
+++ b/sound/soc/s6000/s6000-i2s.h
@@ -0,0 +1,25 @@
1/*
2 * ALSA SoC I2S Audio Layer for the Stretch s6000 family
3 *
4 * Author: Daniel Gloeckner, <dg@emlix.com>
5 * Copyright: (C) 2009 emlix GmbH <info@emlix.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */
11
12#ifndef _S6000_I2S_H
13#define _S6000_I2S_H
14
15extern struct snd_soc_dai s6000_i2s_dai;
16
17struct s6000_snd_platform_data {
18 int lines_in;
19 int lines_out;
20 int channel_in;
21 int channel_out;
22 int wide;
23 int same_rate;
24};
25#endif