First Support on Ginger and OMAP TI
[linux-ginger.git] / sound / soc / codecs / stac9766.h
blob65642eb8393e2d71ad26d7413496976520cbdcff
1 /*
2 * stac9766.h -- STAC9766 Soc Audio driver
3 */
5 #ifndef _STAC9766_H
6 #define _STAC9766_H
8 #define AC97_STAC_PAGE0 0x1000
9 #define AC97_STAC_DA_CONTROL (AC97_STAC_PAGE0 | 0x6A)
10 #define AC97_STAC_ANALOG_SPECIAL (AC97_STAC_PAGE0 | 0x6E)
11 #define AC97_STAC_STEREO_MIC 0x78
13 /* STAC9766 DAI ID's */
14 #define STAC9766_DAI_AC97_ANALOG 0
15 #define STAC9766_DAI_AC97_DIGITAL 1
17 extern struct snd_soc_dai stac9766_dai[];
18 extern struct snd_soc_codec_device soc_codec_dev_stac9766;
21 #endif