4b166da939
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>
25 lines
581 B
C
25 lines
581 B
C
/*
|
|
* ALSA SoC I2S Audio Layer for the Stretch s6000 family
|
|
*
|
|
* Author: Daniel Gloeckner, <dg@emlix.com>
|
|
* Copyright: (C) 2009 emlix GmbH <info@emlix.com>
|
|
*
|
|
* 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 _S6000_I2S_H
|
|
#define _S6000_I2S_H
|
|
|
|
extern struct snd_soc_dai s6000_i2s_dai;
|
|
|
|
struct s6000_snd_platform_data {
|
|
int lines_in;
|
|
int lines_out;
|
|
int channel_in;
|
|
int channel_out;
|
|
int wide;
|
|
int same_rate;
|
|
};
|
|
#endif
|