diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-11-13 14:33:14 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-11-14 14:44:53 +0000 |
commit | 71cfc9028d762419ce4dea62b4afc9c32c4b4820 (patch) | |
tree | cf1441120fe54600e0152c829bf2372742131ae6 /sound/soc/codecs/wm8728.h | |
parent | 2bef901071448e0c86af8edb4797cd5f81b6240d (diff) | |
download | lwn-71cfc9028d762419ce4dea62b4afc9c32c4b4820.tar.gz lwn-71cfc9028d762419ce4dea62b4afc9c32c4b4820.zip |
ASoC: Add WM8728 codec driver
The WM8728 is a high performance stereo DAC designed for applications
such as DVD, home theatre and digital TV.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8728.h')
-rw-r--r-- | sound/soc/codecs/wm8728.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8728.h b/sound/soc/codecs/wm8728.h new file mode 100644 index 000000000000..d269c132474b --- /dev/null +++ b/sound/soc/codecs/wm8728.h @@ -0,0 +1,30 @@ +/* + * wm8728.h -- WM8728 ASoC codec driver + * + * Copyright 2008 Wolfson Microelectronics plc + * + * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef _WM8728_H +#define _WM8728_H + +#define WM8728_DACLVOL 0x00 +#define WM8728_DACRVOL 0x01 +#define WM8728_DACCTL 0x02 +#define WM8728_IFCTL 0x03 + +struct wm8728_setup_data { + int spi; + int i2c_bus; + unsigned short i2c_address; +}; + +extern struct snd_soc_dai wm8728_dai; +extern struct snd_soc_codec_device soc_codec_dev_wm8728; + +#endif |