diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-08-05 08:20:59 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-08-05 08:38:57 -0400 |
commit | 9a76f1ff6e299fbb04149fe15aff061351fd0dab (patch) | |
tree | a9101f20804588022dd6f3307663f58104ceb150 /include/sound/wm8962.h | |
parent | bda7d2a862e6b788bca2d02d38a07966a9c92e48 (diff) |
ASoC: Add initial WM8962 CODEC driver
The WM8962 is a low power, high performance stereo CODEC designed for
portable digital audio applications.
This initial driver release supports the key audio paths of the WM8962.
Extended functionality, such as microphone detection, digital microphones
and the advanced DSP signal enhancements provided by the device are not
yet supported.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/wm8962.h')
-rw-r--r-- | include/sound/wm8962.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/sound/wm8962.h b/include/sound/wm8962.h new file mode 100644 index 000000000000..f70258e3471c --- /dev/null +++ b/include/sound/wm8962.h | |||
@@ -0,0 +1,23 @@ | |||
1 | /* | ||
2 | * wm8962.h -- WM8962 Soc Audio driver platform data | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | */ | ||
8 | |||
9 | #ifndef _WM8962_PDATA_H | ||
10 | #define _WM8962_PDATA_H | ||
11 | |||
12 | #define WM8962_MAX_GPIO 6 | ||
13 | |||
14 | /* Use to set GPIO default values to zero */ | ||
15 | #define WM8962_GPIO_SET 0x10000 | ||
16 | |||
17 | struct wm8962_pdata { | ||
18 | u32 gpio_init[WM8962_MAX_GPIO]; | ||
19 | |||
20 | bool spk_mono; /* Speaker outputs tied together as mono */ | ||
21 | }; | ||
22 | |||
23 | #endif | ||