summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/stac9766.h
blob: c726f907e2c03311c54ff31318193fff5cee4e7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * stac9766.h  --  STAC9766 Soc Audio driver
 */

#ifndef _STAC9766_H
#define _STAC9766_H

#define AC97_STAC_PAGE0 0x1000
#define AC97_STAC_DA_CONTROL (AC97_STAC_PAGE0 | 0x6A)
#define AC97_STAC_ANALOG_SPECIAL (AC97_STAC_PAGE0 | 0x6E)
#define AC97_STAC_STEREO_MIC 0x78

/* STAC9766 DAI ID's */
#define STAC9766_DAI_AC97_ANALOG		0
#define STAC9766_DAI_AC97_DIGITAL		1

#endif