diff options
author | Eric Bénard | 2010-05-27 10:58:54 +0200 |
---|---|---|
committer | Mark Brown | 2010-06-03 20:00:16 +0200 |
commit | 0e79612012e1da66133e3c8499bc7c020f006c89 (patch) | |
tree | f396fe72905c911366df7ce1986c6633bd248354 /arch | |
parent | ASoC: s3c: patch for the unnecessary variable 'state' removal (diff) | |
download | kernel-qcow2-linux-0e79612012e1da66133e3c8499bc7c020f006c89.tar.gz kernel-qcow2-linux-0e79612012e1da66133e3c8499bc7c020f006c89.tar.xz kernel-qcow2-linux-0e79612012e1da66133e3c8499bc7c020f006c89.zip |
ASoC: imx-ssi.c: add new choices to platform configuration
* introduce 3 new flags to allow a more detailed configuration
of the SSI link :
IMX_SSI_NET : enable Network Mode
IMX_SSI_SYN : enable Synchronous Mode
IMX_SSI_USE_I2S_SLAVE : enable I2S Slave Mode
* new platform can use these settings without breaking actual
platforms.
Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/ssi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/ssi.h b/arch/arm/plat-mxc/include/mach/ssi.h index c34ded523f10..63f3c2804239 100644 --- a/arch/arm/plat-mxc/include/mach/ssi.h +++ b/arch/arm/plat-mxc/include/mach/ssi.h @@ -10,6 +10,9 @@ struct imx_ssi_platform_data { unsigned int flags; #define IMX_SSI_DMA (1 << 0) #define IMX_SSI_USE_AC97 (1 << 1) +#define IMX_SSI_NET (1 << 2) +#define IMX_SSI_SYN (1 << 3) +#define IMX_SSI_USE_I2S_SLAVE (1 << 4) void (*ac97_reset) (struct snd_ac97 *ac97); void (*ac97_warm_reset)(struct snd_ac97 *ac97); }; |