blob: 4642b5b816a043e723e61373703839bc9d90b7c2 [file] [log] [blame]
Mark Brown9cd9e282012-07-10 12:37:57 +01001/*
2 * wm5110-tables.c -- WM5110 data tables
3 *
4 * Copyright 2012 Wolfson Microelectronics plc
5 *
6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */
12
13#include <linux/module.h>
14
15#include <linux/mfd/arizona/core.h>
16#include <linux/mfd/arizona/registers.h>
Charles Keepaxc50aa442013-11-19 16:04:00 +000017#include <linux/device.h>
Mark Brown9cd9e282012-07-10 12:37:57 +010018
19#include "arizona.h"
20
21#define WM5110_NUM_AOD_ISR 2
22#define WM5110_NUM_ISR 5
23
24static const struct reg_default wm5110_reva_patch[] = {
25 { 0x80, 0x3 },
26 { 0x44, 0x20 },
27 { 0x45, 0x40 },
28 { 0x46, 0x60 },
29 { 0x47, 0x80 },
30 { 0x48, 0xa0 },
31 { 0x51, 0x13 },
32 { 0x52, 0x33 },
33 { 0x53, 0x53 },
34 { 0x54, 0x73 },
35 { 0x55, 0x75 },
36 { 0x56, 0xb3 },
37 { 0x2ef, 0x124 },
38 { 0x2ef, 0x124 },
39 { 0x2f0, 0x124 },
40 { 0x2f0, 0x124 },
41 { 0x2f1, 0x124 },
42 { 0x2f1, 0x124 },
43 { 0x2f2, 0x124 },
44 { 0x2f2, 0x124 },
45 { 0x2f3, 0x124 },
46 { 0x2f3, 0x124 },
47 { 0x2f4, 0x124 },
48 { 0x2f4, 0x124 },
49 { 0x2eb, 0x60 },
50 { 0x2ec, 0x60 },
51 { 0x2ed, 0x60 },
52 { 0xc30, 0x3e3e },
53 { 0xc30, 0x3e3e },
54 { 0xc31, 0x3e },
55 { 0xc32, 0x3e3e },
56 { 0xc32, 0x3e3e },
57 { 0xc33, 0x3e3e },
58 { 0xc33, 0x3e3e },
59 { 0xc34, 0x3e3e },
60 { 0xc34, 0x3e3e },
61 { 0xc35, 0x3e3e },
62 { 0xc35, 0x3e3e },
63 { 0xc36, 0x3e3e },
64 { 0xc36, 0x3e3e },
65 { 0xc37, 0x3e3e },
66 { 0xc37, 0x3e3e },
67 { 0xc38, 0x3e3e },
68 { 0xc38, 0x3e3e },
69 { 0xc30, 0x3e3e },
70 { 0xc30, 0x3e3e },
71 { 0xc39, 0x3e3e },
72 { 0xc39, 0x3e3e },
73 { 0xc3a, 0x3e3e },
74 { 0xc3a, 0x3e3e },
75 { 0xc3b, 0x3e3e },
76 { 0xc3b, 0x3e3e },
77 { 0xc3c, 0x3e },
78 { 0x201, 0x18a5 },
79 { 0x201, 0x18a5 },
80 { 0x201, 0x18a5 },
81 { 0x202, 0x4100 },
82 { 0x460, 0xc00 },
83 { 0x461, 0x8000 },
84 { 0x462, 0xc01 },
85 { 0x463, 0x50f0 },
86 { 0x464, 0xc01 },
87 { 0x465, 0x4820 },
88 { 0x466, 0xc01 },
89 { 0x466, 0xc01 },
90 { 0x467, 0x4040 },
91 { 0x468, 0xc01 },
92 { 0x468, 0xc01 },
93 { 0x469, 0x3940 },
94 { 0x46a, 0xc01 },
95 { 0x46a, 0xc01 },
96 { 0x46a, 0xc01 },
97 { 0x46b, 0x3310 },
98 { 0x46c, 0x801 },
99 { 0x46c, 0x801 },
100 { 0x46d, 0x2d80 },
101 { 0x46e, 0x801 },
102 { 0x46e, 0x801 },
103 { 0x46f, 0x2890 },
104 { 0x470, 0x801 },
105 { 0x470, 0x801 },
106 { 0x471, 0x1990 },
107 { 0x472, 0x801 },
108 { 0x472, 0x801 },
109 { 0x473, 0x1450 },
110 { 0x474, 0x801 },
111 { 0x474, 0x801 },
112 { 0x474, 0x801 },
113 { 0x475, 0x1020 },
114 { 0x476, 0x801 },
115 { 0x476, 0x801 },
116 { 0x476, 0x801 },
117 { 0x477, 0xcd0 },
118 { 0x478, 0x806 },
119 { 0x478, 0x806 },
120 { 0x479, 0xa30 },
121 { 0x47a, 0x806 },
122 { 0x47a, 0x806 },
123 { 0x47b, 0x810 },
124 { 0x47c, 0x80e },
125 { 0x47c, 0x80e },
126 { 0x47d, 0x510 },
127 { 0x47e, 0x81f },
128 { 0x47e, 0x81f },
129 { 0x2DB, 0x0A00 },
130 { 0x2DD, 0x0023 },
131 { 0x2DF, 0x0102 },
132 { 0x80, 0x0 },
133 { 0xC20, 0x0002 },
134 { 0x209, 0x002A },
135};
136
Mark Brownda58dee2012-09-26 18:00:29 +0100137static const struct reg_default wm5110_revb_patch[] = {
138 { 0x80, 0x3 },
139 { 0x36e, 0x0210 },
140 { 0x370, 0x0210 },
141 { 0x372, 0x0210 },
142 { 0x374, 0x0210 },
143 { 0x376, 0x0210 },
144 { 0x378, 0x0210 },
145 { 0x36d, 0x0028 },
146 { 0x36f, 0x0028 },
147 { 0x371, 0x0028 },
148 { 0x373, 0x0028 },
149 { 0x375, 0x0028 },
150 { 0x377, 0x0028 },
151 { 0x280, 0x2002 },
152 { 0x44, 0x20 },
153 { 0x45, 0x40 },
154 { 0x46, 0x60 },
155 { 0x47, 0x80 },
156 { 0x48, 0xa0 },
157 { 0x51, 0x13 },
158 { 0x52, 0x33 },
159 { 0x53, 0x53 },
160 { 0x54, 0x73 },
161 { 0x55, 0x93 },
162 { 0x56, 0xb3 },
163 { 0xc30, 0x3e3e },
164 { 0xc31, 0x3e },
165 { 0xc32, 0x3e3e },
166 { 0xc33, 0x3e3e },
167 { 0xc34, 0x3e3e },
168 { 0xc35, 0x3e3e },
169 { 0xc36, 0x3e3e },
170 { 0xc37, 0x3e3e },
171 { 0xc38, 0x3e3e },
172 { 0xc39, 0x3e3e },
173 { 0xc3a, 0x3e3e },
174 { 0xc3b, 0x3e3e },
175 { 0xc3c, 0x3e },
176 { 0x201, 0x18a5 },
177 { 0x202, 0x4100 },
178 { 0x460, 0x0c40 },
179 { 0x461, 0x8000 },
180 { 0x462, 0x0c41 },
181 { 0x463, 0x4820 },
182 { 0x464, 0x0c41 },
183 { 0x465, 0x4040 },
184 { 0x466, 0x0841 },
185 { 0x467, 0x3940 },
186 { 0x468, 0x0841 },
187 { 0x469, 0x2030 },
188 { 0x46a, 0x0842 },
189 { 0x46b, 0x1990 },
190 { 0x46c, 0x08c2 },
191 { 0x46d, 0x1450 },
192 { 0x46e, 0x08c6 },
193 { 0x46f, 0x1020 },
194 { 0x470, 0x08c6 },
195 { 0x471, 0x0cd0 },
196 { 0x472, 0x08c6 },
197 { 0x473, 0x0a30 },
198 { 0x474, 0x0442 },
199 { 0x475, 0x0660 },
200 { 0x476, 0x0446 },
201 { 0x477, 0x0510 },
202 { 0x478, 0x04c6 },
203 { 0x479, 0x0400 },
204 { 0x47a, 0x04ce },
205 { 0x47b, 0x0330 },
206 { 0x47c, 0x05df },
207 { 0x47d, 0x0001 },
208 { 0x47e, 0x07ff },
209 { 0x2db, 0x0a00 },
210 { 0x2dd, 0x0023 },
211 { 0x2df, 0x0102 },
212 { 0x2ef, 0x924 },
213 { 0x2f0, 0x924 },
214 { 0x2f1, 0x924 },
215 { 0x2f2, 0x924 },
216 { 0x2f3, 0x924 },
217 { 0x2f4, 0x924 },
218 { 0x2eb, 0x60 },
219 { 0x2ec, 0x60 },
220 { 0x2ed, 0x60 },
221 { 0x4f2, 0x33e },
222 { 0x458, 0x0000 },
223 { 0x15a, 0x0003 },
224 { 0x80, 0x0 },
225};
226
Charles Keepax02915662014-01-09 11:53:54 +0000227static const struct reg_default wm5110_revd_patch[] = {
228 { 0x80, 0x3 },
229 { 0x80, 0x3 },
230 { 0x393, 0x27 },
231 { 0x394, 0x27 },
232 { 0x395, 0x27 },
233 { 0x396, 0x27 },
234 { 0x397, 0x27 },
235 { 0x398, 0x26 },
236 { 0x221, 0x90 },
237 { 0x211, 0x8 },
238 { 0x36c, 0x1fb },
239 { 0x26e, 0x64 },
240 { 0x26f, 0xea },
241 { 0x270, 0x1f16 },
242 { 0x51b, 0x1 },
243 { 0x55b, 0x1 },
244 { 0x59b, 0x1 },
245 { 0x4f0, 0x633 },
246 { 0x441, 0xc059 },
247 { 0x209, 0x27 },
248 { 0x80, 0x0 },
249 { 0x80, 0x0 },
250};
251
Mark Brown9cd9e282012-07-10 12:37:57 +0100252/* We use a function so we can use ARRAY_SIZE() */
253int wm5110_patch(struct arizona *arizona)
254{
255 switch (arizona->rev) {
256 case 0:
Mark Brown9cd9e282012-07-10 12:37:57 +0100257 return regmap_register_patch(arizona->regmap,
258 wm5110_reva_patch,
259 ARRAY_SIZE(wm5110_reva_patch));
Mark Brownda58dee2012-09-26 18:00:29 +0100260 case 1:
261 return regmap_register_patch(arizona->regmap,
262 wm5110_revb_patch,
263 ARRAY_SIZE(wm5110_revb_patch));
Charles Keepax02915662014-01-09 11:53:54 +0000264 case 3:
265 return regmap_register_patch(arizona->regmap,
266 wm5110_revd_patch,
267 ARRAY_SIZE(wm5110_revd_patch));
Mark Brown9cd9e282012-07-10 12:37:57 +0100268 default:
269 return 0;
270 }
271}
272EXPORT_SYMBOL_GPL(wm5110_patch);
273
274static const struct regmap_irq wm5110_aod_irqs[ARIZONA_NUM_IRQ] = {
Charles Keepax24f76f32013-10-26 15:27:04 +0100275 [ARIZONA_IRQ_MICD_CLAMP_FALL] = {
276 .mask = ARIZONA_MICD_CLAMP_FALL_EINT1
277 },
278 [ARIZONA_IRQ_MICD_CLAMP_RISE] = {
279 .mask = ARIZONA_MICD_CLAMP_RISE_EINT1
280 },
Mark Brown9cd9e282012-07-10 12:37:57 +0100281 [ARIZONA_IRQ_GP5_FALL] = { .mask = ARIZONA_GP5_FALL_EINT1 },
282 [ARIZONA_IRQ_GP5_RISE] = { .mask = ARIZONA_GP5_RISE_EINT1 },
283 [ARIZONA_IRQ_JD_FALL] = { .mask = ARIZONA_JD1_FALL_EINT1 },
284 [ARIZONA_IRQ_JD_RISE] = { .mask = ARIZONA_JD1_RISE_EINT1 },
285};
286
287const struct regmap_irq_chip wm5110_aod = {
288 .name = "wm5110 AOD",
289 .status_base = ARIZONA_AOD_IRQ1,
290 .mask_base = ARIZONA_AOD_IRQ_MASK_IRQ1,
291 .ack_base = ARIZONA_AOD_IRQ1,
292 .wake_base = ARIZONA_WAKE_CONTROL,
Mark Brown378e8ee2013-01-04 17:12:14 +0000293 .wake_invert = 1,
Mark Brown9cd9e282012-07-10 12:37:57 +0100294 .num_regs = 1,
295 .irqs = wm5110_aod_irqs,
296 .num_irqs = ARRAY_SIZE(wm5110_aod_irqs),
297};
298EXPORT_SYMBOL_GPL(wm5110_aod);
299
300static const struct regmap_irq wm5110_irqs[ARIZONA_NUM_IRQ] = {
301 [ARIZONA_IRQ_GP4] = { .reg_offset = 0, .mask = ARIZONA_GP4_EINT1 },
302 [ARIZONA_IRQ_GP3] = { .reg_offset = 0, .mask = ARIZONA_GP3_EINT1 },
303 [ARIZONA_IRQ_GP2] = { .reg_offset = 0, .mask = ARIZONA_GP2_EINT1 },
304 [ARIZONA_IRQ_GP1] = { .reg_offset = 0, .mask = ARIZONA_GP1_EINT1 },
305
306 [ARIZONA_IRQ_DSP4_RAM_RDY] = {
307 .reg_offset = 1, .mask = ARIZONA_DSP4_RAM_RDY_EINT1
308 },
309 [ARIZONA_IRQ_DSP3_RAM_RDY] = {
310 .reg_offset = 1, .mask = ARIZONA_DSP3_RAM_RDY_EINT1
311 },
312 [ARIZONA_IRQ_DSP2_RAM_RDY] = {
313 .reg_offset = 1, .mask = ARIZONA_DSP2_RAM_RDY_EINT1
314 },
315 [ARIZONA_IRQ_DSP1_RAM_RDY] = {
316 .reg_offset = 1, .mask = ARIZONA_DSP1_RAM_RDY_EINT1
317 },
318 [ARIZONA_IRQ_DSP_IRQ8] = {
319 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ8_EINT1
320 },
321 [ARIZONA_IRQ_DSP_IRQ7] = {
322 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ7_EINT1
323 },
324 [ARIZONA_IRQ_DSP_IRQ6] = {
325 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ6_EINT1
326 },
327 [ARIZONA_IRQ_DSP_IRQ5] = {
328 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ5_EINT1
329 },
330 [ARIZONA_IRQ_DSP_IRQ4] = {
331 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ4_EINT1
332 },
333 [ARIZONA_IRQ_DSP_IRQ3] = {
334 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ3_EINT1
335 },
336 [ARIZONA_IRQ_DSP_IRQ2] = {
337 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ2_EINT1
338 },
339 [ARIZONA_IRQ_DSP_IRQ1] = {
340 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ1_EINT1
341 },
342
Charles Keepaxc0fe2c52014-07-15 11:21:47 +0100343 [ARIZONA_IRQ_SPK_OVERHEAT_WARN] = {
344 .reg_offset = 2, .mask = ARIZONA_SPK_OVERHEAT_WARN_EINT1
Mark Brown9cd9e282012-07-10 12:37:57 +0100345 },
Charles Keepaxc0fe2c52014-07-15 11:21:47 +0100346 [ARIZONA_IRQ_SPK_OVERHEAT] = {
347 .reg_offset = 2, .mask = ARIZONA_SPK_OVERHEAT_EINT1
Mark Brown9cd9e282012-07-10 12:37:57 +0100348 },
349 [ARIZONA_IRQ_HPDET] = {
350 .reg_offset = 2, .mask = ARIZONA_HPDET_EINT1
351 },
352 [ARIZONA_IRQ_MICDET] = {
353 .reg_offset = 2, .mask = ARIZONA_MICDET_EINT1
354 },
355 [ARIZONA_IRQ_WSEQ_DONE] = {
356 .reg_offset = 2, .mask = ARIZONA_WSEQ_DONE_EINT1
357 },
358 [ARIZONA_IRQ_DRC2_SIG_DET] = {
359 .reg_offset = 2, .mask = ARIZONA_DRC2_SIG_DET_EINT1
360 },
361 [ARIZONA_IRQ_DRC1_SIG_DET] = {
362 .reg_offset = 2, .mask = ARIZONA_DRC1_SIG_DET_EINT1
363 },
364 [ARIZONA_IRQ_ASRC2_LOCK] = {
365 .reg_offset = 2, .mask = ARIZONA_ASRC2_LOCK_EINT1
366 },
367 [ARIZONA_IRQ_ASRC1_LOCK] = {
368 .reg_offset = 2, .mask = ARIZONA_ASRC1_LOCK_EINT1
369 },
370 [ARIZONA_IRQ_UNDERCLOCKED] = {
371 .reg_offset = 2, .mask = ARIZONA_UNDERCLOCKED_EINT1
372 },
373 [ARIZONA_IRQ_OVERCLOCKED] = {
374 .reg_offset = 2, .mask = ARIZONA_OVERCLOCKED_EINT1
375 },
376 [ARIZONA_IRQ_FLL2_LOCK] = {
377 .reg_offset = 2, .mask = ARIZONA_FLL2_LOCK_EINT1
378 },
379 [ARIZONA_IRQ_FLL1_LOCK] = {
380 .reg_offset = 2, .mask = ARIZONA_FLL1_LOCK_EINT1
381 },
382 [ARIZONA_IRQ_CLKGEN_ERR] = {
383 .reg_offset = 2, .mask = ARIZONA_CLKGEN_ERR_EINT1
384 },
385 [ARIZONA_IRQ_CLKGEN_ERR_ASYNC] = {
386 .reg_offset = 2, .mask = ARIZONA_CLKGEN_ERR_ASYNC_EINT1
387 },
388
389 [ARIZONA_IRQ_ASRC_CFG_ERR] = {
390 .reg_offset = 3, .mask = ARIZONA_ASRC_CFG_ERR_EINT1
391 },
392 [ARIZONA_IRQ_AIF3_ERR] = {
393 .reg_offset = 3, .mask = ARIZONA_AIF3_ERR_EINT1
394 },
395 [ARIZONA_IRQ_AIF2_ERR] = {
396 .reg_offset = 3, .mask = ARIZONA_AIF2_ERR_EINT1
397 },
398 [ARIZONA_IRQ_AIF1_ERR] = {
399 .reg_offset = 3, .mask = ARIZONA_AIF1_ERR_EINT1
400 },
401 [ARIZONA_IRQ_CTRLIF_ERR] = {
402 .reg_offset = 3, .mask = ARIZONA_CTRLIF_ERR_EINT1
403 },
404 [ARIZONA_IRQ_MIXER_DROPPED_SAMPLES] = {
405 .reg_offset = 3, .mask = ARIZONA_MIXER_DROPPED_SAMPLE_EINT1
406 },
407 [ARIZONA_IRQ_ASYNC_CLK_ENA_LOW] = {
408 .reg_offset = 3, .mask = ARIZONA_ASYNC_CLK_ENA_LOW_EINT1
409 },
410 [ARIZONA_IRQ_SYSCLK_ENA_LOW] = {
411 .reg_offset = 3, .mask = ARIZONA_SYSCLK_ENA_LOW_EINT1
412 },
413 [ARIZONA_IRQ_ISRC1_CFG_ERR] = {
414 .reg_offset = 3, .mask = ARIZONA_ISRC1_CFG_ERR_EINT1
415 },
416 [ARIZONA_IRQ_ISRC2_CFG_ERR] = {
417 .reg_offset = 3, .mask = ARIZONA_ISRC2_CFG_ERR_EINT1
418 },
Charles Keepax3d2108d2014-07-15 11:21:46 +0100419 [ARIZONA_IRQ_HP3R_DONE] = {
420 .reg_offset = 3, .mask = ARIZONA_HP3R_DONE_EINT1
421 },
422 [ARIZONA_IRQ_HP3L_DONE] = {
423 .reg_offset = 3, .mask = ARIZONA_HP3L_DONE_EINT1
424 },
425 [ARIZONA_IRQ_HP2R_DONE] = {
426 .reg_offset = 3, .mask = ARIZONA_HP2R_DONE_EINT1
427 },
428 [ARIZONA_IRQ_HP2L_DONE] = {
429 .reg_offset = 3, .mask = ARIZONA_HP2L_DONE_EINT1
430 },
431 [ARIZONA_IRQ_HP1R_DONE] = {
432 .reg_offset = 3, .mask = ARIZONA_HP1R_DONE_EINT1
433 },
434 [ARIZONA_IRQ_HP1L_DONE] = {
435 .reg_offset = 3, .mask = ARIZONA_HP1L_DONE_EINT1
436 },
Mark Brown9cd9e282012-07-10 12:37:57 +0100437
438 [ARIZONA_IRQ_BOOT_DONE] = {
439 .reg_offset = 4, .mask = ARIZONA_BOOT_DONE_EINT1
440 },
Mark Brown9cd9e282012-07-10 12:37:57 +0100441 [ARIZONA_IRQ_FLL2_CLOCK_OK] = {
442 .reg_offset = 4, .mask = ARIZONA_FLL2_CLOCK_OK_EINT1
443 },
444 [ARIZONA_IRQ_FLL1_CLOCK_OK] = {
445 .reg_offset = 4, .mask = ARIZONA_FLL1_CLOCK_OK_EINT1
446 },
447};
448
449const struct regmap_irq_chip wm5110_irq = {
450 .name = "wm5110 IRQ",
451 .status_base = ARIZONA_INTERRUPT_STATUS_1,
452 .mask_base = ARIZONA_INTERRUPT_STATUS_1_MASK,
453 .ack_base = ARIZONA_INTERRUPT_STATUS_1,
454 .num_regs = 5,
455 .irqs = wm5110_irqs,
456 .num_irqs = ARRAY_SIZE(wm5110_irqs),
457};
458EXPORT_SYMBOL_GPL(wm5110_irq);
459
Charles Keepax32155012014-07-15 11:21:48 +0100460static const struct regmap_irq wm5110_revd_irqs[ARIZONA_NUM_IRQ] = {
461 [ARIZONA_IRQ_GP4] = { .reg_offset = 0, .mask = ARIZONA_GP4_EINT1 },
462 [ARIZONA_IRQ_GP3] = { .reg_offset = 0, .mask = ARIZONA_GP3_EINT1 },
463 [ARIZONA_IRQ_GP2] = { .reg_offset = 0, .mask = ARIZONA_GP2_EINT1 },
464 [ARIZONA_IRQ_GP1] = { .reg_offset = 0, .mask = ARIZONA_GP1_EINT1 },
465
466 [ARIZONA_IRQ_DSP4_RAM_RDY] = {
467 .reg_offset = 1, .mask = ARIZONA_DSP4_RAM_RDY_EINT1
468 },
469 [ARIZONA_IRQ_DSP3_RAM_RDY] = {
470 .reg_offset = 1, .mask = ARIZONA_DSP3_RAM_RDY_EINT1
471 },
472 [ARIZONA_IRQ_DSP2_RAM_RDY] = {
473 .reg_offset = 1, .mask = ARIZONA_DSP2_RAM_RDY_EINT1
474 },
475 [ARIZONA_IRQ_DSP1_RAM_RDY] = {
476 .reg_offset = 1, .mask = ARIZONA_DSP1_RAM_RDY_EINT1
477 },
478 [ARIZONA_IRQ_DSP_IRQ8] = {
479 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ8_EINT1
480 },
481 [ARIZONA_IRQ_DSP_IRQ7] = {
482 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ7_EINT1
483 },
484 [ARIZONA_IRQ_DSP_IRQ6] = {
485 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ6_EINT1
486 },
487 [ARIZONA_IRQ_DSP_IRQ5] = {
488 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ5_EINT1
489 },
490 [ARIZONA_IRQ_DSP_IRQ4] = {
491 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ4_EINT1
492 },
493 [ARIZONA_IRQ_DSP_IRQ3] = {
494 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ3_EINT1
495 },
496 [ARIZONA_IRQ_DSP_IRQ2] = {
497 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ2_EINT1
498 },
499 [ARIZONA_IRQ_DSP_IRQ1] = {
500 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ1_EINT1
501 },
502
503 [ARIZONA_IRQ_SPK_OVERHEAT_WARN] = {
504 .reg_offset = 2, .mask = ARIZONA_SPK_OVERHEAT_WARN_EINT1
505 },
506 [ARIZONA_IRQ_SPK_OVERHEAT] = {
507 .reg_offset = 2, .mask = ARIZONA_SPK_OVERHEAT_EINT1
508 },
509 [ARIZONA_IRQ_HPDET] = {
510 .reg_offset = 2, .mask = ARIZONA_HPDET_EINT1
511 },
512 [ARIZONA_IRQ_MICDET] = {
513 .reg_offset = 2, .mask = ARIZONA_MICDET_EINT1
514 },
515 [ARIZONA_IRQ_WSEQ_DONE] = {
516 .reg_offset = 2, .mask = ARIZONA_WSEQ_DONE_EINT1
517 },
518 [ARIZONA_IRQ_DRC2_SIG_DET] = {
519 .reg_offset = 2, .mask = ARIZONA_DRC2_SIG_DET_EINT1
520 },
521 [ARIZONA_IRQ_DRC1_SIG_DET] = {
522 .reg_offset = 2, .mask = ARIZONA_DRC1_SIG_DET_EINT1
523 },
524 [ARIZONA_IRQ_ASRC2_LOCK] = {
525 .reg_offset = 2, .mask = ARIZONA_ASRC2_LOCK_EINT1
526 },
527 [ARIZONA_IRQ_ASRC1_LOCK] = {
528 .reg_offset = 2, .mask = ARIZONA_ASRC1_LOCK_EINT1
529 },
530 [ARIZONA_IRQ_UNDERCLOCKED] = {
531 .reg_offset = 2, .mask = ARIZONA_UNDERCLOCKED_EINT1
532 },
533 [ARIZONA_IRQ_OVERCLOCKED] = {
534 .reg_offset = 2, .mask = ARIZONA_OVERCLOCKED_EINT1
535 },
536 [ARIZONA_IRQ_FLL2_LOCK] = {
537 .reg_offset = 2, .mask = ARIZONA_FLL2_LOCK_EINT1
538 },
539 [ARIZONA_IRQ_FLL1_LOCK] = {
540 .reg_offset = 2, .mask = ARIZONA_FLL1_LOCK_EINT1
541 },
542 [ARIZONA_IRQ_CLKGEN_ERR] = {
543 .reg_offset = 2, .mask = ARIZONA_CLKGEN_ERR_EINT1
544 },
545 [ARIZONA_IRQ_CLKGEN_ERR_ASYNC] = {
546 .reg_offset = 2, .mask = ARIZONA_CLKGEN_ERR_ASYNC_EINT1
547 },
548
549 [ARIZONA_IRQ_CTRLIF_ERR] = {
550 .reg_offset = 3, .mask = ARIZONA_V2_CTRLIF_ERR_EINT1
551 },
552 [ARIZONA_IRQ_MIXER_DROPPED_SAMPLES] = {
553 .reg_offset = 3, .mask = ARIZONA_V2_MIXER_DROPPED_SAMPLE_EINT1
554 },
555 [ARIZONA_IRQ_ASYNC_CLK_ENA_LOW] = {
556 .reg_offset = 3, .mask = ARIZONA_V2_ASYNC_CLK_ENA_LOW_EINT1
557 },
558 [ARIZONA_IRQ_SYSCLK_ENA_LOW] = {
559 .reg_offset = 3, .mask = ARIZONA_V2_SYSCLK_ENA_LOW_EINT1
560 },
561 [ARIZONA_IRQ_ISRC1_CFG_ERR] = {
562 .reg_offset = 3, .mask = ARIZONA_V2_ISRC1_CFG_ERR_EINT1
563 },
564 [ARIZONA_IRQ_ISRC2_CFG_ERR] = {
565 .reg_offset = 3, .mask = ARIZONA_V2_ISRC2_CFG_ERR_EINT1
566 },
567 [ARIZONA_IRQ_ISRC3_CFG_ERR] = {
568 .reg_offset = 3, .mask = ARIZONA_V2_ISRC3_CFG_ERR_EINT1
569 },
570 [ARIZONA_IRQ_HP3R_DONE] = {
571 .reg_offset = 3, .mask = ARIZONA_HP3R_DONE_EINT1
572 },
573 [ARIZONA_IRQ_HP3L_DONE] = {
574 .reg_offset = 3, .mask = ARIZONA_HP3L_DONE_EINT1
575 },
576 [ARIZONA_IRQ_HP2R_DONE] = {
577 .reg_offset = 3, .mask = ARIZONA_HP2R_DONE_EINT1
578 },
579 [ARIZONA_IRQ_HP2L_DONE] = {
580 .reg_offset = 3, .mask = ARIZONA_HP2L_DONE_EINT1
581 },
582 [ARIZONA_IRQ_HP1R_DONE] = {
583 .reg_offset = 3, .mask = ARIZONA_HP1R_DONE_EINT1
584 },
585 [ARIZONA_IRQ_HP1L_DONE] = {
586 .reg_offset = 3, .mask = ARIZONA_HP1L_DONE_EINT1
587 },
588
589 [ARIZONA_IRQ_BOOT_DONE] = {
590 .reg_offset = 4, .mask = ARIZONA_BOOT_DONE_EINT1
591 },
592 [ARIZONA_IRQ_ASRC_CFG_ERR] = {
593 .reg_offset = 4, .mask = ARIZONA_V2_ASRC_CFG_ERR_EINT1
594 },
595 [ARIZONA_IRQ_FLL2_CLOCK_OK] = {
596 .reg_offset = 4, .mask = ARIZONA_FLL2_CLOCK_OK_EINT1
597 },
598 [ARIZONA_IRQ_FLL1_CLOCK_OK] = {
599 .reg_offset = 4, .mask = ARIZONA_FLL1_CLOCK_OK_EINT1
600 },
601
602 [ARIZONA_IRQ_DSP_SHARED_WR_COLL] = {
603 .reg_offset = 5, .mask = ARIZONA_DSP_SHARED_WR_COLL_EINT1
604 },
605 [ARIZONA_IRQ_SPK_SHUTDOWN] = {
606 .reg_offset = 5, .mask = ARIZONA_SPK_SHUTDOWN_EINT1
607 },
608 [ARIZONA_IRQ_SPK1R_SHORT] = {
609 .reg_offset = 5, .mask = ARIZONA_SPK1R_SHORT_EINT1
610 },
611 [ARIZONA_IRQ_SPK1L_SHORT] = {
612 .reg_offset = 5, .mask = ARIZONA_SPK1L_SHORT_EINT1
613 },
614 [ARIZONA_IRQ_HP3R_SC_NEG] = {
615 .reg_offset = 5, .mask = ARIZONA_HP3R_SC_NEG_EINT1
616 },
617 [ARIZONA_IRQ_HP3R_SC_POS] = {
618 .reg_offset = 5, .mask = ARIZONA_HP3R_SC_POS_EINT1
619 },
620 [ARIZONA_IRQ_HP3L_SC_NEG] = {
621 .reg_offset = 5, .mask = ARIZONA_HP3L_SC_NEG_EINT1
622 },
623 [ARIZONA_IRQ_HP3L_SC_POS] = {
624 .reg_offset = 5, .mask = ARIZONA_HP3L_SC_POS_EINT1
625 },
626 [ARIZONA_IRQ_HP2R_SC_NEG] = {
627 .reg_offset = 5, .mask = ARIZONA_HP2R_SC_NEG_EINT1
628 },
629 [ARIZONA_IRQ_HP2R_SC_POS] = {
630 .reg_offset = 5, .mask = ARIZONA_HP2R_SC_POS_EINT1
631 },
632 [ARIZONA_IRQ_HP2L_SC_NEG] = {
633 .reg_offset = 5, .mask = ARIZONA_HP2L_SC_NEG_EINT1
634 },
635 [ARIZONA_IRQ_HP2L_SC_POS] = {
636 .reg_offset = 5, .mask = ARIZONA_HP2L_SC_POS_EINT1
637 },
638 [ARIZONA_IRQ_HP1R_SC_NEG] = {
639 .reg_offset = 5, .mask = ARIZONA_HP1R_SC_NEG_EINT1
640 },
641 [ARIZONA_IRQ_HP1R_SC_POS] = {
642 .reg_offset = 5, .mask = ARIZONA_HP1R_SC_POS_EINT1
643 },
644 [ARIZONA_IRQ_HP1L_SC_NEG] = {
645 .reg_offset = 5, .mask = ARIZONA_HP1L_SC_NEG_EINT1
646 },
647 [ARIZONA_IRQ_HP1L_SC_POS] = {
648 .reg_offset = 5, .mask = ARIZONA_HP1L_SC_POS_EINT1
649 },
650};
651
652const struct regmap_irq_chip wm5110_revd_irq = {
653 .name = "wm5110 IRQ",
654 .status_base = ARIZONA_INTERRUPT_STATUS_1,
655 .mask_base = ARIZONA_INTERRUPT_STATUS_1_MASK,
656 .ack_base = ARIZONA_INTERRUPT_STATUS_1,
657 .num_regs = 6,
658 .irqs = wm5110_revd_irqs,
659 .num_irqs = ARRAY_SIZE(wm5110_revd_irqs),
660};
661EXPORT_SYMBOL_GPL(wm5110_revd_irq);
662
Mark Brown9cd9e282012-07-10 12:37:57 +0100663static const struct reg_default wm5110_reg_default[] = {
664 { 0x00000008, 0x0019 }, /* R8 - Ctrl IF SPI CFG 1 */
665 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
666 { 0x0000000A, 0x0001 }, /* R10 - Ctrl IF I2C2 CFG 1 */
667 { 0x0000000B, 0x0036 }, /* R11 - Ctrl IF I2C1 CFG 2 */
668 { 0x0000000C, 0x0036 }, /* R12 - Ctrl IF I2C2 CFG 2 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100669 { 0x00000020, 0x0000 }, /* R32 - Tone Generator 1 */
670 { 0x00000021, 0x1000 }, /* R33 - Tone Generator 2 */
671 { 0x00000022, 0x0000 }, /* R34 - Tone Generator 3 */
672 { 0x00000023, 0x1000 }, /* R35 - Tone Generator 4 */
673 { 0x00000024, 0x0000 }, /* R36 - Tone Generator 5 */
674 { 0x00000030, 0x0000 }, /* R48 - PWM Drive 1 */
675 { 0x00000031, 0x0100 }, /* R49 - PWM Drive 2 */
676 { 0x00000032, 0x0100 }, /* R50 - PWM Drive 3 */
677 { 0x00000040, 0x0000 }, /* R64 - Wake control */
678 { 0x00000041, 0x0000 }, /* R65 - Sequence control */
679 { 0x00000061, 0x01FF }, /* R97 - Sample Rate Sequence Select 1 */
680 { 0x00000062, 0x01FF }, /* R98 - Sample Rate Sequence Select 2 */
681 { 0x00000063, 0x01FF }, /* R99 - Sample Rate Sequence Select 3 */
682 { 0x00000064, 0x01FF }, /* R100 - Sample Rate Sequence Select 4 */
Richard Fitzgeralda9cd92a2014-05-20 13:48:51 +0100683 { 0x00000066, 0x01FF }, /* R102 - Always On Triggers Sequence Select 1 */
684 { 0x00000067, 0x01FF }, /* R103 - Always On Triggers Sequence Select 2 */
685 { 0x00000068, 0x01FF }, /* R104 - Always On Triggers Sequence Select 3 */
686 { 0x00000069, 0x01FF }, /* R105 - Always On Triggers Sequence Select 4 */
687 { 0x0000006A, 0x01FF }, /* R106 - Always On Triggers Sequence Select 5 */
688 { 0x0000006B, 0x01FF }, /* R107 - Always On Triggers Sequence Select 6 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100689 { 0x00000070, 0x0000 }, /* R112 - Comfort Noise Generator */
690 { 0x00000090, 0x0000 }, /* R144 - Haptics Control 1 */
691 { 0x00000091, 0x7FFF }, /* R145 - Haptics Control 2 */
692 { 0x00000092, 0x0000 }, /* R146 - Haptics phase 1 intensity */
693 { 0x00000093, 0x0000 }, /* R147 - Haptics phase 1 duration */
694 { 0x00000094, 0x0000 }, /* R148 - Haptics phase 2 intensity */
695 { 0x00000095, 0x0000 }, /* R149 - Haptics phase 2 duration */
696 { 0x00000096, 0x0000 }, /* R150 - Haptics phase 3 intensity */
697 { 0x00000097, 0x0000 }, /* R151 - Haptics phase 3 duration */
698 { 0x00000100, 0x0001 }, /* R256 - Clock 32k 1 */
699 { 0x00000101, 0x0504 }, /* R257 - System Clock 1 */
700 { 0x00000102, 0x0011 }, /* R258 - Sample rate 1 */
701 { 0x00000103, 0x0011 }, /* R259 - Sample rate 2 */
702 { 0x00000104, 0x0011 }, /* R260 - Sample rate 3 */
703 { 0x00000112, 0x0305 }, /* R274 - Async clock 1 */
704 { 0x00000113, 0x0011 }, /* R275 - Async sample rate 1 */
Charles Keepaxc24084d2014-09-01 15:48:52 +0100705 { 0x00000114, 0x0011 }, /* R276 - Async sample rate 2 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100706 { 0x00000149, 0x0000 }, /* R329 - Output system clock */
707 { 0x0000014A, 0x0000 }, /* R330 - Output async clock */
708 { 0x00000152, 0x0000 }, /* R338 - Rate Estimator 1 */
709 { 0x00000153, 0x0000 }, /* R339 - Rate Estimator 2 */
710 { 0x00000154, 0x0000 }, /* R340 - Rate Estimator 3 */
711 { 0x00000155, 0x0000 }, /* R341 - Rate Estimator 4 */
712 { 0x00000156, 0x0000 }, /* R342 - Rate Estimator 5 */
713 { 0x00000171, 0x0000 }, /* R369 - FLL1 Control 1 */
714 { 0x00000172, 0x0008 }, /* R370 - FLL1 Control 2 */
715 { 0x00000173, 0x0018 }, /* R371 - FLL1 Control 3 */
716 { 0x00000174, 0x007D }, /* R372 - FLL1 Control 4 */
717 { 0x00000175, 0x0006 }, /* R373 - FLL1 Control 5 */
718 { 0x00000176, 0x0000 }, /* R374 - FLL1 Control 6 */
719 { 0x00000177, 0x0281 }, /* R375 - FLL1 Loop Filter Test 1 */
720 { 0x00000178, 0x0000 }, /* R376 - FLL1 NCO Test 0 */
Charles Keepaxc78d2032013-08-06 16:42:27 +0100721 { 0x00000179, 0x0000 }, /* R376 - FLL1 Control 7 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100722 { 0x00000181, 0x0000 }, /* R385 - FLL1 Synchroniser 1 */
723 { 0x00000182, 0x0000 }, /* R386 - FLL1 Synchroniser 2 */
724 { 0x00000183, 0x0000 }, /* R387 - FLL1 Synchroniser 3 */
725 { 0x00000184, 0x0000 }, /* R388 - FLL1 Synchroniser 4 */
726 { 0x00000185, 0x0000 }, /* R389 - FLL1 Synchroniser 5 */
727 { 0x00000186, 0x0000 }, /* R390 - FLL1 Synchroniser 6 */
Charles Keepaxc78d2032013-08-06 16:42:27 +0100728 { 0x00000187, 0x0001 }, /* R390 - FLL1 Synchroniser 7 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100729 { 0x00000189, 0x0000 }, /* R393 - FLL1 Spread Spectrum */
730 { 0x0000018A, 0x0004 }, /* R394 - FLL1 GPIO Clock */
731 { 0x00000191, 0x0000 }, /* R401 - FLL2 Control 1 */
732 { 0x00000192, 0x0008 }, /* R402 - FLL2 Control 2 */
733 { 0x00000193, 0x0018 }, /* R403 - FLL2 Control 3 */
734 { 0x00000194, 0x007D }, /* R404 - FLL2 Control 4 */
735 { 0x00000195, 0x000C }, /* R405 - FLL2 Control 5 */
736 { 0x00000196, 0x0000 }, /* R406 - FLL2 Control 6 */
737 { 0x00000197, 0x0000 }, /* R407 - FLL2 Loop Filter Test 1 */
738 { 0x00000198, 0x0000 }, /* R408 - FLL2 NCO Test 0 */
Charles Keepaxc78d2032013-08-06 16:42:27 +0100739 { 0x00000199, 0x0000 }, /* R408 - FLL2 Control 7 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100740 { 0x000001A1, 0x0000 }, /* R417 - FLL2 Synchroniser 1 */
741 { 0x000001A2, 0x0000 }, /* R418 - FLL2 Synchroniser 2 */
742 { 0x000001A3, 0x0000 }, /* R419 - FLL2 Synchroniser 3 */
743 { 0x000001A4, 0x0000 }, /* R420 - FLL2 Synchroniser 4 */
744 { 0x000001A5, 0x0000 }, /* R421 - FLL2 Synchroniser 5 */
745 { 0x000001A6, 0x0000 }, /* R422 - FLL2 Synchroniser 6 */
Charles Keepaxc78d2032013-08-06 16:42:27 +0100746 { 0x000001A7, 0x0001 }, /* R422 - FLL2 Synchroniser 7 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100747 { 0x000001A9, 0x0000 }, /* R425 - FLL2 Spread Spectrum */
748 { 0x000001AA, 0x0004 }, /* R426 - FLL2 GPIO Clock */
749 { 0x00000200, 0x0006 }, /* R512 - Mic Charge Pump 1 */
750 { 0x00000210, 0x0184 }, /* R528 - LDO1 Control 1 */
Charles Keepaxc94d37c2013-11-15 14:03:19 +0000751 { 0x00000213, 0x03E4 }, /* R531 - LDO2 Control 1 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100752 { 0x00000218, 0x01A6 }, /* R536 - Mic Bias Ctrl 1 */
753 { 0x00000219, 0x01A6 }, /* R537 - Mic Bias Ctrl 2 */
754 { 0x0000021A, 0x01A6 }, /* R538 - Mic Bias Ctrl 3 */
755 { 0x00000293, 0x0000 }, /* R659 - Accessory Detect Mode 1 */
Charles Keepax2d28ca72014-03-20 16:49:23 +0000756 { 0x0000029B, 0x0028 }, /* R667 - Headphone Detect 1 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100757 { 0x0000029C, 0x0000 }, /* R668 - Headphone Detect 2 */
Charles Keepax24f76f32013-10-26 15:27:04 +0100758 { 0x000002A2, 0x0000 }, /* R674 - Micd clamp control */
Mark Brown9cd9e282012-07-10 12:37:57 +0100759 { 0x000002A3, 0x1102 }, /* R675 - Mic Detect 1 */
760 { 0x000002A4, 0x009F }, /* R676 - Mic Detect 2 */
Charles Keepaxf5abfaa2013-08-06 16:42:29 +0100761 { 0x000002A5, 0x0000 }, /* R677 - Mic Detect 3 */
Charles Keepaxacf0be12013-08-06 16:42:28 +0100762 { 0x000002A6, 0x3737 }, /* R678 - Mic Detect Level 1 */
763 { 0x000002A7, 0x372C }, /* R679 - Mic Detect Level 2 */
764 { 0x000002A8, 0x1422 }, /* R680 - Mic Detect Level 3 */
765 { 0x000002A9, 0x300A }, /* R681 - Mic Detect Level 4 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100766 { 0x000002C3, 0x0000 }, /* R707 - Mic noise mix control 1 */
Charles Keepaxfce7fbf2014-04-17 13:14:15 +0100767 { 0x000002CB, 0x0000 }, /* R715 - Isolation control */
Mark Brown9cd9e282012-07-10 12:37:57 +0100768 { 0x000002D3, 0x0000 }, /* R723 - Jack detect analogue */
769 { 0x00000300, 0x0000 }, /* R768 - Input Enables */
770 { 0x00000308, 0x0000 }, /* R776 - Input Rate */
771 { 0x00000309, 0x0022 }, /* R777 - Input Volume Ramp */
Charles Keepax254dc322013-11-19 16:04:03 +0000772 { 0x0000030C, 0x0002 }, /* R780 - HPF Control */
Mark Brown9cd9e282012-07-10 12:37:57 +0100773 { 0x00000310, 0x2080 }, /* R784 - IN1L Control */
774 { 0x00000311, 0x0180 }, /* R785 - ADC Digital Volume 1L */
775 { 0x00000312, 0x0000 }, /* R786 - DMIC1L Control */
776 { 0x00000314, 0x0080 }, /* R788 - IN1R Control */
777 { 0x00000315, 0x0180 }, /* R789 - ADC Digital Volume 1R */
778 { 0x00000316, 0x0000 }, /* R790 - DMIC1R Control */
779 { 0x00000318, 0x2080 }, /* R792 - IN2L Control */
780 { 0x00000319, 0x0180 }, /* R793 - ADC Digital Volume 2L */
781 { 0x0000031A, 0x0000 }, /* R794 - DMIC2L Control */
782 { 0x0000031C, 0x0080 }, /* R796 - IN2R Control */
783 { 0x0000031D, 0x0180 }, /* R797 - ADC Digital Volume 2R */
784 { 0x0000031E, 0x0000 }, /* R798 - DMIC2R Control */
785 { 0x00000320, 0x2080 }, /* R800 - IN3L Control */
786 { 0x00000321, 0x0180 }, /* R801 - ADC Digital Volume 3L */
787 { 0x00000322, 0x0000 }, /* R802 - DMIC3L Control */
788 { 0x00000324, 0x0080 }, /* R804 - IN3R Control */
789 { 0x00000325, 0x0180 }, /* R805 - ADC Digital Volume 3R */
790 { 0x00000326, 0x0000 }, /* R806 - DMIC3R Control */
791 { 0x00000328, 0x2000 }, /* R808 - IN4L Control */
792 { 0x00000329, 0x0180 }, /* R809 - ADC Digital Volume 4L */
793 { 0x0000032A, 0x0000 }, /* R810 - DMIC4L Control */
Charles Keepax254dc322013-11-19 16:04:03 +0000794 { 0x0000032C, 0x0000 }, /* R812 - IN4R Control */
Mark Brown9cd9e282012-07-10 12:37:57 +0100795 { 0x0000032D, 0x0180 }, /* R813 - ADC Digital Volume 4R */
796 { 0x0000032E, 0x0000 }, /* R814 - DMIC4R Control */
797 { 0x00000400, 0x0000 }, /* R1024 - Output Enables 1 */
798 { 0x00000408, 0x0000 }, /* R1032 - Output Rate 1 */
799 { 0x00000409, 0x0022 }, /* R1033 - Output Volume Ramp */
800 { 0x00000410, 0x0080 }, /* R1040 - Output Path Config 1L */
801 { 0x00000411, 0x0180 }, /* R1041 - DAC Digital Volume 1L */
802 { 0x00000412, 0x0080 }, /* R1042 - DAC Volume Limit 1L */
803 { 0x00000413, 0x0001 }, /* R1043 - Noise Gate Select 1L */
804 { 0x00000414, 0x0080 }, /* R1044 - Output Path Config 1R */
805 { 0x00000415, 0x0180 }, /* R1045 - DAC Digital Volume 1R */
806 { 0x00000416, 0x0080 }, /* R1046 - DAC Volume Limit 1R */
807 { 0x00000417, 0x0002 }, /* R1047 - Noise Gate Select 1R */
808 { 0x00000418, 0x0080 }, /* R1048 - Output Path Config 2L */
809 { 0x00000419, 0x0180 }, /* R1049 - DAC Digital Volume 2L */
810 { 0x0000041A, 0x0080 }, /* R1050 - DAC Volume Limit 2L */
811 { 0x0000041B, 0x0004 }, /* R1051 - Noise Gate Select 2L */
812 { 0x0000041C, 0x0080 }, /* R1052 - Output Path Config 2R */
813 { 0x0000041D, 0x0180 }, /* R1053 - DAC Digital Volume 2R */
814 { 0x0000041E, 0x0080 }, /* R1054 - DAC Volume Limit 2R */
815 { 0x0000041F, 0x0008 }, /* R1055 - Noise Gate Select 2R */
816 { 0x00000420, 0x0080 }, /* R1056 - Output Path Config 3L */
817 { 0x00000421, 0x0180 }, /* R1057 - DAC Digital Volume 3L */
818 { 0x00000422, 0x0080 }, /* R1058 - DAC Volume Limit 3L */
819 { 0x00000423, 0x0010 }, /* R1059 - Noise Gate Select 3L */
820 { 0x00000424, 0x0080 }, /* R1060 - Output Path Config 3R */
821 { 0x00000425, 0x0180 }, /* R1061 - DAC Digital Volume 3R */
822 { 0x00000426, 0x0080 }, /* R1062 - DAC Volume Limit 3R */
823 { 0x00000427, 0x0020 }, /* R1063 - Noise Gate Select 3R */
824 { 0x00000428, 0x0000 }, /* R1064 - Output Path Config 4L */
825 { 0x00000429, 0x0180 }, /* R1065 - DAC Digital Volume 4L */
826 { 0x0000042A, 0x0080 }, /* R1066 - Out Volume 4L */
827 { 0x0000042B, 0x0040 }, /* R1067 - Noise Gate Select 4L */
828 { 0x0000042C, 0x0000 }, /* R1068 - Output Path Config 4R */
829 { 0x0000042D, 0x0180 }, /* R1069 - DAC Digital Volume 4R */
830 { 0x0000042E, 0x0080 }, /* R1070 - Out Volume 4R */
831 { 0x0000042F, 0x0080 }, /* R1071 - Noise Gate Select 4R */
832 { 0x00000430, 0x0000 }, /* R1072 - Output Path Config 5L */
833 { 0x00000431, 0x0180 }, /* R1073 - DAC Digital Volume 5L */
834 { 0x00000432, 0x0080 }, /* R1074 - DAC Volume Limit 5L */
835 { 0x00000433, 0x0100 }, /* R1075 - Noise Gate Select 5L */
836 { 0x00000434, 0x0000 }, /* R1076 - Output Path Config 5R */
837 { 0x00000435, 0x0180 }, /* R1077 - DAC Digital Volume 5R */
838 { 0x00000436, 0x0080 }, /* R1078 - DAC Volume Limit 5R */
839 { 0x00000437, 0x0200 }, /* R1079 - Noise Gate Select 5R */
840 { 0x00000438, 0x0000 }, /* R1080 - Output Path Config 6L */
841 { 0x00000439, 0x0180 }, /* R1081 - DAC Digital Volume 6L */
842 { 0x0000043A, 0x0080 }, /* R1082 - DAC Volume Limit 6L */
843 { 0x0000043B, 0x0400 }, /* R1083 - Noise Gate Select 6L */
844 { 0x0000043C, 0x0000 }, /* R1084 - Output Path Config 6R */
845 { 0x0000043D, 0x0180 }, /* R1085 - DAC Digital Volume 6R */
846 { 0x0000043E, 0x0080 }, /* R1086 - DAC Volume Limit 6R */
847 { 0x0000043F, 0x0800 }, /* R1087 - Noise Gate Select 6R */
Charles Keepax792b62e2013-12-19 09:11:01 +0000848 { 0x00000440, 0x8FFF }, /* R1088 - DRE Enable */
Mark Brown9cd9e282012-07-10 12:37:57 +0100849 { 0x00000450, 0x0000 }, /* R1104 - DAC AEC Control 1 */
Charles Keepaxbef78162013-09-17 15:44:20 +0100850 { 0x00000458, 0x0000 }, /* R1112 - Noise Gate Control */
Mark Brown9cd9e282012-07-10 12:37:57 +0100851 { 0x00000480, 0x0040 }, /* R1152 - Class W ANC Threshold 1 */
852 { 0x00000481, 0x0040 }, /* R1153 - Class W ANC Threshold 2 */
853 { 0x00000490, 0x0069 }, /* R1168 - PDM SPK1 CTRL 1 */
854 { 0x00000491, 0x0000 }, /* R1169 - PDM SPK1 CTRL 2 */
855 { 0x00000492, 0x0069 }, /* R1170 - PDM SPK2 CTRL 1 */
856 { 0x00000493, 0x0000 }, /* R1171 - PDM SPK2 CTRL 2 */
Charles Keepax08e2d592014-01-09 14:29:24 +0000857 { 0x000004A0, 0x3480 }, /* R1184 - HP1 Short Circuit Ctrl */
858 { 0x000004A1, 0x3480 }, /* R1185 - HP2 Short Circuit Ctrl */
859 { 0x000004A2, 0x3480 }, /* R1186 - HP3 Short Circuit Ctrl */
Mark Brown9cd9e282012-07-10 12:37:57 +0100860 { 0x00000500, 0x000C }, /* R1280 - AIF1 BCLK Ctrl */
861 { 0x00000501, 0x0008 }, /* R1281 - AIF1 Tx Pin Ctrl */
862 { 0x00000502, 0x0000 }, /* R1282 - AIF1 Rx Pin Ctrl */
863 { 0x00000503, 0x0000 }, /* R1283 - AIF1 Rate Ctrl */
864 { 0x00000504, 0x0000 }, /* R1284 - AIF1 Format */
865 { 0x00000505, 0x0040 }, /* R1285 - AIF1 Tx BCLK Rate */
866 { 0x00000506, 0x0040 }, /* R1286 - AIF1 Rx BCLK Rate */
867 { 0x00000507, 0x1818 }, /* R1287 - AIF1 Frame Ctrl 1 */
868 { 0x00000508, 0x1818 }, /* R1288 - AIF1 Frame Ctrl 2 */
869 { 0x00000509, 0x0000 }, /* R1289 - AIF1 Frame Ctrl 3 */
870 { 0x0000050A, 0x0001 }, /* R1290 - AIF1 Frame Ctrl 4 */
871 { 0x0000050B, 0x0002 }, /* R1291 - AIF1 Frame Ctrl 5 */
872 { 0x0000050C, 0x0003 }, /* R1292 - AIF1 Frame Ctrl 6 */
873 { 0x0000050D, 0x0004 }, /* R1293 - AIF1 Frame Ctrl 7 */
874 { 0x0000050E, 0x0005 }, /* R1294 - AIF1 Frame Ctrl 8 */
875 { 0x0000050F, 0x0006 }, /* R1295 - AIF1 Frame Ctrl 9 */
876 { 0x00000510, 0x0007 }, /* R1296 - AIF1 Frame Ctrl 10 */
877 { 0x00000511, 0x0000 }, /* R1297 - AIF1 Frame Ctrl 11 */
878 { 0x00000512, 0x0001 }, /* R1298 - AIF1 Frame Ctrl 12 */
879 { 0x00000513, 0x0002 }, /* R1299 - AIF1 Frame Ctrl 13 */
880 { 0x00000514, 0x0003 }, /* R1300 - AIF1 Frame Ctrl 14 */
881 { 0x00000515, 0x0004 }, /* R1301 - AIF1 Frame Ctrl 15 */
882 { 0x00000516, 0x0005 }, /* R1302 - AIF1 Frame Ctrl 16 */
883 { 0x00000517, 0x0006 }, /* R1303 - AIF1 Frame Ctrl 17 */
884 { 0x00000518, 0x0007 }, /* R1304 - AIF1 Frame Ctrl 18 */
885 { 0x00000519, 0x0000 }, /* R1305 - AIF1 Tx Enables */
886 { 0x0000051A, 0x0000 }, /* R1306 - AIF1 Rx Enables */
887 { 0x00000540, 0x000C }, /* R1344 - AIF2 BCLK Ctrl */
888 { 0x00000541, 0x0008 }, /* R1345 - AIF2 Tx Pin Ctrl */
889 { 0x00000542, 0x0000 }, /* R1346 - AIF2 Rx Pin Ctrl */
890 { 0x00000543, 0x0000 }, /* R1347 - AIF2 Rate Ctrl */
891 { 0x00000544, 0x0000 }, /* R1348 - AIF2 Format */
892 { 0x00000545, 0x0040 }, /* R1349 - AIF2 Tx BCLK Rate */
893 { 0x00000546, 0x0040 }, /* R1350 - AIF2 Rx BCLK Rate */
894 { 0x00000547, 0x1818 }, /* R1351 - AIF2 Frame Ctrl 1 */
895 { 0x00000548, 0x1818 }, /* R1352 - AIF2 Frame Ctrl 2 */
896 { 0x00000549, 0x0000 }, /* R1353 - AIF2 Frame Ctrl 3 */
897 { 0x0000054A, 0x0001 }, /* R1354 - AIF2 Frame Ctrl 4 */
898 { 0x00000551, 0x0000 }, /* R1361 - AIF2 Frame Ctrl 11 */
899 { 0x00000552, 0x0001 }, /* R1362 - AIF2 Frame Ctrl 12 */
900 { 0x00000559, 0x0000 }, /* R1369 - AIF2 Tx Enables */
901 { 0x0000055A, 0x0000 }, /* R1370 - AIF2 Rx Enables */
902 { 0x00000580, 0x000C }, /* R1408 - AIF3 BCLK Ctrl */
903 { 0x00000581, 0x0008 }, /* R1409 - AIF3 Tx Pin Ctrl */
904 { 0x00000582, 0x0000 }, /* R1410 - AIF3 Rx Pin Ctrl */
905 { 0x00000583, 0x0000 }, /* R1411 - AIF3 Rate Ctrl */
906 { 0x00000584, 0x0000 }, /* R1412 - AIF3 Format */
907 { 0x00000585, 0x0040 }, /* R1413 - AIF3 Tx BCLK Rate */
908 { 0x00000586, 0x0040 }, /* R1414 - AIF3 Rx BCLK Rate */
909 { 0x00000587, 0x1818 }, /* R1415 - AIF3 Frame Ctrl 1 */
910 { 0x00000588, 0x1818 }, /* R1416 - AIF3 Frame Ctrl 2 */
911 { 0x00000589, 0x0000 }, /* R1417 - AIF3 Frame Ctrl 3 */
912 { 0x0000058A, 0x0001 }, /* R1418 - AIF3 Frame Ctrl 4 */
913 { 0x00000591, 0x0000 }, /* R1425 - AIF3 Frame Ctrl 11 */
914 { 0x00000592, 0x0001 }, /* R1426 - AIF3 Frame Ctrl 12 */
915 { 0x00000599, 0x0000 }, /* R1433 - AIF3 Tx Enables */
916 { 0x0000059A, 0x0000 }, /* R1434 - AIF3 Rx Enables */
917 { 0x000005E3, 0x0004 }, /* R1507 - SLIMbus Framer Ref Gear */
918 { 0x000005E5, 0x0000 }, /* R1509 - SLIMbus Rates 1 */
919 { 0x000005E6, 0x0000 }, /* R1510 - SLIMbus Rates 2 */
920 { 0x000005E7, 0x0000 }, /* R1511 - SLIMbus Rates 3 */
921 { 0x000005E8, 0x0000 }, /* R1512 - SLIMbus Rates 4 */
922 { 0x000005E9, 0x0000 }, /* R1513 - SLIMbus Rates 5 */
923 { 0x000005EA, 0x0000 }, /* R1514 - SLIMbus Rates 6 */
924 { 0x000005EB, 0x0000 }, /* R1515 - SLIMbus Rates 7 */
925 { 0x000005EC, 0x0000 }, /* R1516 - SLIMbus Rates 8 */
926 { 0x000005F5, 0x0000 }, /* R1525 - SLIMbus RX Channel Enable */
927 { 0x000005F6, 0x0000 }, /* R1526 - SLIMbus TX Channel Enable */
928 { 0x00000640, 0x0000 }, /* R1600 - PWM1MIX Input 1 Source */
929 { 0x00000641, 0x0080 }, /* R1601 - PWM1MIX Input 1 Volume */
930 { 0x00000642, 0x0000 }, /* R1602 - PWM1MIX Input 2 Source */
931 { 0x00000643, 0x0080 }, /* R1603 - PWM1MIX Input 2 Volume */
932 { 0x00000644, 0x0000 }, /* R1604 - PWM1MIX Input 3 Source */
933 { 0x00000645, 0x0080 }, /* R1605 - PWM1MIX Input 3 Volume */
934 { 0x00000646, 0x0000 }, /* R1606 - PWM1MIX Input 4 Source */
935 { 0x00000647, 0x0080 }, /* R1607 - PWM1MIX Input 4 Volume */
936 { 0x00000648, 0x0000 }, /* R1608 - PWM2MIX Input 1 Source */
937 { 0x00000649, 0x0080 }, /* R1609 - PWM2MIX Input 1 Volume */
938 { 0x0000064A, 0x0000 }, /* R1610 - PWM2MIX Input 2 Source */
939 { 0x0000064B, 0x0080 }, /* R1611 - PWM2MIX Input 2 Volume */
940 { 0x0000064C, 0x0000 }, /* R1612 - PWM2MIX Input 3 Source */
941 { 0x0000064D, 0x0080 }, /* R1613 - PWM2MIX Input 3 Volume */
942 { 0x0000064E, 0x0000 }, /* R1614 - PWM2MIX Input 4 Source */
943 { 0x0000064F, 0x0080 }, /* R1615 - PWM2MIX Input 4 Volume */
944 { 0x00000660, 0x0000 }, /* R1632 - MICMIX Input 1 Source */
945 { 0x00000661, 0x0080 }, /* R1633 - MICMIX Input 1 Volume */
946 { 0x00000662, 0x0000 }, /* R1634 - MICMIX Input 2 Source */
947 { 0x00000663, 0x0080 }, /* R1635 - MICMIX Input 2 Volume */
948 { 0x00000664, 0x0000 }, /* R1636 - MICMIX Input 3 Source */
949 { 0x00000665, 0x0080 }, /* R1637 - MICMIX Input 3 Volume */
950 { 0x00000666, 0x0000 }, /* R1638 - MICMIX Input 4 Source */
951 { 0x00000667, 0x0080 }, /* R1639 - MICMIX Input 4 Volume */
952 { 0x00000668, 0x0000 }, /* R1640 - NOISEMIX Input 1 Source */
953 { 0x00000669, 0x0080 }, /* R1641 - NOISEMIX Input 1 Volume */
954 { 0x0000066A, 0x0000 }, /* R1642 - NOISEMIX Input 2 Source */
955 { 0x0000066B, 0x0080 }, /* R1643 - NOISEMIX Input 2 Volume */
956 { 0x0000066C, 0x0000 }, /* R1644 - NOISEMIX Input 3 Source */
957 { 0x0000066D, 0x0080 }, /* R1645 - NOISEMIX Input 3 Volume */
958 { 0x0000066E, 0x0000 }, /* R1646 - NOISEMIX Input 4 Source */
959 { 0x0000066F, 0x0080 }, /* R1647 - NOISEMIX Input 4 Volume */
960 { 0x00000680, 0x0000 }, /* R1664 - OUT1LMIX Input 1 Source */
961 { 0x00000681, 0x0080 }, /* R1665 - OUT1LMIX Input 1 Volume */
962 { 0x00000682, 0x0000 }, /* R1666 - OUT1LMIX Input 2 Source */
963 { 0x00000683, 0x0080 }, /* R1667 - OUT1LMIX Input 2 Volume */
964 { 0x00000684, 0x0000 }, /* R1668 - OUT1LMIX Input 3 Source */
965 { 0x00000685, 0x0080 }, /* R1669 - OUT1LMIX Input 3 Volume */
966 { 0x00000686, 0x0000 }, /* R1670 - OUT1LMIX Input 4 Source */
967 { 0x00000687, 0x0080 }, /* R1671 - OUT1LMIX Input 4 Volume */
968 { 0x00000688, 0x0000 }, /* R1672 - OUT1RMIX Input 1 Source */
969 { 0x00000689, 0x0080 }, /* R1673 - OUT1RMIX Input 1 Volume */
970 { 0x0000068A, 0x0000 }, /* R1674 - OUT1RMIX Input 2 Source */
971 { 0x0000068B, 0x0080 }, /* R1675 - OUT1RMIX Input 2 Volume */
972 { 0x0000068C, 0x0000 }, /* R1676 - OUT1RMIX Input 3 Source */
973 { 0x0000068D, 0x0080 }, /* R1677 - OUT1RMIX Input 3 Volume */
974 { 0x0000068E, 0x0000 }, /* R1678 - OUT1RMIX Input 4 Source */
975 { 0x0000068F, 0x0080 }, /* R1679 - OUT1RMIX Input 4 Volume */
976 { 0x00000690, 0x0000 }, /* R1680 - OUT2LMIX Input 1 Source */
977 { 0x00000691, 0x0080 }, /* R1681 - OUT2LMIX Input 1 Volume */
978 { 0x00000692, 0x0000 }, /* R1682 - OUT2LMIX Input 2 Source */
979 { 0x00000693, 0x0080 }, /* R1683 - OUT2LMIX Input 2 Volume */
980 { 0x00000694, 0x0000 }, /* R1684 - OUT2LMIX Input 3 Source */
981 { 0x00000695, 0x0080 }, /* R1685 - OUT2LMIX Input 3 Volume */
982 { 0x00000696, 0x0000 }, /* R1686 - OUT2LMIX Input 4 Source */
983 { 0x00000697, 0x0080 }, /* R1687 - OUT2LMIX Input 4 Volume */
984 { 0x00000698, 0x0000 }, /* R1688 - OUT2RMIX Input 1 Source */
985 { 0x00000699, 0x0080 }, /* R1689 - OUT2RMIX Input 1 Volume */
986 { 0x0000069A, 0x0000 }, /* R1690 - OUT2RMIX Input 2 Source */
987 { 0x0000069B, 0x0080 }, /* R1691 - OUT2RMIX Input 2 Volume */
988 { 0x0000069C, 0x0000 }, /* R1692 - OUT2RMIX Input 3 Source */
989 { 0x0000069D, 0x0080 }, /* R1693 - OUT2RMIX Input 3 Volume */
990 { 0x0000069E, 0x0000 }, /* R1694 - OUT2RMIX Input 4 Source */
991 { 0x0000069F, 0x0080 }, /* R1695 - OUT2RMIX Input 4 Volume */
992 { 0x000006A0, 0x0000 }, /* R1696 - OUT3LMIX Input 1 Source */
993 { 0x000006A1, 0x0080 }, /* R1697 - OUT3LMIX Input 1 Volume */
994 { 0x000006A2, 0x0000 }, /* R1698 - OUT3LMIX Input 2 Source */
995 { 0x000006A3, 0x0080 }, /* R1699 - OUT3LMIX Input 2 Volume */
996 { 0x000006A4, 0x0000 }, /* R1700 - OUT3LMIX Input 3 Source */
997 { 0x000006A5, 0x0080 }, /* R1701 - OUT3LMIX Input 3 Volume */
998 { 0x000006A6, 0x0000 }, /* R1702 - OUT3LMIX Input 4 Source */
999 { 0x000006A7, 0x0080 }, /* R1703 - OUT3LMIX Input 4 Volume */
1000 { 0x000006A8, 0x0000 }, /* R1704 - OUT3RMIX Input 1 Source */
1001 { 0x000006A9, 0x0080 }, /* R1705 - OUT3RMIX Input 1 Volume */
1002 { 0x000006AA, 0x0000 }, /* R1706 - OUT3RMIX Input 2 Source */
1003 { 0x000006AB, 0x0080 }, /* R1707 - OUT3RMIX Input 2 Volume */
1004 { 0x000006AC, 0x0000 }, /* R1708 - OUT3RMIX Input 3 Source */
1005 { 0x000006AD, 0x0080 }, /* R1709 - OUT3RMIX Input 3 Volume */
1006 { 0x000006AE, 0x0000 }, /* R1710 - OUT3RMIX Input 4 Source */
1007 { 0x000006AF, 0x0080 }, /* R1711 - OUT3RMIX Input 4 Volume */
1008 { 0x000006B0, 0x0000 }, /* R1712 - OUT4LMIX Input 1 Source */
1009 { 0x000006B1, 0x0080 }, /* R1713 - OUT4LMIX Input 1 Volume */
1010 { 0x000006B2, 0x0000 }, /* R1714 - OUT4LMIX Input 2 Source */
1011 { 0x000006B3, 0x0080 }, /* R1715 - OUT4LMIX Input 2 Volume */
1012 { 0x000006B4, 0x0000 }, /* R1716 - OUT4LMIX Input 3 Source */
1013 { 0x000006B5, 0x0080 }, /* R1717 - OUT4LMIX Input 3 Volume */
1014 { 0x000006B6, 0x0000 }, /* R1718 - OUT4LMIX Input 4 Source */
1015 { 0x000006B7, 0x0080 }, /* R1719 - OUT4LMIX Input 4 Volume */
1016 { 0x000006B8, 0x0000 }, /* R1720 - OUT4RMIX Input 1 Source */
1017 { 0x000006B9, 0x0080 }, /* R1721 - OUT4RMIX Input 1 Volume */
1018 { 0x000006BA, 0x0000 }, /* R1722 - OUT4RMIX Input 2 Source */
1019 { 0x000006BB, 0x0080 }, /* R1723 - OUT4RMIX Input 2 Volume */
1020 { 0x000006BC, 0x0000 }, /* R1724 - OUT4RMIX Input 3 Source */
1021 { 0x000006BD, 0x0080 }, /* R1725 - OUT4RMIX Input 3 Volume */
1022 { 0x000006BE, 0x0000 }, /* R1726 - OUT4RMIX Input 4 Source */
1023 { 0x000006BF, 0x0080 }, /* R1727 - OUT4RMIX Input 4 Volume */
1024 { 0x000006C0, 0x0000 }, /* R1728 - OUT5LMIX Input 1 Source */
1025 { 0x000006C1, 0x0080 }, /* R1729 - OUT5LMIX Input 1 Volume */
1026 { 0x000006C2, 0x0000 }, /* R1730 - OUT5LMIX Input 2 Source */
1027 { 0x000006C3, 0x0080 }, /* R1731 - OUT5LMIX Input 2 Volume */
1028 { 0x000006C4, 0x0000 }, /* R1732 - OUT5LMIX Input 3 Source */
1029 { 0x000006C5, 0x0080 }, /* R1733 - OUT5LMIX Input 3 Volume */
1030 { 0x000006C6, 0x0000 }, /* R1734 - OUT5LMIX Input 4 Source */
1031 { 0x000006C7, 0x0080 }, /* R1735 - OUT5LMIX Input 4 Volume */
1032 { 0x000006C8, 0x0000 }, /* R1736 - OUT5RMIX Input 1 Source */
1033 { 0x000006C9, 0x0080 }, /* R1737 - OUT5RMIX Input 1 Volume */
1034 { 0x000006CA, 0x0000 }, /* R1738 - OUT5RMIX Input 2 Source */
1035 { 0x000006CB, 0x0080 }, /* R1739 - OUT5RMIX Input 2 Volume */
1036 { 0x000006CC, 0x0000 }, /* R1740 - OUT5RMIX Input 3 Source */
1037 { 0x000006CD, 0x0080 }, /* R1741 - OUT5RMIX Input 3 Volume */
1038 { 0x000006CE, 0x0000 }, /* R1742 - OUT5RMIX Input 4 Source */
1039 { 0x000006CF, 0x0080 }, /* R1743 - OUT5RMIX Input 4 Volume */
1040 { 0x000006D0, 0x0000 }, /* R1744 - OUT6LMIX Input 1 Source */
1041 { 0x000006D1, 0x0080 }, /* R1745 - OUT6LMIX Input 1 Volume */
1042 { 0x000006D2, 0x0000 }, /* R1746 - OUT6LMIX Input 2 Source */
1043 { 0x000006D3, 0x0080 }, /* R1747 - OUT6LMIX Input 2 Volume */
1044 { 0x000006D4, 0x0000 }, /* R1748 - OUT6LMIX Input 3 Source */
1045 { 0x000006D5, 0x0080 }, /* R1749 - OUT6LMIX Input 3 Volume */
1046 { 0x000006D6, 0x0000 }, /* R1750 - OUT6LMIX Input 4 Source */
1047 { 0x000006D7, 0x0080 }, /* R1751 - OUT6LMIX Input 4 Volume */
1048 { 0x000006D8, 0x0000 }, /* R1752 - OUT6RMIX Input 1 Source */
1049 { 0x000006D9, 0x0080 }, /* R1753 - OUT6RMIX Input 1 Volume */
1050 { 0x000006DA, 0x0000 }, /* R1754 - OUT6RMIX Input 2 Source */
1051 { 0x000006DB, 0x0080 }, /* R1755 - OUT6RMIX Input 2 Volume */
1052 { 0x000006DC, 0x0000 }, /* R1756 - OUT6RMIX Input 3 Source */
1053 { 0x000006DD, 0x0080 }, /* R1757 - OUT6RMIX Input 3 Volume */
1054 { 0x000006DE, 0x0000 }, /* R1758 - OUT6RMIX Input 4 Source */
1055 { 0x000006DF, 0x0080 }, /* R1759 - OUT6RMIX Input 4 Volume */
1056 { 0x00000700, 0x0000 }, /* R1792 - AIF1TX1MIX Input 1 Source */
1057 { 0x00000701, 0x0080 }, /* R1793 - AIF1TX1MIX Input 1 Volume */
1058 { 0x00000702, 0x0000 }, /* R1794 - AIF1TX1MIX Input 2 Source */
1059 { 0x00000703, 0x0080 }, /* R1795 - AIF1TX1MIX Input 2 Volume */
1060 { 0x00000704, 0x0000 }, /* R1796 - AIF1TX1MIX Input 3 Source */
1061 { 0x00000705, 0x0080 }, /* R1797 - AIF1TX1MIX Input 3 Volume */
1062 { 0x00000706, 0x0000 }, /* R1798 - AIF1TX1MIX Input 4 Source */
1063 { 0x00000707, 0x0080 }, /* R1799 - AIF1TX1MIX Input 4 Volume */
1064 { 0x00000708, 0x0000 }, /* R1800 - AIF1TX2MIX Input 1 Source */
1065 { 0x00000709, 0x0080 }, /* R1801 - AIF1TX2MIX Input 1 Volume */
1066 { 0x0000070A, 0x0000 }, /* R1802 - AIF1TX2MIX Input 2 Source */
1067 { 0x0000070B, 0x0080 }, /* R1803 - AIF1TX2MIX Input 2 Volume */
1068 { 0x0000070C, 0x0000 }, /* R1804 - AIF1TX2MIX Input 3 Source */
1069 { 0x0000070D, 0x0080 }, /* R1805 - AIF1TX2MIX Input 3 Volume */
1070 { 0x0000070E, 0x0000 }, /* R1806 - AIF1TX2MIX Input 4 Source */
1071 { 0x0000070F, 0x0080 }, /* R1807 - AIF1TX2MIX Input 4 Volume */
1072 { 0x00000710, 0x0000 }, /* R1808 - AIF1TX3MIX Input 1 Source */
1073 { 0x00000711, 0x0080 }, /* R1809 - AIF1TX3MIX Input 1 Volume */
1074 { 0x00000712, 0x0000 }, /* R1810 - AIF1TX3MIX Input 2 Source */
1075 { 0x00000713, 0x0080 }, /* R1811 - AIF1TX3MIX Input 2 Volume */
1076 { 0x00000714, 0x0000 }, /* R1812 - AIF1TX3MIX Input 3 Source */
1077 { 0x00000715, 0x0080 }, /* R1813 - AIF1TX3MIX Input 3 Volume */
1078 { 0x00000716, 0x0000 }, /* R1814 - AIF1TX3MIX Input 4 Source */
1079 { 0x00000717, 0x0080 }, /* R1815 - AIF1TX3MIX Input 4 Volume */
1080 { 0x00000718, 0x0000 }, /* R1816 - AIF1TX4MIX Input 1 Source */
1081 { 0x00000719, 0x0080 }, /* R1817 - AIF1TX4MIX Input 1 Volume */
1082 { 0x0000071A, 0x0000 }, /* R1818 - AIF1TX4MIX Input 2 Source */
1083 { 0x0000071B, 0x0080 }, /* R1819 - AIF1TX4MIX Input 2 Volume */
1084 { 0x0000071C, 0x0000 }, /* R1820 - AIF1TX4MIX Input 3 Source */
1085 { 0x0000071D, 0x0080 }, /* R1821 - AIF1TX4MIX Input 3 Volume */
1086 { 0x0000071E, 0x0000 }, /* R1822 - AIF1TX4MIX Input 4 Source */
1087 { 0x0000071F, 0x0080 }, /* R1823 - AIF1TX4MIX Input 4 Volume */
1088 { 0x00000720, 0x0000 }, /* R1824 - AIF1TX5MIX Input 1 Source */
1089 { 0x00000721, 0x0080 }, /* R1825 - AIF1TX5MIX Input 1 Volume */
1090 { 0x00000722, 0x0000 }, /* R1826 - AIF1TX5MIX Input 2 Source */
1091 { 0x00000723, 0x0080 }, /* R1827 - AIF1TX5MIX Input 2 Volume */
1092 { 0x00000724, 0x0000 }, /* R1828 - AIF1TX5MIX Input 3 Source */
1093 { 0x00000725, 0x0080 }, /* R1829 - AIF1TX5MIX Input 3 Volume */
1094 { 0x00000726, 0x0000 }, /* R1830 - AIF1TX5MIX Input 4 Source */
1095 { 0x00000727, 0x0080 }, /* R1831 - AIF1TX5MIX Input 4 Volume */
1096 { 0x00000728, 0x0000 }, /* R1832 - AIF1TX6MIX Input 1 Source */
1097 { 0x00000729, 0x0080 }, /* R1833 - AIF1TX6MIX Input 1 Volume */
1098 { 0x0000072A, 0x0000 }, /* R1834 - AIF1TX6MIX Input 2 Source */
1099 { 0x0000072B, 0x0080 }, /* R1835 - AIF1TX6MIX Input 2 Volume */
1100 { 0x0000072C, 0x0000 }, /* R1836 - AIF1TX6MIX Input 3 Source */
1101 { 0x0000072D, 0x0080 }, /* R1837 - AIF1TX6MIX Input 3 Volume */
1102 { 0x0000072E, 0x0000 }, /* R1838 - AIF1TX6MIX Input 4 Source */
1103 { 0x0000072F, 0x0080 }, /* R1839 - AIF1TX6MIX Input 4 Volume */
1104 { 0x00000730, 0x0000 }, /* R1840 - AIF1TX7MIX Input 1 Source */
1105 { 0x00000731, 0x0080 }, /* R1841 - AIF1TX7MIX Input 1 Volume */
1106 { 0x00000732, 0x0000 }, /* R1842 - AIF1TX7MIX Input 2 Source */
1107 { 0x00000733, 0x0080 }, /* R1843 - AIF1TX7MIX Input 2 Volume */
1108 { 0x00000734, 0x0000 }, /* R1844 - AIF1TX7MIX Input 3 Source */
1109 { 0x00000735, 0x0080 }, /* R1845 - AIF1TX7MIX Input 3 Volume */
1110 { 0x00000736, 0x0000 }, /* R1846 - AIF1TX7MIX Input 4 Source */
1111 { 0x00000737, 0x0080 }, /* R1847 - AIF1TX7MIX Input 4 Volume */
1112 { 0x00000738, 0x0000 }, /* R1848 - AIF1TX8MIX Input 1 Source */
1113 { 0x00000739, 0x0080 }, /* R1849 - AIF1TX8MIX Input 1 Volume */
1114 { 0x0000073A, 0x0000 }, /* R1850 - AIF1TX8MIX Input 2 Source */
1115 { 0x0000073B, 0x0080 }, /* R1851 - AIF1TX8MIX Input 2 Volume */
1116 { 0x0000073C, 0x0000 }, /* R1852 - AIF1TX8MIX Input 3 Source */
1117 { 0x0000073D, 0x0080 }, /* R1853 - AIF1TX8MIX Input 3 Volume */
1118 { 0x0000073E, 0x0000 }, /* R1854 - AIF1TX8MIX Input 4 Source */
1119 { 0x0000073F, 0x0080 }, /* R1855 - AIF1TX8MIX Input 4 Volume */
1120 { 0x00000740, 0x0000 }, /* R1856 - AIF2TX1MIX Input 1 Source */
1121 { 0x00000741, 0x0080 }, /* R1857 - AIF2TX1MIX Input 1 Volume */
1122 { 0x00000742, 0x0000 }, /* R1858 - AIF2TX1MIX Input 2 Source */
1123 { 0x00000743, 0x0080 }, /* R1859 - AIF2TX1MIX Input 2 Volume */
1124 { 0x00000744, 0x0000 }, /* R1860 - AIF2TX1MIX Input 3 Source */
1125 { 0x00000745, 0x0080 }, /* R1861 - AIF2TX1MIX Input 3 Volume */
1126 { 0x00000746, 0x0000 }, /* R1862 - AIF2TX1MIX Input 4 Source */
1127 { 0x00000747, 0x0080 }, /* R1863 - AIF2TX1MIX Input 4 Volume */
1128 { 0x00000748, 0x0000 }, /* R1864 - AIF2TX2MIX Input 1 Source */
1129 { 0x00000749, 0x0080 }, /* R1865 - AIF2TX2MIX Input 1 Volume */
1130 { 0x0000074A, 0x0000 }, /* R1866 - AIF2TX2MIX Input 2 Source */
1131 { 0x0000074B, 0x0080 }, /* R1867 - AIF2TX2MIX Input 2 Volume */
1132 { 0x0000074C, 0x0000 }, /* R1868 - AIF2TX2MIX Input 3 Source */
1133 { 0x0000074D, 0x0080 }, /* R1869 - AIF2TX2MIX Input 3 Volume */
1134 { 0x0000074E, 0x0000 }, /* R1870 - AIF2TX2MIX Input 4 Source */
1135 { 0x0000074F, 0x0080 }, /* R1871 - AIF2TX2MIX Input 4 Volume */
Charles Keepax32a8fda2013-11-27 12:51:17 +00001136 { 0x00000750, 0x0000 }, /* R1872 - AIF2TX3MIX Input 1 Source */
1137 { 0x00000751, 0x0080 }, /* R1873 - AIF2TX3MIX Input 1 Volume */
1138 { 0x00000752, 0x0000 }, /* R1874 - AIF2TX3MIX Input 2 Source */
1139 { 0x00000753, 0x0080 }, /* R1875 - AIF2TX3MIX Input 2 Volume */
1140 { 0x00000754, 0x0000 }, /* R1876 - AIF2TX3MIX Input 3 Source */
1141 { 0x00000755, 0x0080 }, /* R1877 - AIF2TX3MIX Input 3 Volume */
1142 { 0x00000756, 0x0000 }, /* R1878 - AIF2TX3MIX Input 4 Source */
1143 { 0x00000757, 0x0080 }, /* R1879 - AIF2TX3MIX Input 4 Volume */
1144 { 0x00000758, 0x0000 }, /* R1880 - AIF2TX4MIX Input 1 Source */
1145 { 0x00000759, 0x0080 }, /* R1881 - AIF2TX4MIX Input 1 Volume */
1146 { 0x0000075A, 0x0000 }, /* R1882 - AIF2TX4MIX Input 2 Source */
1147 { 0x0000075B, 0x0080 }, /* R1883 - AIF2TX4MIX Input 2 Volume */
1148 { 0x0000075C, 0x0000 }, /* R1884 - AIF2TX4MIX Input 3 Source */
1149 { 0x0000075D, 0x0080 }, /* R1885 - AIF2TX4MIX Input 3 Volume */
1150 { 0x0000075E, 0x0000 }, /* R1886 - AIF2TX4MIX Input 4 Source */
1151 { 0x0000075F, 0x0080 }, /* R1887 - AIF2TX4MIX Input 4 Volume */
1152 { 0x00000760, 0x0000 }, /* R1888 - AIF2TX5MIX Input 1 Source */
1153 { 0x00000761, 0x0080 }, /* R1889 - AIF2TX5MIX Input 1 Volume */
1154 { 0x00000762, 0x0000 }, /* R1890 - AIF2TX5MIX Input 2 Source */
1155 { 0x00000763, 0x0080 }, /* R1891 - AIF2TX5MIX Input 2 Volume */
1156 { 0x00000764, 0x0000 }, /* R1892 - AIF2TX5MIX Input 3 Source */
1157 { 0x00000765, 0x0080 }, /* R1893 - AIF2TX5MIX Input 3 Volume */
1158 { 0x00000766, 0x0000 }, /* R1894 - AIF2TX5MIX Input 4 Source */
1159 { 0x00000767, 0x0080 }, /* R1895 - AIF2TX5MIX Input 4 Volume */
1160 { 0x00000768, 0x0000 }, /* R1896 - AIF2TX6MIX Input 1 Source */
1161 { 0x00000769, 0x0080 }, /* R1897 - AIF2TX6MIX Input 1 Volume */
1162 { 0x0000076A, 0x0000 }, /* R1898 - AIF2TX6MIX Input 2 Source */
1163 { 0x0000076B, 0x0080 }, /* R1899 - AIF2TX6MIX Input 2 Volume */
1164 { 0x0000076C, 0x0000 }, /* R1900 - AIF2TX6MIX Input 3 Source */
1165 { 0x0000076D, 0x0080 }, /* R1901 - AIF2TX6MIX Input 3 Volume */
1166 { 0x0000076E, 0x0000 }, /* R1902 - AIF2TX6MIX Input 4 Source */
1167 { 0x0000076F, 0x0080 }, /* R1903 - AIF2TX6MIX Input 4 Volume */
Mark Brown9cd9e282012-07-10 12:37:57 +01001168 { 0x00000780, 0x0000 }, /* R1920 - AIF3TX1MIX Input 1 Source */
1169 { 0x00000781, 0x0080 }, /* R1921 - AIF3TX1MIX Input 1 Volume */
1170 { 0x00000782, 0x0000 }, /* R1922 - AIF3TX1MIX Input 2 Source */
1171 { 0x00000783, 0x0080 }, /* R1923 - AIF3TX1MIX Input 2 Volume */
1172 { 0x00000784, 0x0000 }, /* R1924 - AIF3TX1MIX Input 3 Source */
1173 { 0x00000785, 0x0080 }, /* R1925 - AIF3TX1MIX Input 3 Volume */
1174 { 0x00000786, 0x0000 }, /* R1926 - AIF3TX1MIX Input 4 Source */
1175 { 0x00000787, 0x0080 }, /* R1927 - AIF3TX1MIX Input 4 Volume */
1176 { 0x00000788, 0x0000 }, /* R1928 - AIF3TX2MIX Input 1 Source */
1177 { 0x00000789, 0x0080 }, /* R1929 - AIF3TX2MIX Input 1 Volume */
1178 { 0x0000078A, 0x0000 }, /* R1930 - AIF3TX2MIX Input 2 Source */
1179 { 0x0000078B, 0x0080 }, /* R1931 - AIF3TX2MIX Input 2 Volume */
1180 { 0x0000078C, 0x0000 }, /* R1932 - AIF3TX2MIX Input 3 Source */
1181 { 0x0000078D, 0x0080 }, /* R1933 - AIF3TX2MIX Input 3 Volume */
1182 { 0x0000078E, 0x0000 }, /* R1934 - AIF3TX2MIX Input 4 Source */
1183 { 0x0000078F, 0x0080 }, /* R1935 - AIF3TX2MIX Input 4 Volume */
1184 { 0x000007C0, 0x0000 }, /* R1984 - SLIMTX1MIX Input 1 Source */
1185 { 0x000007C1, 0x0080 }, /* R1985 - SLIMTX1MIX Input 1 Volume */
1186 { 0x000007C2, 0x0000 }, /* R1986 - SLIMTX1MIX Input 2 Source */
1187 { 0x000007C3, 0x0080 }, /* R1987 - SLIMTX1MIX Input 2 Volume */
1188 { 0x000007C4, 0x0000 }, /* R1988 - SLIMTX1MIX Input 3 Source */
1189 { 0x000007C5, 0x0080 }, /* R1989 - SLIMTX1MIX Input 3 Volume */
1190 { 0x000007C6, 0x0000 }, /* R1990 - SLIMTX1MIX Input 4 Source */
1191 { 0x000007C7, 0x0080 }, /* R1991 - SLIMTX1MIX Input 4 Volume */
1192 { 0x000007C8, 0x0000 }, /* R1992 - SLIMTX2MIX Input 1 Source */
1193 { 0x000007C9, 0x0080 }, /* R1993 - SLIMTX2MIX Input 1 Volume */
1194 { 0x000007CA, 0x0000 }, /* R1994 - SLIMTX2MIX Input 2 Source */
1195 { 0x000007CB, 0x0080 }, /* R1995 - SLIMTX2MIX Input 2 Volume */
1196 { 0x000007CC, 0x0000 }, /* R1996 - SLIMTX2MIX Input 3 Source */
1197 { 0x000007CD, 0x0080 }, /* R1997 - SLIMTX2MIX Input 3 Volume */
1198 { 0x000007CE, 0x0000 }, /* R1998 - SLIMTX2MIX Input 4 Source */
1199 { 0x000007CF, 0x0080 }, /* R1999 - SLIMTX2MIX Input 4 Volume */
1200 { 0x000007D0, 0x0000 }, /* R2000 - SLIMTX3MIX Input 1 Source */
1201 { 0x000007D1, 0x0080 }, /* R2001 - SLIMTX3MIX Input 1 Volume */
1202 { 0x000007D2, 0x0000 }, /* R2002 - SLIMTX3MIX Input 2 Source */
1203 { 0x000007D3, 0x0080 }, /* R2003 - SLIMTX3MIX Input 2 Volume */
1204 { 0x000007D4, 0x0000 }, /* R2004 - SLIMTX3MIX Input 3 Source */
1205 { 0x000007D5, 0x0080 }, /* R2005 - SLIMTX3MIX Input 3 Volume */
1206 { 0x000007D6, 0x0000 }, /* R2006 - SLIMTX3MIX Input 4 Source */
1207 { 0x000007D7, 0x0080 }, /* R2007 - SLIMTX3MIX Input 4 Volume */
1208 { 0x000007D8, 0x0000 }, /* R2008 - SLIMTX4MIX Input 1 Source */
1209 { 0x000007D9, 0x0080 }, /* R2009 - SLIMTX4MIX Input 1 Volume */
1210 { 0x000007DA, 0x0000 }, /* R2010 - SLIMTX4MIX Input 2 Source */
1211 { 0x000007DB, 0x0080 }, /* R2011 - SLIMTX4MIX Input 2 Volume */
1212 { 0x000007DC, 0x0000 }, /* R2012 - SLIMTX4MIX Input 3 Source */
1213 { 0x000007DD, 0x0080 }, /* R2013 - SLIMTX4MIX Input 3 Volume */
1214 { 0x000007DE, 0x0000 }, /* R2014 - SLIMTX4MIX Input 4 Source */
1215 { 0x000007DF, 0x0080 }, /* R2015 - SLIMTX4MIX Input 4 Volume */
1216 { 0x000007E0, 0x0000 }, /* R2016 - SLIMTX5MIX Input 1 Source */
1217 { 0x000007E1, 0x0080 }, /* R2017 - SLIMTX5MIX Input 1 Volume */
1218 { 0x000007E2, 0x0000 }, /* R2018 - SLIMTX5MIX Input 2 Source */
1219 { 0x000007E3, 0x0080 }, /* R2019 - SLIMTX5MIX Input 2 Volume */
1220 { 0x000007E4, 0x0000 }, /* R2020 - SLIMTX5MIX Input 3 Source */
1221 { 0x000007E5, 0x0080 }, /* R2021 - SLIMTX5MIX Input 3 Volume */
1222 { 0x000007E6, 0x0000 }, /* R2022 - SLIMTX5MIX Input 4 Source */
1223 { 0x000007E7, 0x0080 }, /* R2023 - SLIMTX5MIX Input 4 Volume */
1224 { 0x000007E8, 0x0000 }, /* R2024 - SLIMTX6MIX Input 1 Source */
1225 { 0x000007E9, 0x0080 }, /* R2025 - SLIMTX6MIX Input 1 Volume */
1226 { 0x000007EA, 0x0000 }, /* R2026 - SLIMTX6MIX Input 2 Source */
1227 { 0x000007EB, 0x0080 }, /* R2027 - SLIMTX6MIX Input 2 Volume */
1228 { 0x000007EC, 0x0000 }, /* R2028 - SLIMTX6MIX Input 3 Source */
1229 { 0x000007ED, 0x0080 }, /* R2029 - SLIMTX6MIX Input 3 Volume */
1230 { 0x000007EE, 0x0000 }, /* R2030 - SLIMTX6MIX Input 4 Source */
1231 { 0x000007EF, 0x0080 }, /* R2031 - SLIMTX6MIX Input 4 Volume */
1232 { 0x000007F0, 0x0000 }, /* R2032 - SLIMTX7MIX Input 1 Source */
1233 { 0x000007F1, 0x0080 }, /* R2033 - SLIMTX7MIX Input 1 Volume */
1234 { 0x000007F2, 0x0000 }, /* R2034 - SLIMTX7MIX Input 2 Source */
1235 { 0x000007F3, 0x0080 }, /* R2035 - SLIMTX7MIX Input 2 Volume */
1236 { 0x000007F4, 0x0000 }, /* R2036 - SLIMTX7MIX Input 3 Source */
1237 { 0x000007F5, 0x0080 }, /* R2037 - SLIMTX7MIX Input 3 Volume */
1238 { 0x000007F6, 0x0000 }, /* R2038 - SLIMTX7MIX Input 4 Source */
1239 { 0x000007F7, 0x0080 }, /* R2039 - SLIMTX7MIX Input 4 Volume */
1240 { 0x000007F8, 0x0000 }, /* R2040 - SLIMTX8MIX Input 1 Source */
1241 { 0x000007F9, 0x0080 }, /* R2041 - SLIMTX8MIX Input 1 Volume */
1242 { 0x000007FA, 0x0000 }, /* R2042 - SLIMTX8MIX Input 2 Source */
1243 { 0x000007FB, 0x0080 }, /* R2043 - SLIMTX8MIX Input 2 Volume */
1244 { 0x000007FC, 0x0000 }, /* R2044 - SLIMTX8MIX Input 3 Source */
1245 { 0x000007FD, 0x0080 }, /* R2045 - SLIMTX8MIX Input 3 Volume */
1246 { 0x000007FE, 0x0000 }, /* R2046 - SLIMTX8MIX Input 4 Source */
1247 { 0x000007FF, 0x0080 }, /* R2047 - SLIMTX8MIX Input 4 Volume */
1248 { 0x00000880, 0x0000 }, /* R2176 - EQ1MIX Input 1 Source */
1249 { 0x00000881, 0x0080 }, /* R2177 - EQ1MIX Input 1 Volume */
1250 { 0x00000882, 0x0000 }, /* R2178 - EQ1MIX Input 2 Source */
1251 { 0x00000883, 0x0080 }, /* R2179 - EQ1MIX Input 2 Volume */
1252 { 0x00000884, 0x0000 }, /* R2180 - EQ1MIX Input 3 Source */
1253 { 0x00000885, 0x0080 }, /* R2181 - EQ1MIX Input 3 Volume */
1254 { 0x00000886, 0x0000 }, /* R2182 - EQ1MIX Input 4 Source */
1255 { 0x00000887, 0x0080 }, /* R2183 - EQ1MIX Input 4 Volume */
1256 { 0x00000888, 0x0000 }, /* R2184 - EQ2MIX Input 1 Source */
1257 { 0x00000889, 0x0080 }, /* R2185 - EQ2MIX Input 1 Volume */
1258 { 0x0000088A, 0x0000 }, /* R2186 - EQ2MIX Input 2 Source */
1259 { 0x0000088B, 0x0080 }, /* R2187 - EQ2MIX Input 2 Volume */
1260 { 0x0000088C, 0x0000 }, /* R2188 - EQ2MIX Input 3 Source */
1261 { 0x0000088D, 0x0080 }, /* R2189 - EQ2MIX Input 3 Volume */
1262 { 0x0000088E, 0x0000 }, /* R2190 - EQ2MIX Input 4 Source */
1263 { 0x0000088F, 0x0080 }, /* R2191 - EQ2MIX Input 4 Volume */
1264 { 0x00000890, 0x0000 }, /* R2192 - EQ3MIX Input 1 Source */
1265 { 0x00000891, 0x0080 }, /* R2193 - EQ3MIX Input 1 Volume */
1266 { 0x00000892, 0x0000 }, /* R2194 - EQ3MIX Input 2 Source */
1267 { 0x00000893, 0x0080 }, /* R2195 - EQ3MIX Input 2 Volume */
1268 { 0x00000894, 0x0000 }, /* R2196 - EQ3MIX Input 3 Source */
1269 { 0x00000895, 0x0080 }, /* R2197 - EQ3MIX Input 3 Volume */
1270 { 0x00000896, 0x0000 }, /* R2198 - EQ3MIX Input 4 Source */
1271 { 0x00000897, 0x0080 }, /* R2199 - EQ3MIX Input 4 Volume */
1272 { 0x00000898, 0x0000 }, /* R2200 - EQ4MIX Input 1 Source */
1273 { 0x00000899, 0x0080 }, /* R2201 - EQ4MIX Input 1 Volume */
1274 { 0x0000089A, 0x0000 }, /* R2202 - EQ4MIX Input 2 Source */
1275 { 0x0000089B, 0x0080 }, /* R2203 - EQ4MIX Input 2 Volume */
1276 { 0x0000089C, 0x0000 }, /* R2204 - EQ4MIX Input 3 Source */
1277 { 0x0000089D, 0x0080 }, /* R2205 - EQ4MIX Input 3 Volume */
1278 { 0x0000089E, 0x0000 }, /* R2206 - EQ4MIX Input 4 Source */
1279 { 0x0000089F, 0x0080 }, /* R2207 - EQ4MIX Input 4 Volume */
1280 { 0x000008C0, 0x0000 }, /* R2240 - DRC1LMIX Input 1 Source */
1281 { 0x000008C1, 0x0080 }, /* R2241 - DRC1LMIX Input 1 Volume */
1282 { 0x000008C2, 0x0000 }, /* R2242 - DRC1LMIX Input 2 Source */
1283 { 0x000008C3, 0x0080 }, /* R2243 - DRC1LMIX Input 2 Volume */
1284 { 0x000008C4, 0x0000 }, /* R2244 - DRC1LMIX Input 3 Source */
1285 { 0x000008C5, 0x0080 }, /* R2245 - DRC1LMIX Input 3 Volume */
1286 { 0x000008C6, 0x0000 }, /* R2246 - DRC1LMIX Input 4 Source */
1287 { 0x000008C7, 0x0080 }, /* R2247 - DRC1LMIX Input 4 Volume */
1288 { 0x000008C8, 0x0000 }, /* R2248 - DRC1RMIX Input 1 Source */
1289 { 0x000008C9, 0x0080 }, /* R2249 - DRC1RMIX Input 1 Volume */
1290 { 0x000008CA, 0x0000 }, /* R2250 - DRC1RMIX Input 2 Source */
1291 { 0x000008CB, 0x0080 }, /* R2251 - DRC1RMIX Input 2 Volume */
1292 { 0x000008CC, 0x0000 }, /* R2252 - DRC1RMIX Input 3 Source */
1293 { 0x000008CD, 0x0080 }, /* R2253 - DRC1RMIX Input 3 Volume */
1294 { 0x000008CE, 0x0000 }, /* R2254 - DRC1RMIX Input 4 Source */
1295 { 0x000008CF, 0x0080 }, /* R2255 - DRC1RMIX Input 4 Volume */
1296 { 0x000008D0, 0x0000 }, /* R2256 - DRC2LMIX Input 1 Source */
1297 { 0x000008D1, 0x0080 }, /* R2257 - DRC2LMIX Input 1 Volume */
1298 { 0x000008D2, 0x0000 }, /* R2258 - DRC2LMIX Input 2 Source */
1299 { 0x000008D3, 0x0080 }, /* R2259 - DRC2LMIX Input 2 Volume */
1300 { 0x000008D4, 0x0000 }, /* R2260 - DRC2LMIX Input 3 Source */
1301 { 0x000008D5, 0x0080 }, /* R2261 - DRC2LMIX Input 3 Volume */
1302 { 0x000008D6, 0x0000 }, /* R2262 - DRC2LMIX Input 4 Source */
1303 { 0x000008D7, 0x0080 }, /* R2263 - DRC2LMIX Input 4 Volume */
1304 { 0x000008D8, 0x0000 }, /* R2264 - DRC2RMIX Input 1 Source */
1305 { 0x000008D9, 0x0080 }, /* R2265 - DRC2RMIX Input 1 Volume */
1306 { 0x000008DA, 0x0000 }, /* R2266 - DRC2RMIX Input 2 Source */
1307 { 0x000008DB, 0x0080 }, /* R2267 - DRC2RMIX Input 2 Volume */
1308 { 0x000008DC, 0x0000 }, /* R2268 - DRC2RMIX Input 3 Source */
1309 { 0x000008DD, 0x0080 }, /* R2269 - DRC2RMIX Input 3 Volume */
1310 { 0x000008DE, 0x0000 }, /* R2270 - DRC2RMIX Input 4 Source */
1311 { 0x000008DF, 0x0080 }, /* R2271 - DRC2RMIX Input 4 Volume */
1312 { 0x00000900, 0x0000 }, /* R2304 - HPLP1MIX Input 1 Source */
1313 { 0x00000901, 0x0080 }, /* R2305 - HPLP1MIX Input 1 Volume */
1314 { 0x00000902, 0x0000 }, /* R2306 - HPLP1MIX Input 2 Source */
1315 { 0x00000903, 0x0080 }, /* R2307 - HPLP1MIX Input 2 Volume */
1316 { 0x00000904, 0x0000 }, /* R2308 - HPLP1MIX Input 3 Source */
1317 { 0x00000905, 0x0080 }, /* R2309 - HPLP1MIX Input 3 Volume */
1318 { 0x00000906, 0x0000 }, /* R2310 - HPLP1MIX Input 4 Source */
1319 { 0x00000907, 0x0080 }, /* R2311 - HPLP1MIX Input 4 Volume */
1320 { 0x00000908, 0x0000 }, /* R2312 - HPLP2MIX Input 1 Source */
1321 { 0x00000909, 0x0080 }, /* R2313 - HPLP2MIX Input 1 Volume */
1322 { 0x0000090A, 0x0000 }, /* R2314 - HPLP2MIX Input 2 Source */
1323 { 0x0000090B, 0x0080 }, /* R2315 - HPLP2MIX Input 2 Volume */
1324 { 0x0000090C, 0x0000 }, /* R2316 - HPLP2MIX Input 3 Source */
1325 { 0x0000090D, 0x0080 }, /* R2317 - HPLP2MIX Input 3 Volume */
1326 { 0x0000090E, 0x0000 }, /* R2318 - HPLP2MIX Input 4 Source */
1327 { 0x0000090F, 0x0080 }, /* R2319 - HPLP2MIX Input 4 Volume */
1328 { 0x00000910, 0x0000 }, /* R2320 - HPLP3MIX Input 1 Source */
1329 { 0x00000911, 0x0080 }, /* R2321 - HPLP3MIX Input 1 Volume */
1330 { 0x00000912, 0x0000 }, /* R2322 - HPLP3MIX Input 2 Source */
1331 { 0x00000913, 0x0080 }, /* R2323 - HPLP3MIX Input 2 Volume */
1332 { 0x00000914, 0x0000 }, /* R2324 - HPLP3MIX Input 3 Source */
1333 { 0x00000915, 0x0080 }, /* R2325 - HPLP3MIX Input 3 Volume */
1334 { 0x00000916, 0x0000 }, /* R2326 - HPLP3MIX Input 4 Source */
1335 { 0x00000917, 0x0080 }, /* R2327 - HPLP3MIX Input 4 Volume */
1336 { 0x00000918, 0x0000 }, /* R2328 - HPLP4MIX Input 1 Source */
1337 { 0x00000919, 0x0080 }, /* R2329 - HPLP4MIX Input 1 Volume */
1338 { 0x0000091A, 0x0000 }, /* R2330 - HPLP4MIX Input 2 Source */
1339 { 0x0000091B, 0x0080 }, /* R2331 - HPLP4MIX Input 2 Volume */
1340 { 0x0000091C, 0x0000 }, /* R2332 - HPLP4MIX Input 3 Source */
1341 { 0x0000091D, 0x0080 }, /* R2333 - HPLP4MIX Input 3 Volume */
1342 { 0x0000091E, 0x0000 }, /* R2334 - HPLP4MIX Input 4 Source */
1343 { 0x0000091F, 0x0080 }, /* R2335 - HPLP4MIX Input 4 Volume */
1344 { 0x00000940, 0x0000 }, /* R2368 - DSP1LMIX Input 1 Source */
1345 { 0x00000941, 0x0080 }, /* R2369 - DSP1LMIX Input 1 Volume */
1346 { 0x00000942, 0x0000 }, /* R2370 - DSP1LMIX Input 2 Source */
1347 { 0x00000943, 0x0080 }, /* R2371 - DSP1LMIX Input 2 Volume */
1348 { 0x00000944, 0x0000 }, /* R2372 - DSP1LMIX Input 3 Source */
1349 { 0x00000945, 0x0080 }, /* R2373 - DSP1LMIX Input 3 Volume */
1350 { 0x00000946, 0x0000 }, /* R2374 - DSP1LMIX Input 4 Source */
1351 { 0x00000947, 0x0080 }, /* R2375 - DSP1LMIX Input 4 Volume */
1352 { 0x00000948, 0x0000 }, /* R2376 - DSP1RMIX Input 1 Source */
1353 { 0x00000949, 0x0080 }, /* R2377 - DSP1RMIX Input 1 Volume */
1354 { 0x0000094A, 0x0000 }, /* R2378 - DSP1RMIX Input 2 Source */
1355 { 0x0000094B, 0x0080 }, /* R2379 - DSP1RMIX Input 2 Volume */
1356 { 0x0000094C, 0x0000 }, /* R2380 - DSP1RMIX Input 3 Source */
1357 { 0x0000094D, 0x0080 }, /* R2381 - DSP1RMIX Input 3 Volume */
1358 { 0x0000094E, 0x0000 }, /* R2382 - DSP1RMIX Input 4 Source */
1359 { 0x0000094F, 0x0080 }, /* R2383 - DSP1RMIX Input 4 Volume */
1360 { 0x00000950, 0x0000 }, /* R2384 - DSP1AUX1MIX Input 1 Source */
1361 { 0x00000958, 0x0000 }, /* R2392 - DSP1AUX2MIX Input 1 Source */
1362 { 0x00000960, 0x0000 }, /* R2400 - DSP1AUX3MIX Input 1 Source */
1363 { 0x00000968, 0x0000 }, /* R2408 - DSP1AUX4MIX Input 1 Source */
1364 { 0x00000970, 0x0000 }, /* R2416 - DSP1AUX5MIX Input 1 Source */
1365 { 0x00000978, 0x0000 }, /* R2424 - DSP1AUX6MIX Input 1 Source */
1366 { 0x00000980, 0x0000 }, /* R2432 - DSP2LMIX Input 1 Source */
1367 { 0x00000981, 0x0080 }, /* R2433 - DSP2LMIX Input 1 Volume */
1368 { 0x00000982, 0x0000 }, /* R2434 - DSP2LMIX Input 2 Source */
1369 { 0x00000983, 0x0080 }, /* R2435 - DSP2LMIX Input 2 Volume */
1370 { 0x00000984, 0x0000 }, /* R2436 - DSP2LMIX Input 3 Source */
1371 { 0x00000985, 0x0080 }, /* R2437 - DSP2LMIX Input 3 Volume */
1372 { 0x00000986, 0x0000 }, /* R2438 - DSP2LMIX Input 4 Source */
1373 { 0x00000987, 0x0080 }, /* R2439 - DSP2LMIX Input 4 Volume */
1374 { 0x00000988, 0x0000 }, /* R2440 - DSP2RMIX Input 1 Source */
1375 { 0x00000989, 0x0080 }, /* R2441 - DSP2RMIX Input 1 Volume */
1376 { 0x0000098A, 0x0000 }, /* R2442 - DSP2RMIX Input 2 Source */
1377 { 0x0000098B, 0x0080 }, /* R2443 - DSP2RMIX Input 2 Volume */
1378 { 0x0000098C, 0x0000 }, /* R2444 - DSP2RMIX Input 3 Source */
1379 { 0x0000098D, 0x0080 }, /* R2445 - DSP2RMIX Input 3 Volume */
1380 { 0x0000098E, 0x0000 }, /* R2446 - DSP2RMIX Input 4 Source */
1381 { 0x0000098F, 0x0080 }, /* R2447 - DSP2RMIX Input 4 Volume */
1382 { 0x00000990, 0x0000 }, /* R2448 - DSP2AUX1MIX Input 1 Source */
1383 { 0x00000998, 0x0000 }, /* R2456 - DSP2AUX2MIX Input 1 Source */
1384 { 0x000009A0, 0x0000 }, /* R2464 - DSP2AUX3MIX Input 1 Source */
1385 { 0x000009A8, 0x0000 }, /* R2472 - DSP2AUX4MIX Input 1 Source */
1386 { 0x000009B0, 0x0000 }, /* R2480 - DSP2AUX5MIX Input 1 Source */
1387 { 0x000009B8, 0x0000 }, /* R2488 - DSP2AUX6MIX Input 1 Source */
1388 { 0x000009C0, 0x0000 }, /* R2496 - DSP3LMIX Input 1 Source */
1389 { 0x000009C1, 0x0080 }, /* R2497 - DSP3LMIX Input 1 Volume */
1390 { 0x000009C2, 0x0000 }, /* R2498 - DSP3LMIX Input 2 Source */
1391 { 0x000009C3, 0x0080 }, /* R2499 - DSP3LMIX Input 2 Volume */
1392 { 0x000009C4, 0x0000 }, /* R2500 - DSP3LMIX Input 3 Source */
1393 { 0x000009C5, 0x0080 }, /* R2501 - DSP3LMIX Input 3 Volume */
1394 { 0x000009C6, 0x0000 }, /* R2502 - DSP3LMIX Input 4 Source */
1395 { 0x000009C7, 0x0080 }, /* R2503 - DSP3LMIX Input 4 Volume */
1396 { 0x000009C8, 0x0000 }, /* R2504 - DSP3RMIX Input 1 Source */
1397 { 0x000009C9, 0x0080 }, /* R2505 - DSP3RMIX Input 1 Volume */
1398 { 0x000009CA, 0x0000 }, /* R2506 - DSP3RMIX Input 2 Source */
1399 { 0x000009CB, 0x0080 }, /* R2507 - DSP3RMIX Input 2 Volume */
1400 { 0x000009CC, 0x0000 }, /* R2508 - DSP3RMIX Input 3 Source */
1401 { 0x000009CD, 0x0080 }, /* R2509 - DSP3RMIX Input 3 Volume */
1402 { 0x000009CE, 0x0000 }, /* R2510 - DSP3RMIX Input 4 Source */
1403 { 0x000009CF, 0x0080 }, /* R2511 - DSP3RMIX Input 4 Volume */
1404 { 0x000009D0, 0x0000 }, /* R2512 - DSP3AUX1MIX Input 1 Source */
1405 { 0x000009D8, 0x0000 }, /* R2520 - DSP3AUX2MIX Input 1 Source */
1406 { 0x000009E0, 0x0000 }, /* R2528 - DSP3AUX3MIX Input 1 Source */
1407 { 0x000009E8, 0x0000 }, /* R2536 - DSP3AUX4MIX Input 1 Source */
1408 { 0x000009F0, 0x0000 }, /* R2544 - DSP3AUX5MIX Input 1 Source */
1409 { 0x000009F8, 0x0000 }, /* R2552 - DSP3AUX6MIX Input 1 Source */
1410 { 0x00000A00, 0x0000 }, /* R2560 - DSP4LMIX Input 1 Source */
1411 { 0x00000A01, 0x0080 }, /* R2561 - DSP4LMIX Input 1 Volume */
1412 { 0x00000A02, 0x0000 }, /* R2562 - DSP4LMIX Input 2 Source */
1413 { 0x00000A03, 0x0080 }, /* R2563 - DSP4LMIX Input 2 Volume */
1414 { 0x00000A04, 0x0000 }, /* R2564 - DSP4LMIX Input 3 Source */
1415 { 0x00000A05, 0x0080 }, /* R2565 - DSP4LMIX Input 3 Volume */
1416 { 0x00000A06, 0x0000 }, /* R2566 - DSP4LMIX Input 4 Source */
1417 { 0x00000A07, 0x0080 }, /* R2567 - DSP4LMIX Input 4 Volume */
1418 { 0x00000A08, 0x0000 }, /* R2568 - DSP4RMIX Input 1 Source */
1419 { 0x00000A09, 0x0080 }, /* R2569 - DSP4RMIX Input 1 Volume */
1420 { 0x00000A0A, 0x0000 }, /* R2570 - DSP4RMIX Input 2 Source */
1421 { 0x00000A0B, 0x0080 }, /* R2571 - DSP4RMIX Input 2 Volume */
1422 { 0x00000A0C, 0x0000 }, /* R2572 - DSP4RMIX Input 3 Source */
1423 { 0x00000A0D, 0x0080 }, /* R2573 - DSP4RMIX Input 3 Volume */
1424 { 0x00000A0E, 0x0000 }, /* R2574 - DSP4RMIX Input 4 Source */
1425 { 0x00000A0F, 0x0080 }, /* R2575 - DSP4RMIX Input 4 Volume */
1426 { 0x00000A10, 0x0000 }, /* R2576 - DSP4AUX1MIX Input 1 Source */
1427 { 0x00000A18, 0x0000 }, /* R2584 - DSP4AUX2MIX Input 1 Source */
1428 { 0x00000A20, 0x0000 }, /* R2592 - DSP4AUX3MIX Input 1 Source */
1429 { 0x00000A28, 0x0000 }, /* R2600 - DSP4AUX4MIX Input 1 Source */
1430 { 0x00000A30, 0x0000 }, /* R2608 - DSP4AUX5MIX Input 1 Source */
1431 { 0x00000A38, 0x0000 }, /* R2616 - DSP4AUX6MIX Input 1 Source */
1432 { 0x00000A80, 0x0000 }, /* R2688 - ASRC1LMIX Input 1 Source */
1433 { 0x00000A88, 0x0000 }, /* R2696 - ASRC1RMIX Input 1 Source */
1434 { 0x00000A90, 0x0000 }, /* R2704 - ASRC2LMIX Input 1 Source */
1435 { 0x00000A98, 0x0000 }, /* R2712 - ASRC2RMIX Input 1 Source */
1436 { 0x00000B00, 0x0000 }, /* R2816 - ISRC1DEC1MIX Input 1 Source */
1437 { 0x00000B08, 0x0000 }, /* R2824 - ISRC1DEC2MIX Input 1 Source */
1438 { 0x00000B10, 0x0000 }, /* R2832 - ISRC1DEC3MIX Input 1 Source */
1439 { 0x00000B18, 0x0000 }, /* R2840 - ISRC1DEC4MIX Input 1 Source */
1440 { 0x00000B20, 0x0000 }, /* R2848 - ISRC1INT1MIX Input 1 Source */
1441 { 0x00000B28, 0x0000 }, /* R2856 - ISRC1INT2MIX Input 1 Source */
1442 { 0x00000B30, 0x0000 }, /* R2864 - ISRC1INT3MIX Input 1 Source */
1443 { 0x00000B38, 0x0000 }, /* R2872 - ISRC1INT4MIX Input 1 Source */
1444 { 0x00000B40, 0x0000 }, /* R2880 - ISRC2DEC1MIX Input 1 Source */
1445 { 0x00000B48, 0x0000 }, /* R2888 - ISRC2DEC2MIX Input 1 Source */
1446 { 0x00000B50, 0x0000 }, /* R2896 - ISRC2DEC3MIX Input 1 Source */
1447 { 0x00000B58, 0x0000 }, /* R2904 - ISRC2DEC4MIX Input 1 Source */
1448 { 0x00000B60, 0x0000 }, /* R2912 - ISRC2INT1MIX Input 1 Source */
1449 { 0x00000B68, 0x0000 }, /* R2920 - ISRC2INT2MIX Input 1 Source */
1450 { 0x00000B70, 0x0000 }, /* R2928 - ISRC2INT3MIX Input 1 Source */
1451 { 0x00000B78, 0x0000 }, /* R2936 - ISRC2INT4MIX Input 1 Source */
1452 { 0x00000B80, 0x0000 }, /* R2944 - ISRC3DEC1MIX Input 1 Source */
1453 { 0x00000B88, 0x0000 }, /* R2952 - ISRC3DEC2MIX Input 1 Source */
1454 { 0x00000B90, 0x0000 }, /* R2960 - ISRC3DEC3MIX Input 1 Source */
1455 { 0x00000B98, 0x0000 }, /* R2968 - ISRC3DEC4MIX Input 1 Source */
1456 { 0x00000BA0, 0x0000 }, /* R2976 - ISRC3INT1MIX Input 1 Source */
1457 { 0x00000BA8, 0x0000 }, /* R2984 - ISRC3INT2MIX Input 1 Source */
1458 { 0x00000BB0, 0x0000 }, /* R2992 - ISRC3INT3MIX Input 1 Source */
1459 { 0x00000BB8, 0x0000 }, /* R3000 - ISRC3INT4MIX Input 1 Source */
1460 { 0x00000C00, 0xA101 }, /* R3072 - GPIO1 CTRL */
1461 { 0x00000C01, 0xA101 }, /* R3073 - GPIO2 CTRL */
1462 { 0x00000C02, 0xA101 }, /* R3074 - GPIO3 CTRL */
1463 { 0x00000C03, 0xA101 }, /* R3075 - GPIO4 CTRL */
1464 { 0x00000C04, 0xA101 }, /* R3076 - GPIO5 CTRL */
1465 { 0x00000C0F, 0x0400 }, /* R3087 - IRQ CTRL 1 */
1466 { 0x00000C10, 0x1000 }, /* R3088 - GPIO Debounce Config */
1467 { 0x00000C20, 0x8002 }, /* R3104 - Misc Pad Ctrl 1 */
1468 { 0x00000C21, 0x8001 }, /* R3105 - Misc Pad Ctrl 2 */
1469 { 0x00000C22, 0x0000 }, /* R3106 - Misc Pad Ctrl 3 */
1470 { 0x00000C23, 0x0000 }, /* R3107 - Misc Pad Ctrl 4 */
1471 { 0x00000C24, 0x0000 }, /* R3108 - Misc Pad Ctrl 5 */
1472 { 0x00000C25, 0x0000 }, /* R3109 - Misc Pad Ctrl 6 */
1473 { 0x00000C30, 0x8282 }, /* R3120 - Misc Pad Ctrl 7 */
1474 { 0x00000C31, 0x0082 }, /* R3121 - Misc Pad Ctrl 8 */
1475 { 0x00000C32, 0x8282 }, /* R3122 - Misc Pad Ctrl 9 */
1476 { 0x00000C33, 0x8282 }, /* R3123 - Misc Pad Ctrl 10 */
1477 { 0x00000C34, 0x8282 }, /* R3124 - Misc Pad Ctrl 11 */
1478 { 0x00000C35, 0x8282 }, /* R3125 - Misc Pad Ctrl 12 */
1479 { 0x00000C36, 0x8282 }, /* R3126 - Misc Pad Ctrl 13 */
1480 { 0x00000C37, 0x8282 }, /* R3127 - Misc Pad Ctrl 14 */
1481 { 0x00000C38, 0x8282 }, /* R3128 - Misc Pad Ctrl 15 */
1482 { 0x00000C39, 0x8282 }, /* R3129 - Misc Pad Ctrl 16 */
1483 { 0x00000C3A, 0x8282 }, /* R3130 - Misc Pad Ctrl 17 */
1484 { 0x00000C3B, 0x8282 }, /* R3131 - Misc Pad Ctrl 18 */
1485 { 0x00000D08, 0xFFFF }, /* R3336 - Interrupt Status 1 Mask */
1486 { 0x00000D09, 0xFFFF }, /* R3337 - Interrupt Status 2 Mask */
1487 { 0x00000D0A, 0xFFFF }, /* R3338 - Interrupt Status 3 Mask */
1488 { 0x00000D0B, 0xFFFF }, /* R3339 - Interrupt Status 4 Mask */
1489 { 0x00000D0C, 0xFEFF }, /* R3340 - Interrupt Status 5 Mask */
Charles Keepax32155012014-07-15 11:21:48 +01001490 { 0x00000D0D, 0xFFFF }, /* R3341 - Interrupt Status 6 Mask */
Mark Brown9cd9e282012-07-10 12:37:57 +01001491 { 0x00000D0F, 0x0000 }, /* R3343 - Interrupt Control */
1492 { 0x00000D18, 0xFFFF }, /* R3352 - IRQ2 Status 1 Mask */
1493 { 0x00000D19, 0xFFFF }, /* R3353 - IRQ2 Status 2 Mask */
1494 { 0x00000D1A, 0xFFFF }, /* R3354 - IRQ2 Status 3 Mask */
1495 { 0x00000D1B, 0xFFFF }, /* R3355 - IRQ2 Status 4 Mask */
1496 { 0x00000D1C, 0xFFFF }, /* R3356 - IRQ2 Status 5 Mask */
Charles Keepax32155012014-07-15 11:21:48 +01001497 { 0x00000D1D, 0xFFFF }, /* R3357 - IRQ2 Status 6 Mask */
Mark Brown9cd9e282012-07-10 12:37:57 +01001498 { 0x00000D1F, 0x0000 }, /* R3359 - IRQ2 Control */
Mark Brown9cd9e282012-07-10 12:37:57 +01001499 { 0x00000D53, 0xFFFF }, /* R3411 - AOD IRQ Mask IRQ1 */
1500 { 0x00000D54, 0xFFFF }, /* R3412 - AOD IRQ Mask IRQ2 */
1501 { 0x00000D56, 0x0000 }, /* R3414 - Jack detect debounce */
1502 { 0x00000E00, 0x0000 }, /* R3584 - FX_Ctrl1 */
1503 { 0x00000E01, 0x0000 }, /* R3585 - FX_Ctrl2 */
1504 { 0x00000E10, 0x6318 }, /* R3600 - EQ1_1 */
1505 { 0x00000E11, 0x6300 }, /* R3601 - EQ1_2 */
1506 { 0x00000E12, 0x0FC8 }, /* R3602 - EQ1_3 */
1507 { 0x00000E13, 0x03FE }, /* R3603 - EQ1_4 */
1508 { 0x00000E14, 0x00E0 }, /* R3604 - EQ1_5 */
1509 { 0x00000E15, 0x1EC4 }, /* R3605 - EQ1_6 */
1510 { 0x00000E16, 0xF136 }, /* R3606 - EQ1_7 */
1511 { 0x00000E17, 0x0409 }, /* R3607 - EQ1_8 */
1512 { 0x00000E18, 0x04CC }, /* R3608 - EQ1_9 */
1513 { 0x00000E19, 0x1C9B }, /* R3609 - EQ1_10 */
1514 { 0x00000E1A, 0xF337 }, /* R3610 - EQ1_11 */
1515 { 0x00000E1B, 0x040B }, /* R3611 - EQ1_12 */
1516 { 0x00000E1C, 0x0CBB }, /* R3612 - EQ1_13 */
1517 { 0x00000E1D, 0x16F8 }, /* R3613 - EQ1_14 */
1518 { 0x00000E1E, 0xF7D9 }, /* R3614 - EQ1_15 */
1519 { 0x00000E1F, 0x040A }, /* R3615 - EQ1_16 */
1520 { 0x00000E20, 0x1F14 }, /* R3616 - EQ1_17 */
1521 { 0x00000E21, 0x058C }, /* R3617 - EQ1_18 */
1522 { 0x00000E22, 0x0563 }, /* R3618 - EQ1_19 */
1523 { 0x00000E23, 0x4000 }, /* R3619 - EQ1_20 */
1524 { 0x00000E24, 0x0B75 }, /* R3620 - EQ1_21 */
1525 { 0x00000E26, 0x6318 }, /* R3622 - EQ2_1 */
1526 { 0x00000E27, 0x6300 }, /* R3623 - EQ2_2 */
1527 { 0x00000E28, 0x0FC8 }, /* R3624 - EQ2_3 */
1528 { 0x00000E29, 0x03FE }, /* R3625 - EQ2_4 */
1529 { 0x00000E2A, 0x00E0 }, /* R3626 - EQ2_5 */
1530 { 0x00000E2B, 0x1EC4 }, /* R3627 - EQ2_6 */
1531 { 0x00000E2C, 0xF136 }, /* R3628 - EQ2_7 */
1532 { 0x00000E2D, 0x0409 }, /* R3629 - EQ2_8 */
1533 { 0x00000E2E, 0x04CC }, /* R3630 - EQ2_9 */
1534 { 0x00000E2F, 0x1C9B }, /* R3631 - EQ2_10 */
1535 { 0x00000E30, 0xF337 }, /* R3632 - EQ2_11 */
1536 { 0x00000E31, 0x040B }, /* R3633 - EQ2_12 */
1537 { 0x00000E32, 0x0CBB }, /* R3634 - EQ2_13 */
1538 { 0x00000E33, 0x16F8 }, /* R3635 - EQ2_14 */
1539 { 0x00000E34, 0xF7D9 }, /* R3636 - EQ2_15 */
1540 { 0x00000E35, 0x040A }, /* R3637 - EQ2_16 */
1541 { 0x00000E36, 0x1F14 }, /* R3638 - EQ2_17 */
1542 { 0x00000E37, 0x058C }, /* R3639 - EQ2_18 */
1543 { 0x00000E38, 0x0563 }, /* R3640 - EQ2_19 */
1544 { 0x00000E39, 0x4000 }, /* R3641 - EQ2_20 */
1545 { 0x00000E3A, 0x0B75 }, /* R3642 - EQ2_21 */
1546 { 0x00000E3C, 0x6318 }, /* R3644 - EQ3_1 */
1547 { 0x00000E3D, 0x6300 }, /* R3645 - EQ3_2 */
1548 { 0x00000E3E, 0x0FC8 }, /* R3646 - EQ3_3 */
1549 { 0x00000E3F, 0x03FE }, /* R3647 - EQ3_4 */
1550 { 0x00000E40, 0x00E0 }, /* R3648 - EQ3_5 */
1551 { 0x00000E41, 0x1EC4 }, /* R3649 - EQ3_6 */
1552 { 0x00000E42, 0xF136 }, /* R3650 - EQ3_7 */
1553 { 0x00000E43, 0x0409 }, /* R3651 - EQ3_8 */
1554 { 0x00000E44, 0x04CC }, /* R3652 - EQ3_9 */
1555 { 0x00000E45, 0x1C9B }, /* R3653 - EQ3_10 */
1556 { 0x00000E46, 0xF337 }, /* R3654 - EQ3_11 */
1557 { 0x00000E47, 0x040B }, /* R3655 - EQ3_12 */
1558 { 0x00000E48, 0x0CBB }, /* R3656 - EQ3_13 */
1559 { 0x00000E49, 0x16F8 }, /* R3657 - EQ3_14 */
1560 { 0x00000E4A, 0xF7D9 }, /* R3658 - EQ3_15 */
1561 { 0x00000E4B, 0x040A }, /* R3659 - EQ3_16 */
1562 { 0x00000E4C, 0x1F14 }, /* R3660 - EQ3_17 */
1563 { 0x00000E4D, 0x058C }, /* R3661 - EQ3_18 */
1564 { 0x00000E4E, 0x0563 }, /* R3662 - EQ3_19 */
1565 { 0x00000E4F, 0x4000 }, /* R3663 - EQ3_20 */
1566 { 0x00000E50, 0x0B75 }, /* R3664 - EQ3_21 */
1567 { 0x00000E52, 0x6318 }, /* R3666 - EQ4_1 */
1568 { 0x00000E53, 0x6300 }, /* R3667 - EQ4_2 */
1569 { 0x00000E54, 0x0FC8 }, /* R3668 - EQ4_3 */
1570 { 0x00000E55, 0x03FE }, /* R3669 - EQ4_4 */
1571 { 0x00000E56, 0x00E0 }, /* R3670 - EQ4_5 */
1572 { 0x00000E57, 0x1EC4 }, /* R3671 - EQ4_6 */
1573 { 0x00000E58, 0xF136 }, /* R3672 - EQ4_7 */
1574 { 0x00000E59, 0x0409 }, /* R3673 - EQ4_8 */
1575 { 0x00000E5A, 0x04CC }, /* R3674 - EQ4_9 */
1576 { 0x00000E5B, 0x1C9B }, /* R3675 - EQ4_10 */
1577 { 0x00000E5C, 0xF337 }, /* R3676 - EQ4_11 */
1578 { 0x00000E5D, 0x040B }, /* R3677 - EQ4_12 */
1579 { 0x00000E5E, 0x0CBB }, /* R3678 - EQ4_13 */
1580 { 0x00000E5F, 0x16F8 }, /* R3679 - EQ4_14 */
1581 { 0x00000E60, 0xF7D9 }, /* R3680 - EQ4_15 */
1582 { 0x00000E61, 0x040A }, /* R3681 - EQ4_16 */
1583 { 0x00000E62, 0x1F14 }, /* R3682 - EQ4_17 */
1584 { 0x00000E63, 0x058C }, /* R3683 - EQ4_18 */
1585 { 0x00000E64, 0x0563 }, /* R3684 - EQ4_19 */
1586 { 0x00000E65, 0x4000 }, /* R3685 - EQ4_20 */
1587 { 0x00000E66, 0x0B75 }, /* R3686 - EQ4_21 */
1588 { 0x00000E80, 0x0018 }, /* R3712 - DRC1 ctrl1 */
1589 { 0x00000E81, 0x0933 }, /* R3713 - DRC1 ctrl2 */
1590 { 0x00000E82, 0x0018 }, /* R3714 - DRC1 ctrl3 */
1591 { 0x00000E83, 0x0000 }, /* R3715 - DRC1 ctrl4 */
1592 { 0x00000E84, 0x0000 }, /* R3716 - DRC1 ctrl5 */
1593 { 0x00000E89, 0x0018 }, /* R3721 - DRC2 ctrl1 */
1594 { 0x00000E8A, 0x0933 }, /* R3722 - DRC2 ctrl2 */
1595 { 0x00000E8B, 0x0018 }, /* R3723 - DRC2 ctrl3 */
1596 { 0x00000E8C, 0x0000 }, /* R3724 - DRC2 ctrl4 */
1597 { 0x00000E8D, 0x0000 }, /* R3725 - DRC2 ctrl5 */
1598 { 0x00000EC0, 0x0000 }, /* R3776 - HPLPF1_1 */
1599 { 0x00000EC1, 0x0000 }, /* R3777 - HPLPF1_2 */
1600 { 0x00000EC4, 0x0000 }, /* R3780 - HPLPF2_1 */
1601 { 0x00000EC5, 0x0000 }, /* R3781 - HPLPF2_2 */
1602 { 0x00000EC8, 0x0000 }, /* R3784 - HPLPF3_1 */
1603 { 0x00000EC9, 0x0000 }, /* R3785 - HPLPF3_2 */
1604 { 0x00000ECC, 0x0000 }, /* R3788 - HPLPF4_1 */
1605 { 0x00000ECD, 0x0000 }, /* R3789 - HPLPF4_2 */
1606 { 0x00000EE0, 0x0000 }, /* R3808 - ASRC_ENABLE */
1607 { 0x00000EE2, 0x0000 }, /* R3810 - ASRC_RATE1 */
1608 { 0x00000EF0, 0x0000 }, /* R3824 - ISRC 1 CTRL 1 */
1609 { 0x00000EF1, 0x0000 }, /* R3825 - ISRC 1 CTRL 2 */
1610 { 0x00000EF2, 0x0000 }, /* R3826 - ISRC 1 CTRL 3 */
1611 { 0x00000EF3, 0x0000 }, /* R3827 - ISRC 2 CTRL 1 */
1612 { 0x00000EF4, 0x0000 }, /* R3828 - ISRC 2 CTRL 2 */
1613 { 0x00000EF5, 0x0000 }, /* R3829 - ISRC 2 CTRL 3 */
1614 { 0x00000EF6, 0x0000 }, /* R3830 - ISRC 3 CTRL 1 */
1615 { 0x00000EF7, 0x0000 }, /* R3831 - ISRC 3 CTRL 2 */
1616 { 0x00000EF8, 0x0000 }, /* R3832 - ISRC 3 CTRL 3 */
1617 { 0x00000F00, 0x0000 }, /* R3840 - Clock Control */
1618 { 0x00000F01, 0x0000 }, /* R3841 - ANC_SRC */
1619 { 0x00001100, 0x0010 }, /* R4352 - DSP1 Control 1 */
1620 { 0x00001101, 0x0000 }, /* R4353 - DSP1 Clocking 1 */
1621 { 0x00001200, 0x0010 }, /* R4608 - DSP2 Control 1 */
1622 { 0x00001201, 0x0000 }, /* R4609 - DSP2 Clocking 1 */
1623 { 0x00001300, 0x0010 }, /* R4864 - DSP3 Control 1 */
1624 { 0x00001301, 0x0000 }, /* R4865 - DSP3 Clocking 1 */
1625 { 0x00001400, 0x0010 }, /* R5120 - DSP4 Control 1 */
1626 { 0x00001401, 0x0000 }, /* R5121 - DSP4 Clocking 1 */
1627 { 0x00001404, 0x0000 }, /* R5124 - DSP4 Status 1 */
1628};
1629
Charles Keepaxc50aa442013-11-19 16:04:00 +00001630static bool wm5110_is_rev_b_adsp_memory(unsigned int reg)
1631{
1632 if ((reg >= 0x100000 && reg < 0x103000) ||
1633 (reg >= 0x180000 && reg < 0x181000) ||
1634 (reg >= 0x190000 && reg < 0x192000) ||
1635 (reg >= 0x1a8000 && reg < 0x1a9000) ||
1636 (reg >= 0x200000 && reg < 0x209000) ||
1637 (reg >= 0x280000 && reg < 0x281000) ||
1638 (reg >= 0x290000 && reg < 0x29a000) ||
1639 (reg >= 0x2a8000 && reg < 0x2aa000) ||
1640 (reg >= 0x300000 && reg < 0x30f000) ||
1641 (reg >= 0x380000 && reg < 0x382000) ||
1642 (reg >= 0x390000 && reg < 0x39e000) ||
1643 (reg >= 0x3a8000 && reg < 0x3b6000) ||
1644 (reg >= 0x400000 && reg < 0x403000) ||
1645 (reg >= 0x480000 && reg < 0x481000) ||
1646 (reg >= 0x490000 && reg < 0x492000) ||
1647 (reg >= 0x4a8000 && reg < 0x4a9000))
1648 return true;
1649 else
1650 return false;
1651}
1652
1653static bool wm5110_is_rev_d_adsp_memory(unsigned int reg)
1654{
1655 if ((reg >= 0x100000 && reg < 0x106000) ||
1656 (reg >= 0x180000 && reg < 0x182000) ||
1657 (reg >= 0x190000 && reg < 0x198000) ||
1658 (reg >= 0x1a8000 && reg < 0x1aa000) ||
1659 (reg >= 0x200000 && reg < 0x20f000) ||
1660 (reg >= 0x280000 && reg < 0x282000) ||
1661 (reg >= 0x290000 && reg < 0x29c000) ||
1662 (reg >= 0x2a6000 && reg < 0x2b4000) ||
1663 (reg >= 0x300000 && reg < 0x30f000) ||
1664 (reg >= 0x380000 && reg < 0x382000) ||
1665 (reg >= 0x390000 && reg < 0x3a2000) ||
1666 (reg >= 0x3a6000 && reg < 0x3b4000) ||
1667 (reg >= 0x400000 && reg < 0x406000) ||
1668 (reg >= 0x480000 && reg < 0x482000) ||
1669 (reg >= 0x490000 && reg < 0x498000) ||
1670 (reg >= 0x4a8000 && reg < 0x4aa000))
1671 return true;
1672 else
1673 return false;
1674}
1675
1676static bool wm5110_is_adsp_memory(struct device *dev, unsigned int reg)
1677{
1678 struct arizona *arizona = dev_get_drvdata(dev);
1679
1680 switch (arizona->rev) {
1681 case 0 ... 2:
1682 return wm5110_is_rev_b_adsp_memory(reg);
1683 default:
1684 return wm5110_is_rev_d_adsp_memory(reg);
1685 }
1686}
1687
Mark Brown9cd9e282012-07-10 12:37:57 +01001688static bool wm5110_readable_register(struct device *dev, unsigned int reg)
1689{
1690 switch (reg) {
1691 case ARIZONA_SOFTWARE_RESET:
1692 case ARIZONA_DEVICE_REVISION:
1693 case ARIZONA_CTRL_IF_SPI_CFG_1:
1694 case ARIZONA_CTRL_IF_I2C1_CFG_1:
1695 case ARIZONA_CTRL_IF_I2C2_CFG_1:
1696 case ARIZONA_CTRL_IF_I2C1_CFG_2:
1697 case ARIZONA_CTRL_IF_I2C2_CFG_2:
1698 case ARIZONA_WRITE_SEQUENCER_CTRL_0:
1699 case ARIZONA_WRITE_SEQUENCER_CTRL_1:
1700 case ARIZONA_WRITE_SEQUENCER_CTRL_2:
1701 case ARIZONA_TONE_GENERATOR_1:
1702 case ARIZONA_TONE_GENERATOR_2:
1703 case ARIZONA_TONE_GENERATOR_3:
1704 case ARIZONA_TONE_GENERATOR_4:
1705 case ARIZONA_TONE_GENERATOR_5:
1706 case ARIZONA_PWM_DRIVE_1:
1707 case ARIZONA_PWM_DRIVE_2:
1708 case ARIZONA_PWM_DRIVE_3:
1709 case ARIZONA_WAKE_CONTROL:
1710 case ARIZONA_SEQUENCE_CONTROL:
1711 case ARIZONA_SAMPLE_RATE_SEQUENCE_SELECT_1:
1712 case ARIZONA_SAMPLE_RATE_SEQUENCE_SELECT_2:
1713 case ARIZONA_SAMPLE_RATE_SEQUENCE_SELECT_3:
1714 case ARIZONA_SAMPLE_RATE_SEQUENCE_SELECT_4:
1715 case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_1:
1716 case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_2:
1717 case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_3:
1718 case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_4:
Richard Fitzgeralda9cd92a2014-05-20 13:48:51 +01001719 case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_5:
1720 case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_6:
Mark Brown9cd9e282012-07-10 12:37:57 +01001721 case ARIZONA_COMFORT_NOISE_GENERATOR:
1722 case ARIZONA_HAPTICS_CONTROL_1:
1723 case ARIZONA_HAPTICS_CONTROL_2:
1724 case ARIZONA_HAPTICS_PHASE_1_INTENSITY:
1725 case ARIZONA_HAPTICS_PHASE_1_DURATION:
1726 case ARIZONA_HAPTICS_PHASE_2_INTENSITY:
1727 case ARIZONA_HAPTICS_PHASE_2_DURATION:
1728 case ARIZONA_HAPTICS_PHASE_3_INTENSITY:
1729 case ARIZONA_HAPTICS_PHASE_3_DURATION:
1730 case ARIZONA_HAPTICS_STATUS:
1731 case ARIZONA_CLOCK_32K_1:
1732 case ARIZONA_SYSTEM_CLOCK_1:
1733 case ARIZONA_SAMPLE_RATE_1:
1734 case ARIZONA_SAMPLE_RATE_2:
1735 case ARIZONA_SAMPLE_RATE_3:
1736 case ARIZONA_SAMPLE_RATE_1_STATUS:
1737 case ARIZONA_SAMPLE_RATE_2_STATUS:
1738 case ARIZONA_SAMPLE_RATE_3_STATUS:
1739 case ARIZONA_ASYNC_CLOCK_1:
1740 case ARIZONA_ASYNC_SAMPLE_RATE_1:
1741 case ARIZONA_ASYNC_SAMPLE_RATE_1_STATUS:
Charles Keepaxc24084d2014-09-01 15:48:52 +01001742 case ARIZONA_ASYNC_SAMPLE_RATE_2:
1743 case ARIZONA_ASYNC_SAMPLE_RATE_2_STATUS:
Mark Brown9cd9e282012-07-10 12:37:57 +01001744 case ARIZONA_OUTPUT_SYSTEM_CLOCK:
1745 case ARIZONA_OUTPUT_ASYNC_CLOCK:
1746 case ARIZONA_RATE_ESTIMATOR_1:
1747 case ARIZONA_RATE_ESTIMATOR_2:
1748 case ARIZONA_RATE_ESTIMATOR_3:
1749 case ARIZONA_RATE_ESTIMATOR_4:
1750 case ARIZONA_RATE_ESTIMATOR_5:
1751 case ARIZONA_FLL1_CONTROL_1:
1752 case ARIZONA_FLL1_CONTROL_2:
1753 case ARIZONA_FLL1_CONTROL_3:
1754 case ARIZONA_FLL1_CONTROL_4:
1755 case ARIZONA_FLL1_CONTROL_5:
1756 case ARIZONA_FLL1_CONTROL_6:
Charles Keepaxc78d2032013-08-06 16:42:27 +01001757 case ARIZONA_FLL1_CONTROL_7:
Mark Brown9cd9e282012-07-10 12:37:57 +01001758 case ARIZONA_FLL1_LOOP_FILTER_TEST_1:
1759 case ARIZONA_FLL1_NCO_TEST_0:
1760 case ARIZONA_FLL1_SYNCHRONISER_1:
1761 case ARIZONA_FLL1_SYNCHRONISER_2:
1762 case ARIZONA_FLL1_SYNCHRONISER_3:
1763 case ARIZONA_FLL1_SYNCHRONISER_4:
1764 case ARIZONA_FLL1_SYNCHRONISER_5:
1765 case ARIZONA_FLL1_SYNCHRONISER_6:
Charles Keepaxc78d2032013-08-06 16:42:27 +01001766 case ARIZONA_FLL1_SYNCHRONISER_7:
Mark Brown9cd9e282012-07-10 12:37:57 +01001767 case ARIZONA_FLL1_SPREAD_SPECTRUM:
1768 case ARIZONA_FLL1_GPIO_CLOCK:
1769 case ARIZONA_FLL2_CONTROL_1:
1770 case ARIZONA_FLL2_CONTROL_2:
1771 case ARIZONA_FLL2_CONTROL_3:
1772 case ARIZONA_FLL2_CONTROL_4:
1773 case ARIZONA_FLL2_CONTROL_5:
1774 case ARIZONA_FLL2_CONTROL_6:
Charles Keepaxc78d2032013-08-06 16:42:27 +01001775 case ARIZONA_FLL2_CONTROL_7:
Mark Brown9cd9e282012-07-10 12:37:57 +01001776 case ARIZONA_FLL2_LOOP_FILTER_TEST_1:
1777 case ARIZONA_FLL2_NCO_TEST_0:
1778 case ARIZONA_FLL2_SYNCHRONISER_1:
1779 case ARIZONA_FLL2_SYNCHRONISER_2:
1780 case ARIZONA_FLL2_SYNCHRONISER_3:
1781 case ARIZONA_FLL2_SYNCHRONISER_4:
1782 case ARIZONA_FLL2_SYNCHRONISER_5:
1783 case ARIZONA_FLL2_SYNCHRONISER_6:
Charles Keepaxc78d2032013-08-06 16:42:27 +01001784 case ARIZONA_FLL2_SYNCHRONISER_7:
Mark Brown9cd9e282012-07-10 12:37:57 +01001785 case ARIZONA_FLL2_SPREAD_SPECTRUM:
1786 case ARIZONA_FLL2_GPIO_CLOCK:
1787 case ARIZONA_MIC_CHARGE_PUMP_1:
1788 case ARIZONA_LDO1_CONTROL_1:
1789 case ARIZONA_LDO2_CONTROL_1:
1790 case ARIZONA_MIC_BIAS_CTRL_1:
1791 case ARIZONA_MIC_BIAS_CTRL_2:
1792 case ARIZONA_MIC_BIAS_CTRL_3:
1793 case ARIZONA_ACCESSORY_DETECT_MODE_1:
1794 case ARIZONA_HEADPHONE_DETECT_1:
1795 case ARIZONA_HEADPHONE_DETECT_2:
Charles Keepax24f76f32013-10-26 15:27:04 +01001796 case ARIZONA_MICD_CLAMP_CONTROL:
Mark Brown9cd9e282012-07-10 12:37:57 +01001797 case ARIZONA_MIC_DETECT_1:
1798 case ARIZONA_MIC_DETECT_2:
1799 case ARIZONA_MIC_DETECT_3:
Charles Keepaxacf0be12013-08-06 16:42:28 +01001800 case ARIZONA_MIC_DETECT_LEVEL_1:
1801 case ARIZONA_MIC_DETECT_LEVEL_2:
1802 case ARIZONA_MIC_DETECT_LEVEL_3:
1803 case ARIZONA_MIC_DETECT_LEVEL_4:
Mark Brown9cd9e282012-07-10 12:37:57 +01001804 case ARIZONA_MIC_NOISE_MIX_CONTROL_1:
Charles Keepaxfce7fbf2014-04-17 13:14:15 +01001805 case ARIZONA_ISOLATION_CONTROL:
Mark Brown9cd9e282012-07-10 12:37:57 +01001806 case ARIZONA_JACK_DETECT_ANALOGUE:
1807 case ARIZONA_INPUT_ENABLES:
1808 case ARIZONA_INPUT_ENABLES_STATUS:
1809 case ARIZONA_INPUT_RATE:
1810 case ARIZONA_INPUT_VOLUME_RAMP:
Charles Keepax254dc322013-11-19 16:04:03 +00001811 case ARIZONA_HPF_CONTROL:
Mark Brown9cd9e282012-07-10 12:37:57 +01001812 case ARIZONA_IN1L_CONTROL:
1813 case ARIZONA_ADC_DIGITAL_VOLUME_1L:
1814 case ARIZONA_DMIC1L_CONTROL:
1815 case ARIZONA_IN1R_CONTROL:
1816 case ARIZONA_ADC_DIGITAL_VOLUME_1R:
1817 case ARIZONA_DMIC1R_CONTROL:
1818 case ARIZONA_IN2L_CONTROL:
1819 case ARIZONA_ADC_DIGITAL_VOLUME_2L:
1820 case ARIZONA_DMIC2L_CONTROL:
1821 case ARIZONA_IN2R_CONTROL:
1822 case ARIZONA_ADC_DIGITAL_VOLUME_2R:
1823 case ARIZONA_DMIC2R_CONTROL:
1824 case ARIZONA_IN3L_CONTROL:
1825 case ARIZONA_ADC_DIGITAL_VOLUME_3L:
1826 case ARIZONA_DMIC3L_CONTROL:
1827 case ARIZONA_IN3R_CONTROL:
1828 case ARIZONA_ADC_DIGITAL_VOLUME_3R:
1829 case ARIZONA_DMIC3R_CONTROL:
1830 case ARIZONA_IN4L_CONTROL:
1831 case ARIZONA_ADC_DIGITAL_VOLUME_4L:
1832 case ARIZONA_DMIC4L_CONTROL:
Charles Keepax254dc322013-11-19 16:04:03 +00001833 case ARIZONA_IN4R_CONTROL:
Mark Brown9cd9e282012-07-10 12:37:57 +01001834 case ARIZONA_ADC_DIGITAL_VOLUME_4R:
1835 case ARIZONA_DMIC4R_CONTROL:
1836 case ARIZONA_OUTPUT_ENABLES_1:
1837 case ARIZONA_OUTPUT_STATUS_1:
1838 case ARIZONA_RAW_OUTPUT_STATUS_1:
1839 case ARIZONA_OUTPUT_RATE_1:
1840 case ARIZONA_OUTPUT_VOLUME_RAMP:
1841 case ARIZONA_OUTPUT_PATH_CONFIG_1L:
1842 case ARIZONA_DAC_DIGITAL_VOLUME_1L:
1843 case ARIZONA_DAC_VOLUME_LIMIT_1L:
1844 case ARIZONA_NOISE_GATE_SELECT_1L:
1845 case ARIZONA_OUTPUT_PATH_CONFIG_1R:
1846 case ARIZONA_DAC_DIGITAL_VOLUME_1R:
1847 case ARIZONA_DAC_VOLUME_LIMIT_1R:
1848 case ARIZONA_NOISE_GATE_SELECT_1R:
1849 case ARIZONA_OUTPUT_PATH_CONFIG_2L:
1850 case ARIZONA_DAC_DIGITAL_VOLUME_2L:
1851 case ARIZONA_DAC_VOLUME_LIMIT_2L:
1852 case ARIZONA_NOISE_GATE_SELECT_2L:
1853 case ARIZONA_OUTPUT_PATH_CONFIG_2R:
1854 case ARIZONA_DAC_DIGITAL_VOLUME_2R:
1855 case ARIZONA_DAC_VOLUME_LIMIT_2R:
1856 case ARIZONA_NOISE_GATE_SELECT_2R:
1857 case ARIZONA_OUTPUT_PATH_CONFIG_3L:
1858 case ARIZONA_DAC_DIGITAL_VOLUME_3L:
1859 case ARIZONA_DAC_VOLUME_LIMIT_3L:
1860 case ARIZONA_NOISE_GATE_SELECT_3L:
1861 case ARIZONA_OUTPUT_PATH_CONFIG_3R:
1862 case ARIZONA_DAC_DIGITAL_VOLUME_3R:
1863 case ARIZONA_DAC_VOLUME_LIMIT_3R:
1864 case ARIZONA_NOISE_GATE_SELECT_3R:
1865 case ARIZONA_OUTPUT_PATH_CONFIG_4L:
1866 case ARIZONA_DAC_DIGITAL_VOLUME_4L:
1867 case ARIZONA_OUT_VOLUME_4L:
1868 case ARIZONA_NOISE_GATE_SELECT_4L:
1869 case ARIZONA_OUTPUT_PATH_CONFIG_4R:
1870 case ARIZONA_DAC_DIGITAL_VOLUME_4R:
1871 case ARIZONA_OUT_VOLUME_4R:
1872 case ARIZONA_NOISE_GATE_SELECT_4R:
1873 case ARIZONA_OUTPUT_PATH_CONFIG_5L:
1874 case ARIZONA_DAC_DIGITAL_VOLUME_5L:
1875 case ARIZONA_DAC_VOLUME_LIMIT_5L:
1876 case ARIZONA_NOISE_GATE_SELECT_5L:
1877 case ARIZONA_OUTPUT_PATH_CONFIG_5R:
1878 case ARIZONA_DAC_DIGITAL_VOLUME_5R:
1879 case ARIZONA_DAC_VOLUME_LIMIT_5R:
1880 case ARIZONA_NOISE_GATE_SELECT_5R:
1881 case ARIZONA_OUTPUT_PATH_CONFIG_6L:
1882 case ARIZONA_DAC_DIGITAL_VOLUME_6L:
1883 case ARIZONA_DAC_VOLUME_LIMIT_6L:
1884 case ARIZONA_NOISE_GATE_SELECT_6L:
1885 case ARIZONA_OUTPUT_PATH_CONFIG_6R:
1886 case ARIZONA_DAC_DIGITAL_VOLUME_6R:
1887 case ARIZONA_DAC_VOLUME_LIMIT_6R:
1888 case ARIZONA_NOISE_GATE_SELECT_6R:
Charles Keepax792b62e2013-12-19 09:11:01 +00001889 case ARIZONA_DRE_ENABLE:
Mark Brown9cd9e282012-07-10 12:37:57 +01001890 case ARIZONA_DAC_AEC_CONTROL_1:
1891 case ARIZONA_NOISE_GATE_CONTROL:
1892 case ARIZONA_PDM_SPK1_CTRL_1:
1893 case ARIZONA_PDM_SPK1_CTRL_2:
1894 case ARIZONA_PDM_SPK2_CTRL_1:
1895 case ARIZONA_PDM_SPK2_CTRL_2:
Charles Keepax08e2d592014-01-09 14:29:24 +00001896 case ARIZONA_HP1_SHORT_CIRCUIT_CTRL:
1897 case ARIZONA_HP2_SHORT_CIRCUIT_CTRL:
1898 case ARIZONA_HP3_SHORT_CIRCUIT_CTRL:
Mark Brown9cd9e282012-07-10 12:37:57 +01001899 case ARIZONA_AIF1_BCLK_CTRL:
1900 case ARIZONA_AIF1_TX_PIN_CTRL:
1901 case ARIZONA_AIF1_RX_PIN_CTRL:
1902 case ARIZONA_AIF1_RATE_CTRL:
1903 case ARIZONA_AIF1_FORMAT:
1904 case ARIZONA_AIF1_TX_BCLK_RATE:
1905 case ARIZONA_AIF1_RX_BCLK_RATE:
1906 case ARIZONA_AIF1_FRAME_CTRL_1:
1907 case ARIZONA_AIF1_FRAME_CTRL_2:
1908 case ARIZONA_AIF1_FRAME_CTRL_3:
1909 case ARIZONA_AIF1_FRAME_CTRL_4:
1910 case ARIZONA_AIF1_FRAME_CTRL_5:
1911 case ARIZONA_AIF1_FRAME_CTRL_6:
1912 case ARIZONA_AIF1_FRAME_CTRL_7:
1913 case ARIZONA_AIF1_FRAME_CTRL_8:
1914 case ARIZONA_AIF1_FRAME_CTRL_9:
1915 case ARIZONA_AIF1_FRAME_CTRL_10:
1916 case ARIZONA_AIF1_FRAME_CTRL_11:
1917 case ARIZONA_AIF1_FRAME_CTRL_12:
1918 case ARIZONA_AIF1_FRAME_CTRL_13:
1919 case ARIZONA_AIF1_FRAME_CTRL_14:
1920 case ARIZONA_AIF1_FRAME_CTRL_15:
1921 case ARIZONA_AIF1_FRAME_CTRL_16:
1922 case ARIZONA_AIF1_FRAME_CTRL_17:
1923 case ARIZONA_AIF1_FRAME_CTRL_18:
1924 case ARIZONA_AIF1_TX_ENABLES:
1925 case ARIZONA_AIF1_RX_ENABLES:
1926 case ARIZONA_AIF2_BCLK_CTRL:
1927 case ARIZONA_AIF2_TX_PIN_CTRL:
1928 case ARIZONA_AIF2_RX_PIN_CTRL:
1929 case ARIZONA_AIF2_RATE_CTRL:
1930 case ARIZONA_AIF2_FORMAT:
1931 case ARIZONA_AIF2_TX_BCLK_RATE:
1932 case ARIZONA_AIF2_RX_BCLK_RATE:
1933 case ARIZONA_AIF2_FRAME_CTRL_1:
1934 case ARIZONA_AIF2_FRAME_CTRL_2:
1935 case ARIZONA_AIF2_FRAME_CTRL_3:
1936 case ARIZONA_AIF2_FRAME_CTRL_4:
1937 case ARIZONA_AIF2_FRAME_CTRL_11:
1938 case ARIZONA_AIF2_FRAME_CTRL_12:
1939 case ARIZONA_AIF2_TX_ENABLES:
1940 case ARIZONA_AIF2_RX_ENABLES:
1941 case ARIZONA_AIF3_BCLK_CTRL:
1942 case ARIZONA_AIF3_TX_PIN_CTRL:
1943 case ARIZONA_AIF3_RX_PIN_CTRL:
1944 case ARIZONA_AIF3_RATE_CTRL:
1945 case ARIZONA_AIF3_FORMAT:
1946 case ARIZONA_AIF3_TX_BCLK_RATE:
1947 case ARIZONA_AIF3_RX_BCLK_RATE:
1948 case ARIZONA_AIF3_FRAME_CTRL_1:
1949 case ARIZONA_AIF3_FRAME_CTRL_2:
1950 case ARIZONA_AIF3_FRAME_CTRL_3:
1951 case ARIZONA_AIF3_FRAME_CTRL_4:
1952 case ARIZONA_AIF3_FRAME_CTRL_11:
1953 case ARIZONA_AIF3_FRAME_CTRL_12:
1954 case ARIZONA_AIF3_TX_ENABLES:
1955 case ARIZONA_AIF3_RX_ENABLES:
1956 case ARIZONA_SLIMBUS_FRAMER_REF_GEAR:
1957 case ARIZONA_SLIMBUS_RATES_1:
1958 case ARIZONA_SLIMBUS_RATES_2:
1959 case ARIZONA_SLIMBUS_RATES_3:
1960 case ARIZONA_SLIMBUS_RATES_4:
1961 case ARIZONA_SLIMBUS_RATES_5:
1962 case ARIZONA_SLIMBUS_RATES_6:
1963 case ARIZONA_SLIMBUS_RATES_7:
1964 case ARIZONA_SLIMBUS_RATES_8:
1965 case ARIZONA_SLIMBUS_RX_CHANNEL_ENABLE:
1966 case ARIZONA_SLIMBUS_TX_CHANNEL_ENABLE:
1967 case ARIZONA_SLIMBUS_RX_PORT_STATUS:
1968 case ARIZONA_SLIMBUS_TX_PORT_STATUS:
1969 case ARIZONA_PWM1MIX_INPUT_1_SOURCE:
1970 case ARIZONA_PWM1MIX_INPUT_1_VOLUME:
1971 case ARIZONA_PWM1MIX_INPUT_2_SOURCE:
1972 case ARIZONA_PWM1MIX_INPUT_2_VOLUME:
1973 case ARIZONA_PWM1MIX_INPUT_3_SOURCE:
1974 case ARIZONA_PWM1MIX_INPUT_3_VOLUME:
1975 case ARIZONA_PWM1MIX_INPUT_4_SOURCE:
1976 case ARIZONA_PWM1MIX_INPUT_4_VOLUME:
1977 case ARIZONA_PWM2MIX_INPUT_1_SOURCE:
1978 case ARIZONA_PWM2MIX_INPUT_1_VOLUME:
1979 case ARIZONA_PWM2MIX_INPUT_2_SOURCE:
1980 case ARIZONA_PWM2MIX_INPUT_2_VOLUME:
1981 case ARIZONA_PWM2MIX_INPUT_3_SOURCE:
1982 case ARIZONA_PWM2MIX_INPUT_3_VOLUME:
1983 case ARIZONA_PWM2MIX_INPUT_4_SOURCE:
1984 case ARIZONA_PWM2MIX_INPUT_4_VOLUME:
1985 case ARIZONA_MICMIX_INPUT_1_SOURCE:
1986 case ARIZONA_MICMIX_INPUT_1_VOLUME:
1987 case ARIZONA_MICMIX_INPUT_2_SOURCE:
1988 case ARIZONA_MICMIX_INPUT_2_VOLUME:
1989 case ARIZONA_MICMIX_INPUT_3_SOURCE:
1990 case ARIZONA_MICMIX_INPUT_3_VOLUME:
1991 case ARIZONA_MICMIX_INPUT_4_SOURCE:
1992 case ARIZONA_MICMIX_INPUT_4_VOLUME:
1993 case ARIZONA_NOISEMIX_INPUT_1_SOURCE:
1994 case ARIZONA_NOISEMIX_INPUT_1_VOLUME:
1995 case ARIZONA_NOISEMIX_INPUT_2_SOURCE:
1996 case ARIZONA_NOISEMIX_INPUT_2_VOLUME:
1997 case ARIZONA_NOISEMIX_INPUT_3_SOURCE:
1998 case ARIZONA_NOISEMIX_INPUT_3_VOLUME:
1999 case ARIZONA_NOISEMIX_INPUT_4_SOURCE:
2000 case ARIZONA_NOISEMIX_INPUT_4_VOLUME:
2001 case ARIZONA_OUT1LMIX_INPUT_1_SOURCE:
2002 case ARIZONA_OUT1LMIX_INPUT_1_VOLUME:
2003 case ARIZONA_OUT1LMIX_INPUT_2_SOURCE:
2004 case ARIZONA_OUT1LMIX_INPUT_2_VOLUME:
2005 case ARIZONA_OUT1LMIX_INPUT_3_SOURCE:
2006 case ARIZONA_OUT1LMIX_INPUT_3_VOLUME:
2007 case ARIZONA_OUT1LMIX_INPUT_4_SOURCE:
2008 case ARIZONA_OUT1LMIX_INPUT_4_VOLUME:
2009 case ARIZONA_OUT1RMIX_INPUT_1_SOURCE:
2010 case ARIZONA_OUT1RMIX_INPUT_1_VOLUME:
2011 case ARIZONA_OUT1RMIX_INPUT_2_SOURCE:
2012 case ARIZONA_OUT1RMIX_INPUT_2_VOLUME:
2013 case ARIZONA_OUT1RMIX_INPUT_3_SOURCE:
2014 case ARIZONA_OUT1RMIX_INPUT_3_VOLUME:
2015 case ARIZONA_OUT1RMIX_INPUT_4_SOURCE:
2016 case ARIZONA_OUT1RMIX_INPUT_4_VOLUME:
2017 case ARIZONA_OUT2LMIX_INPUT_1_SOURCE:
2018 case ARIZONA_OUT2LMIX_INPUT_1_VOLUME:
2019 case ARIZONA_OUT2LMIX_INPUT_2_SOURCE:
2020 case ARIZONA_OUT2LMIX_INPUT_2_VOLUME:
2021 case ARIZONA_OUT2LMIX_INPUT_3_SOURCE:
2022 case ARIZONA_OUT2LMIX_INPUT_3_VOLUME:
2023 case ARIZONA_OUT2LMIX_INPUT_4_SOURCE:
2024 case ARIZONA_OUT2LMIX_INPUT_4_VOLUME:
2025 case ARIZONA_OUT2RMIX_INPUT_1_SOURCE:
2026 case ARIZONA_OUT2RMIX_INPUT_1_VOLUME:
2027 case ARIZONA_OUT2RMIX_INPUT_2_SOURCE:
2028 case ARIZONA_OUT2RMIX_INPUT_2_VOLUME:
2029 case ARIZONA_OUT2RMIX_INPUT_3_SOURCE:
2030 case ARIZONA_OUT2RMIX_INPUT_3_VOLUME:
2031 case ARIZONA_OUT2RMIX_INPUT_4_SOURCE:
2032 case ARIZONA_OUT2RMIX_INPUT_4_VOLUME:
2033 case ARIZONA_OUT3LMIX_INPUT_1_SOURCE:
2034 case ARIZONA_OUT3LMIX_INPUT_1_VOLUME:
2035 case ARIZONA_OUT3LMIX_INPUT_2_SOURCE:
2036 case ARIZONA_OUT3LMIX_INPUT_2_VOLUME:
2037 case ARIZONA_OUT3LMIX_INPUT_3_SOURCE:
2038 case ARIZONA_OUT3LMIX_INPUT_3_VOLUME:
2039 case ARIZONA_OUT3LMIX_INPUT_4_SOURCE:
2040 case ARIZONA_OUT3LMIX_INPUT_4_VOLUME:
2041 case ARIZONA_OUT3RMIX_INPUT_1_SOURCE:
2042 case ARIZONA_OUT3RMIX_INPUT_1_VOLUME:
2043 case ARIZONA_OUT3RMIX_INPUT_2_SOURCE:
2044 case ARIZONA_OUT3RMIX_INPUT_2_VOLUME:
2045 case ARIZONA_OUT3RMIX_INPUT_3_SOURCE:
2046 case ARIZONA_OUT3RMIX_INPUT_3_VOLUME:
2047 case ARIZONA_OUT3RMIX_INPUT_4_SOURCE:
2048 case ARIZONA_OUT3RMIX_INPUT_4_VOLUME:
2049 case ARIZONA_OUT4LMIX_INPUT_1_SOURCE:
2050 case ARIZONA_OUT4LMIX_INPUT_1_VOLUME:
2051 case ARIZONA_OUT4LMIX_INPUT_2_SOURCE:
2052 case ARIZONA_OUT4LMIX_INPUT_2_VOLUME:
2053 case ARIZONA_OUT4LMIX_INPUT_3_SOURCE:
2054 case ARIZONA_OUT4LMIX_INPUT_3_VOLUME:
2055 case ARIZONA_OUT4LMIX_INPUT_4_SOURCE:
2056 case ARIZONA_OUT4LMIX_INPUT_4_VOLUME:
2057 case ARIZONA_OUT4RMIX_INPUT_1_SOURCE:
2058 case ARIZONA_OUT4RMIX_INPUT_1_VOLUME:
2059 case ARIZONA_OUT4RMIX_INPUT_2_SOURCE:
2060 case ARIZONA_OUT4RMIX_INPUT_2_VOLUME:
2061 case ARIZONA_OUT4RMIX_INPUT_3_SOURCE:
2062 case ARIZONA_OUT4RMIX_INPUT_3_VOLUME:
2063 case ARIZONA_OUT4RMIX_INPUT_4_SOURCE:
2064 case ARIZONA_OUT4RMIX_INPUT_4_VOLUME:
2065 case ARIZONA_OUT5LMIX_INPUT_1_SOURCE:
2066 case ARIZONA_OUT5LMIX_INPUT_1_VOLUME:
2067 case ARIZONA_OUT5LMIX_INPUT_2_SOURCE:
2068 case ARIZONA_OUT5LMIX_INPUT_2_VOLUME:
2069 case ARIZONA_OUT5LMIX_INPUT_3_SOURCE:
2070 case ARIZONA_OUT5LMIX_INPUT_3_VOLUME:
2071 case ARIZONA_OUT5LMIX_INPUT_4_SOURCE:
2072 case ARIZONA_OUT5LMIX_INPUT_4_VOLUME:
2073 case ARIZONA_OUT5RMIX_INPUT_1_SOURCE:
2074 case ARIZONA_OUT5RMIX_INPUT_1_VOLUME:
2075 case ARIZONA_OUT5RMIX_INPUT_2_SOURCE:
2076 case ARIZONA_OUT5RMIX_INPUT_2_VOLUME:
2077 case ARIZONA_OUT5RMIX_INPUT_3_SOURCE:
2078 case ARIZONA_OUT5RMIX_INPUT_3_VOLUME:
2079 case ARIZONA_OUT5RMIX_INPUT_4_SOURCE:
2080 case ARIZONA_OUT5RMIX_INPUT_4_VOLUME:
2081 case ARIZONA_OUT6LMIX_INPUT_1_SOURCE:
2082 case ARIZONA_OUT6LMIX_INPUT_1_VOLUME:
2083 case ARIZONA_OUT6LMIX_INPUT_2_SOURCE:
2084 case ARIZONA_OUT6LMIX_INPUT_2_VOLUME:
2085 case ARIZONA_OUT6LMIX_INPUT_3_SOURCE:
2086 case ARIZONA_OUT6LMIX_INPUT_3_VOLUME:
2087 case ARIZONA_OUT6LMIX_INPUT_4_SOURCE:
2088 case ARIZONA_OUT6LMIX_INPUT_4_VOLUME:
2089 case ARIZONA_OUT6RMIX_INPUT_1_SOURCE:
2090 case ARIZONA_OUT6RMIX_INPUT_1_VOLUME:
2091 case ARIZONA_OUT6RMIX_INPUT_2_SOURCE:
2092 case ARIZONA_OUT6RMIX_INPUT_2_VOLUME:
2093 case ARIZONA_OUT6RMIX_INPUT_3_SOURCE:
2094 case ARIZONA_OUT6RMIX_INPUT_3_VOLUME:
2095 case ARIZONA_OUT6RMIX_INPUT_4_SOURCE:
2096 case ARIZONA_OUT6RMIX_INPUT_4_VOLUME:
2097 case ARIZONA_AIF1TX1MIX_INPUT_1_SOURCE:
2098 case ARIZONA_AIF1TX1MIX_INPUT_1_VOLUME:
2099 case ARIZONA_AIF1TX1MIX_INPUT_2_SOURCE:
2100 case ARIZONA_AIF1TX1MIX_INPUT_2_VOLUME:
2101 case ARIZONA_AIF1TX1MIX_INPUT_3_SOURCE:
2102 case ARIZONA_AIF1TX1MIX_INPUT_3_VOLUME:
2103 case ARIZONA_AIF1TX1MIX_INPUT_4_SOURCE:
2104 case ARIZONA_AIF1TX1MIX_INPUT_4_VOLUME:
2105 case ARIZONA_AIF1TX2MIX_INPUT_1_SOURCE:
2106 case ARIZONA_AIF1TX2MIX_INPUT_1_VOLUME:
2107 case ARIZONA_AIF1TX2MIX_INPUT_2_SOURCE:
2108 case ARIZONA_AIF1TX2MIX_INPUT_2_VOLUME:
2109 case ARIZONA_AIF1TX2MIX_INPUT_3_SOURCE:
2110 case ARIZONA_AIF1TX2MIX_INPUT_3_VOLUME:
2111 case ARIZONA_AIF1TX2MIX_INPUT_4_SOURCE:
2112 case ARIZONA_AIF1TX2MIX_INPUT_4_VOLUME:
2113 case ARIZONA_AIF1TX3MIX_INPUT_1_SOURCE:
2114 case ARIZONA_AIF1TX3MIX_INPUT_1_VOLUME:
2115 case ARIZONA_AIF1TX3MIX_INPUT_2_SOURCE:
2116 case ARIZONA_AIF1TX3MIX_INPUT_2_VOLUME:
2117 case ARIZONA_AIF1TX3MIX_INPUT_3_SOURCE:
2118 case ARIZONA_AIF1TX3MIX_INPUT_3_VOLUME:
2119 case ARIZONA_AIF1TX3MIX_INPUT_4_SOURCE:
2120 case ARIZONA_AIF1TX3MIX_INPUT_4_VOLUME:
2121 case ARIZONA_AIF1TX4MIX_INPUT_1_SOURCE:
2122 case ARIZONA_AIF1TX4MIX_INPUT_1_VOLUME:
2123 case ARIZONA_AIF1TX4MIX_INPUT_2_SOURCE:
2124 case ARIZONA_AIF1TX4MIX_INPUT_2_VOLUME:
2125 case ARIZONA_AIF1TX4MIX_INPUT_3_SOURCE:
2126 case ARIZONA_AIF1TX4MIX_INPUT_3_VOLUME:
2127 case ARIZONA_AIF1TX4MIX_INPUT_4_SOURCE:
2128 case ARIZONA_AIF1TX4MIX_INPUT_4_VOLUME:
2129 case ARIZONA_AIF1TX5MIX_INPUT_1_SOURCE:
2130 case ARIZONA_AIF1TX5MIX_INPUT_1_VOLUME:
2131 case ARIZONA_AIF1TX5MIX_INPUT_2_SOURCE:
2132 case ARIZONA_AIF1TX5MIX_INPUT_2_VOLUME:
2133 case ARIZONA_AIF1TX5MIX_INPUT_3_SOURCE:
2134 case ARIZONA_AIF1TX5MIX_INPUT_3_VOLUME:
2135 case ARIZONA_AIF1TX5MIX_INPUT_4_SOURCE:
2136 case ARIZONA_AIF1TX5MIX_INPUT_4_VOLUME:
2137 case ARIZONA_AIF1TX6MIX_INPUT_1_SOURCE:
2138 case ARIZONA_AIF1TX6MIX_INPUT_1_VOLUME:
2139 case ARIZONA_AIF1TX6MIX_INPUT_2_SOURCE:
2140 case ARIZONA_AIF1TX6MIX_INPUT_2_VOLUME:
2141 case ARIZONA_AIF1TX6MIX_INPUT_3_SOURCE:
2142 case ARIZONA_AIF1TX6MIX_INPUT_3_VOLUME:
2143 case ARIZONA_AIF1TX6MIX_INPUT_4_SOURCE:
2144 case ARIZONA_AIF1TX6MIX_INPUT_4_VOLUME:
2145 case ARIZONA_AIF1TX7MIX_INPUT_1_SOURCE:
2146 case ARIZONA_AIF1TX7MIX_INPUT_1_VOLUME:
2147 case ARIZONA_AIF1TX7MIX_INPUT_2_SOURCE:
2148 case ARIZONA_AIF1TX7MIX_INPUT_2_VOLUME:
2149 case ARIZONA_AIF1TX7MIX_INPUT_3_SOURCE:
2150 case ARIZONA_AIF1TX7MIX_INPUT_3_VOLUME:
2151 case ARIZONA_AIF1TX7MIX_INPUT_4_SOURCE:
2152 case ARIZONA_AIF1TX7MIX_INPUT_4_VOLUME:
2153 case ARIZONA_AIF1TX8MIX_INPUT_1_SOURCE:
2154 case ARIZONA_AIF1TX8MIX_INPUT_1_VOLUME:
2155 case ARIZONA_AIF1TX8MIX_INPUT_2_SOURCE:
2156 case ARIZONA_AIF1TX8MIX_INPUT_2_VOLUME:
2157 case ARIZONA_AIF1TX8MIX_INPUT_3_SOURCE:
2158 case ARIZONA_AIF1TX8MIX_INPUT_3_VOLUME:
2159 case ARIZONA_AIF1TX8MIX_INPUT_4_SOURCE:
2160 case ARIZONA_AIF1TX8MIX_INPUT_4_VOLUME:
2161 case ARIZONA_AIF2TX1MIX_INPUT_1_SOURCE:
2162 case ARIZONA_AIF2TX1MIX_INPUT_1_VOLUME:
2163 case ARIZONA_AIF2TX1MIX_INPUT_2_SOURCE:
2164 case ARIZONA_AIF2TX1MIX_INPUT_2_VOLUME:
2165 case ARIZONA_AIF2TX1MIX_INPUT_3_SOURCE:
2166 case ARIZONA_AIF2TX1MIX_INPUT_3_VOLUME:
2167 case ARIZONA_AIF2TX1MIX_INPUT_4_SOURCE:
2168 case ARIZONA_AIF2TX1MIX_INPUT_4_VOLUME:
2169 case ARIZONA_AIF2TX2MIX_INPUT_1_SOURCE:
2170 case ARIZONA_AIF2TX2MIX_INPUT_1_VOLUME:
2171 case ARIZONA_AIF2TX2MIX_INPUT_2_SOURCE:
2172 case ARIZONA_AIF2TX2MIX_INPUT_2_VOLUME:
2173 case ARIZONA_AIF2TX2MIX_INPUT_3_SOURCE:
2174 case ARIZONA_AIF2TX2MIX_INPUT_3_VOLUME:
2175 case ARIZONA_AIF2TX2MIX_INPUT_4_SOURCE:
2176 case ARIZONA_AIF2TX2MIX_INPUT_4_VOLUME:
Charles Keepax32a8fda2013-11-27 12:51:17 +00002177 case ARIZONA_AIF2TX3MIX_INPUT_1_SOURCE:
2178 case ARIZONA_AIF2TX3MIX_INPUT_1_VOLUME:
2179 case ARIZONA_AIF2TX3MIX_INPUT_2_SOURCE:
2180 case ARIZONA_AIF2TX3MIX_INPUT_2_VOLUME:
2181 case ARIZONA_AIF2TX3MIX_INPUT_3_SOURCE:
2182 case ARIZONA_AIF2TX3MIX_INPUT_3_VOLUME:
2183 case ARIZONA_AIF2TX3MIX_INPUT_4_SOURCE:
2184 case ARIZONA_AIF2TX3MIX_INPUT_4_VOLUME:
2185 case ARIZONA_AIF2TX4MIX_INPUT_1_SOURCE:
2186 case ARIZONA_AIF2TX4MIX_INPUT_1_VOLUME:
2187 case ARIZONA_AIF2TX4MIX_INPUT_2_SOURCE:
2188 case ARIZONA_AIF2TX4MIX_INPUT_2_VOLUME:
2189 case ARIZONA_AIF2TX4MIX_INPUT_3_SOURCE:
2190 case ARIZONA_AIF2TX4MIX_INPUT_3_VOLUME:
2191 case ARIZONA_AIF2TX4MIX_INPUT_4_SOURCE:
2192 case ARIZONA_AIF2TX4MIX_INPUT_4_VOLUME:
2193 case ARIZONA_AIF2TX5MIX_INPUT_1_SOURCE:
2194 case ARIZONA_AIF2TX5MIX_INPUT_1_VOLUME:
2195 case ARIZONA_AIF2TX5MIX_INPUT_2_SOURCE:
2196 case ARIZONA_AIF2TX5MIX_INPUT_2_VOLUME:
2197 case ARIZONA_AIF2TX5MIX_INPUT_3_SOURCE:
2198 case ARIZONA_AIF2TX5MIX_INPUT_3_VOLUME:
2199 case ARIZONA_AIF2TX5MIX_INPUT_4_SOURCE:
2200 case ARIZONA_AIF2TX5MIX_INPUT_4_VOLUME:
2201 case ARIZONA_AIF2TX6MIX_INPUT_1_SOURCE:
2202 case ARIZONA_AIF2TX6MIX_INPUT_1_VOLUME:
2203 case ARIZONA_AIF2TX6MIX_INPUT_2_SOURCE:
2204 case ARIZONA_AIF2TX6MIX_INPUT_2_VOLUME:
2205 case ARIZONA_AIF2TX6MIX_INPUT_3_SOURCE:
2206 case ARIZONA_AIF2TX6MIX_INPUT_3_VOLUME:
2207 case ARIZONA_AIF2TX6MIX_INPUT_4_SOURCE:
2208 case ARIZONA_AIF2TX6MIX_INPUT_4_VOLUME:
Mark Brown9cd9e282012-07-10 12:37:57 +01002209 case ARIZONA_AIF3TX1MIX_INPUT_1_SOURCE:
2210 case ARIZONA_AIF3TX1MIX_INPUT_1_VOLUME:
2211 case ARIZONA_AIF3TX1MIX_INPUT_2_SOURCE:
2212 case ARIZONA_AIF3TX1MIX_INPUT_2_VOLUME:
2213 case ARIZONA_AIF3TX1MIX_INPUT_3_SOURCE:
2214 case ARIZONA_AIF3TX1MIX_INPUT_3_VOLUME:
2215 case ARIZONA_AIF3TX1MIX_INPUT_4_SOURCE:
2216 case ARIZONA_AIF3TX1MIX_INPUT_4_VOLUME:
2217 case ARIZONA_AIF3TX2MIX_INPUT_1_SOURCE:
2218 case ARIZONA_AIF3TX2MIX_INPUT_1_VOLUME:
2219 case ARIZONA_AIF3TX2MIX_INPUT_2_SOURCE:
2220 case ARIZONA_AIF3TX2MIX_INPUT_2_VOLUME:
2221 case ARIZONA_AIF3TX2MIX_INPUT_3_SOURCE:
2222 case ARIZONA_AIF3TX2MIX_INPUT_3_VOLUME:
2223 case ARIZONA_AIF3TX2MIX_INPUT_4_SOURCE:
2224 case ARIZONA_AIF3TX2MIX_INPUT_4_VOLUME:
2225 case ARIZONA_SLIMTX1MIX_INPUT_1_SOURCE:
2226 case ARIZONA_SLIMTX1MIX_INPUT_1_VOLUME:
2227 case ARIZONA_SLIMTX1MIX_INPUT_2_SOURCE:
2228 case ARIZONA_SLIMTX1MIX_INPUT_2_VOLUME:
2229 case ARIZONA_SLIMTX1MIX_INPUT_3_SOURCE:
2230 case ARIZONA_SLIMTX1MIX_INPUT_3_VOLUME:
2231 case ARIZONA_SLIMTX1MIX_INPUT_4_SOURCE:
2232 case ARIZONA_SLIMTX1MIX_INPUT_4_VOLUME:
2233 case ARIZONA_SLIMTX2MIX_INPUT_1_SOURCE:
2234 case ARIZONA_SLIMTX2MIX_INPUT_1_VOLUME:
2235 case ARIZONA_SLIMTX2MIX_INPUT_2_SOURCE:
2236 case ARIZONA_SLIMTX2MIX_INPUT_2_VOLUME:
2237 case ARIZONA_SLIMTX2MIX_INPUT_3_SOURCE:
2238 case ARIZONA_SLIMTX2MIX_INPUT_3_VOLUME:
2239 case ARIZONA_SLIMTX2MIX_INPUT_4_SOURCE:
2240 case ARIZONA_SLIMTX2MIX_INPUT_4_VOLUME:
2241 case ARIZONA_SLIMTX3MIX_INPUT_1_SOURCE:
2242 case ARIZONA_SLIMTX3MIX_INPUT_1_VOLUME:
2243 case ARIZONA_SLIMTX3MIX_INPUT_2_SOURCE:
2244 case ARIZONA_SLIMTX3MIX_INPUT_2_VOLUME:
2245 case ARIZONA_SLIMTX3MIX_INPUT_3_SOURCE:
2246 case ARIZONA_SLIMTX3MIX_INPUT_3_VOLUME:
2247 case ARIZONA_SLIMTX3MIX_INPUT_4_SOURCE:
2248 case ARIZONA_SLIMTX3MIX_INPUT_4_VOLUME:
2249 case ARIZONA_SLIMTX4MIX_INPUT_1_SOURCE:
2250 case ARIZONA_SLIMTX4MIX_INPUT_1_VOLUME:
2251 case ARIZONA_SLIMTX4MIX_INPUT_2_SOURCE:
2252 case ARIZONA_SLIMTX4MIX_INPUT_2_VOLUME:
2253 case ARIZONA_SLIMTX4MIX_INPUT_3_SOURCE:
2254 case ARIZONA_SLIMTX4MIX_INPUT_3_VOLUME:
2255 case ARIZONA_SLIMTX4MIX_INPUT_4_SOURCE:
2256 case ARIZONA_SLIMTX4MIX_INPUT_4_VOLUME:
2257 case ARIZONA_SLIMTX5MIX_INPUT_1_SOURCE:
2258 case ARIZONA_SLIMTX5MIX_INPUT_1_VOLUME:
2259 case ARIZONA_SLIMTX5MIX_INPUT_2_SOURCE:
2260 case ARIZONA_SLIMTX5MIX_INPUT_2_VOLUME:
2261 case ARIZONA_SLIMTX5MIX_INPUT_3_SOURCE:
2262 case ARIZONA_SLIMTX5MIX_INPUT_3_VOLUME:
2263 case ARIZONA_SLIMTX5MIX_INPUT_4_SOURCE:
2264 case ARIZONA_SLIMTX5MIX_INPUT_4_VOLUME:
2265 case ARIZONA_SLIMTX6MIX_INPUT_1_SOURCE:
2266 case ARIZONA_SLIMTX6MIX_INPUT_1_VOLUME:
2267 case ARIZONA_SLIMTX6MIX_INPUT_2_SOURCE:
2268 case ARIZONA_SLIMTX6MIX_INPUT_2_VOLUME:
2269 case ARIZONA_SLIMTX6MIX_INPUT_3_SOURCE:
2270 case ARIZONA_SLIMTX6MIX_INPUT_3_VOLUME:
2271 case ARIZONA_SLIMTX6MIX_INPUT_4_SOURCE:
2272 case ARIZONA_SLIMTX6MIX_INPUT_4_VOLUME:
2273 case ARIZONA_SLIMTX7MIX_INPUT_1_SOURCE:
2274 case ARIZONA_SLIMTX7MIX_INPUT_1_VOLUME:
2275 case ARIZONA_SLIMTX7MIX_INPUT_2_SOURCE:
2276 case ARIZONA_SLIMTX7MIX_INPUT_2_VOLUME:
2277 case ARIZONA_SLIMTX7MIX_INPUT_3_SOURCE:
2278 case ARIZONA_SLIMTX7MIX_INPUT_3_VOLUME:
2279 case ARIZONA_SLIMTX7MIX_INPUT_4_SOURCE:
2280 case ARIZONA_SLIMTX7MIX_INPUT_4_VOLUME:
2281 case ARIZONA_SLIMTX8MIX_INPUT_1_SOURCE:
2282 case ARIZONA_SLIMTX8MIX_INPUT_1_VOLUME:
2283 case ARIZONA_SLIMTX8MIX_INPUT_2_SOURCE:
2284 case ARIZONA_SLIMTX8MIX_INPUT_2_VOLUME:
2285 case ARIZONA_SLIMTX8MIX_INPUT_3_SOURCE:
2286 case ARIZONA_SLIMTX8MIX_INPUT_3_VOLUME:
2287 case ARIZONA_SLIMTX8MIX_INPUT_4_SOURCE:
2288 case ARIZONA_SLIMTX8MIX_INPUT_4_VOLUME:
2289 case ARIZONA_EQ1MIX_INPUT_1_SOURCE:
2290 case ARIZONA_EQ1MIX_INPUT_1_VOLUME:
2291 case ARIZONA_EQ1MIX_INPUT_2_SOURCE:
2292 case ARIZONA_EQ1MIX_INPUT_2_VOLUME:
2293 case ARIZONA_EQ1MIX_INPUT_3_SOURCE:
2294 case ARIZONA_EQ1MIX_INPUT_3_VOLUME:
2295 case ARIZONA_EQ1MIX_INPUT_4_SOURCE:
2296 case ARIZONA_EQ1MIX_INPUT_4_VOLUME:
2297 case ARIZONA_EQ2MIX_INPUT_1_SOURCE:
2298 case ARIZONA_EQ2MIX_INPUT_1_VOLUME:
2299 case ARIZONA_EQ2MIX_INPUT_2_SOURCE:
2300 case ARIZONA_EQ2MIX_INPUT_2_VOLUME:
2301 case ARIZONA_EQ2MIX_INPUT_3_SOURCE:
2302 case ARIZONA_EQ2MIX_INPUT_3_VOLUME:
2303 case ARIZONA_EQ2MIX_INPUT_4_SOURCE:
2304 case ARIZONA_EQ2MIX_INPUT_4_VOLUME:
2305 case ARIZONA_EQ3MIX_INPUT_1_SOURCE:
2306 case ARIZONA_EQ3MIX_INPUT_1_VOLUME:
2307 case ARIZONA_EQ3MIX_INPUT_2_SOURCE:
2308 case ARIZONA_EQ3MIX_INPUT_2_VOLUME:
2309 case ARIZONA_EQ3MIX_INPUT_3_SOURCE:
2310 case ARIZONA_EQ3MIX_INPUT_3_VOLUME:
2311 case ARIZONA_EQ3MIX_INPUT_4_SOURCE:
2312 case ARIZONA_EQ3MIX_INPUT_4_VOLUME:
2313 case ARIZONA_EQ4MIX_INPUT_1_SOURCE:
2314 case ARIZONA_EQ4MIX_INPUT_1_VOLUME:
2315 case ARIZONA_EQ4MIX_INPUT_2_SOURCE:
2316 case ARIZONA_EQ4MIX_INPUT_2_VOLUME:
2317 case ARIZONA_EQ4MIX_INPUT_3_SOURCE:
2318 case ARIZONA_EQ4MIX_INPUT_3_VOLUME:
2319 case ARIZONA_EQ4MIX_INPUT_4_SOURCE:
2320 case ARIZONA_EQ4MIX_INPUT_4_VOLUME:
2321 case ARIZONA_DRC1LMIX_INPUT_1_SOURCE:
2322 case ARIZONA_DRC1LMIX_INPUT_1_VOLUME:
2323 case ARIZONA_DRC1LMIX_INPUT_2_SOURCE:
2324 case ARIZONA_DRC1LMIX_INPUT_2_VOLUME:
2325 case ARIZONA_DRC1LMIX_INPUT_3_SOURCE:
2326 case ARIZONA_DRC1LMIX_INPUT_3_VOLUME:
2327 case ARIZONA_DRC1LMIX_INPUT_4_SOURCE:
2328 case ARIZONA_DRC1LMIX_INPUT_4_VOLUME:
2329 case ARIZONA_DRC1RMIX_INPUT_1_SOURCE:
2330 case ARIZONA_DRC1RMIX_INPUT_1_VOLUME:
2331 case ARIZONA_DRC1RMIX_INPUT_2_SOURCE:
2332 case ARIZONA_DRC1RMIX_INPUT_2_VOLUME:
2333 case ARIZONA_DRC1RMIX_INPUT_3_SOURCE:
2334 case ARIZONA_DRC1RMIX_INPUT_3_VOLUME:
2335 case ARIZONA_DRC1RMIX_INPUT_4_SOURCE:
2336 case ARIZONA_DRC1RMIX_INPUT_4_VOLUME:
2337 case ARIZONA_DRC2LMIX_INPUT_1_SOURCE:
2338 case ARIZONA_DRC2LMIX_INPUT_1_VOLUME:
2339 case ARIZONA_DRC2LMIX_INPUT_2_SOURCE:
2340 case ARIZONA_DRC2LMIX_INPUT_2_VOLUME:
2341 case ARIZONA_DRC2LMIX_INPUT_3_SOURCE:
2342 case ARIZONA_DRC2LMIX_INPUT_3_VOLUME:
2343 case ARIZONA_DRC2LMIX_INPUT_4_SOURCE:
2344 case ARIZONA_DRC2LMIX_INPUT_4_VOLUME:
2345 case ARIZONA_DRC2RMIX_INPUT_1_SOURCE:
2346 case ARIZONA_DRC2RMIX_INPUT_1_VOLUME:
2347 case ARIZONA_DRC2RMIX_INPUT_2_SOURCE:
2348 case ARIZONA_DRC2RMIX_INPUT_2_VOLUME:
2349 case ARIZONA_DRC2RMIX_INPUT_3_SOURCE:
2350 case ARIZONA_DRC2RMIX_INPUT_3_VOLUME:
2351 case ARIZONA_DRC2RMIX_INPUT_4_SOURCE:
2352 case ARIZONA_DRC2RMIX_INPUT_4_VOLUME:
2353 case ARIZONA_HPLP1MIX_INPUT_1_SOURCE:
2354 case ARIZONA_HPLP1MIX_INPUT_1_VOLUME:
2355 case ARIZONA_HPLP1MIX_INPUT_2_SOURCE:
2356 case ARIZONA_HPLP1MIX_INPUT_2_VOLUME:
2357 case ARIZONA_HPLP1MIX_INPUT_3_SOURCE:
2358 case ARIZONA_HPLP1MIX_INPUT_3_VOLUME:
2359 case ARIZONA_HPLP1MIX_INPUT_4_SOURCE:
2360 case ARIZONA_HPLP1MIX_INPUT_4_VOLUME:
2361 case ARIZONA_HPLP2MIX_INPUT_1_SOURCE:
2362 case ARIZONA_HPLP2MIX_INPUT_1_VOLUME:
2363 case ARIZONA_HPLP2MIX_INPUT_2_SOURCE:
2364 case ARIZONA_HPLP2MIX_INPUT_2_VOLUME:
2365 case ARIZONA_HPLP2MIX_INPUT_3_SOURCE:
2366 case ARIZONA_HPLP2MIX_INPUT_3_VOLUME:
2367 case ARIZONA_HPLP2MIX_INPUT_4_SOURCE:
2368 case ARIZONA_HPLP2MIX_INPUT_4_VOLUME:
2369 case ARIZONA_HPLP3MIX_INPUT_1_SOURCE:
2370 case ARIZONA_HPLP3MIX_INPUT_1_VOLUME:
2371 case ARIZONA_HPLP3MIX_INPUT_2_SOURCE:
2372 case ARIZONA_HPLP3MIX_INPUT_2_VOLUME:
2373 case ARIZONA_HPLP3MIX_INPUT_3_SOURCE:
2374 case ARIZONA_HPLP3MIX_INPUT_3_VOLUME:
2375 case ARIZONA_HPLP3MIX_INPUT_4_SOURCE:
2376 case ARIZONA_HPLP3MIX_INPUT_4_VOLUME:
2377 case ARIZONA_HPLP4MIX_INPUT_1_SOURCE:
2378 case ARIZONA_HPLP4MIX_INPUT_1_VOLUME:
2379 case ARIZONA_HPLP4MIX_INPUT_2_SOURCE:
2380 case ARIZONA_HPLP4MIX_INPUT_2_VOLUME:
2381 case ARIZONA_HPLP4MIX_INPUT_3_SOURCE:
2382 case ARIZONA_HPLP4MIX_INPUT_3_VOLUME:
2383 case ARIZONA_HPLP4MIX_INPUT_4_SOURCE:
2384 case ARIZONA_HPLP4MIX_INPUT_4_VOLUME:
2385 case ARIZONA_DSP1LMIX_INPUT_1_SOURCE:
2386 case ARIZONA_DSP1LMIX_INPUT_1_VOLUME:
2387 case ARIZONA_DSP1LMIX_INPUT_2_SOURCE:
2388 case ARIZONA_DSP1LMIX_INPUT_2_VOLUME:
2389 case ARIZONA_DSP1LMIX_INPUT_3_SOURCE:
2390 case ARIZONA_DSP1LMIX_INPUT_3_VOLUME:
2391 case ARIZONA_DSP1LMIX_INPUT_4_SOURCE:
2392 case ARIZONA_DSP1LMIX_INPUT_4_VOLUME:
2393 case ARIZONA_DSP1RMIX_INPUT_1_SOURCE:
2394 case ARIZONA_DSP1RMIX_INPUT_1_VOLUME:
2395 case ARIZONA_DSP1RMIX_INPUT_2_SOURCE:
2396 case ARIZONA_DSP1RMIX_INPUT_2_VOLUME:
2397 case ARIZONA_DSP1RMIX_INPUT_3_SOURCE:
2398 case ARIZONA_DSP1RMIX_INPUT_3_VOLUME:
2399 case ARIZONA_DSP1RMIX_INPUT_4_SOURCE:
2400 case ARIZONA_DSP1RMIX_INPUT_4_VOLUME:
2401 case ARIZONA_DSP1AUX1MIX_INPUT_1_SOURCE:
2402 case ARIZONA_DSP1AUX2MIX_INPUT_1_SOURCE:
2403 case ARIZONA_DSP1AUX3MIX_INPUT_1_SOURCE:
2404 case ARIZONA_DSP1AUX4MIX_INPUT_1_SOURCE:
2405 case ARIZONA_DSP1AUX5MIX_INPUT_1_SOURCE:
2406 case ARIZONA_DSP1AUX6MIX_INPUT_1_SOURCE:
2407 case ARIZONA_DSP2LMIX_INPUT_1_SOURCE:
2408 case ARIZONA_DSP2LMIX_INPUT_1_VOLUME:
2409 case ARIZONA_DSP2LMIX_INPUT_2_SOURCE:
2410 case ARIZONA_DSP2LMIX_INPUT_2_VOLUME:
2411 case ARIZONA_DSP2LMIX_INPUT_3_SOURCE:
2412 case ARIZONA_DSP2LMIX_INPUT_3_VOLUME:
2413 case ARIZONA_DSP2LMIX_INPUT_4_SOURCE:
2414 case ARIZONA_DSP2LMIX_INPUT_4_VOLUME:
2415 case ARIZONA_DSP2RMIX_INPUT_1_SOURCE:
2416 case ARIZONA_DSP2RMIX_INPUT_1_VOLUME:
2417 case ARIZONA_DSP2RMIX_INPUT_2_SOURCE:
2418 case ARIZONA_DSP2RMIX_INPUT_2_VOLUME:
2419 case ARIZONA_DSP2RMIX_INPUT_3_SOURCE:
2420 case ARIZONA_DSP2RMIX_INPUT_3_VOLUME:
2421 case ARIZONA_DSP2RMIX_INPUT_4_SOURCE:
2422 case ARIZONA_DSP2RMIX_INPUT_4_VOLUME:
2423 case ARIZONA_DSP2AUX1MIX_INPUT_1_SOURCE:
2424 case ARIZONA_DSP2AUX2MIX_INPUT_1_SOURCE:
2425 case ARIZONA_DSP2AUX3MIX_INPUT_1_SOURCE:
2426 case ARIZONA_DSP2AUX4MIX_INPUT_1_SOURCE:
2427 case ARIZONA_DSP2AUX5MIX_INPUT_1_SOURCE:
2428 case ARIZONA_DSP2AUX6MIX_INPUT_1_SOURCE:
2429 case ARIZONA_DSP3LMIX_INPUT_1_SOURCE:
2430 case ARIZONA_DSP3LMIX_INPUT_1_VOLUME:
2431 case ARIZONA_DSP3LMIX_INPUT_2_SOURCE:
2432 case ARIZONA_DSP3LMIX_INPUT_2_VOLUME:
2433 case ARIZONA_DSP3LMIX_INPUT_3_SOURCE:
2434 case ARIZONA_DSP3LMIX_INPUT_3_VOLUME:
2435 case ARIZONA_DSP3LMIX_INPUT_4_SOURCE:
2436 case ARIZONA_DSP3LMIX_INPUT_4_VOLUME:
2437 case ARIZONA_DSP3RMIX_INPUT_1_SOURCE:
2438 case ARIZONA_DSP3RMIX_INPUT_1_VOLUME:
2439 case ARIZONA_DSP3RMIX_INPUT_2_SOURCE:
2440 case ARIZONA_DSP3RMIX_INPUT_2_VOLUME:
2441 case ARIZONA_DSP3RMIX_INPUT_3_SOURCE:
2442 case ARIZONA_DSP3RMIX_INPUT_3_VOLUME:
2443 case ARIZONA_DSP3RMIX_INPUT_4_SOURCE:
2444 case ARIZONA_DSP3RMIX_INPUT_4_VOLUME:
2445 case ARIZONA_DSP3AUX1MIX_INPUT_1_SOURCE:
2446 case ARIZONA_DSP3AUX2MIX_INPUT_1_SOURCE:
2447 case ARIZONA_DSP3AUX3MIX_INPUT_1_SOURCE:
2448 case ARIZONA_DSP3AUX4MIX_INPUT_1_SOURCE:
2449 case ARIZONA_DSP3AUX5MIX_INPUT_1_SOURCE:
2450 case ARIZONA_DSP3AUX6MIX_INPUT_1_SOURCE:
2451 case ARIZONA_DSP4LMIX_INPUT_1_SOURCE:
2452 case ARIZONA_DSP4LMIX_INPUT_1_VOLUME:
2453 case ARIZONA_DSP4LMIX_INPUT_2_SOURCE:
2454 case ARIZONA_DSP4LMIX_INPUT_2_VOLUME:
2455 case ARIZONA_DSP4LMIX_INPUT_3_SOURCE:
2456 case ARIZONA_DSP4LMIX_INPUT_3_VOLUME:
2457 case ARIZONA_DSP4LMIX_INPUT_4_SOURCE:
2458 case ARIZONA_DSP4LMIX_INPUT_4_VOLUME:
2459 case ARIZONA_DSP4RMIX_INPUT_1_SOURCE:
2460 case ARIZONA_DSP4RMIX_INPUT_1_VOLUME:
2461 case ARIZONA_DSP4RMIX_INPUT_2_SOURCE:
2462 case ARIZONA_DSP4RMIX_INPUT_2_VOLUME:
2463 case ARIZONA_DSP4RMIX_INPUT_3_SOURCE:
2464 case ARIZONA_DSP4RMIX_INPUT_3_VOLUME:
2465 case ARIZONA_DSP4RMIX_INPUT_4_SOURCE:
2466 case ARIZONA_DSP4RMIX_INPUT_4_VOLUME:
2467 case ARIZONA_DSP4AUX1MIX_INPUT_1_SOURCE:
2468 case ARIZONA_DSP4AUX2MIX_INPUT_1_SOURCE:
2469 case ARIZONA_DSP4AUX3MIX_INPUT_1_SOURCE:
2470 case ARIZONA_DSP4AUX4MIX_INPUT_1_SOURCE:
2471 case ARIZONA_DSP4AUX5MIX_INPUT_1_SOURCE:
2472 case ARIZONA_DSP4AUX6MIX_INPUT_1_SOURCE:
2473 case ARIZONA_ASRC1LMIX_INPUT_1_SOURCE:
2474 case ARIZONA_ASRC1RMIX_INPUT_1_SOURCE:
2475 case ARIZONA_ASRC2LMIX_INPUT_1_SOURCE:
2476 case ARIZONA_ASRC2RMIX_INPUT_1_SOURCE:
2477 case ARIZONA_ISRC1DEC1MIX_INPUT_1_SOURCE:
2478 case ARIZONA_ISRC1DEC2MIX_INPUT_1_SOURCE:
2479 case ARIZONA_ISRC1DEC3MIX_INPUT_1_SOURCE:
2480 case ARIZONA_ISRC1DEC4MIX_INPUT_1_SOURCE:
2481 case ARIZONA_ISRC1INT1MIX_INPUT_1_SOURCE:
2482 case ARIZONA_ISRC1INT2MIX_INPUT_1_SOURCE:
2483 case ARIZONA_ISRC1INT3MIX_INPUT_1_SOURCE:
2484 case ARIZONA_ISRC1INT4MIX_INPUT_1_SOURCE:
2485 case ARIZONA_ISRC2DEC1MIX_INPUT_1_SOURCE:
2486 case ARIZONA_ISRC2DEC2MIX_INPUT_1_SOURCE:
2487 case ARIZONA_ISRC2DEC3MIX_INPUT_1_SOURCE:
2488 case ARIZONA_ISRC2DEC4MIX_INPUT_1_SOURCE:
2489 case ARIZONA_ISRC2INT1MIX_INPUT_1_SOURCE:
2490 case ARIZONA_ISRC2INT2MIX_INPUT_1_SOURCE:
2491 case ARIZONA_ISRC2INT3MIX_INPUT_1_SOURCE:
2492 case ARIZONA_ISRC2INT4MIX_INPUT_1_SOURCE:
2493 case ARIZONA_ISRC3DEC1MIX_INPUT_1_SOURCE:
2494 case ARIZONA_ISRC3DEC2MIX_INPUT_1_SOURCE:
2495 case ARIZONA_ISRC3DEC3MIX_INPUT_1_SOURCE:
2496 case ARIZONA_ISRC3DEC4MIX_INPUT_1_SOURCE:
2497 case ARIZONA_ISRC3INT1MIX_INPUT_1_SOURCE:
2498 case ARIZONA_ISRC3INT2MIX_INPUT_1_SOURCE:
2499 case ARIZONA_ISRC3INT3MIX_INPUT_1_SOURCE:
2500 case ARIZONA_ISRC3INT4MIX_INPUT_1_SOURCE:
2501 case ARIZONA_GPIO1_CTRL:
2502 case ARIZONA_GPIO2_CTRL:
2503 case ARIZONA_GPIO3_CTRL:
2504 case ARIZONA_GPIO4_CTRL:
2505 case ARIZONA_GPIO5_CTRL:
2506 case ARIZONA_IRQ_CTRL_1:
2507 case ARIZONA_GPIO_DEBOUNCE_CONFIG:
2508 case ARIZONA_MISC_PAD_CTRL_1:
2509 case ARIZONA_MISC_PAD_CTRL_2:
2510 case ARIZONA_MISC_PAD_CTRL_3:
2511 case ARIZONA_MISC_PAD_CTRL_4:
2512 case ARIZONA_MISC_PAD_CTRL_5:
2513 case ARIZONA_MISC_PAD_CTRL_6:
2514 case ARIZONA_MISC_PAD_CTRL_7:
2515 case ARIZONA_MISC_PAD_CTRL_8:
2516 case ARIZONA_MISC_PAD_CTRL_9:
2517 case ARIZONA_MISC_PAD_CTRL_10:
2518 case ARIZONA_MISC_PAD_CTRL_11:
2519 case ARIZONA_MISC_PAD_CTRL_12:
2520 case ARIZONA_MISC_PAD_CTRL_13:
2521 case ARIZONA_MISC_PAD_CTRL_14:
2522 case ARIZONA_MISC_PAD_CTRL_15:
2523 case ARIZONA_MISC_PAD_CTRL_16:
2524 case ARIZONA_MISC_PAD_CTRL_17:
2525 case ARIZONA_MISC_PAD_CTRL_18:
2526 case ARIZONA_INTERRUPT_STATUS_1:
2527 case ARIZONA_INTERRUPT_STATUS_2:
2528 case ARIZONA_INTERRUPT_STATUS_3:
2529 case ARIZONA_INTERRUPT_STATUS_4:
2530 case ARIZONA_INTERRUPT_STATUS_5:
Charles Keepax32155012014-07-15 11:21:48 +01002531 case ARIZONA_INTERRUPT_STATUS_6:
Mark Brown9cd9e282012-07-10 12:37:57 +01002532 case ARIZONA_INTERRUPT_STATUS_1_MASK:
2533 case ARIZONA_INTERRUPT_STATUS_2_MASK:
2534 case ARIZONA_INTERRUPT_STATUS_3_MASK:
2535 case ARIZONA_INTERRUPT_STATUS_4_MASK:
2536 case ARIZONA_INTERRUPT_STATUS_5_MASK:
Charles Keepax32155012014-07-15 11:21:48 +01002537 case ARIZONA_INTERRUPT_STATUS_6_MASK:
Mark Brown9cd9e282012-07-10 12:37:57 +01002538 case ARIZONA_INTERRUPT_CONTROL:
2539 case ARIZONA_IRQ2_STATUS_1:
2540 case ARIZONA_IRQ2_STATUS_2:
2541 case ARIZONA_IRQ2_STATUS_3:
2542 case ARIZONA_IRQ2_STATUS_4:
2543 case ARIZONA_IRQ2_STATUS_5:
Charles Keepax32155012014-07-15 11:21:48 +01002544 case ARIZONA_IRQ2_STATUS_6:
Mark Brown9cd9e282012-07-10 12:37:57 +01002545 case ARIZONA_IRQ2_STATUS_1_MASK:
2546 case ARIZONA_IRQ2_STATUS_2_MASK:
2547 case ARIZONA_IRQ2_STATUS_3_MASK:
2548 case ARIZONA_IRQ2_STATUS_4_MASK:
2549 case ARIZONA_IRQ2_STATUS_5_MASK:
Charles Keepax32155012014-07-15 11:21:48 +01002550 case ARIZONA_IRQ2_STATUS_6_MASK:
Mark Brown9cd9e282012-07-10 12:37:57 +01002551 case ARIZONA_IRQ2_CONTROL:
2552 case ARIZONA_INTERRUPT_RAW_STATUS_2:
2553 case ARIZONA_INTERRUPT_RAW_STATUS_3:
2554 case ARIZONA_INTERRUPT_RAW_STATUS_4:
2555 case ARIZONA_INTERRUPT_RAW_STATUS_5:
2556 case ARIZONA_INTERRUPT_RAW_STATUS_6:
2557 case ARIZONA_INTERRUPT_RAW_STATUS_7:
2558 case ARIZONA_INTERRUPT_RAW_STATUS_8:
Charles Keepax32155012014-07-15 11:21:48 +01002559 case ARIZONA_INTERRUPT_RAW_STATUS_9:
Mark Brown9cd9e282012-07-10 12:37:57 +01002560 case ARIZONA_IRQ_PIN_STATUS:
2561 case ARIZONA_AOD_WKUP_AND_TRIG:
2562 case ARIZONA_AOD_IRQ1:
2563 case ARIZONA_AOD_IRQ2:
2564 case ARIZONA_AOD_IRQ_MASK_IRQ1:
2565 case ARIZONA_AOD_IRQ_MASK_IRQ2:
2566 case ARIZONA_AOD_IRQ_RAW_STATUS:
2567 case ARIZONA_JACK_DETECT_DEBOUNCE:
2568 case ARIZONA_FX_CTRL1:
2569 case ARIZONA_FX_CTRL2:
2570 case ARIZONA_EQ1_1:
2571 case ARIZONA_EQ1_2:
2572 case ARIZONA_EQ1_3:
2573 case ARIZONA_EQ1_4:
2574 case ARIZONA_EQ1_5:
2575 case ARIZONA_EQ1_6:
2576 case ARIZONA_EQ1_7:
2577 case ARIZONA_EQ1_8:
2578 case ARIZONA_EQ1_9:
2579 case ARIZONA_EQ1_10:
2580 case ARIZONA_EQ1_11:
2581 case ARIZONA_EQ1_12:
2582 case ARIZONA_EQ1_13:
2583 case ARIZONA_EQ1_14:
2584 case ARIZONA_EQ1_15:
2585 case ARIZONA_EQ1_16:
2586 case ARIZONA_EQ1_17:
2587 case ARIZONA_EQ1_18:
2588 case ARIZONA_EQ1_19:
2589 case ARIZONA_EQ1_20:
2590 case ARIZONA_EQ1_21:
2591 case ARIZONA_EQ2_1:
2592 case ARIZONA_EQ2_2:
2593 case ARIZONA_EQ2_3:
2594 case ARIZONA_EQ2_4:
2595 case ARIZONA_EQ2_5:
2596 case ARIZONA_EQ2_6:
2597 case ARIZONA_EQ2_7:
2598 case ARIZONA_EQ2_8:
2599 case ARIZONA_EQ2_9:
2600 case ARIZONA_EQ2_10:
2601 case ARIZONA_EQ2_11:
2602 case ARIZONA_EQ2_12:
2603 case ARIZONA_EQ2_13:
2604 case ARIZONA_EQ2_14:
2605 case ARIZONA_EQ2_15:
2606 case ARIZONA_EQ2_16:
2607 case ARIZONA_EQ2_17:
2608 case ARIZONA_EQ2_18:
2609 case ARIZONA_EQ2_19:
2610 case ARIZONA_EQ2_20:
2611 case ARIZONA_EQ2_21:
2612 case ARIZONA_EQ3_1:
2613 case ARIZONA_EQ3_2:
2614 case ARIZONA_EQ3_3:
2615 case ARIZONA_EQ3_4:
2616 case ARIZONA_EQ3_5:
2617 case ARIZONA_EQ3_6:
2618 case ARIZONA_EQ3_7:
2619 case ARIZONA_EQ3_8:
2620 case ARIZONA_EQ3_9:
2621 case ARIZONA_EQ3_10:
2622 case ARIZONA_EQ3_11:
2623 case ARIZONA_EQ3_12:
2624 case ARIZONA_EQ3_13:
2625 case ARIZONA_EQ3_14:
2626 case ARIZONA_EQ3_15:
2627 case ARIZONA_EQ3_16:
2628 case ARIZONA_EQ3_17:
2629 case ARIZONA_EQ3_18:
2630 case ARIZONA_EQ3_19:
2631 case ARIZONA_EQ3_20:
2632 case ARIZONA_EQ3_21:
2633 case ARIZONA_EQ4_1:
2634 case ARIZONA_EQ4_2:
2635 case ARIZONA_EQ4_3:
2636 case ARIZONA_EQ4_4:
2637 case ARIZONA_EQ4_5:
2638 case ARIZONA_EQ4_6:
2639 case ARIZONA_EQ4_7:
2640 case ARIZONA_EQ4_8:
2641 case ARIZONA_EQ4_9:
2642 case ARIZONA_EQ4_10:
2643 case ARIZONA_EQ4_11:
2644 case ARIZONA_EQ4_12:
2645 case ARIZONA_EQ4_13:
2646 case ARIZONA_EQ4_14:
2647 case ARIZONA_EQ4_15:
2648 case ARIZONA_EQ4_16:
2649 case ARIZONA_EQ4_17:
2650 case ARIZONA_EQ4_18:
2651 case ARIZONA_EQ4_19:
2652 case ARIZONA_EQ4_20:
2653 case ARIZONA_EQ4_21:
2654 case ARIZONA_DRC1_CTRL1:
2655 case ARIZONA_DRC1_CTRL2:
2656 case ARIZONA_DRC1_CTRL3:
2657 case ARIZONA_DRC1_CTRL4:
2658 case ARIZONA_DRC1_CTRL5:
2659 case ARIZONA_DRC2_CTRL1:
2660 case ARIZONA_DRC2_CTRL2:
2661 case ARIZONA_DRC2_CTRL3:
2662 case ARIZONA_DRC2_CTRL4:
2663 case ARIZONA_DRC2_CTRL5:
2664 case ARIZONA_HPLPF1_1:
2665 case ARIZONA_HPLPF1_2:
2666 case ARIZONA_HPLPF2_1:
2667 case ARIZONA_HPLPF2_2:
2668 case ARIZONA_HPLPF3_1:
2669 case ARIZONA_HPLPF3_2:
2670 case ARIZONA_HPLPF4_1:
2671 case ARIZONA_HPLPF4_2:
2672 case ARIZONA_ASRC_ENABLE:
2673 case ARIZONA_ASRC_STATUS:
2674 case ARIZONA_ASRC_RATE1:
2675 case ARIZONA_ISRC_1_CTRL_1:
2676 case ARIZONA_ISRC_1_CTRL_2:
2677 case ARIZONA_ISRC_1_CTRL_3:
2678 case ARIZONA_ISRC_2_CTRL_1:
2679 case ARIZONA_ISRC_2_CTRL_2:
2680 case ARIZONA_ISRC_2_CTRL_3:
2681 case ARIZONA_ISRC_3_CTRL_1:
2682 case ARIZONA_ISRC_3_CTRL_2:
2683 case ARIZONA_ISRC_3_CTRL_3:
2684 case ARIZONA_CLOCK_CONTROL:
2685 case ARIZONA_ANC_SRC:
2686 case ARIZONA_DSP_STATUS:
2687 case ARIZONA_DSP1_CONTROL_1:
2688 case ARIZONA_DSP1_CLOCKING_1:
2689 case ARIZONA_DSP1_STATUS_1:
2690 case ARIZONA_DSP1_STATUS_2:
Mark Browne5657052013-05-22 18:55:25 -05002691 case ARIZONA_DSP1_STATUS_3:
Charles Keepax47ec66a2014-01-22 13:04:24 +00002692 case ARIZONA_DSP1_STATUS_4:
2693 case ARIZONA_DSP1_WDMA_BUFFER_1:
2694 case ARIZONA_DSP1_WDMA_BUFFER_2:
2695 case ARIZONA_DSP1_WDMA_BUFFER_3:
2696 case ARIZONA_DSP1_WDMA_BUFFER_4:
2697 case ARIZONA_DSP1_WDMA_BUFFER_5:
2698 case ARIZONA_DSP1_WDMA_BUFFER_6:
2699 case ARIZONA_DSP1_WDMA_BUFFER_7:
2700 case ARIZONA_DSP1_WDMA_BUFFER_8:
2701 case ARIZONA_DSP1_RDMA_BUFFER_1:
2702 case ARIZONA_DSP1_RDMA_BUFFER_2:
2703 case ARIZONA_DSP1_RDMA_BUFFER_3:
2704 case ARIZONA_DSP1_RDMA_BUFFER_4:
2705 case ARIZONA_DSP1_RDMA_BUFFER_5:
2706 case ARIZONA_DSP1_RDMA_BUFFER_6:
2707 case ARIZONA_DSP1_WDMA_CONFIG_1:
2708 case ARIZONA_DSP1_WDMA_CONFIG_2:
2709 case ARIZONA_DSP1_WDMA_OFFSET_1:
2710 case ARIZONA_DSP1_RDMA_CONFIG_1:
2711 case ARIZONA_DSP1_RDMA_OFFSET_1:
2712 case ARIZONA_DSP1_EXTERNAL_START_SELECT_1:
Charles Keepax98755552013-09-17 15:23:04 +01002713 case ARIZONA_DSP1_SCRATCH_0:
2714 case ARIZONA_DSP1_SCRATCH_1:
2715 case ARIZONA_DSP1_SCRATCH_2:
2716 case ARIZONA_DSP1_SCRATCH_3:
Mark Brown9cd9e282012-07-10 12:37:57 +01002717 case ARIZONA_DSP2_CONTROL_1:
2718 case ARIZONA_DSP2_CLOCKING_1:
2719 case ARIZONA_DSP2_STATUS_1:
2720 case ARIZONA_DSP2_STATUS_2:
Mark Browne5657052013-05-22 18:55:25 -05002721 case ARIZONA_DSP2_STATUS_3:
Charles Keepax47ec66a2014-01-22 13:04:24 +00002722 case ARIZONA_DSP2_STATUS_4:
2723 case ARIZONA_DSP2_WDMA_BUFFER_1:
2724 case ARIZONA_DSP2_WDMA_BUFFER_2:
2725 case ARIZONA_DSP2_WDMA_BUFFER_3:
2726 case ARIZONA_DSP2_WDMA_BUFFER_4:
2727 case ARIZONA_DSP2_WDMA_BUFFER_5:
2728 case ARIZONA_DSP2_WDMA_BUFFER_6:
2729 case ARIZONA_DSP2_WDMA_BUFFER_7:
2730 case ARIZONA_DSP2_WDMA_BUFFER_8:
2731 case ARIZONA_DSP2_RDMA_BUFFER_1:
2732 case ARIZONA_DSP2_RDMA_BUFFER_2:
2733 case ARIZONA_DSP2_RDMA_BUFFER_3:
2734 case ARIZONA_DSP2_RDMA_BUFFER_4:
2735 case ARIZONA_DSP2_RDMA_BUFFER_5:
2736 case ARIZONA_DSP2_RDMA_BUFFER_6:
2737 case ARIZONA_DSP2_WDMA_CONFIG_1:
2738 case ARIZONA_DSP2_WDMA_CONFIG_2:
2739 case ARIZONA_DSP2_WDMA_OFFSET_1:
2740 case ARIZONA_DSP2_RDMA_CONFIG_1:
2741 case ARIZONA_DSP2_RDMA_OFFSET_1:
2742 case ARIZONA_DSP2_EXTERNAL_START_SELECT_1:
Charles Keepax98755552013-09-17 15:23:04 +01002743 case ARIZONA_DSP2_SCRATCH_0:
2744 case ARIZONA_DSP2_SCRATCH_1:
2745 case ARIZONA_DSP2_SCRATCH_2:
2746 case ARIZONA_DSP2_SCRATCH_3:
Mark Brown9cd9e282012-07-10 12:37:57 +01002747 case ARIZONA_DSP3_CONTROL_1:
2748 case ARIZONA_DSP3_CLOCKING_1:
2749 case ARIZONA_DSP3_STATUS_1:
2750 case ARIZONA_DSP3_STATUS_2:
Mark Browne5657052013-05-22 18:55:25 -05002751 case ARIZONA_DSP3_STATUS_3:
Charles Keepax47ec66a2014-01-22 13:04:24 +00002752 case ARIZONA_DSP3_STATUS_4:
2753 case ARIZONA_DSP3_WDMA_BUFFER_1:
2754 case ARIZONA_DSP3_WDMA_BUFFER_2:
2755 case ARIZONA_DSP3_WDMA_BUFFER_3:
2756 case ARIZONA_DSP3_WDMA_BUFFER_4:
2757 case ARIZONA_DSP3_WDMA_BUFFER_5:
2758 case ARIZONA_DSP3_WDMA_BUFFER_6:
2759 case ARIZONA_DSP3_WDMA_BUFFER_7:
2760 case ARIZONA_DSP3_WDMA_BUFFER_8:
2761 case ARIZONA_DSP3_RDMA_BUFFER_1:
2762 case ARIZONA_DSP3_RDMA_BUFFER_2:
2763 case ARIZONA_DSP3_RDMA_BUFFER_3:
2764 case ARIZONA_DSP3_RDMA_BUFFER_4:
2765 case ARIZONA_DSP3_RDMA_BUFFER_5:
2766 case ARIZONA_DSP3_RDMA_BUFFER_6:
2767 case ARIZONA_DSP3_WDMA_CONFIG_1:
2768 case ARIZONA_DSP3_WDMA_CONFIG_2:
2769 case ARIZONA_DSP3_WDMA_OFFSET_1:
2770 case ARIZONA_DSP3_RDMA_CONFIG_1:
2771 case ARIZONA_DSP3_RDMA_OFFSET_1:
2772 case ARIZONA_DSP3_EXTERNAL_START_SELECT_1:
Charles Keepax98755552013-09-17 15:23:04 +01002773 case ARIZONA_DSP3_SCRATCH_0:
2774 case ARIZONA_DSP3_SCRATCH_1:
2775 case ARIZONA_DSP3_SCRATCH_2:
2776 case ARIZONA_DSP3_SCRATCH_3:
Mark Brown9cd9e282012-07-10 12:37:57 +01002777 case ARIZONA_DSP4_CONTROL_1:
2778 case ARIZONA_DSP4_CLOCKING_1:
2779 case ARIZONA_DSP4_STATUS_1:
2780 case ARIZONA_DSP4_STATUS_2:
Mark Browne5657052013-05-22 18:55:25 -05002781 case ARIZONA_DSP4_STATUS_3:
Charles Keepax47ec66a2014-01-22 13:04:24 +00002782 case ARIZONA_DSP4_STATUS_4:
2783 case ARIZONA_DSP4_WDMA_BUFFER_1:
2784 case ARIZONA_DSP4_WDMA_BUFFER_2:
2785 case ARIZONA_DSP4_WDMA_BUFFER_3:
2786 case ARIZONA_DSP4_WDMA_BUFFER_4:
2787 case ARIZONA_DSP4_WDMA_BUFFER_5:
2788 case ARIZONA_DSP4_WDMA_BUFFER_6:
2789 case ARIZONA_DSP4_WDMA_BUFFER_7:
2790 case ARIZONA_DSP4_WDMA_BUFFER_8:
2791 case ARIZONA_DSP4_RDMA_BUFFER_1:
2792 case ARIZONA_DSP4_RDMA_BUFFER_2:
2793 case ARIZONA_DSP4_RDMA_BUFFER_3:
2794 case ARIZONA_DSP4_RDMA_BUFFER_4:
2795 case ARIZONA_DSP4_RDMA_BUFFER_5:
2796 case ARIZONA_DSP4_RDMA_BUFFER_6:
2797 case ARIZONA_DSP4_WDMA_CONFIG_1:
2798 case ARIZONA_DSP4_WDMA_CONFIG_2:
2799 case ARIZONA_DSP4_WDMA_OFFSET_1:
2800 case ARIZONA_DSP4_RDMA_CONFIG_1:
2801 case ARIZONA_DSP4_RDMA_OFFSET_1:
2802 case ARIZONA_DSP4_EXTERNAL_START_SELECT_1:
Charles Keepax98755552013-09-17 15:23:04 +01002803 case ARIZONA_DSP4_SCRATCH_0:
2804 case ARIZONA_DSP4_SCRATCH_1:
2805 case ARIZONA_DSP4_SCRATCH_2:
2806 case ARIZONA_DSP4_SCRATCH_3:
Mark Brown9cd9e282012-07-10 12:37:57 +01002807 return true;
2808 default:
Charles Keepaxc50aa442013-11-19 16:04:00 +00002809 return wm5110_is_adsp_memory(dev, reg);
Mark Brown9cd9e282012-07-10 12:37:57 +01002810 }
2811}
2812
2813static bool wm5110_volatile_register(struct device *dev, unsigned int reg)
2814{
2815 switch (reg) {
2816 case ARIZONA_SOFTWARE_RESET:
2817 case ARIZONA_DEVICE_REVISION:
Charles Keepaxe569d932014-08-13 11:42:47 +01002818 case ARIZONA_WRITE_SEQUENCER_CTRL_0:
2819 case ARIZONA_WRITE_SEQUENCER_CTRL_1:
2820 case ARIZONA_WRITE_SEQUENCER_CTRL_2:
Mark Brown9cd9e282012-07-10 12:37:57 +01002821 case ARIZONA_HAPTICS_STATUS:
2822 case ARIZONA_SAMPLE_RATE_1_STATUS:
2823 case ARIZONA_SAMPLE_RATE_2_STATUS:
2824 case ARIZONA_SAMPLE_RATE_3_STATUS:
2825 case ARIZONA_ASYNC_SAMPLE_RATE_1_STATUS:
Charles Keepaxc24084d2014-09-01 15:48:52 +01002826 case ARIZONA_ASYNC_SAMPLE_RATE_2_STATUS:
Mark Brown9cd9e282012-07-10 12:37:57 +01002827 case ARIZONA_MIC_DETECT_3:
2828 case ARIZONA_HEADPHONE_DETECT_2:
2829 case ARIZONA_INPUT_ENABLES_STATUS:
2830 case ARIZONA_OUTPUT_STATUS_1:
2831 case ARIZONA_RAW_OUTPUT_STATUS_1:
2832 case ARIZONA_SLIMBUS_RX_PORT_STATUS:
2833 case ARIZONA_SLIMBUS_TX_PORT_STATUS:
2834 case ARIZONA_INTERRUPT_STATUS_1:
2835 case ARIZONA_INTERRUPT_STATUS_2:
2836 case ARIZONA_INTERRUPT_STATUS_3:
2837 case ARIZONA_INTERRUPT_STATUS_4:
2838 case ARIZONA_INTERRUPT_STATUS_5:
Charles Keepax32155012014-07-15 11:21:48 +01002839 case ARIZONA_INTERRUPT_STATUS_6:
Mark Brown9cd9e282012-07-10 12:37:57 +01002840 case ARIZONA_IRQ2_STATUS_1:
2841 case ARIZONA_IRQ2_STATUS_2:
2842 case ARIZONA_IRQ2_STATUS_3:
2843 case ARIZONA_IRQ2_STATUS_4:
2844 case ARIZONA_IRQ2_STATUS_5:
Charles Keepax32155012014-07-15 11:21:48 +01002845 case ARIZONA_IRQ2_STATUS_6:
Mark Brown9cd9e282012-07-10 12:37:57 +01002846 case ARIZONA_INTERRUPT_RAW_STATUS_2:
2847 case ARIZONA_INTERRUPT_RAW_STATUS_3:
2848 case ARIZONA_INTERRUPT_RAW_STATUS_4:
2849 case ARIZONA_INTERRUPT_RAW_STATUS_5:
2850 case ARIZONA_INTERRUPT_RAW_STATUS_6:
2851 case ARIZONA_INTERRUPT_RAW_STATUS_7:
2852 case ARIZONA_INTERRUPT_RAW_STATUS_8:
Charles Keepax32155012014-07-15 11:21:48 +01002853 case ARIZONA_INTERRUPT_RAW_STATUS_9:
Mark Brown9cd9e282012-07-10 12:37:57 +01002854 case ARIZONA_IRQ_PIN_STATUS:
Charles Keepax2212e682013-10-14 09:09:00 +01002855 case ARIZONA_AOD_WKUP_AND_TRIG:
Mark Brown9cd9e282012-07-10 12:37:57 +01002856 case ARIZONA_AOD_IRQ1:
2857 case ARIZONA_AOD_IRQ2:
Charles Keepax2212e682013-10-14 09:09:00 +01002858 case ARIZONA_AOD_IRQ_RAW_STATUS:
Charles Keepax44955ab2013-08-06 16:42:30 +01002859 case ARIZONA_FX_CTRL2:
Mark Brown9cd9e282012-07-10 12:37:57 +01002860 case ARIZONA_ASRC_STATUS:
2861 case ARIZONA_DSP_STATUS:
Mark Brown9cd9e282012-07-10 12:37:57 +01002862 case ARIZONA_DSP1_STATUS_1:
2863 case ARIZONA_DSP1_STATUS_2:
Mark Browne5657052013-05-22 18:55:25 -05002864 case ARIZONA_DSP1_STATUS_3:
Charles Keepax47ec66a2014-01-22 13:04:24 +00002865 case ARIZONA_DSP1_STATUS_4:
2866 case ARIZONA_DSP1_WDMA_BUFFER_1:
2867 case ARIZONA_DSP1_WDMA_BUFFER_2:
2868 case ARIZONA_DSP1_WDMA_BUFFER_3:
2869 case ARIZONA_DSP1_WDMA_BUFFER_4:
2870 case ARIZONA_DSP1_WDMA_BUFFER_5:
2871 case ARIZONA_DSP1_WDMA_BUFFER_6:
2872 case ARIZONA_DSP1_WDMA_BUFFER_7:
2873 case ARIZONA_DSP1_WDMA_BUFFER_8:
2874 case ARIZONA_DSP1_RDMA_BUFFER_1:
2875 case ARIZONA_DSP1_RDMA_BUFFER_2:
2876 case ARIZONA_DSP1_RDMA_BUFFER_3:
2877 case ARIZONA_DSP1_RDMA_BUFFER_4:
2878 case ARIZONA_DSP1_RDMA_BUFFER_5:
2879 case ARIZONA_DSP1_RDMA_BUFFER_6:
2880 case ARIZONA_DSP1_WDMA_CONFIG_1:
2881 case ARIZONA_DSP1_WDMA_CONFIG_2:
2882 case ARIZONA_DSP1_WDMA_OFFSET_1:
2883 case ARIZONA_DSP1_RDMA_CONFIG_1:
2884 case ARIZONA_DSP1_RDMA_OFFSET_1:
2885 case ARIZONA_DSP1_EXTERNAL_START_SELECT_1:
Charles Keepax98755552013-09-17 15:23:04 +01002886 case ARIZONA_DSP1_SCRATCH_0:
2887 case ARIZONA_DSP1_SCRATCH_1:
2888 case ARIZONA_DSP1_SCRATCH_2:
2889 case ARIZONA_DSP1_SCRATCH_3:
Charles Keepaxa0eae332014-03-20 16:49:24 +00002890 case ARIZONA_DSP1_CLOCKING_1:
Mark Brown9cd9e282012-07-10 12:37:57 +01002891 case ARIZONA_DSP2_STATUS_1:
2892 case ARIZONA_DSP2_STATUS_2:
Mark Browne5657052013-05-22 18:55:25 -05002893 case ARIZONA_DSP2_STATUS_3:
Charles Keepax47ec66a2014-01-22 13:04:24 +00002894 case ARIZONA_DSP2_STATUS_4:
2895 case ARIZONA_DSP2_WDMA_BUFFER_1:
2896 case ARIZONA_DSP2_WDMA_BUFFER_2:
2897 case ARIZONA_DSP2_WDMA_BUFFER_3:
2898 case ARIZONA_DSP2_WDMA_BUFFER_4:
2899 case ARIZONA_DSP2_WDMA_BUFFER_5:
2900 case ARIZONA_DSP2_WDMA_BUFFER_6:
2901 case ARIZONA_DSP2_WDMA_BUFFER_7:
2902 case ARIZONA_DSP2_WDMA_BUFFER_8:
2903 case ARIZONA_DSP2_RDMA_BUFFER_1:
2904 case ARIZONA_DSP2_RDMA_BUFFER_2:
2905 case ARIZONA_DSP2_RDMA_BUFFER_3:
2906 case ARIZONA_DSP2_RDMA_BUFFER_4:
2907 case ARIZONA_DSP2_RDMA_BUFFER_5:
2908 case ARIZONA_DSP2_RDMA_BUFFER_6:
2909 case ARIZONA_DSP2_WDMA_CONFIG_1:
2910 case ARIZONA_DSP2_WDMA_CONFIG_2:
2911 case ARIZONA_DSP2_WDMA_OFFSET_1:
2912 case ARIZONA_DSP2_RDMA_CONFIG_1:
2913 case ARIZONA_DSP2_RDMA_OFFSET_1:
2914 case ARIZONA_DSP2_EXTERNAL_START_SELECT_1:
Charles Keepax98755552013-09-17 15:23:04 +01002915 case ARIZONA_DSP2_SCRATCH_0:
2916 case ARIZONA_DSP2_SCRATCH_1:
2917 case ARIZONA_DSP2_SCRATCH_2:
2918 case ARIZONA_DSP2_SCRATCH_3:
Charles Keepaxa0eae332014-03-20 16:49:24 +00002919 case ARIZONA_DSP2_CLOCKING_1:
Mark Brown9cd9e282012-07-10 12:37:57 +01002920 case ARIZONA_DSP3_STATUS_1:
2921 case ARIZONA_DSP3_STATUS_2:
Mark Browne5657052013-05-22 18:55:25 -05002922 case ARIZONA_DSP3_STATUS_3:
Charles Keepax47ec66a2014-01-22 13:04:24 +00002923 case ARIZONA_DSP3_STATUS_4:
2924 case ARIZONA_DSP3_WDMA_BUFFER_1:
2925 case ARIZONA_DSP3_WDMA_BUFFER_2:
2926 case ARIZONA_DSP3_WDMA_BUFFER_3:
2927 case ARIZONA_DSP3_WDMA_BUFFER_4:
2928 case ARIZONA_DSP3_WDMA_BUFFER_5:
2929 case ARIZONA_DSP3_WDMA_BUFFER_6:
2930 case ARIZONA_DSP3_WDMA_BUFFER_7:
2931 case ARIZONA_DSP3_WDMA_BUFFER_8:
2932 case ARIZONA_DSP3_RDMA_BUFFER_1:
2933 case ARIZONA_DSP3_RDMA_BUFFER_2:
2934 case ARIZONA_DSP3_RDMA_BUFFER_3:
2935 case ARIZONA_DSP3_RDMA_BUFFER_4:
2936 case ARIZONA_DSP3_RDMA_BUFFER_5:
2937 case ARIZONA_DSP3_RDMA_BUFFER_6:
2938 case ARIZONA_DSP3_WDMA_CONFIG_1:
2939 case ARIZONA_DSP3_WDMA_CONFIG_2:
2940 case ARIZONA_DSP3_WDMA_OFFSET_1:
2941 case ARIZONA_DSP3_RDMA_CONFIG_1:
2942 case ARIZONA_DSP3_RDMA_OFFSET_1:
2943 case ARIZONA_DSP3_EXTERNAL_START_SELECT_1:
Charles Keepax98755552013-09-17 15:23:04 +01002944 case ARIZONA_DSP3_SCRATCH_0:
2945 case ARIZONA_DSP3_SCRATCH_1:
2946 case ARIZONA_DSP3_SCRATCH_2:
2947 case ARIZONA_DSP3_SCRATCH_3:
Charles Keepaxa0eae332014-03-20 16:49:24 +00002948 case ARIZONA_DSP3_CLOCKING_1:
Mark Brown9cd9e282012-07-10 12:37:57 +01002949 case ARIZONA_DSP4_STATUS_1:
2950 case ARIZONA_DSP4_STATUS_2:
Mark Browne5657052013-05-22 18:55:25 -05002951 case ARIZONA_DSP4_STATUS_3:
Charles Keepax47ec66a2014-01-22 13:04:24 +00002952 case ARIZONA_DSP4_STATUS_4:
2953 case ARIZONA_DSP4_WDMA_BUFFER_1:
2954 case ARIZONA_DSP4_WDMA_BUFFER_2:
2955 case ARIZONA_DSP4_WDMA_BUFFER_3:
2956 case ARIZONA_DSP4_WDMA_BUFFER_4:
2957 case ARIZONA_DSP4_WDMA_BUFFER_5:
2958 case ARIZONA_DSP4_WDMA_BUFFER_6:
2959 case ARIZONA_DSP4_WDMA_BUFFER_7:
2960 case ARIZONA_DSP4_WDMA_BUFFER_8:
2961 case ARIZONA_DSP4_RDMA_BUFFER_1:
2962 case ARIZONA_DSP4_RDMA_BUFFER_2:
2963 case ARIZONA_DSP4_RDMA_BUFFER_3:
2964 case ARIZONA_DSP4_RDMA_BUFFER_4:
2965 case ARIZONA_DSP4_RDMA_BUFFER_5:
2966 case ARIZONA_DSP4_RDMA_BUFFER_6:
2967 case ARIZONA_DSP4_WDMA_CONFIG_1:
2968 case ARIZONA_DSP4_WDMA_CONFIG_2:
2969 case ARIZONA_DSP4_WDMA_OFFSET_1:
2970 case ARIZONA_DSP4_RDMA_CONFIG_1:
2971 case ARIZONA_DSP4_RDMA_OFFSET_1:
2972 case ARIZONA_DSP4_EXTERNAL_START_SELECT_1:
Charles Keepax98755552013-09-17 15:23:04 +01002973 case ARIZONA_DSP4_SCRATCH_0:
2974 case ARIZONA_DSP4_SCRATCH_1:
2975 case ARIZONA_DSP4_SCRATCH_2:
2976 case ARIZONA_DSP4_SCRATCH_3:
Charles Keepaxa0eae332014-03-20 16:49:24 +00002977 case ARIZONA_DSP4_CLOCKING_1:
Mark Brown9cd9e282012-07-10 12:37:57 +01002978 return true;
2979 default:
Charles Keepaxc50aa442013-11-19 16:04:00 +00002980 return wm5110_is_adsp_memory(dev, reg);
Mark Brown9cd9e282012-07-10 12:37:57 +01002981 }
2982}
2983
Charles Keepaxc50aa442013-11-19 16:04:00 +00002984#define WM5110_MAX_REGISTER 0x4a9fff
2985
Mark Brown9cd9e282012-07-10 12:37:57 +01002986const struct regmap_config wm5110_spi_regmap = {
2987 .reg_bits = 32,
2988 .pad_bits = 16,
2989 .val_bits = 16,
2990
Charles Keepaxc50aa442013-11-19 16:04:00 +00002991 .max_register = WM5110_MAX_REGISTER,
Mark Brown9cd9e282012-07-10 12:37:57 +01002992 .readable_reg = wm5110_readable_register,
2993 .volatile_reg = wm5110_volatile_register,
2994
2995 .cache_type = REGCACHE_RBTREE,
2996 .reg_defaults = wm5110_reg_default,
2997 .num_reg_defaults = ARRAY_SIZE(wm5110_reg_default),
2998};
2999EXPORT_SYMBOL_GPL(wm5110_spi_regmap);
3000
3001const struct regmap_config wm5110_i2c_regmap = {
3002 .reg_bits = 32,
3003 .val_bits = 16,
3004
Charles Keepaxc50aa442013-11-19 16:04:00 +00003005 .max_register = WM5110_MAX_REGISTER,
Mark Brown9cd9e282012-07-10 12:37:57 +01003006 .readable_reg = wm5110_readable_register,
3007 .volatile_reg = wm5110_volatile_register,
3008
3009 .cache_type = REGCACHE_RBTREE,
3010 .reg_defaults = wm5110_reg_default,
3011 .num_reg_defaults = ARRAY_SIZE(wm5110_reg_default),
3012};
3013EXPORT_SYMBOL_GPL(wm5110_i2c_regmap);