Cliff Cai | 5f57dc8 | 2008-07-29 11:42:34 +0100 | [diff] [blame] | 1 | /* |
| 2 | * ad1980.h -- ad1980 Soc Audio driver |
| 3 | */ |
| 4 | |
| 5 | #ifndef _AD1980_H |
| 6 | #define _AD1980_H |
| 7 | /* Bit definition of Power-Down Control/Status Register */ |
| 8 | #define ADC 0x0001 |
| 9 | #define DAC 0x0002 |
| 10 | #define ANL 0x0004 |
| 11 | #define REF 0x0008 |
| 12 | #define PR0 0x0100 |
| 13 | #define PR1 0x0200 |
| 14 | #define PR2 0x0400 |
| 15 | #define PR3 0x0800 |
| 16 | #define PR4 0x1000 |
| 17 | #define PR5 0x2000 |
| 18 | #define PR6 0x4000 |
| 19 | |
Cliff Cai | b1cd9b2 | 2008-09-04 16:25:54 +0800 | [diff] [blame] | 20 | extern struct snd_soc_dai ad1980_dai; |
Cliff Cai | 5f57dc8 | 2008-07-29 11:42:34 +0100 | [diff] [blame] | 21 | extern struct snd_soc_codec_device soc_codec_dev_ad1980; |
| 22 | |
| 23 | #endif |