@@ -32,6 +32,10 @@ struct wm8994_ldo_pdata {
3232#define WM8994_EQ_REGS 20
3333#define WM8958_MBC_CUTOFF_REGS 20
3434#define WM8958_MBC_COEFF_REGS 48
35+ #define WM8958_MBC_COMBINED_REGS 56
36+ #define WM8958_VSS_HPF_REGS 2
37+ #define WM8958_VSS_REGS 148
38+ #define WM8958_ENH_EQ_REGS 32
3539
3640/**
3741 * DRC configurations are specified with a label and a set of register
@@ -71,6 +75,42 @@ struct wm8958_mbc_cfg {
7175 const char * name ;
7276 u16 cutoff_regs [WM8958_MBC_CUTOFF_REGS ];
7377 u16 coeff_regs [WM8958_MBC_COEFF_REGS ];
78+
79+ /* Coefficient layout when using MBC+VSS firmware */
80+ u16 combined_regs [WM8958_MBC_COMBINED_REGS ];
81+ };
82+
83+ /**
84+ * VSS HPF configurations are specified with a label and two values to
85+ * write. Configurations are expected to be generated using the
86+ * multiband compressor configuration panel in WISCE - see
87+ * http://www.wolfsonmicro.com/wisce/
88+ */
89+ struct wm8958_vss_hpf_cfg {
90+ const char * name ;
91+ u16 regs [WM8958_VSS_HPF_REGS ];
92+ };
93+
94+ /**
95+ * VSS configurations are specified with a label and array of values
96+ * to write. Configurations are expected to be generated using the
97+ * multiband compressor configuration panel in WISCE - see
98+ * http://www.wolfsonmicro.com/wisce/
99+ */
100+ struct wm8958_vss_cfg {
101+ const char * name ;
102+ u16 regs [WM8958_VSS_REGS ];
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 ];
74114};
75115
76116struct wm8994_pdata {
@@ -95,6 +135,15 @@ struct wm8994_pdata {
95135 int num_mbc_cfgs ;
96136 struct wm8958_mbc_cfg * mbc_cfgs ;
97137
138+ int num_vss_cfgs ;
139+ struct wm8958_vss_cfg * vss_cfgs ;
140+
141+ int num_vss_hpf_cfgs ;
142+ struct wm8958_vss_hpf_cfg * vss_hpf_cfgs ;
143+
144+ int num_enh_eq_cfgs ;
145+ struct wm8958_enh_eq_cfg * enh_eq_cfgs ;
146+
98147 /* LINEOUT can be differential or single ended */
99148 unsigned int lineout1_diff :1 ;
100149 unsigned int lineout2_diff :1 ;
0 commit comments