diff options
| author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-03-17 16:23:43 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-03-22 14:41:28 -0400 |
| commit | 312158718fe2056703b2744801165a9574560495 (patch) | |
| tree | ea5574d489d4381647bf33fd6d2122514bb61ea1 /include/linux/mfd/wm8994 | |
| parent | 09e10d7fe509408d15818db6a0299f563668a7ba (diff) | |
ASoC: Add WM8958 enhanced EQ support
DSP2 in the WM8958 can be used to support an upgraded EQ for use in
demanding applications.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'include/linux/mfd/wm8994')
| -rw-r--r-- | include/linux/mfd/wm8994/pdata.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/mfd/wm8994/pdata.h b/include/linux/mfd/wm8994/pdata.h index c72174aff1fe..d12f8d635a81 100644 --- a/include/linux/mfd/wm8994/pdata.h +++ b/include/linux/mfd/wm8994/pdata.h | |||
| @@ -35,6 +35,7 @@ struct wm8994_ldo_pdata { | |||
| 35 | #define WM8958_MBC_COMBINED_REGS 56 | 35 | #define WM8958_MBC_COMBINED_REGS 56 |
| 36 | #define WM8958_VSS_HPF_REGS 2 | 36 | #define WM8958_VSS_HPF_REGS 2 |
| 37 | #define WM8958_VSS_REGS 148 | 37 | #define WM8958_VSS_REGS 148 |
| 38 | #define WM8958_ENH_EQ_REGS 32 | ||
| 38 | 39 | ||
| 39 | /** | 40 | /** |
| 40 | * DRC configurations are specified with a label and a set of register | 41 | * DRC configurations are specified with a label and a set of register |
| @@ -101,6 +102,17 @@ struct wm8958_vss_cfg { | |||
| 101 | u16 regs[WM8958_VSS_REGS]; | 102 | u16 regs[WM8958_VSS_REGS]; |
| 102 | }; | 103 | }; |
| 103 | 104 | ||
| 105 | /** | ||
| 106 | * Enhanced EQ configurations are specified with a label and array of | ||
| 107 | * values to write. Configurations are expected to be generated using | ||
| 108 | * the multiband compressor configuration panel in WISCE - see | ||
| 109 | * http://www.wolfsonmicro.com/wisce/ | ||
| 110 | */ | ||
| 111 | struct wm8958_enh_eq_cfg { | ||
| 112 | const char *name; | ||
| 113 | u16 regs[WM8958_ENH_EQ_REGS]; | ||
| 114 | }; | ||
| 115 | |||
| 104 | struct wm8994_pdata { | 116 | struct wm8994_pdata { |
| 105 | int gpio_base; | 117 | int gpio_base; |
| 106 | 118 | ||
| @@ -129,6 +141,9 @@ struct wm8994_pdata { | |||
| 129 | int num_vss_hpf_cfgs; | 141 | int num_vss_hpf_cfgs; |
| 130 | struct wm8958_vss_hpf_cfg *vss_hpf_cfgs; | 142 | struct wm8958_vss_hpf_cfg *vss_hpf_cfgs; |
| 131 | 143 | ||
| 144 | int num_enh_eq_cfgs; | ||
| 145 | struct wm8958_enh_eq_cfg *enh_eq_cfgs; | ||
| 146 | |||
| 132 | /* LINEOUT can be differential or single ended */ | 147 | /* LINEOUT can be differential or single ended */ |
| 133 | unsigned int lineout1_diff:1; | 148 | unsigned int lineout1_diff:1; |
| 134 | unsigned int lineout2_diff:1; | 149 | unsigned int lineout2_diff:1; |
