1/* 2 * ad1980.h -- ad1980 Soc Audio driver 3 * 4 * WARNING: 5 * 6 * Because Analog Devices Inc. discontinued the ad1980 sound chip since 7 * Sep. 2009, this ad1980 driver is not maintained, tested and supported 8 * by ADI now. 9 */ 10 11#ifndef _AD1980_H 12#define _AD1980_H 13/* Bit definition of Power-Down Control/Status Register */ 14#define ADC 0x0001 15#define DAC 0x0002 16#define ANL 0x0004 17#define REF 0x0008 18#define PR0 0x0100 19#define PR1 0x0200 20#define PR2 0x0400 21#define PR3 0x0800 22#define PR4 0x1000 23#define PR5 0x2000 24#define PR6 0x4000 25 26extern struct snd_soc_dai ad1980_dai; 27extern struct snd_soc_codec_device soc_codec_dev_ad1980; 28 29#endif 30