blob: c18e11f42b3f1bde3225c112fc5ff400e6391807 [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
Nariman Poushin8019ff62015-07-16 16:36:21 +010024static const struct reg_sequence wm5110_reva_patch[] = {
Mark Brown9cd9e282012-07-10 12:37:57 +010025 { 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
Nariman Poushin8019ff62015-07-16 16:36:21 +0100137static const struct reg_sequence wm5110_revb_patch[] = {
Mark Brownda58dee2012-09-26 18:00:29 +0100138 { 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
Nariman Poushin8019ff62015-07-16 16:36:21 +0100227static const struct reg_sequence wm5110_revd_patch[] = {
Charles Keepax02915662014-01-09 11:53:54 +0000228 { 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
Charles Keepax81207882015-07-07 15:28:13 +0100252/* Add extra headphone write sequence locations */
Nariman Poushinc6d005a2015-09-18 12:55:58 +0100253static const struct reg_sequence wm5110_reve_patch[] = {
Charles Keepax81207882015-07-07 15:28:13 +0100254 { 0x80, 0x3 },
255 { 0x80, 0x3 },
256 { 0x4b, 0x138 },
257 { 0x4c, 0x13d },
258 { 0x80, 0x0 },
259 { 0x80, 0x0 },
260};
261
Mark Brown9cd9e282012-07-10 12:37:57 +0100262/* We use a function so we can use ARRAY_SIZE() */
263int wm5110_patch(struct arizona *arizona)
264{
265 switch (arizona->rev) {
266 case 0:
Mark Brown9cd9e282012-07-10 12:37:57 +0100267 return regmap_register_patch(arizona->regmap,
268 wm5110_reva_patch,
269 ARRAY_SIZE(wm5110_reva_patch));
Mark Brownda58dee2012-09-26 18:00:29 +0100270 case 1:
271 return regmap_register_patch(arizona->regmap,
272 wm5110_revb_patch,
273 ARRAY_SIZE(wm5110_revb_patch));
Charles Keepax02915662014-01-09 11:53:54 +0000274 case 3:
275 return regmap_register_patch(arizona->regmap,
276 wm5110_revd_patch,
277 ARRAY_SIZE(wm5110_revd_patch));
Mark Brown9cd9e282012-07-10 12:37:57 +0100278 default:
Charles Keepax81207882015-07-07 15:28:13 +0100279 return regmap_register_patch(arizona->regmap,
280 wm5110_reve_patch,
281 ARRAY_SIZE(wm5110_reve_patch));
Mark Brown9cd9e282012-07-10 12:37:57 +0100282 }
283}
284EXPORT_SYMBOL_GPL(wm5110_patch);
285
286static const struct regmap_irq wm5110_aod_irqs[ARIZONA_NUM_IRQ] = {
Charles Keepax24f76f32013-10-26 15:27:04 +0100287 [ARIZONA_IRQ_MICD_CLAMP_FALL] = {
288 .mask = ARIZONA_MICD_CLAMP_FALL_EINT1
289 },
290 [ARIZONA_IRQ_MICD_CLAMP_RISE] = {
291 .mask = ARIZONA_MICD_CLAMP_RISE_EINT1
292 },
Mark Brown9cd9e282012-07-10 12:37:57 +0100293 [ARIZONA_IRQ_GP5_FALL] = { .mask = ARIZONA_GP5_FALL_EINT1 },
294 [ARIZONA_IRQ_GP5_RISE] = { .mask = ARIZONA_GP5_RISE_EINT1 },
295 [ARIZONA_IRQ_JD_FALL] = { .mask = ARIZONA_JD1_FALL_EINT1 },
296 [ARIZONA_IRQ_JD_RISE] = { .mask = ARIZONA_JD1_RISE_EINT1 },
297};
298
299const struct regmap_irq_chip wm5110_aod = {
300 .name = "wm5110 AOD",
301 .status_base = ARIZONA_AOD_IRQ1,
302 .mask_base = ARIZONA_AOD_IRQ_MASK_IRQ1,
303 .ack_base = ARIZONA_AOD_IRQ1,
304 .wake_base = ARIZONA_WAKE_CONTROL,
Mark Brown378e8ee2013-01-04 17:12:14 +0000305 .wake_invert = 1,
Mark Brown9cd9e282012-07-10 12:37:57 +0100306 .num_regs = 1,
307 .irqs = wm5110_aod_irqs,
308 .num_irqs = ARRAY_SIZE(wm5110_aod_irqs),
309};
310EXPORT_SYMBOL_GPL(wm5110_aod);
311
312static const struct regmap_irq wm5110_irqs[ARIZONA_NUM_IRQ] = {
313 [ARIZONA_IRQ_GP4] = { .reg_offset = 0, .mask = ARIZONA_GP4_EINT1 },
314 [ARIZONA_IRQ_GP3] = { .reg_offset = 0, .mask = ARIZONA_GP3_EINT1 },
315 [ARIZONA_IRQ_GP2] = { .reg_offset = 0, .mask = ARIZONA_GP2_EINT1 },
316 [ARIZONA_IRQ_GP1] = { .reg_offset = 0, .mask = ARIZONA_GP1_EINT1 },
317
318 [ARIZONA_IRQ_DSP4_RAM_RDY] = {
319 .reg_offset = 1, .mask = ARIZONA_DSP4_RAM_RDY_EINT1
320 },
321 [ARIZONA_IRQ_DSP3_RAM_RDY] = {
322 .reg_offset = 1, .mask = ARIZONA_DSP3_RAM_RDY_EINT1
323 },
324 [ARIZONA_IRQ_DSP2_RAM_RDY] = {
325 .reg_offset = 1, .mask = ARIZONA_DSP2_RAM_RDY_EINT1
326 },
327 [ARIZONA_IRQ_DSP1_RAM_RDY] = {
328 .reg_offset = 1, .mask = ARIZONA_DSP1_RAM_RDY_EINT1
329 },
330 [ARIZONA_IRQ_DSP_IRQ8] = {
331 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ8_EINT1
332 },
333 [ARIZONA_IRQ_DSP_IRQ7] = {
334 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ7_EINT1
335 },
336 [ARIZONA_IRQ_DSP_IRQ6] = {
337 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ6_EINT1
338 },
339 [ARIZONA_IRQ_DSP_IRQ5] = {
340 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ5_EINT1
341 },
342 [ARIZONA_IRQ_DSP_IRQ4] = {
343 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ4_EINT1
344 },
345 [ARIZONA_IRQ_DSP_IRQ3] = {
346 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ3_EINT1
347 },
348 [ARIZONA_IRQ_DSP_IRQ2] = {
349 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ2_EINT1
350 },
351 [ARIZONA_IRQ_DSP_IRQ1] = {
352 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ1_EINT1
353 },
354
Charles Keepaxc0fe2c52014-07-15 11:21:47 +0100355 [ARIZONA_IRQ_SPK_OVERHEAT_WARN] = {
356 .reg_offset = 2, .mask = ARIZONA_SPK_OVERHEAT_WARN_EINT1
Mark Brown9cd9e282012-07-10 12:37:57 +0100357 },
Charles Keepaxc0fe2c52014-07-15 11:21:47 +0100358 [ARIZONA_IRQ_SPK_OVERHEAT] = {
359 .reg_offset = 2, .mask = ARIZONA_SPK_OVERHEAT_EINT1
Mark Brown9cd9e282012-07-10 12:37:57 +0100360 },
361 [ARIZONA_IRQ_HPDET] = {
362 .reg_offset = 2, .mask = ARIZONA_HPDET_EINT1
363 },
364 [ARIZONA_IRQ_MICDET] = {
365 .reg_offset = 2, .mask = ARIZONA_MICDET_EINT1
366 },
367 [ARIZONA_IRQ_WSEQ_DONE] = {
368 .reg_offset = 2, .mask = ARIZONA_WSEQ_DONE_EINT1
369 },
370 [ARIZONA_IRQ_DRC2_SIG_DET] = {
371 .reg_offset = 2, .mask = ARIZONA_DRC2_SIG_DET_EINT1
372 },
373 [ARIZONA_IRQ_DRC1_SIG_DET] = {
374 .reg_offset = 2, .mask = ARIZONA_DRC1_SIG_DET_EINT1
375 },
376 [ARIZONA_IRQ_ASRC2_LOCK] = {
377 .reg_offset = 2, .mask = ARIZONA_ASRC2_LOCK_EINT1
378 },
379 [ARIZONA_IRQ_ASRC1_LOCK] = {
380 .reg_offset = 2, .mask = ARIZONA_ASRC1_LOCK_EINT1
381 },
382 [ARIZONA_IRQ_UNDERCLOCKED] = {
383 .reg_offset = 2, .mask = ARIZONA_UNDERCLOCKED_EINT1
384 },
385 [ARIZONA_IRQ_OVERCLOCKED] = {
386 .reg_offset = 2, .mask = ARIZONA_OVERCLOCKED_EINT1
387 },
388 [ARIZONA_IRQ_FLL2_LOCK] = {
389 .reg_offset = 2, .mask = ARIZONA_FLL2_LOCK_EINT1
390 },
391 [ARIZONA_IRQ_FLL1_LOCK] = {
392 .reg_offset = 2, .mask = ARIZONA_FLL1_LOCK_EINT1
393 },
394 [ARIZONA_IRQ_CLKGEN_ERR] = {
395 .reg_offset = 2, .mask = ARIZONA_CLKGEN_ERR_EINT1
396 },
397 [ARIZONA_IRQ_CLKGEN_ERR_ASYNC] = {
398 .reg_offset = 2, .mask = ARIZONA_CLKGEN_ERR_ASYNC_EINT1
399 },
400
401 [ARIZONA_IRQ_ASRC_CFG_ERR] = {
402 .reg_offset = 3, .mask = ARIZONA_ASRC_CFG_ERR_EINT1
403 },
404 [ARIZONA_IRQ_AIF3_ERR] = {
405 .reg_offset = 3, .mask = ARIZONA_AIF3_ERR_EINT1
406 },
407 [ARIZONA_IRQ_AIF2_ERR] = {
408 .reg_offset = 3, .mask = ARIZONA_AIF2_ERR_EINT1
409 },
410 [ARIZONA_IRQ_AIF1_ERR] = {
411 .reg_offset = 3, .mask = ARIZONA_AIF1_ERR_EINT1
412 },
413 [ARIZONA_IRQ_CTRLIF_ERR] = {
414 .reg_offset = 3, .mask = ARIZONA_CTRLIF_ERR_EINT1
415 },
416 [ARIZONA_IRQ_MIXER_DROPPED_SAMPLES] = {
417 .reg_offset = 3, .mask = ARIZONA_MIXER_DROPPED_SAMPLE_EINT1
418 },
419 [ARIZONA_IRQ_ASYNC_CLK_ENA_LOW] = {
420 .reg_offset = 3, .mask = ARIZONA_ASYNC_CLK_ENA_LOW_EINT1
421 },
422 [ARIZONA_IRQ_SYSCLK_ENA_LOW] = {
423 .reg_offset = 3, .mask = ARIZONA_SYSCLK_ENA_LOW_EINT1
424 },
425 [ARIZONA_IRQ_ISRC1_CFG_ERR] = {
426 .reg_offset = 3, .mask = ARIZONA_ISRC1_CFG_ERR_EINT1
427 },
428 [ARIZONA_IRQ_ISRC2_CFG_ERR] = {
429 .reg_offset = 3, .mask = ARIZONA_ISRC2_CFG_ERR_EINT1
430 },
Charles Keepax3d2108d2014-07-15 11:21:46 +0100431 [ARIZONA_IRQ_HP3R_DONE] = {
432 .reg_offset = 3, .mask = ARIZONA_HP3R_DONE_EINT1
433 },
434 [ARIZONA_IRQ_HP3L_DONE] = {
435 .reg_offset = 3, .mask = ARIZONA_HP3L_DONE_EINT1
436 },
437 [ARIZONA_IRQ_HP2R_DONE] = {
438 .reg_offset = 3, .mask = ARIZONA_HP2R_DONE_EINT1
439 },
440 [ARIZONA_IRQ_HP2L_DONE] = {
441 .reg_offset = 3, .mask = ARIZONA_HP2L_DONE_EINT1
442 },
443 [ARIZONA_IRQ_HP1R_DONE] = {
444 .reg_offset = 3, .mask = ARIZONA_HP1R_DONE_EINT1
445 },
446 [ARIZONA_IRQ_HP1L_DONE] = {
447 .reg_offset = 3, .mask = ARIZONA_HP1L_DONE_EINT1
448 },
Mark Brown9cd9e282012-07-10 12:37:57 +0100449
450 [ARIZONA_IRQ_BOOT_DONE] = {
451 .reg_offset = 4, .mask = ARIZONA_BOOT_DONE_EINT1
452 },
Mark Brown9cd9e282012-07-10 12:37:57 +0100453 [ARIZONA_IRQ_FLL2_CLOCK_OK] = {
454 .reg_offset = 4, .mask = ARIZONA_FLL2_CLOCK_OK_EINT1
455 },
456 [ARIZONA_IRQ_FLL1_CLOCK_OK] = {
457 .reg_offset = 4, .mask = ARIZONA_FLL1_CLOCK_OK_EINT1
458 },
459};
460
461const struct regmap_irq_chip wm5110_irq = {
462 .name = "wm5110 IRQ",
463 .status_base = ARIZONA_INTERRUPT_STATUS_1,
464 .mask_base = ARIZONA_INTERRUPT_STATUS_1_MASK,
465 .ack_base = ARIZONA_INTERRUPT_STATUS_1,
466 .num_regs = 5,
467 .irqs = wm5110_irqs,
468 .num_irqs = ARRAY_SIZE(wm5110_irqs),
469};
470EXPORT_SYMBOL_GPL(wm5110_irq);
471
Charles Keepax32155012014-07-15 11:21:48 +0100472static const struct regmap_irq wm5110_revd_irqs[ARIZONA_NUM_IRQ] = {
473 [ARIZONA_IRQ_GP4] = { .reg_offset = 0, .mask = ARIZONA_GP4_EINT1 },
474 [ARIZONA_IRQ_GP3] = { .reg_offset = 0, .mask = ARIZONA_GP3_EINT1 },
475 [ARIZONA_IRQ_GP2] = { .reg_offset = 0, .mask = ARIZONA_GP2_EINT1 },
476 [ARIZONA_IRQ_GP1] = { .reg_offset = 0, .mask = ARIZONA_GP1_EINT1 },
477
478 [ARIZONA_IRQ_DSP4_RAM_RDY] = {
479 .reg_offset = 1, .mask = ARIZONA_DSP4_RAM_RDY_EINT1
480 },
481 [ARIZONA_IRQ_DSP3_RAM_RDY] = {
482 .reg_offset = 1, .mask = ARIZONA_DSP3_RAM_RDY_EINT1
483 },
484 [ARIZONA_IRQ_DSP2_RAM_RDY] = {
485 .reg_offset = 1, .mask = ARIZONA_DSP2_RAM_RDY_EINT1
486 },
487 [ARIZONA_IRQ_DSP1_RAM_RDY] = {
488 .reg_offset = 1, .mask = ARIZONA_DSP1_RAM_RDY_EINT1
489 },
490 [ARIZONA_IRQ_DSP_IRQ8] = {
491 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ8_EINT1
492 },
493 [ARIZONA_IRQ_DSP_IRQ7] = {
494 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ7_EINT1
495 },
496 [ARIZONA_IRQ_DSP_IRQ6] = {
497 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ6_EINT1
498 },
499 [ARIZONA_IRQ_DSP_IRQ5] = {
500 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ5_EINT1
501 },
502 [ARIZONA_IRQ_DSP_IRQ4] = {
503 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ4_EINT1
504 },
505 [ARIZONA_IRQ_DSP_IRQ3] = {
506 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ3_EINT1
507 },
508 [ARIZONA_IRQ_DSP_IRQ2] = {
509 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ2_EINT1
510 },
511 [ARIZONA_IRQ_DSP_IRQ1] = {
512 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ1_EINT1
513 },
514
515 [ARIZONA_IRQ_SPK_OVERHEAT_WARN] = {
516 .reg_offset = 2, .mask = ARIZONA_SPK_OVERHEAT_WARN_EINT1
517 },
518 [ARIZONA_IRQ_SPK_OVERHEAT] = {
519 .reg_offset = 2, .mask = ARIZONA_SPK_OVERHEAT_EINT1
520 },
521 [ARIZONA_IRQ_HPDET] = {
522 .reg_offset = 2, .mask = ARIZONA_HPDET_EINT1
523 },
524 [ARIZONA_IRQ_MICDET] = {
525 .reg_offset = 2, .mask = ARIZONA_MICDET_EINT1
526 },
527 [ARIZONA_IRQ_WSEQ_DONE] = {
528 .reg_offset = 2, .mask = ARIZONA_WSEQ_DONE_EINT1
529 },
530 [ARIZONA_IRQ_DRC2_SIG_DET] = {
531 .reg_offset = 2, .mask = ARIZONA_DRC2_SIG_DET_EINT1
532 },
533 [ARIZONA_IRQ_DRC1_SIG_DET] = {
534 .reg_offset = 2, .mask = ARIZONA_DRC1_SIG_DET_EINT1
535 },
536 [ARIZONA_IRQ_ASRC2_LOCK] = {
537 .reg_offset = 2, .mask = ARIZONA_ASRC2_LOCK_EINT1
538 },
539 [ARIZONA_IRQ_ASRC1_LOCK] = {
540 .reg_offset = 2, .mask = ARIZONA_ASRC1_LOCK_EINT1
541 },
542 [ARIZONA_IRQ_UNDERCLOCKED] = {
543 .reg_offset = 2, .mask = ARIZONA_UNDERCLOCKED_EINT1
544 },
545 [ARIZONA_IRQ_OVERCLOCKED] = {
546 .reg_offset = 2, .mask = ARIZONA_OVERCLOCKED_EINT1
547 },
548 [ARIZONA_IRQ_FLL2_LOCK] = {
549 .reg_offset = 2, .mask = ARIZONA_FLL2_LOCK_EINT1
550 },
551 [ARIZONA_IRQ_FLL1_LOCK] = {
552 .reg_offset = 2, .mask = ARIZONA_FLL1_LOCK_EINT1
553 },
554 [ARIZONA_IRQ_CLKGEN_ERR] = {
555 .reg_offset = 2, .mask = ARIZONA_CLKGEN_ERR_EINT1
556 },
557 [ARIZONA_IRQ_CLKGEN_ERR_ASYNC] = {
558 .reg_offset = 2, .mask = ARIZONA_CLKGEN_ERR_ASYNC_EINT1
559 },
560
561 [ARIZONA_IRQ_CTRLIF_ERR] = {
562 .reg_offset = 3, .mask = ARIZONA_V2_CTRLIF_ERR_EINT1
563 },
564 [ARIZONA_IRQ_MIXER_DROPPED_SAMPLES] = {
565 .reg_offset = 3, .mask = ARIZONA_V2_MIXER_DROPPED_SAMPLE_EINT1
566 },
567 [ARIZONA_IRQ_ASYNC_CLK_ENA_LOW] = {
568 .reg_offset = 3, .mask = ARIZONA_V2_ASYNC_CLK_ENA_LOW_EINT1
569 },
570 [ARIZONA_IRQ_SYSCLK_ENA_LOW] = {
571 .reg_offset = 3, .mask = ARIZONA_V2_SYSCLK_ENA_LOW_EINT1
572 },
573 [ARIZONA_IRQ_ISRC1_CFG_ERR] = {
574 .reg_offset = 3, .mask = ARIZONA_V2_ISRC1_CFG_ERR_EINT1
575 },
576 [ARIZONA_IRQ_ISRC2_CFG_ERR] = {
577 .reg_offset = 3, .mask = ARIZONA_V2_ISRC2_CFG_ERR_EINT1
578 },
579 [ARIZONA_IRQ_ISRC3_CFG_ERR] = {
580 .reg_offset = 3, .mask = ARIZONA_V2_ISRC3_CFG_ERR_EINT1
581 },
582 [ARIZONA_IRQ_HP3R_DONE] = {
583 .reg_offset = 3, .mask = ARIZONA_HP3R_DONE_EINT1
584 },
585 [ARIZONA_IRQ_HP3L_DONE] = {
586 .reg_offset = 3, .mask = ARIZONA_HP3L_DONE_EINT1
587 },
588 [ARIZONA_IRQ_HP2R_DONE] = {
589 .reg_offset = 3, .mask = ARIZONA_HP2R_DONE_EINT1
590 },
591 [ARIZONA_IRQ_HP2L_DONE] = {
592 .reg_offset = 3, .mask = ARIZONA_HP2L_DONE_EINT1
593 },
594 [ARIZONA_IRQ_HP1R_DONE] = {
595 .reg_offset = 3, .mask = ARIZONA_HP1R_DONE_EINT1
596 },
597 [ARIZONA_IRQ_HP1L_DONE] = {
598 .reg_offset = 3, .mask = ARIZONA_HP1L_DONE_EINT1
599 },
600
601 [ARIZONA_IRQ_BOOT_DONE] = {
602 .reg_offset = 4, .mask = ARIZONA_BOOT_DONE_EINT1
603 },
604 [ARIZONA_IRQ_ASRC_CFG_ERR] = {
605 .reg_offset = 4, .mask = ARIZONA_V2_ASRC_CFG_ERR_EINT1
606 },
607 [ARIZONA_IRQ_FLL2_CLOCK_OK] = {
608 .reg_offset = 4, .mask = ARIZONA_FLL2_CLOCK_OK_EINT1
609 },
610 [ARIZONA_IRQ_FLL1_CLOCK_OK] = {
611 .reg_offset = 4, .mask = ARIZONA_FLL1_CLOCK_OK_EINT1
612 },
613
614 [ARIZONA_IRQ_DSP_SHARED_WR_COLL] = {
615 .reg_offset = 5, .mask = ARIZONA_DSP_SHARED_WR_COLL_EINT1
616 },
617 [ARIZONA_IRQ_SPK_SHUTDOWN] = {
618 .reg_offset = 5, .mask = ARIZONA_SPK_SHUTDOWN_EINT1
619 },
620 [ARIZONA_IRQ_SPK1R_SHORT] = {
621 .reg_offset = 5, .mask = ARIZONA_SPK1R_SHORT_EINT1
622 },
623 [ARIZONA_IRQ_SPK1L_SHORT] = {
624 .reg_offset = 5, .mask = ARIZONA_SPK1L_SHORT_EINT1
625 },
626 [ARIZONA_IRQ_HP3R_SC_NEG] = {
627 .reg_offset = 5, .mask = ARIZONA_HP3R_SC_NEG_EINT1
628 },
629 [ARIZONA_IRQ_HP3R_SC_POS] = {
630 .reg_offset = 5, .mask = ARIZONA_HP3R_SC_POS_EINT1
631 },
632 [ARIZONA_IRQ_HP3L_SC_NEG] = {
633 .reg_offset = 5, .mask = ARIZONA_HP3L_SC_NEG_EINT1
634 },
635 [ARIZONA_IRQ_HP3L_SC_POS] = {
636 .reg_offset = 5, .mask = ARIZONA_HP3L_SC_POS_EINT1
637 },
638 [ARIZONA_IRQ_HP2R_SC_NEG] = {
639 .reg_offset = 5, .mask = ARIZONA_HP2R_SC_NEG_EINT1
640 },
641 [ARIZONA_IRQ_HP2R_SC_POS] = {
642 .reg_offset = 5, .mask = ARIZONA_HP2R_SC_POS_EINT1
643 },
644 [ARIZONA_IRQ_HP2L_SC_NEG] = {
645 .reg_offset = 5, .mask = ARIZONA_HP2L_SC_NEG_EINT1
646 },
647 [ARIZONA_IRQ_HP2L_SC_POS] = {
648 .reg_offset = 5, .mask = ARIZONA_HP2L_SC_POS_EINT1
649 },
650 [ARIZONA_IRQ_HP1R_SC_NEG] = {
651 .reg_offset = 5, .mask = ARIZONA_HP1R_SC_NEG_EINT1
652 },
653 [ARIZONA_IRQ_HP1R_SC_POS] = {
654 .reg_offset = 5, .mask = ARIZONA_HP1R_SC_POS_EINT1
655 },
656 [ARIZONA_IRQ_HP1L_SC_NEG] = {
657 .reg_offset = 5, .mask = ARIZONA_HP1L_SC_NEG_EINT1
658 },
659 [ARIZONA_IRQ_HP1L_SC_POS] = {
660 .reg_offset = 5, .mask = ARIZONA_HP1L_SC_POS_EINT1
661 },
662};
663
664const struct regmap_irq_chip wm5110_revd_irq = {
665 .name = "wm5110 IRQ",
666 .status_base = ARIZONA_INTERRUPT_STATUS_1,
667 .mask_base = ARIZONA_INTERRUPT_STATUS_1_MASK,
668 .ack_base = ARIZONA_INTERRUPT_STATUS_1,
669 .num_regs = 6,
670 .irqs = wm5110_revd_irqs,
671 .num_irqs = ARRAY_SIZE(wm5110_revd_irqs),
672};
673EXPORT_SYMBOL_GPL(wm5110_revd_irq);
674
Mark Brown9cd9e282012-07-10 12:37:57 +0100675static const struct reg_default wm5110_reg_default[] = {
676 { 0x00000008, 0x0019 }, /* R8 - Ctrl IF SPI CFG 1 */
677 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
678 { 0x0000000A, 0x0001 }, /* R10 - Ctrl IF I2C2 CFG 1 */
679 { 0x0000000B, 0x0036 }, /* R11 - Ctrl IF I2C1 CFG 2 */
680 { 0x0000000C, 0x0036 }, /* R12 - Ctrl IF I2C2 CFG 2 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100681 { 0x00000020, 0x0000 }, /* R32 - Tone Generator 1 */
682 { 0x00000021, 0x1000 }, /* R33 - Tone Generator 2 */
683 { 0x00000022, 0x0000 }, /* R34 - Tone Generator 3 */
684 { 0x00000023, 0x1000 }, /* R35 - Tone Generator 4 */
685 { 0x00000024, 0x0000 }, /* R36 - Tone Generator 5 */
686 { 0x00000030, 0x0000 }, /* R48 - PWM Drive 1 */
687 { 0x00000031, 0x0100 }, /* R49 - PWM Drive 2 */
688 { 0x00000032, 0x0100 }, /* R50 - PWM Drive 3 */
689 { 0x00000040, 0x0000 }, /* R64 - Wake control */
690 { 0x00000041, 0x0000 }, /* R65 - Sequence control */
Charles Keepaxf089d4d2015-07-07 15:28:12 +0100691 { 0x00000042, 0x0000 }, /* R66 - Spare Triggers */
Mark Brown9cd9e282012-07-10 12:37:57 +0100692 { 0x00000061, 0x01FF }, /* R97 - Sample Rate Sequence Select 1 */
693 { 0x00000062, 0x01FF }, /* R98 - Sample Rate Sequence Select 2 */
694 { 0x00000063, 0x01FF }, /* R99 - Sample Rate Sequence Select 3 */
695 { 0x00000064, 0x01FF }, /* R100 - Sample Rate Sequence Select 4 */
Richard Fitzgeralda9cd92a2014-05-20 13:48:51 +0100696 { 0x00000066, 0x01FF }, /* R102 - Always On Triggers Sequence Select 1 */
697 { 0x00000067, 0x01FF }, /* R103 - Always On Triggers Sequence Select 2 */
698 { 0x00000068, 0x01FF }, /* R104 - Always On Triggers Sequence Select 3 */
699 { 0x00000069, 0x01FF }, /* R105 - Always On Triggers Sequence Select 4 */
700 { 0x0000006A, 0x01FF }, /* R106 - Always On Triggers Sequence Select 5 */
701 { 0x0000006B, 0x01FF }, /* R107 - Always On Triggers Sequence Select 6 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100702 { 0x00000070, 0x0000 }, /* R112 - Comfort Noise Generator */
703 { 0x00000090, 0x0000 }, /* R144 - Haptics Control 1 */
704 { 0x00000091, 0x7FFF }, /* R145 - Haptics Control 2 */
705 { 0x00000092, 0x0000 }, /* R146 - Haptics phase 1 intensity */
706 { 0x00000093, 0x0000 }, /* R147 - Haptics phase 1 duration */
707 { 0x00000094, 0x0000 }, /* R148 - Haptics phase 2 intensity */
708 { 0x00000095, 0x0000 }, /* R149 - Haptics phase 2 duration */
709 { 0x00000096, 0x0000 }, /* R150 - Haptics phase 3 intensity */
710 { 0x00000097, 0x0000 }, /* R151 - Haptics phase 3 duration */
711 { 0x00000100, 0x0001 }, /* R256 - Clock 32k 1 */
712 { 0x00000101, 0x0504 }, /* R257 - System Clock 1 */
713 { 0x00000102, 0x0011 }, /* R258 - Sample rate 1 */
714 { 0x00000103, 0x0011 }, /* R259 - Sample rate 2 */
715 { 0x00000104, 0x0011 }, /* R260 - Sample rate 3 */
716 { 0x00000112, 0x0305 }, /* R274 - Async clock 1 */
717 { 0x00000113, 0x0011 }, /* R275 - Async sample rate 1 */
Charles Keepaxc24084d2014-09-01 15:48:52 +0100718 { 0x00000114, 0x0011 }, /* R276 - Async sample rate 2 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100719 { 0x00000149, 0x0000 }, /* R329 - Output system clock */
720 { 0x0000014A, 0x0000 }, /* R330 - Output async clock */
721 { 0x00000152, 0x0000 }, /* R338 - Rate Estimator 1 */
722 { 0x00000153, 0x0000 }, /* R339 - Rate Estimator 2 */
723 { 0x00000154, 0x0000 }, /* R340 - Rate Estimator 3 */
724 { 0x00000155, 0x0000 }, /* R341 - Rate Estimator 4 */
725 { 0x00000156, 0x0000 }, /* R342 - Rate Estimator 5 */
726 { 0x00000171, 0x0000 }, /* R369 - FLL1 Control 1 */
727 { 0x00000172, 0x0008 }, /* R370 - FLL1 Control 2 */
728 { 0x00000173, 0x0018 }, /* R371 - FLL1 Control 3 */
729 { 0x00000174, 0x007D }, /* R372 - FLL1 Control 4 */
730 { 0x00000175, 0x0006 }, /* R373 - FLL1 Control 5 */
731 { 0x00000176, 0x0000 }, /* R374 - FLL1 Control 6 */
732 { 0x00000177, 0x0281 }, /* R375 - FLL1 Loop Filter Test 1 */
733 { 0x00000178, 0x0000 }, /* R376 - FLL1 NCO Test 0 */
Charles Keepaxc78d2032013-08-06 16:42:27 +0100734 { 0x00000179, 0x0000 }, /* R376 - FLL1 Control 7 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100735 { 0x00000181, 0x0000 }, /* R385 - FLL1 Synchroniser 1 */
736 { 0x00000182, 0x0000 }, /* R386 - FLL1 Synchroniser 2 */
737 { 0x00000183, 0x0000 }, /* R387 - FLL1 Synchroniser 3 */
738 { 0x00000184, 0x0000 }, /* R388 - FLL1 Synchroniser 4 */
739 { 0x00000185, 0x0000 }, /* R389 - FLL1 Synchroniser 5 */
740 { 0x00000186, 0x0000 }, /* R390 - FLL1 Synchroniser 6 */
Charles Keepaxc78d2032013-08-06 16:42:27 +0100741 { 0x00000187, 0x0001 }, /* R390 - FLL1 Synchroniser 7 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100742 { 0x00000189, 0x0000 }, /* R393 - FLL1 Spread Spectrum */
743 { 0x0000018A, 0x0004 }, /* R394 - FLL1 GPIO Clock */
744 { 0x00000191, 0x0000 }, /* R401 - FLL2 Control 1 */
745 { 0x00000192, 0x0008 }, /* R402 - FLL2 Control 2 */
746 { 0x00000193, 0x0018 }, /* R403 - FLL2 Control 3 */
747 { 0x00000194, 0x007D }, /* R404 - FLL2 Control 4 */
748 { 0x00000195, 0x000C }, /* R405 - FLL2 Control 5 */
749 { 0x00000196, 0x0000 }, /* R406 - FLL2 Control 6 */
750 { 0x00000197, 0x0000 }, /* R407 - FLL2 Loop Filter Test 1 */
751 { 0x00000198, 0x0000 }, /* R408 - FLL2 NCO Test 0 */
Charles Keepaxc78d2032013-08-06 16:42:27 +0100752 { 0x00000199, 0x0000 }, /* R408 - FLL2 Control 7 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100753 { 0x000001A1, 0x0000 }, /* R417 - FLL2 Synchroniser 1 */
754 { 0x000001A2, 0x0000 }, /* R418 - FLL2 Synchroniser 2 */
755 { 0x000001A3, 0x0000 }, /* R419 - FLL2 Synchroniser 3 */
756 { 0x000001A4, 0x0000 }, /* R420 - FLL2 Synchroniser 4 */
757 { 0x000001A5, 0x0000 }, /* R421 - FLL2 Synchroniser 5 */
758 { 0x000001A6, 0x0000 }, /* R422 - FLL2 Synchroniser 6 */
Charles Keepaxc78d2032013-08-06 16:42:27 +0100759 { 0x000001A7, 0x0001 }, /* R422 - FLL2 Synchroniser 7 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100760 { 0x000001A9, 0x0000 }, /* R425 - FLL2 Spread Spectrum */
761 { 0x000001AA, 0x0004 }, /* R426 - FLL2 GPIO Clock */
762 { 0x00000200, 0x0006 }, /* R512 - Mic Charge Pump 1 */
763 { 0x00000210, 0x0184 }, /* R528 - LDO1 Control 1 */
Charles Keepaxc94d37c2013-11-15 14:03:19 +0000764 { 0x00000213, 0x03E4 }, /* R531 - LDO2 Control 1 */
Charles Keepax32e97252015-11-26 17:40:17 +0000765 { 0x00000218, 0x00E6 }, /* R536 - Mic Bias Ctrl 1 */
766 { 0x00000219, 0x00E6 }, /* R537 - Mic Bias Ctrl 2 */
767 { 0x0000021A, 0x00E6 }, /* R538 - Mic Bias Ctrl 3 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100768 { 0x00000293, 0x0000 }, /* R659 - Accessory Detect Mode 1 */
Charles Keepax2d28ca72014-03-20 16:49:23 +0000769 { 0x0000029B, 0x0028 }, /* R667 - Headphone Detect 1 */
Charles Keepax24f76f32013-10-26 15:27:04 +0100770 { 0x000002A2, 0x0000 }, /* R674 - Micd clamp control */
Mark Brown9cd9e282012-07-10 12:37:57 +0100771 { 0x000002A3, 0x1102 }, /* R675 - Mic Detect 1 */
772 { 0x000002A4, 0x009F }, /* R676 - Mic Detect 2 */
Charles Keepaxacf0be12013-08-06 16:42:28 +0100773 { 0x000002A6, 0x3737 }, /* R678 - Mic Detect Level 1 */
774 { 0x000002A7, 0x372C }, /* R679 - Mic Detect Level 2 */
775 { 0x000002A8, 0x1422 }, /* R680 - Mic Detect Level 3 */
776 { 0x000002A9, 0x300A }, /* R681 - Mic Detect Level 4 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100777 { 0x000002C3, 0x0000 }, /* R707 - Mic noise mix control 1 */
Charles Keepaxfce7fbf2014-04-17 13:14:15 +0100778 { 0x000002CB, 0x0000 }, /* R715 - Isolation control */
Mark Brown9cd9e282012-07-10 12:37:57 +0100779 { 0x000002D3, 0x0000 }, /* R723 - Jack detect analogue */
780 { 0x00000300, 0x0000 }, /* R768 - Input Enables */
781 { 0x00000308, 0x0000 }, /* R776 - Input Rate */
782 { 0x00000309, 0x0022 }, /* R777 - Input Volume Ramp */
Charles Keepax254dc322013-11-19 16:04:03 +0000783 { 0x0000030C, 0x0002 }, /* R780 - HPF Control */
Mark Brown9cd9e282012-07-10 12:37:57 +0100784 { 0x00000310, 0x2080 }, /* R784 - IN1L Control */
785 { 0x00000311, 0x0180 }, /* R785 - ADC Digital Volume 1L */
786 { 0x00000312, 0x0000 }, /* R786 - DMIC1L Control */
787 { 0x00000314, 0x0080 }, /* R788 - IN1R Control */
788 { 0x00000315, 0x0180 }, /* R789 - ADC Digital Volume 1R */
789 { 0x00000316, 0x0000 }, /* R790 - DMIC1R Control */
790 { 0x00000318, 0x2080 }, /* R792 - IN2L Control */
791 { 0x00000319, 0x0180 }, /* R793 - ADC Digital Volume 2L */
792 { 0x0000031A, 0x0000 }, /* R794 - DMIC2L Control */
793 { 0x0000031C, 0x0080 }, /* R796 - IN2R Control */
794 { 0x0000031D, 0x0180 }, /* R797 - ADC Digital Volume 2R */
795 { 0x0000031E, 0x0000 }, /* R798 - DMIC2R Control */
796 { 0x00000320, 0x2080 }, /* R800 - IN3L Control */
797 { 0x00000321, 0x0180 }, /* R801 - ADC Digital Volume 3L */
798 { 0x00000322, 0x0000 }, /* R802 - DMIC3L Control */
799 { 0x00000324, 0x0080 }, /* R804 - IN3R Control */
800 { 0x00000325, 0x0180 }, /* R805 - ADC Digital Volume 3R */
801 { 0x00000326, 0x0000 }, /* R806 - DMIC3R Control */
802 { 0x00000328, 0x2000 }, /* R808 - IN4L Control */
803 { 0x00000329, 0x0180 }, /* R809 - ADC Digital Volume 4L */
804 { 0x0000032A, 0x0000 }, /* R810 - DMIC4L Control */
Charles Keepax254dc322013-11-19 16:04:03 +0000805 { 0x0000032C, 0x0000 }, /* R812 - IN4R Control */
Mark Brown9cd9e282012-07-10 12:37:57 +0100806 { 0x0000032D, 0x0180 }, /* R813 - ADC Digital Volume 4R */
807 { 0x0000032E, 0x0000 }, /* R814 - DMIC4R Control */
808 { 0x00000400, 0x0000 }, /* R1024 - Output Enables 1 */
809 { 0x00000408, 0x0000 }, /* R1032 - Output Rate 1 */
810 { 0x00000409, 0x0022 }, /* R1033 - Output Volume Ramp */
811 { 0x00000410, 0x0080 }, /* R1040 - Output Path Config 1L */
812 { 0x00000411, 0x0180 }, /* R1041 - DAC Digital Volume 1L */
813 { 0x00000412, 0x0080 }, /* R1042 - DAC Volume Limit 1L */
814 { 0x00000413, 0x0001 }, /* R1043 - Noise Gate Select 1L */
815 { 0x00000414, 0x0080 }, /* R1044 - Output Path Config 1R */
816 { 0x00000415, 0x0180 }, /* R1045 - DAC Digital Volume 1R */
817 { 0x00000416, 0x0080 }, /* R1046 - DAC Volume Limit 1R */
818 { 0x00000417, 0x0002 }, /* R1047 - Noise Gate Select 1R */
819 { 0x00000418, 0x0080 }, /* R1048 - Output Path Config 2L */
820 { 0x00000419, 0x0180 }, /* R1049 - DAC Digital Volume 2L */
821 { 0x0000041A, 0x0080 }, /* R1050 - DAC Volume Limit 2L */
822 { 0x0000041B, 0x0004 }, /* R1051 - Noise Gate Select 2L */
823 { 0x0000041C, 0x0080 }, /* R1052 - Output Path Config 2R */
824 { 0x0000041D, 0x0180 }, /* R1053 - DAC Digital Volume 2R */
825 { 0x0000041E, 0x0080 }, /* R1054 - DAC Volume Limit 2R */
826 { 0x0000041F, 0x0008 }, /* R1055 - Noise Gate Select 2R */
827 { 0x00000420, 0x0080 }, /* R1056 - Output Path Config 3L */
828 { 0x00000421, 0x0180 }, /* R1057 - DAC Digital Volume 3L */
829 { 0x00000422, 0x0080 }, /* R1058 - DAC Volume Limit 3L */
830 { 0x00000423, 0x0010 }, /* R1059 - Noise Gate Select 3L */
831 { 0x00000424, 0x0080 }, /* R1060 - Output Path Config 3R */
832 { 0x00000425, 0x0180 }, /* R1061 - DAC Digital Volume 3R */
833 { 0x00000426, 0x0080 }, /* R1062 - DAC Volume Limit 3R */
834 { 0x00000427, 0x0020 }, /* R1063 - Noise Gate Select 3R */
835 { 0x00000428, 0x0000 }, /* R1064 - Output Path Config 4L */
836 { 0x00000429, 0x0180 }, /* R1065 - DAC Digital Volume 4L */
837 { 0x0000042A, 0x0080 }, /* R1066 - Out Volume 4L */
838 { 0x0000042B, 0x0040 }, /* R1067 - Noise Gate Select 4L */
839 { 0x0000042C, 0x0000 }, /* R1068 - Output Path Config 4R */
840 { 0x0000042D, 0x0180 }, /* R1069 - DAC Digital Volume 4R */
841 { 0x0000042E, 0x0080 }, /* R1070 - Out Volume 4R */
842 { 0x0000042F, 0x0080 }, /* R1071 - Noise Gate Select 4R */
843 { 0x00000430, 0x0000 }, /* R1072 - Output Path Config 5L */
844 { 0x00000431, 0x0180 }, /* R1073 - DAC Digital Volume 5L */
845 { 0x00000432, 0x0080 }, /* R1074 - DAC Volume Limit 5L */
846 { 0x00000433, 0x0100 }, /* R1075 - Noise Gate Select 5L */
847 { 0x00000434, 0x0000 }, /* R1076 - Output Path Config 5R */
848 { 0x00000435, 0x0180 }, /* R1077 - DAC Digital Volume 5R */
849 { 0x00000436, 0x0080 }, /* R1078 - DAC Volume Limit 5R */
850 { 0x00000437, 0x0200 }, /* R1079 - Noise Gate Select 5R */
851 { 0x00000438, 0x0000 }, /* R1080 - Output Path Config 6L */
852 { 0x00000439, 0x0180 }, /* R1081 - DAC Digital Volume 6L */
853 { 0x0000043A, 0x0080 }, /* R1082 - DAC Volume Limit 6L */
854 { 0x0000043B, 0x0400 }, /* R1083 - Noise Gate Select 6L */
855 { 0x0000043C, 0x0000 }, /* R1084 - Output Path Config 6R */
856 { 0x0000043D, 0x0180 }, /* R1085 - DAC Digital Volume 6R */
857 { 0x0000043E, 0x0080 }, /* R1086 - DAC Volume Limit 6R */
858 { 0x0000043F, 0x0800 }, /* R1087 - Noise Gate Select 6R */
Charles Keepax792b62e2013-12-19 09:11:01 +0000859 { 0x00000440, 0x8FFF }, /* R1088 - DRE Enable */
Mark Brown9cd9e282012-07-10 12:37:57 +0100860 { 0x00000450, 0x0000 }, /* R1104 - DAC AEC Control 1 */
Charles Keepaxbef78162013-09-17 15:44:20 +0100861 { 0x00000458, 0x0000 }, /* R1112 - Noise Gate Control */
Mark Brown9cd9e282012-07-10 12:37:57 +0100862 { 0x00000490, 0x0069 }, /* R1168 - PDM SPK1 CTRL 1 */
863 { 0x00000491, 0x0000 }, /* R1169 - PDM SPK1 CTRL 2 */
864 { 0x00000492, 0x0069 }, /* R1170 - PDM SPK2 CTRL 1 */
865 { 0x00000493, 0x0000 }, /* R1171 - PDM SPK2 CTRL 2 */
Charles Keepax08e2d592014-01-09 14:29:24 +0000866 { 0x000004A0, 0x3480 }, /* R1184 - HP1 Short Circuit Ctrl */
867 { 0x000004A1, 0x3480 }, /* R1185 - HP2 Short Circuit Ctrl */
868 { 0x000004A2, 0x3480 }, /* R1186 - HP3 Short Circuit Ctrl */
Mark Brown9cd9e282012-07-10 12:37:57 +0100869 { 0x00000500, 0x000C }, /* R1280 - AIF1 BCLK Ctrl */
870 { 0x00000501, 0x0008 }, /* R1281 - AIF1 Tx Pin Ctrl */
871 { 0x00000502, 0x0000 }, /* R1282 - AIF1 Rx Pin Ctrl */
872 { 0x00000503, 0x0000 }, /* R1283 - AIF1 Rate Ctrl */
873 { 0x00000504, 0x0000 }, /* R1284 - AIF1 Format */
874 { 0x00000505, 0x0040 }, /* R1285 - AIF1 Tx BCLK Rate */
875 { 0x00000506, 0x0040 }, /* R1286 - AIF1 Rx BCLK Rate */
876 { 0x00000507, 0x1818 }, /* R1287 - AIF1 Frame Ctrl 1 */
877 { 0x00000508, 0x1818 }, /* R1288 - AIF1 Frame Ctrl 2 */
878 { 0x00000509, 0x0000 }, /* R1289 - AIF1 Frame Ctrl 3 */
879 { 0x0000050A, 0x0001 }, /* R1290 - AIF1 Frame Ctrl 4 */
880 { 0x0000050B, 0x0002 }, /* R1291 - AIF1 Frame Ctrl 5 */
881 { 0x0000050C, 0x0003 }, /* R1292 - AIF1 Frame Ctrl 6 */
882 { 0x0000050D, 0x0004 }, /* R1293 - AIF1 Frame Ctrl 7 */
883 { 0x0000050E, 0x0005 }, /* R1294 - AIF1 Frame Ctrl 8 */
884 { 0x0000050F, 0x0006 }, /* R1295 - AIF1 Frame Ctrl 9 */
885 { 0x00000510, 0x0007 }, /* R1296 - AIF1 Frame Ctrl 10 */
886 { 0x00000511, 0x0000 }, /* R1297 - AIF1 Frame Ctrl 11 */
887 { 0x00000512, 0x0001 }, /* R1298 - AIF1 Frame Ctrl 12 */
888 { 0x00000513, 0x0002 }, /* R1299 - AIF1 Frame Ctrl 13 */
889 { 0x00000514, 0x0003 }, /* R1300 - AIF1 Frame Ctrl 14 */
890 { 0x00000515, 0x0004 }, /* R1301 - AIF1 Frame Ctrl 15 */
891 { 0x00000516, 0x0005 }, /* R1302 - AIF1 Frame Ctrl 16 */
892 { 0x00000517, 0x0006 }, /* R1303 - AIF1 Frame Ctrl 17 */
893 { 0x00000518, 0x0007 }, /* R1304 - AIF1 Frame Ctrl 18 */
894 { 0x00000519, 0x0000 }, /* R1305 - AIF1 Tx Enables */
895 { 0x0000051A, 0x0000 }, /* R1306 - AIF1 Rx Enables */
896 { 0x00000540, 0x000C }, /* R1344 - AIF2 BCLK Ctrl */
897 { 0x00000541, 0x0008 }, /* R1345 - AIF2 Tx Pin Ctrl */
898 { 0x00000542, 0x0000 }, /* R1346 - AIF2 Rx Pin Ctrl */
899 { 0x00000543, 0x0000 }, /* R1347 - AIF2 Rate Ctrl */
900 { 0x00000544, 0x0000 }, /* R1348 - AIF2 Format */
901 { 0x00000545, 0x0040 }, /* R1349 - AIF2 Tx BCLK Rate */
902 { 0x00000546, 0x0040 }, /* R1350 - AIF2 Rx BCLK Rate */
903 { 0x00000547, 0x1818 }, /* R1351 - AIF2 Frame Ctrl 1 */
904 { 0x00000548, 0x1818 }, /* R1352 - AIF2 Frame Ctrl 2 */
905 { 0x00000549, 0x0000 }, /* R1353 - AIF2 Frame Ctrl 3 */
906 { 0x0000054A, 0x0001 }, /* R1354 - AIF2 Frame Ctrl 4 */
Charles Keepax783f6fc2014-11-04 13:04:07 +0000907 { 0x0000054B, 0x0002 }, /* R1355 - AIF2 Frame Ctrl 5 */
908 { 0x0000054C, 0x0003 }, /* R1356 - AIF2 Frame Ctrl 6 */
909 { 0x0000054D, 0x0004 }, /* R1357 - AIF2 Frame Ctrl 7 */
910 { 0x0000054E, 0x0005 }, /* R1358 - AIF2 Frame Ctrl 8 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100911 { 0x00000551, 0x0000 }, /* R1361 - AIF2 Frame Ctrl 11 */
912 { 0x00000552, 0x0001 }, /* R1362 - AIF2 Frame Ctrl 12 */
Charles Keepax783f6fc2014-11-04 13:04:07 +0000913 { 0x00000553, 0x0002 }, /* R1363 - AIF2 Frame Ctrl 13 */
914 { 0x00000554, 0x0003 }, /* R1364 - AIF2 Frame Ctrl 14 */
915 { 0x00000555, 0x0004 }, /* R1365 - AIF2 Frame Ctrl 15 */
916 { 0x00000556, 0x0005 }, /* R1366 - AIF2 Frame Ctrl 16 */
Mark Brown9cd9e282012-07-10 12:37:57 +0100917 { 0x00000559, 0x0000 }, /* R1369 - AIF2 Tx Enables */
918 { 0x0000055A, 0x0000 }, /* R1370 - AIF2 Rx Enables */
919 { 0x00000580, 0x000C }, /* R1408 - AIF3 BCLK Ctrl */
920 { 0x00000581, 0x0008 }, /* R1409 - AIF3 Tx Pin Ctrl */
921 { 0x00000582, 0x0000 }, /* R1410 - AIF3 Rx Pin Ctrl */
922 { 0x00000583, 0x0000 }, /* R1411 - AIF3 Rate Ctrl */
923 { 0x00000584, 0x0000 }, /* R1412 - AIF3 Format */
924 { 0x00000585, 0x0040 }, /* R1413 - AIF3 Tx BCLK Rate */
925 { 0x00000586, 0x0040 }, /* R1414 - AIF3 Rx BCLK Rate */
926 { 0x00000587, 0x1818 }, /* R1415 - AIF3 Frame Ctrl 1 */
927 { 0x00000588, 0x1818 }, /* R1416 - AIF3 Frame Ctrl 2 */
928 { 0x00000589, 0x0000 }, /* R1417 - AIF3 Frame Ctrl 3 */
929 { 0x0000058A, 0x0001 }, /* R1418 - AIF3 Frame Ctrl 4 */
930 { 0x00000591, 0x0000 }, /* R1425 - AIF3 Frame Ctrl 11 */
931 { 0x00000592, 0x0001 }, /* R1426 - AIF3 Frame Ctrl 12 */
932 { 0x00000599, 0x0000 }, /* R1433 - AIF3 Tx Enables */
933 { 0x0000059A, 0x0000 }, /* R1434 - AIF3 Rx Enables */
934 { 0x000005E3, 0x0004 }, /* R1507 - SLIMbus Framer Ref Gear */
935 { 0x000005E5, 0x0000 }, /* R1509 - SLIMbus Rates 1 */
936 { 0x000005E6, 0x0000 }, /* R1510 - SLIMbus Rates 2 */
937 { 0x000005E7, 0x0000 }, /* R1511 - SLIMbus Rates 3 */
938 { 0x000005E8, 0x0000 }, /* R1512 - SLIMbus Rates 4 */
939 { 0x000005E9, 0x0000 }, /* R1513 - SLIMbus Rates 5 */
940 { 0x000005EA, 0x0000 }, /* R1514 - SLIMbus Rates 6 */
941 { 0x000005EB, 0x0000 }, /* R1515 - SLIMbus Rates 7 */
942 { 0x000005EC, 0x0000 }, /* R1516 - SLIMbus Rates 8 */
943 { 0x000005F5, 0x0000 }, /* R1525 - SLIMbus RX Channel Enable */
944 { 0x000005F6, 0x0000 }, /* R1526 - SLIMbus TX Channel Enable */
945 { 0x00000640, 0x0000 }, /* R1600 - PWM1MIX Input 1 Source */
946 { 0x00000641, 0x0080 }, /* R1601 - PWM1MIX Input 1 Volume */
947 { 0x00000642, 0x0000 }, /* R1602 - PWM1MIX Input 2 Source */
948 { 0x00000643, 0x0080 }, /* R1603 - PWM1MIX Input 2 Volume */
949 { 0x00000644, 0x0000 }, /* R1604 - PWM1MIX Input 3 Source */
950 { 0x00000645, 0x0080 }, /* R1605 - PWM1MIX Input 3 Volume */
951 { 0x00000646, 0x0000 }, /* R1606 - PWM1MIX Input 4 Source */
952 { 0x00000647, 0x0080 }, /* R1607 - PWM1MIX Input 4 Volume */
953 { 0x00000648, 0x0000 }, /* R1608 - PWM2MIX Input 1 Source */
954 { 0x00000649, 0x0080 }, /* R1609 - PWM2MIX Input 1 Volume */
955 { 0x0000064A, 0x0000 }, /* R1610 - PWM2MIX Input 2 Source */
956 { 0x0000064B, 0x0080 }, /* R1611 - PWM2MIX Input 2 Volume */
957 { 0x0000064C, 0x0000 }, /* R1612 - PWM2MIX Input 3 Source */
958 { 0x0000064D, 0x0080 }, /* R1613 - PWM2MIX Input 3 Volume */
959 { 0x0000064E, 0x0000 }, /* R1614 - PWM2MIX Input 4 Source */
960 { 0x0000064F, 0x0080 }, /* R1615 - PWM2MIX Input 4 Volume */
961 { 0x00000660, 0x0000 }, /* R1632 - MICMIX Input 1 Source */
962 { 0x00000661, 0x0080 }, /* R1633 - MICMIX Input 1 Volume */
963 { 0x00000662, 0x0000 }, /* R1634 - MICMIX Input 2 Source */
964 { 0x00000663, 0x0080 }, /* R1635 - MICMIX Input 2 Volume */
965 { 0x00000664, 0x0000 }, /* R1636 - MICMIX Input 3 Source */
966 { 0x00000665, 0x0080 }, /* R1637 - MICMIX Input 3 Volume */
967 { 0x00000666, 0x0000 }, /* R1638 - MICMIX Input 4 Source */
968 { 0x00000667, 0x0080 }, /* R1639 - MICMIX Input 4 Volume */
969 { 0x00000668, 0x0000 }, /* R1640 - NOISEMIX Input 1 Source */
970 { 0x00000669, 0x0080 }, /* R1641 - NOISEMIX Input 1 Volume */
971 { 0x0000066A, 0x0000 }, /* R1642 - NOISEMIX Input 2 Source */
972 { 0x0000066B, 0x0080 }, /* R1643 - NOISEMIX Input 2 Volume */
973 { 0x0000066C, 0x0000 }, /* R1644 - NOISEMIX Input 3 Source */
974 { 0x0000066D, 0x0080 }, /* R1645 - NOISEMIX Input 3 Volume */
975 { 0x0000066E, 0x0000 }, /* R1646 - NOISEMIX Input 4 Source */
976 { 0x0000066F, 0x0080 }, /* R1647 - NOISEMIX Input 4 Volume */
977 { 0x00000680, 0x0000 }, /* R1664 - OUT1LMIX Input 1 Source */
978 { 0x00000681, 0x0080 }, /* R1665 - OUT1LMIX Input 1 Volume */
979 { 0x00000682, 0x0000 }, /* R1666 - OUT1LMIX Input 2 Source */
980 { 0x00000683, 0x0080 }, /* R1667 - OUT1LMIX Input 2 Volume */
981 { 0x00000684, 0x0000 }, /* R1668 - OUT1LMIX Input 3 Source */
982 { 0x00000685, 0x0080 }, /* R1669 - OUT1LMIX Input 3 Volume */
983 { 0x00000686, 0x0000 }, /* R1670 - OUT1LMIX Input 4 Source */
984 { 0x00000687, 0x0080 }, /* R1671 - OUT1LMIX Input 4 Volume */
985 { 0x00000688, 0x0000 }, /* R1672 - OUT1RMIX Input 1 Source */
986 { 0x00000689, 0x0080 }, /* R1673 - OUT1RMIX Input 1 Volume */
987 { 0x0000068A, 0x0000 }, /* R1674 - OUT1RMIX Input 2 Source */
988 { 0x0000068B, 0x0080 }, /* R1675 - OUT1RMIX Input 2 Volume */
989 { 0x0000068C, 0x0000 }, /* R1676 - OUT1RMIX Input 3 Source */
990 { 0x0000068D, 0x0080 }, /* R1677 - OUT1RMIX Input 3 Volume */
991 { 0x0000068E, 0x0000 }, /* R1678 - OUT1RMIX Input 4 Source */
992 { 0x0000068F, 0x0080 }, /* R1679 - OUT1RMIX Input 4 Volume */
993 { 0x00000690, 0x0000 }, /* R1680 - OUT2LMIX Input 1 Source */
994 { 0x00000691, 0x0080 }, /* R1681 - OUT2LMIX Input 1 Volume */
995 { 0x00000692, 0x0000 }, /* R1682 - OUT2LMIX Input 2 Source */
996 { 0x00000693, 0x0080 }, /* R1683 - OUT2LMIX Input 2 Volume */
997 { 0x00000694, 0x0000 }, /* R1684 - OUT2LMIX Input 3 Source */
998 { 0x00000695, 0x0080 }, /* R1685 - OUT2LMIX Input 3 Volume */
999 { 0x00000696, 0x0000 }, /* R1686 - OUT2LMIX Input 4 Source */
1000 { 0x00000697, 0x0080 }, /* R1687 - OUT2LMIX Input 4 Volume */
1001 { 0x00000698, 0x0000 }, /* R1688 - OUT2RMIX Input 1 Source */
1002 { 0x00000699, 0x0080 }, /* R1689 - OUT2RMIX Input 1 Volume */
1003 { 0x0000069A, 0x0000 }, /* R1690 - OUT2RMIX Input 2 Source */
1004 { 0x0000069B, 0x0080 }, /* R1691 - OUT2RMIX Input 2 Volume */
1005 { 0x0000069C, 0x0000 }, /* R1692 - OUT2RMIX Input 3 Source */
1006 { 0x0000069D, 0x0080 }, /* R1693 - OUT2RMIX Input 3 Volume */
1007 { 0x0000069E, 0x0000 }, /* R1694 - OUT2RMIX Input 4 Source */
1008 { 0x0000069F, 0x0080 }, /* R1695 - OUT2RMIX Input 4 Volume */
1009 { 0x000006A0, 0x0000 }, /* R1696 - OUT3LMIX Input 1 Source */
1010 { 0x000006A1, 0x0080 }, /* R1697 - OUT3LMIX Input 1 Volume */
1011 { 0x000006A2, 0x0000 }, /* R1698 - OUT3LMIX Input 2 Source */
1012 { 0x000006A3, 0x0080 }, /* R1699 - OUT3LMIX Input 2 Volume */
1013 { 0x000006A4, 0x0000 }, /* R1700 - OUT3LMIX Input 3 Source */
1014 { 0x000006A5, 0x0080 }, /* R1701 - OUT3LMIX Input 3 Volume */
1015 { 0x000006A6, 0x0000 }, /* R1702 - OUT3LMIX Input 4 Source */
1016 { 0x000006A7, 0x0080 }, /* R1703 - OUT3LMIX Input 4 Volume */
1017 { 0x000006A8, 0x0000 }, /* R1704 - OUT3RMIX Input 1 Source */
1018 { 0x000006A9, 0x0080 }, /* R1705 - OUT3RMIX Input 1 Volume */
1019 { 0x000006AA, 0x0000 }, /* R1706 - OUT3RMIX Input 2 Source */
1020 { 0x000006AB, 0x0080 }, /* R1707 - OUT3RMIX Input 2 Volume */
1021 { 0x000006AC, 0x0000 }, /* R1708 - OUT3RMIX Input 3 Source */
1022 { 0x000006AD, 0x0080 }, /* R1709 - OUT3RMIX Input 3 Volume */
1023 { 0x000006AE, 0x0000 }, /* R1710 - OUT3RMIX Input 4 Source */
1024 { 0x000006AF, 0x0080 }, /* R1711 - OUT3RMIX Input 4 Volume */
1025 { 0x000006B0, 0x0000 }, /* R1712 - OUT4LMIX Input 1 Source */
1026 { 0x000006B1, 0x0080 }, /* R1713 - OUT4LMIX Input 1 Volume */
1027 { 0x000006B2, 0x0000 }, /* R1714 - OUT4LMIX Input 2 Source */
1028 { 0x000006B3, 0x0080 }, /* R1715 - OUT4LMIX Input 2 Volume */
1029 { 0x000006B4, 0x0000 }, /* R1716 - OUT4LMIX Input 3 Source */
1030 { 0x000006B5, 0x0080 }, /* R1717 - OUT4LMIX Input 3 Volume */
1031 { 0x000006B6, 0x0000 }, /* R1718 - OUT4LMIX Input 4 Source */
1032 { 0x000006B7, 0x0080 }, /* R1719 - OUT4LMIX Input 4 Volume */
1033 { 0x000006B8, 0x0000 }, /* R1720 - OUT4RMIX Input 1 Source */
1034 { 0x000006B9, 0x0080 }, /* R1721 - OUT4RMIX Input 1 Volume */
1035 { 0x000006BA, 0x0000 }, /* R1722 - OUT4RMIX Input 2 Source */
1036 { 0x000006BB, 0x0080 }, /* R1723 - OUT4RMIX Input 2 Volume */
1037 { 0x000006BC, 0x0000 }, /* R1724 - OUT4RMIX Input 3 Source */
1038 { 0x000006BD, 0x0080 }, /* R1725 - OUT4RMIX Input 3 Volume */
1039 { 0x000006BE, 0x0000 }, /* R1726 - OUT4RMIX Input 4 Source */
1040 { 0x000006BF, 0x0080 }, /* R1727 - OUT4RMIX Input 4 Volume */
1041 { 0x000006C0, 0x0000 }, /* R1728 - OUT5LMIX Input 1 Source */
1042 { 0x000006C1, 0x0080 }, /* R1729 - OUT5LMIX Input 1 Volume */
1043 { 0x000006C2, 0x0000 }, /* R1730 - OUT5LMIX Input 2 Source */
1044 { 0x000006C3, 0x0080 }, /* R1731 - OUT5LMIX Input 2 Volume */
1045 { 0x000006C4, 0x0000 }, /* R1732 - OUT5LMIX Input 3 Source */
1046 { 0x000006C5, 0x0080 }, /* R1733 - OUT5LMIX Input 3 Volume */
1047 { 0x000006C6, 0x0000 }, /* R1734 - OUT5LMIX Input 4 Source */
1048 { 0x000006C7, 0x0080 }, /* R1735 - OUT5LMIX Input 4 Volume */
1049 { 0x000006C8, 0x0000 }, /* R1736 - OUT5RMIX Input 1 Source */
1050 { 0x000006C9, 0x0080 }, /* R1737 - OUT5RMIX Input 1 Volume */
1051 { 0x000006CA, 0x0000 }, /* R1738 - OUT5RMIX Input 2 Source */
1052 { 0x000006CB, 0x0080 }, /* R1739 - OUT5RMIX Input 2 Volume */
1053 { 0x000006CC, 0x0000 }, /* R1740 - OUT5RMIX Input 3 Source */
1054 { 0x000006CD, 0x0080 }, /* R1741 - OUT5RMIX Input 3 Volume */
1055 { 0x000006CE, 0x0000 }, /* R1742 - OUT5RMIX Input 4 Source */
1056 { 0x000006CF, 0x0080 }, /* R1743 - OUT5RMIX Input 4 Volume */
1057 { 0x000006D0, 0x0000 }, /* R1744 - OUT6LMIX Input 1 Source */
1058 { 0x000006D1, 0x0080 }, /* R1745 - OUT6LMIX Input 1 Volume */
1059 { 0x000006D2, 0x0000 }, /* R1746 - OUT6LMIX Input 2 Source */
1060 { 0x000006D3, 0x0080 }, /* R1747 - OUT6LMIX Input 2 Volume */
1061 { 0x000006D4, 0x0000 }, /* R1748 - OUT6LMIX Input 3 Source */
1062 { 0x000006D5, 0x0080 }, /* R1749 - OUT6LMIX Input 3 Volume */
1063 { 0x000006D6, 0x0000 }, /* R1750 - OUT6LMIX Input 4 Source */
1064 { 0x000006D7, 0x0080 }, /* R1751 - OUT6LMIX Input 4 Volume */
1065 { 0x000006D8, 0x0000 }, /* R1752 - OUT6RMIX Input 1 Source */
1066 { 0x000006D9, 0x0080 }, /* R1753 - OUT6RMIX Input 1 Volume */
1067 { 0x000006DA, 0x0000 }, /* R1754 - OUT6RMIX Input 2 Source */
1068 { 0x000006DB, 0x0080 }, /* R1755 - OUT6RMIX Input 2 Volume */
1069 { 0x000006DC, 0x0000 }, /* R1756 - OUT6RMIX Input 3 Source */
1070 { 0x000006DD, 0x0080 }, /* R1757 - OUT6RMIX Input 3 Volume */
1071 { 0x000006DE, 0x0000 }, /* R1758 - OUT6RMIX Input 4 Source */
1072 { 0x000006DF, 0x0080 }, /* R1759 - OUT6RMIX Input 4 Volume */
1073 { 0x00000700, 0x0000 }, /* R1792 - AIF1TX1MIX Input 1 Source */
1074 { 0x00000701, 0x0080 }, /* R1793 - AIF1TX1MIX Input 1 Volume */
1075 { 0x00000702, 0x0000 }, /* R1794 - AIF1TX1MIX Input 2 Source */
1076 { 0x00000703, 0x0080 }, /* R1795 - AIF1TX1MIX Input 2 Volume */
1077 { 0x00000704, 0x0000 }, /* R1796 - AIF1TX1MIX Input 3 Source */
1078 { 0x00000705, 0x0080 }, /* R1797 - AIF1TX1MIX Input 3 Volume */
1079 { 0x00000706, 0x0000 }, /* R1798 - AIF1TX1MIX Input 4 Source */
1080 { 0x00000707, 0x0080 }, /* R1799 - AIF1TX1MIX Input 4 Volume */
1081 { 0x00000708, 0x0000 }, /* R1800 - AIF1TX2MIX Input 1 Source */
1082 { 0x00000709, 0x0080 }, /* R1801 - AIF1TX2MIX Input 1 Volume */
1083 { 0x0000070A, 0x0000 }, /* R1802 - AIF1TX2MIX Input 2 Source */
1084 { 0x0000070B, 0x0080 }, /* R1803 - AIF1TX2MIX Input 2 Volume */
1085 { 0x0000070C, 0x0000 }, /* R1804 - AIF1TX2MIX Input 3 Source */
1086 { 0x0000070D, 0x0080 }, /* R1805 - AIF1TX2MIX Input 3 Volume */
1087 { 0x0000070E, 0x0000 }, /* R1806 - AIF1TX2MIX Input 4 Source */
1088 { 0x0000070F, 0x0080 }, /* R1807 - AIF1TX2MIX Input 4 Volume */
1089 { 0x00000710, 0x0000 }, /* R1808 - AIF1TX3MIX Input 1 Source */
1090 { 0x00000711, 0x0080 }, /* R1809 - AIF1TX3MIX Input 1 Volume */
1091 { 0x00000712, 0x0000 }, /* R1810 - AIF1TX3MIX Input 2 Source */
1092 { 0x00000713, 0x0080 }, /* R1811 - AIF1TX3MIX Input 2 Volume */
1093 { 0x00000714, 0x0000 }, /* R1812 - AIF1TX3MIX Input 3 Source */
1094 { 0x00000715, 0x0080 }, /* R1813 - AIF1TX3MIX Input 3 Volume */
1095 { 0x00000716, 0x0000 }, /* R1814 - AIF1TX3MIX Input 4 Source */
1096 { 0x00000717, 0x0080 }, /* R1815 - AIF1TX3MIX Input 4 Volume */
1097 { 0x00000718, 0x0000 }, /* R1816 - AIF1TX4MIX Input 1 Source */
1098 { 0x00000719, 0x0080 }, /* R1817 - AIF1TX4MIX Input 1 Volume */
1099 { 0x0000071A, 0x0000 }, /* R1818 - AIF1TX4MIX Input 2 Source */
1100 { 0x0000071B, 0x0080 }, /* R1819 - AIF1TX4MIX Input 2 Volume */
1101 { 0x0000071C, 0x0000 }, /* R1820 - AIF1TX4MIX Input 3 Source */
1102 { 0x0000071D, 0x0080 }, /* R1821 - AIF1TX4MIX Input 3 Volume */
1103 { 0x0000071E, 0x0000 }, /* R1822 - AIF1TX4MIX Input 4 Source */
1104 { 0x0000071F, 0x0080 }, /* R1823 - AIF1TX4MIX Input 4 Volume */
1105 { 0x00000720, 0x0000 }, /* R1824 - AIF1TX5MIX Input 1 Source */
1106 { 0x00000721, 0x0080 }, /* R1825 - AIF1TX5MIX Input 1 Volume */
1107 { 0x00000722, 0x0000 }, /* R1826 - AIF1TX5MIX Input 2 Source */
1108 { 0x00000723, 0x0080 }, /* R1827 - AIF1TX5MIX Input 2 Volume */
1109 { 0x00000724, 0x0000 }, /* R1828 - AIF1TX5MIX Input 3 Source */
1110 { 0x00000725, 0x0080 }, /* R1829 - AIF1TX5MIX Input 3 Volume */
1111 { 0x00000726, 0x0000 }, /* R1830 - AIF1TX5MIX Input 4 Source */
1112 { 0x00000727, 0x0080 }, /* R1831 - AIF1TX5MIX Input 4 Volume */
1113 { 0x00000728, 0x0000 }, /* R1832 - AIF1TX6MIX Input 1 Source */
1114 { 0x00000729, 0x0080 }, /* R1833 - AIF1TX6MIX Input 1 Volume */
1115 { 0x0000072A, 0x0000 }, /* R1834 - AIF1TX6MIX Input 2 Source */
1116 { 0x0000072B, 0x0080 }, /* R1835 - AIF1TX6MIX Input 2 Volume */
1117 { 0x0000072C, 0x0000 }, /* R1836 - AIF1TX6MIX Input 3 Source */
1118 { 0x0000072D, 0x0080 }, /* R1837 - AIF1TX6MIX Input 3 Volume */
1119 { 0x0000072E, 0x0000 }, /* R1838 - AIF1TX6MIX Input 4 Source */
1120 { 0x0000072F, 0x0080 }, /* R1839 - AIF1TX6MIX Input 4 Volume */
1121 { 0x00000730, 0x0000 }, /* R1840 - AIF1TX7MIX Input 1 Source */
1122 { 0x00000731, 0x0080 }, /* R1841 - AIF1TX7MIX Input 1 Volume */
1123 { 0x00000732, 0x0000 }, /* R1842 - AIF1TX7MIX Input 2 Source */
1124 { 0x00000733, 0x0080 }, /* R1843 - AIF1TX7MIX Input 2 Volume */
1125 { 0x00000734, 0x0000 }, /* R1844 - AIF1TX7MIX Input 3 Source */
1126 { 0x00000735, 0x0080 }, /* R1845 - AIF1TX7MIX Input 3 Volume */
1127 { 0x00000736, 0x0000 }, /* R1846 - AIF1TX7MIX Input 4 Source */
1128 { 0x00000737, 0x0080 }, /* R1847 - AIF1TX7MIX Input 4 Volume */
1129 { 0x00000738, 0x0000 }, /* R1848 - AIF1TX8MIX Input 1 Source */
1130 { 0x00000739, 0x0080 }, /* R1849 - AIF1TX8MIX Input 1 Volume */
1131 { 0x0000073A, 0x0000 }, /* R1850 - AIF1TX8MIX Input 2 Source */
1132 { 0x0000073B, 0x0080 }, /* R1851 - AIF1TX8MIX Input 2 Volume */
1133 { 0x0000073C, 0x0000 }, /* R1852 - AIF1TX8MIX Input 3 Source */
1134 { 0x0000073D, 0x0080 }, /* R1853 - AIF1TX8MIX Input 3 Volume */
1135 { 0x0000073E, 0x0000 }, /* R1854 - AIF1TX8MIX Input 4 Source */
1136 { 0x0000073F, 0x0080 }, /* R1855 - AIF1TX8MIX Input 4 Volume */
1137 { 0x00000740, 0x0000 }, /* R1856 - AIF2TX1MIX Input 1 Source */
1138 { 0x00000741, 0x0080 }, /* R1857 - AIF2TX1MIX Input 1 Volume */
1139 { 0x00000742, 0x0000 }, /* R1858 - AIF2TX1MIX Input 2 Source */
1140 { 0x00000743, 0x0080 }, /* R1859 - AIF2TX1MIX Input 2 Volume */
1141 { 0x00000744, 0x0000 }, /* R1860 - AIF2TX1MIX Input 3 Source */
1142 { 0x00000745, 0x0080 }, /* R1861 - AIF2TX1MIX Input 3 Volume */
1143 { 0x00000746, 0x0000 }, /* R1862 - AIF2TX1MIX Input 4 Source */
1144 { 0x00000747, 0x0080 }, /* R1863 - AIF2TX1MIX Input 4 Volume */
1145 { 0x00000748, 0x0000 }, /* R1864 - AIF2TX2MIX Input 1 Source */
1146 { 0x00000749, 0x0080 }, /* R1865 - AIF2TX2MIX Input 1 Volume */
1147 { 0x0000074A, 0x0000 }, /* R1866 - AIF2TX2MIX Input 2 Source */
1148 { 0x0000074B, 0x0080 }, /* R1867 - AIF2TX2MIX Input 2 Volume */
1149 { 0x0000074C, 0x0000 }, /* R1868 - AIF2TX2MIX Input 3 Source */
1150 { 0x0000074D, 0x0080 }, /* R1869 - AIF2TX2MIX Input 3 Volume */
1151 { 0x0000074E, 0x0000 }, /* R1870 - AIF2TX2MIX Input 4 Source */
1152 { 0x0000074F, 0x0080 }, /* R1871 - AIF2TX2MIX Input 4 Volume */
Charles Keepax32a8fda2013-11-27 12:51:17 +00001153 { 0x00000750, 0x0000 }, /* R1872 - AIF2TX3MIX Input 1 Source */
1154 { 0x00000751, 0x0080 }, /* R1873 - AIF2TX3MIX Input 1 Volume */
1155 { 0x00000752, 0x0000 }, /* R1874 - AIF2TX3MIX Input 2 Source */
1156 { 0x00000753, 0x0080 }, /* R1875 - AIF2TX3MIX Input 2 Volume */
1157 { 0x00000754, 0x0000 }, /* R1876 - AIF2TX3MIX Input 3 Source */
1158 { 0x00000755, 0x0080 }, /* R1877 - AIF2TX3MIX Input 3 Volume */
1159 { 0x00000756, 0x0000 }, /* R1878 - AIF2TX3MIX Input 4 Source */
1160 { 0x00000757, 0x0080 }, /* R1879 - AIF2TX3MIX Input 4 Volume */
1161 { 0x00000758, 0x0000 }, /* R1880 - AIF2TX4MIX Input 1 Source */
1162 { 0x00000759, 0x0080 }, /* R1881 - AIF2TX4MIX Input 1 Volume */
1163 { 0x0000075A, 0x0000 }, /* R1882 - AIF2TX4MIX Input 2 Source */
1164 { 0x0000075B, 0x0080 }, /* R1883 - AIF2TX4MIX Input 2 Volume */
1165 { 0x0000075C, 0x0000 }, /* R1884 - AIF2TX4MIX Input 3 Source */
1166 { 0x0000075D, 0x0080 }, /* R1885 - AIF2TX4MIX Input 3 Volume */
1167 { 0x0000075E, 0x0000 }, /* R1886 - AIF2TX4MIX Input 4 Source */
1168 { 0x0000075F, 0x0080 }, /* R1887 - AIF2TX4MIX Input 4 Volume */
1169 { 0x00000760, 0x0000 }, /* R1888 - AIF2TX5MIX Input 1 Source */
1170 { 0x00000761, 0x0080 }, /* R1889 - AIF2TX5MIX Input 1 Volume */
1171 { 0x00000762, 0x0000 }, /* R1890 - AIF2TX5MIX Input 2 Source */
1172 { 0x00000763, 0x0080 }, /* R1891 - AIF2TX5MIX Input 2 Volume */
1173 { 0x00000764, 0x0000 }, /* R1892 - AIF2TX5MIX Input 3 Source */
1174 { 0x00000765, 0x0080 }, /* R1893 - AIF2TX5MIX Input 3 Volume */
1175 { 0x00000766, 0x0000 }, /* R1894 - AIF2TX5MIX Input 4 Source */
1176 { 0x00000767, 0x0080 }, /* R1895 - AIF2TX5MIX Input 4 Volume */
1177 { 0x00000768, 0x0000 }, /* R1896 - AIF2TX6MIX Input 1 Source */
1178 { 0x00000769, 0x0080 }, /* R1897 - AIF2TX6MIX Input 1 Volume */
1179 { 0x0000076A, 0x0000 }, /* R1898 - AIF2TX6MIX Input 2 Source */
1180 { 0x0000076B, 0x0080 }, /* R1899 - AIF2TX6MIX Input 2 Volume */
1181 { 0x0000076C, 0x0000 }, /* R1900 - AIF2TX6MIX Input 3 Source */
1182 { 0x0000076D, 0x0080 }, /* R1901 - AIF2TX6MIX Input 3 Volume */
1183 { 0x0000076E, 0x0000 }, /* R1902 - AIF2TX6MIX Input 4 Source */
1184 { 0x0000076F, 0x0080 }, /* R1903 - AIF2TX6MIX Input 4 Volume */
Mark Brown9cd9e282012-07-10 12:37:57 +01001185 { 0x00000780, 0x0000 }, /* R1920 - AIF3TX1MIX Input 1 Source */
1186 { 0x00000781, 0x0080 }, /* R1921 - AIF3TX1MIX Input 1 Volume */
1187 { 0x00000782, 0x0000 }, /* R1922 - AIF3TX1MIX Input 2 Source */
1188 { 0x00000783, 0x0080 }, /* R1923 - AIF3TX1MIX Input 2 Volume */
1189 { 0x00000784, 0x0000 }, /* R1924 - AIF3TX1MIX Input 3 Source */
1190 { 0x00000785, 0x0080 }, /* R1925 - AIF3TX1MIX Input 3 Volume */
1191 { 0x00000786, 0x0000 }, /* R1926 - AIF3TX1MIX Input 4 Source */
1192 { 0x00000787, 0x0080 }, /* R1927 - AIF3TX1MIX Input 4 Volume */
1193 { 0x00000788, 0x0000 }, /* R1928 - AIF3TX2MIX Input 1 Source */
1194 { 0x00000789, 0x0080 }, /* R1929 - AIF3TX2MIX Input 1 Volume */
1195 { 0x0000078A, 0x0000 }, /* R1930 - AIF3TX2MIX Input 2 Source */
1196 { 0x0000078B, 0x0080 }, /* R1931 - AIF3TX2MIX Input 2 Volume */
1197 { 0x0000078C, 0x0000 }, /* R1932 - AIF3TX2MIX Input 3 Source */
1198 { 0x0000078D, 0x0080 }, /* R1933 - AIF3TX2MIX Input 3 Volume */
1199 { 0x0000078E, 0x0000 }, /* R1934 - AIF3TX2MIX Input 4 Source */
1200 { 0x0000078F, 0x0080 }, /* R1935 - AIF3TX2MIX Input 4 Volume */
1201 { 0x000007C0, 0x0000 }, /* R1984 - SLIMTX1MIX Input 1 Source */
1202 { 0x000007C1, 0x0080 }, /* R1985 - SLIMTX1MIX Input 1 Volume */
1203 { 0x000007C2, 0x0000 }, /* R1986 - SLIMTX1MIX Input 2 Source */
1204 { 0x000007C3, 0x0080 }, /* R1987 - SLIMTX1MIX Input 2 Volume */
1205 { 0x000007C4, 0x0000 }, /* R1988 - SLIMTX1MIX Input 3 Source */
1206 { 0x000007C5, 0x0080 }, /* R1989 - SLIMTX1MIX Input 3 Volume */
1207 { 0x000007C6, 0x0000 }, /* R1990 - SLIMTX1MIX Input 4 Source */
1208 { 0x000007C7, 0x0080 }, /* R1991 - SLIMTX1MIX Input 4 Volume */
1209 { 0x000007C8, 0x0000 }, /* R1992 - SLIMTX2MIX Input 1 Source */
1210 { 0x000007C9, 0x0080 }, /* R1993 - SLIMTX2MIX Input 1 Volume */
1211 { 0x000007CA, 0x0000 }, /* R1994 - SLIMTX2MIX Input 2 Source */
1212 { 0x000007CB, 0x0080 }, /* R1995 - SLIMTX2MIX Input 2 Volume */
1213 { 0x000007CC, 0x0000 }, /* R1996 - SLIMTX2MIX Input 3 Source */
1214 { 0x000007CD, 0x0080 }, /* R1997 - SLIMTX2MIX Input 3 Volume */
1215 { 0x000007CE, 0x0000 }, /* R1998 - SLIMTX2MIX Input 4 Source */
1216 { 0x000007CF, 0x0080 }, /* R1999 - SLIMTX2MIX Input 4 Volume */
1217 { 0x000007D0, 0x0000 }, /* R2000 - SLIMTX3MIX Input 1 Source */
1218 { 0x000007D1, 0x0080 }, /* R2001 - SLIMTX3MIX Input 1 Volume */
1219 { 0x000007D2, 0x0000 }, /* R2002 - SLIMTX3MIX Input 2 Source */
1220 { 0x000007D3, 0x0080 }, /* R2003 - SLIMTX3MIX Input 2 Volume */
1221 { 0x000007D4, 0x0000 }, /* R2004 - SLIMTX3MIX Input 3 Source */
1222 { 0x000007D5, 0x0080 }, /* R2005 - SLIMTX3MIX Input 3 Volume */
1223 { 0x000007D6, 0x0000 }, /* R2006 - SLIMTX3MIX Input 4 Source */
1224 { 0x000007D7, 0x0080 }, /* R2007 - SLIMTX3MIX Input 4 Volume */
1225 { 0x000007D8, 0x0000 }, /* R2008 - SLIMTX4MIX Input 1 Source */
1226 { 0x000007D9, 0x0080 }, /* R2009 - SLIMTX4MIX Input 1 Volume */
1227 { 0x000007DA, 0x0000 }, /* R2010 - SLIMTX4MIX Input 2 Source */
1228 { 0x000007DB, 0x0080 }, /* R2011 - SLIMTX4MIX Input 2 Volume */
1229 { 0x000007DC, 0x0000 }, /* R2012 - SLIMTX4MIX Input 3 Source */
1230 { 0x000007DD, 0x0080 }, /* R2013 - SLIMTX4MIX Input 3 Volume */
1231 { 0x000007DE, 0x0000 }, /* R2014 - SLIMTX4MIX Input 4 Source */
1232 { 0x000007DF, 0x0080 }, /* R2015 - SLIMTX4MIX Input 4 Volume */
1233 { 0x000007E0, 0x0000 }, /* R2016 - SLIMTX5MIX Input 1 Source */
1234 { 0x000007E1, 0x0080 }, /* R2017 - SLIMTX5MIX Input 1 Volume */
1235 { 0x000007E2, 0x0000 }, /* R2018 - SLIMTX5MIX Input 2 Source */
1236 { 0x000007E3, 0x0080 }, /* R2019 - SLIMTX5MIX Input 2 Volume */
1237 { 0x000007E4, 0x0000 }, /* R2020 - SLIMTX5MIX Input 3 Source */
1238 { 0x000007E5, 0x0080 }, /* R2021 - SLIMTX5MIX Input 3 Volume */
1239 { 0x000007E6, 0x0000 }, /* R2022 - SLIMTX5MIX Input 4 Source */
1240 { 0x000007E7, 0x0080 }, /* R2023 - SLIMTX5MIX Input 4 Volume */
1241 { 0x000007E8, 0x0000 }, /* R2024 - SLIMTX6MIX Input 1 Source */
1242 { 0x000007E9, 0x0080 }, /* R2025 - SLIMTX6MIX Input 1 Volume */
1243 { 0x000007EA, 0x0000 }, /* R2026 - SLIMTX6MIX Input 2 Source */
1244 { 0x000007EB, 0x0080 }, /* R2027 - SLIMTX6MIX Input 2 Volume */
1245 { 0x000007EC, 0x0000 }, /* R2028 - SLIMTX6MIX Input 3 Source */
1246 { 0x000007ED, 0x0080 }, /* R2029 - SLIMTX6MIX Input 3 Volume */
1247 { 0x000007EE, 0x0000 }, /* R2030 - SLIMTX6MIX Input 4 Source */
1248 { 0x000007EF, 0x0080 }, /* R2031 - SLIMTX6MIX Input 4 Volume */
1249 { 0x000007F0, 0x0000 }, /* R2032 - SLIMTX7MIX Input 1 Source */
1250 { 0x000007F1, 0x0080 }, /* R2033 - SLIMTX7MIX Input 1 Volume */
1251 { 0x000007F2, 0x0000 }, /* R2034 - SLIMTX7MIX Input 2 Source */
1252 { 0x000007F3, 0x0080 }, /* R2035 - SLIMTX7MIX Input 2 Volume */
1253 { 0x000007F4, 0x0000 }, /* R2036 - SLIMTX7MIX Input 3 Source */
1254 { 0x000007F5, 0x0080 }, /* R2037 - SLIMTX7MIX Input 3 Volume */
1255 { 0x000007F6, 0x0000 }, /* R2038 - SLIMTX7MIX Input 4 Source */
1256 { 0x000007F7, 0x0080 }, /* R2039 - SLIMTX7MIX Input 4 Volume */
1257 { 0x000007F8, 0x0000 }, /* R2040 - SLIMTX8MIX Input 1 Source */
1258 { 0x000007F9, 0x0080 }, /* R2041 - SLIMTX8MIX Input 1 Volume */
1259 { 0x000007FA, 0x0000 }, /* R2042 - SLIMTX8MIX Input 2 Source */
1260 { 0x000007FB, 0x0080 }, /* R2043 - SLIMTX8MIX Input 2 Volume */
1261 { 0x000007FC, 0x0000 }, /* R2044 - SLIMTX8MIX Input 3 Source */
1262 { 0x000007FD, 0x0080 }, /* R2045 - SLIMTX8MIX Input 3 Volume */
1263 { 0x000007FE, 0x0000 }, /* R2046 - SLIMTX8MIX Input 4 Source */
1264 { 0x000007FF, 0x0080 }, /* R2047 - SLIMTX8MIX Input 4 Volume */
1265 { 0x00000880, 0x0000 }, /* R2176 - EQ1MIX Input 1 Source */
1266 { 0x00000881, 0x0080 }, /* R2177 - EQ1MIX Input 1 Volume */
1267 { 0x00000882, 0x0000 }, /* R2178 - EQ1MIX Input 2 Source */
1268 { 0x00000883, 0x0080 }, /* R2179 - EQ1MIX Input 2 Volume */
1269 { 0x00000884, 0x0000 }, /* R2180 - EQ1MIX Input 3 Source */
1270 { 0x00000885, 0x0080 }, /* R2181 - EQ1MIX Input 3 Volume */
1271 { 0x00000886, 0x0000 }, /* R2182 - EQ1MIX Input 4 Source */
1272 { 0x00000887, 0x0080 }, /* R2183 - EQ1MIX Input 4 Volume */
1273 { 0x00000888, 0x0000 }, /* R2184 - EQ2MIX Input 1 Source */
1274 { 0x00000889, 0x0080 }, /* R2185 - EQ2MIX Input 1 Volume */
1275 { 0x0000088A, 0x0000 }, /* R2186 - EQ2MIX Input 2 Source */
1276 { 0x0000088B, 0x0080 }, /* R2187 - EQ2MIX Input 2 Volume */
1277 { 0x0000088C, 0x0000 }, /* R2188 - EQ2MIX Input 3 Source */
1278 { 0x0000088D, 0x0080 }, /* R2189 - EQ2MIX Input 3 Volume */
1279 { 0x0000088E, 0x0000 }, /* R2190 - EQ2MIX Input 4 Source */
1280 { 0x0000088F, 0x0080 }, /* R2191 - EQ2MIX Input 4 Volume */
1281 { 0x00000890, 0x0000 }, /* R2192 - EQ3MIX Input 1 Source */
1282 { 0x00000891, 0x0080 }, /* R2193 - EQ3MIX Input 1 Volume */
1283 { 0x00000892, 0x0000 }, /* R2194 - EQ3MIX Input 2 Source */
1284 { 0x00000893, 0x0080 }, /* R2195 - EQ3MIX Input 2 Volume */
1285 { 0x00000894, 0x0000 }, /* R2196 - EQ3MIX Input 3 Source */
1286 { 0x00000895, 0x0080 }, /* R2197 - EQ3MIX Input 3 Volume */
1287 { 0x00000896, 0x0000 }, /* R2198 - EQ3MIX Input 4 Source */
1288 { 0x00000897, 0x0080 }, /* R2199 - EQ3MIX Input 4 Volume */
1289 { 0x00000898, 0x0000 }, /* R2200 - EQ4MIX Input 1 Source */
1290 { 0x00000899, 0x0080 }, /* R2201 - EQ4MIX Input 1 Volume */
1291 { 0x0000089A, 0x0000 }, /* R2202 - EQ4MIX Input 2 Source */
1292 { 0x0000089B, 0x0080 }, /* R2203 - EQ4MIX Input 2 Volume */
1293 { 0x0000089C, 0x0000 }, /* R2204 - EQ4MIX Input 3 Source */
1294 { 0x0000089D, 0x0080 }, /* R2205 - EQ4MIX Input 3 Volume */
1295 { 0x0000089E, 0x0000 }, /* R2206 - EQ4MIX Input 4 Source */
1296 { 0x0000089F, 0x0080 }, /* R2207 - EQ4MIX Input 4 Volume */
1297 { 0x000008C0, 0x0000 }, /* R2240 - DRC1LMIX Input 1 Source */
1298 { 0x000008C1, 0x0080 }, /* R2241 - DRC1LMIX Input 1 Volume */
1299 { 0x000008C2, 0x0000 }, /* R2242 - DRC1LMIX Input 2 Source */
1300 { 0x000008C3, 0x0080 }, /* R2243 - DRC1LMIX Input 2 Volume */
1301 { 0x000008C4, 0x0000 }, /* R2244 - DRC1LMIX Input 3 Source */
1302 { 0x000008C5, 0x0080 }, /* R2245 - DRC1LMIX Input 3 Volume */
1303 { 0x000008C6, 0x0000 }, /* R2246 - DRC1LMIX Input 4 Source */
1304 { 0x000008C7, 0x0080 }, /* R2247 - DRC1LMIX Input 4 Volume */
1305 { 0x000008C8, 0x0000 }, /* R2248 - DRC1RMIX Input 1 Source */
1306 { 0x000008C9, 0x0080 }, /* R2249 - DRC1RMIX Input 1 Volume */
1307 { 0x000008CA, 0x0000 }, /* R2250 - DRC1RMIX Input 2 Source */
1308 { 0x000008CB, 0x0080 }, /* R2251 - DRC1RMIX Input 2 Volume */
1309 { 0x000008CC, 0x0000 }, /* R2252 - DRC1RMIX Input 3 Source */
1310 { 0x000008CD, 0x0080 }, /* R2253 - DRC1RMIX Input 3 Volume */
1311 { 0x000008CE, 0x0000 }, /* R2254 - DRC1RMIX Input 4 Source */
1312 { 0x000008CF, 0x0080 }, /* R2255 - DRC1RMIX Input 4 Volume */
1313 { 0x000008D0, 0x0000 }, /* R2256 - DRC2LMIX Input 1 Source */
1314 { 0x000008D1, 0x0080 }, /* R2257 - DRC2LMIX Input 1 Volume */
1315 { 0x000008D2, 0x0000 }, /* R2258 - DRC2LMIX Input 2 Source */
1316 { 0x000008D3, 0x0080 }, /* R2259 - DRC2LMIX Input 2 Volume */
1317 { 0x000008D4, 0x0000 }, /* R2260 - DRC2LMIX Input 3 Source */
1318 { 0x000008D5, 0x0080 }, /* R2261 - DRC2LMIX Input 3 Volume */
1319 { 0x000008D6, 0x0000 }, /* R2262 - DRC2LMIX Input 4 Source */
1320 { 0x000008D7, 0x0080 }, /* R2263 - DRC2LMIX Input 4 Volume */
1321 { 0x000008D8, 0x0000 }, /* R2264 - DRC2RMIX Input 1 Source */
1322 { 0x000008D9, 0x0080 }, /* R2265 - DRC2RMIX Input 1 Volume */
1323 { 0x000008DA, 0x0000 }, /* R2266 - DRC2RMIX Input 2 Source */
1324 { 0x000008DB, 0x0080 }, /* R2267 - DRC2RMIX Input 2 Volume */
1325 { 0x000008DC, 0x0000 }, /* R2268 - DRC2RMIX Input 3 Source */
1326 { 0x000008DD, 0x0080 }, /* R2269 - DRC2RMIX Input 3 Volume */
1327 { 0x000008DE, 0x0000 }, /* R2270 - DRC2RMIX Input 4 Source */
1328 { 0x000008DF, 0x0080 }, /* R2271 - DRC2RMIX Input 4 Volume */
1329 { 0x00000900, 0x0000 }, /* R2304 - HPLP1MIX Input 1 Source */
1330 { 0x00000901, 0x0080 }, /* R2305 - HPLP1MIX Input 1 Volume */
1331 { 0x00000902, 0x0000 }, /* R2306 - HPLP1MIX Input 2 Source */
1332 { 0x00000903, 0x0080 }, /* R2307 - HPLP1MIX Input 2 Volume */
1333 { 0x00000904, 0x0000 }, /* R2308 - HPLP1MIX Input 3 Source */
1334 { 0x00000905, 0x0080 }, /* R2309 - HPLP1MIX Input 3 Volume */
1335 { 0x00000906, 0x0000 }, /* R2310 - HPLP1MIX Input 4 Source */
1336 { 0x00000907, 0x0080 }, /* R2311 - HPLP1MIX Input 4 Volume */
1337 { 0x00000908, 0x0000 }, /* R2312 - HPLP2MIX Input 1 Source */
1338 { 0x00000909, 0x0080 }, /* R2313 - HPLP2MIX Input 1 Volume */
1339 { 0x0000090A, 0x0000 }, /* R2314 - HPLP2MIX Input 2 Source */
1340 { 0x0000090B, 0x0080 }, /* R2315 - HPLP2MIX Input 2 Volume */
1341 { 0x0000090C, 0x0000 }, /* R2316 - HPLP2MIX Input 3 Source */
1342 { 0x0000090D, 0x0080 }, /* R2317 - HPLP2MIX Input 3 Volume */
1343 { 0x0000090E, 0x0000 }, /* R2318 - HPLP2MIX Input 4 Source */
1344 { 0x0000090F, 0x0080 }, /* R2319 - HPLP2MIX Input 4 Volume */
1345 { 0x00000910, 0x0000 }, /* R2320 - HPLP3MIX Input 1 Source */
1346 { 0x00000911, 0x0080 }, /* R2321 - HPLP3MIX Input 1 Volume */
1347 { 0x00000912, 0x0000 }, /* R2322 - HPLP3MIX Input 2 Source */
1348 { 0x00000913, 0x0080 }, /* R2323 - HPLP3MIX Input 2 Volume */
1349 { 0x00000914, 0x0000 }, /* R2324 - HPLP3MIX Input 3 Source */
1350 { 0x00000915, 0x0080 }, /* R2325 - HPLP3MIX Input 3 Volume */
1351 { 0x00000916, 0x0000 }, /* R2326 - HPLP3MIX Input 4 Source */
1352 { 0x00000917, 0x0080 }, /* R2327 - HPLP3MIX Input 4 Volume */
1353 { 0x00000918, 0x0000 }, /* R2328 - HPLP4MIX Input 1 Source */
1354 { 0x00000919, 0x0080 }, /* R2329 - HPLP4MIX Input 1 Volume */
1355 { 0x0000091A, 0x0000 }, /* R2330 - HPLP4MIX Input 2 Source */
1356 { 0x0000091B, 0x0080 }, /* R2331 - HPLP4MIX Input 2 Volume */
1357 { 0x0000091C, 0x0000 }, /* R2332 - HPLP4MIX Input 3 Source */
1358 { 0x0000091D, 0x0080 }, /* R2333 - HPLP4MIX Input 3 Volume */
1359 { 0x0000091E, 0x0000 }, /* R2334 - HPLP4MIX Input 4 Source */
1360 { 0x0000091F, 0x0080 }, /* R2335 - HPLP4MIX Input 4 Volume */
1361 { 0x00000940, 0x0000 }, /* R2368 - DSP1LMIX Input 1 Source */
1362 { 0x00000941, 0x0080 }, /* R2369 - DSP1LMIX Input 1 Volume */
1363 { 0x00000942, 0x0000 }, /* R2370 - DSP1LMIX Input 2 Source */
1364 { 0x00000943, 0x0080 }, /* R2371 - DSP1LMIX Input 2 Volume */
1365 { 0x00000944, 0x0000 }, /* R2372 - DSP1LMIX Input 3 Source */
1366 { 0x00000945, 0x0080 }, /* R2373 - DSP1LMIX Input 3 Volume */
1367 { 0x00000946, 0x0000 }, /* R2374 - DSP1LMIX Input 4 Source */
1368 { 0x00000947, 0x0080 }, /* R2375 - DSP1LMIX Input 4 Volume */
1369 { 0x00000948, 0x0000 }, /* R2376 - DSP1RMIX Input 1 Source */
1370 { 0x00000949, 0x0080 }, /* R2377 - DSP1RMIX Input 1 Volume */
1371 { 0x0000094A, 0x0000 }, /* R2378 - DSP1RMIX Input 2 Source */
1372 { 0x0000094B, 0x0080 }, /* R2379 - DSP1RMIX Input 2 Volume */
1373 { 0x0000094C, 0x0000 }, /* R2380 - DSP1RMIX Input 3 Source */
1374 { 0x0000094D, 0x0080 }, /* R2381 - DSP1RMIX Input 3 Volume */
1375 { 0x0000094E, 0x0000 }, /* R2382 - DSP1RMIX Input 4 Source */
1376 { 0x0000094F, 0x0080 }, /* R2383 - DSP1RMIX Input 4 Volume */
1377 { 0x00000950, 0x0000 }, /* R2384 - DSP1AUX1MIX Input 1 Source */
1378 { 0x00000958, 0x0000 }, /* R2392 - DSP1AUX2MIX Input 1 Source */
1379 { 0x00000960, 0x0000 }, /* R2400 - DSP1AUX3MIX Input 1 Source */
1380 { 0x00000968, 0x0000 }, /* R2408 - DSP1AUX4MIX Input 1 Source */
1381 { 0x00000970, 0x0000 }, /* R2416 - DSP1AUX5MIX Input 1 Source */
1382 { 0x00000978, 0x0000 }, /* R2424 - DSP1AUX6MIX Input 1 Source */
1383 { 0x00000980, 0x0000 }, /* R2432 - DSP2LMIX Input 1 Source */
1384 { 0x00000981, 0x0080 }, /* R2433 - DSP2LMIX Input 1 Volume */
1385 { 0x00000982, 0x0000 }, /* R2434 - DSP2LMIX Input 2 Source */
1386 { 0x00000983, 0x0080 }, /* R2435 - DSP2LMIX Input 2 Volume */
1387 { 0x00000984, 0x0000 }, /* R2436 - DSP2LMIX Input 3 Source */
1388 { 0x00000985, 0x0080 }, /* R2437 - DSP2LMIX Input 3 Volume */
1389 { 0x00000986, 0x0000 }, /* R2438 - DSP2LMIX Input 4 Source */
1390 { 0x00000987, 0x0080 }, /* R2439 - DSP2LMIX Input 4 Volume */
1391 { 0x00000988, 0x0000 }, /* R2440 - DSP2RMIX Input 1 Source */
1392 { 0x00000989, 0x0080 }, /* R2441 - DSP2RMIX Input 1 Volume */
1393 { 0x0000098A, 0x0000 }, /* R2442 - DSP2RMIX Input 2 Source */
1394 { 0x0000098B, 0x0080 }, /* R2443 - DSP2RMIX Input 2 Volume */
1395 { 0x0000098C, 0x0000 }, /* R2444 - DSP2RMIX Input 3 Source */
1396 { 0x0000098D, 0x0080 }, /* R2445 - DSP2RMIX Input 3 Volume */
1397 { 0x0000098E, 0x0000 }, /* R2446 - DSP2RMIX Input 4 Source */
1398 { 0x0000098F, 0x0080 }, /* R2447 - DSP2RMIX Input 4 Volume */
1399 { 0x00000990, 0x0000 }, /* R2448 - DSP2AUX1MIX Input 1 Source */
1400 { 0x00000998, 0x0000 }, /* R2456 - DSP2AUX2MIX Input 1 Source */
1401 { 0x000009A0, 0x0000 }, /* R2464 - DSP2AUX3MIX Input 1 Source */
1402 { 0x000009A8, 0x0000 }, /* R2472 - DSP2AUX4MIX Input 1 Source */
1403 { 0x000009B0, 0x0000 }, /* R2480 - DSP2AUX5MIX Input 1 Source */
1404 { 0x000009B8, 0x0000 }, /* R2488 - DSP2AUX6MIX Input 1 Source */
1405 { 0x000009C0, 0x0000 }, /* R2496 - DSP3LMIX Input 1 Source */
1406 { 0x000009C1, 0x0080 }, /* R2497 - DSP3LMIX Input 1 Volume */
1407 { 0x000009C2, 0x0000 }, /* R2498 - DSP3LMIX Input 2 Source */
1408 { 0x000009C3, 0x0080 }, /* R2499 - DSP3LMIX Input 2 Volume */
1409 { 0x000009C4, 0x0000 }, /* R2500 - DSP3LMIX Input 3 Source */
1410 { 0x000009C5, 0x0080 }, /* R2501 - DSP3LMIX Input 3 Volume */
1411 { 0x000009C6, 0x0000 }, /* R2502 - DSP3LMIX Input 4 Source */
1412 { 0x000009C7, 0x0080 }, /* R2503 - DSP3LMIX Input 4 Volume */
1413 { 0x000009C8, 0x0000 }, /* R2504 - DSP3RMIX Input 1 Source */
1414 { 0x000009C9, 0x0080 }, /* R2505 - DSP3RMIX Input 1 Volume */
1415 { 0x000009CA, 0x0000 }, /* R2506 - DSP3RMIX Input 2 Source */
1416 { 0x000009CB, 0x0080 }, /* R2507 - DSP3RMIX Input 2 Volume */
1417 { 0x000009CC, 0x0000 }, /* R2508 - DSP3RMIX Input 3 Source */
1418 { 0x000009CD, 0x0080 }, /* R2509 - DSP3RMIX Input 3 Volume */
1419 { 0x000009CE, 0x0000 }, /* R2510 - DSP3RMIX Input 4 Source */
1420 { 0x000009CF, 0x0080 }, /* R2511 - DSP3RMIX Input 4 Volume */
1421 { 0x000009D0, 0x0000 }, /* R2512 - DSP3AUX1MIX Input 1 Source */
1422 { 0x000009D8, 0x0000 }, /* R2520 - DSP3AUX2MIX Input 1 Source */
1423 { 0x000009E0, 0x0000 }, /* R2528 - DSP3AUX3MIX Input 1 Source */
1424 { 0x000009E8, 0x0000 }, /* R2536 - DSP3AUX4MIX Input 1 Source */
1425 { 0x000009F0, 0x0000 }, /* R2544 - DSP3AUX5MIX Input 1 Source */
1426 { 0x000009F8, 0x0000 }, /* R2552 - DSP3AUX6MIX Input 1 Source */
1427 { 0x00000A00, 0x0000 }, /* R2560 - DSP4LMIX Input 1 Source */
1428 { 0x00000A01, 0x0080 }, /* R2561 - DSP4LMIX Input 1 Volume */
1429 { 0x00000A02, 0x0000 }, /* R2562 - DSP4LMIX Input 2 Source */
1430 { 0x00000A03, 0x0080 }, /* R2563 - DSP4LMIX Input 2 Volume */
1431 { 0x00000A04, 0x0000 }, /* R2564 - DSP4LMIX Input 3 Source */
1432 { 0x00000A05, 0x0080 }, /* R2565 - DSP4LMIX Input 3 Volume */
1433 { 0x00000A06, 0x0000 }, /* R2566 - DSP4LMIX Input 4 Source */
1434 { 0x00000A07, 0x0080 }, /* R2567 - DSP4LMIX Input 4 Volume */
1435 { 0x00000A08, 0x0000 }, /* R2568 - DSP4RMIX Input 1 Source */
1436 { 0x00000A09, 0x0080 }, /* R2569 - DSP4RMIX Input 1 Volume */
1437 { 0x00000A0A, 0x0000 }, /* R2570 - DSP4RMIX Input 2 Source */
1438 { 0x00000A0B, 0x0080 }, /* R2571 - DSP4RMIX Input 2 Volume */
1439 { 0x00000A0C, 0x0000 }, /* R2572 - DSP4RMIX Input 3 Source */
1440 { 0x00000A0D, 0x0080 }, /* R2573 - DSP4RMIX Input 3 Volume */
1441 { 0x00000A0E, 0x0000 }, /* R2574 - DSP4RMIX Input 4 Source */
1442 { 0x00000A0F, 0x0080 }, /* R2575 - DSP4RMIX Input 4 Volume */
1443 { 0x00000A10, 0x0000 }, /* R2576 - DSP4AUX1MIX Input 1 Source */
1444 { 0x00000A18, 0x0000 }, /* R2584 - DSP4AUX2MIX Input 1 Source */
1445 { 0x00000A20, 0x0000 }, /* R2592 - DSP4AUX3MIX Input 1 Source */
1446 { 0x00000A28, 0x0000 }, /* R2600 - DSP4AUX4MIX Input 1 Source */
1447 { 0x00000A30, 0x0000 }, /* R2608 - DSP4AUX5MIX Input 1 Source */
1448 { 0x00000A38, 0x0000 }, /* R2616 - DSP4AUX6MIX Input 1 Source */
1449 { 0x00000A80, 0x0000 }, /* R2688 - ASRC1LMIX Input 1 Source */
1450 { 0x00000A88, 0x0000 }, /* R2696 - ASRC1RMIX Input 1 Source */
1451 { 0x00000A90, 0x0000 }, /* R2704 - ASRC2LMIX Input 1 Source */
1452 { 0x00000A98, 0x0000 }, /* R2712 - ASRC2RMIX Input 1 Source */
1453 { 0x00000B00, 0x0000 }, /* R2816 - ISRC1DEC1MIX Input 1 Source */
1454 { 0x00000B08, 0x0000 }, /* R2824 - ISRC1DEC2MIX Input 1 Source */
1455 { 0x00000B10, 0x0000 }, /* R2832 - ISRC1DEC3MIX Input 1 Source */
1456 { 0x00000B18, 0x0000 }, /* R2840 - ISRC1DEC4MIX Input 1 Source */
1457 { 0x00000B20, 0x0000 }, /* R2848 - ISRC1INT1MIX Input 1 Source */
1458 { 0x00000B28, 0x0000 }, /* R2856 - ISRC1INT2MIX Input 1 Source */
1459 { 0x00000B30, 0x0000 }, /* R2864 - ISRC1INT3MIX Input 1 Source */
1460 { 0x00000B38, 0x0000 }, /* R2872 - ISRC1INT4MIX Input 1 Source */
1461 { 0x00000B40, 0x0000 }, /* R2880 - ISRC2DEC1MIX Input 1 Source */
1462 { 0x00000B48, 0x0000 }, /* R2888 - ISRC2DEC2MIX Input 1 Source */
1463 { 0x00000B50, 0x0000 }, /* R2896 - ISRC2DEC3MIX Input 1 Source */
1464 { 0x00000B58, 0x0000 }, /* R2904 - ISRC2DEC4MIX Input 1 Source */
1465 { 0x00000B60, 0x0000 }, /* R2912 - ISRC2INT1MIX Input 1 Source */
1466 { 0x00000B68, 0x0000 }, /* R2920 - ISRC2INT2MIX Input 1 Source */
1467 { 0x00000B70, 0x0000 }, /* R2928 - ISRC2INT3MIX Input 1 Source */
1468 { 0x00000B78, 0x0000 }, /* R2936 - ISRC2INT4MIX Input 1 Source */
1469 { 0x00000B80, 0x0000 }, /* R2944 - ISRC3DEC1MIX Input 1 Source */
1470 { 0x00000B88, 0x0000 }, /* R2952 - ISRC3DEC2MIX Input 1 Source */
1471 { 0x00000B90, 0x0000 }, /* R2960 - ISRC3DEC3MIX Input 1 Source */
1472 { 0x00000B98, 0x0000 }, /* R2968 - ISRC3DEC4MIX Input 1 Source */
1473 { 0x00000BA0, 0x0000 }, /* R2976 - ISRC3INT1MIX Input 1 Source */
1474 { 0x00000BA8, 0x0000 }, /* R2984 - ISRC3INT2MIX Input 1 Source */
1475 { 0x00000BB0, 0x0000 }, /* R2992 - ISRC3INT3MIX Input 1 Source */
1476 { 0x00000BB8, 0x0000 }, /* R3000 - ISRC3INT4MIX Input 1 Source */
1477 { 0x00000C00, 0xA101 }, /* R3072 - GPIO1 CTRL */
1478 { 0x00000C01, 0xA101 }, /* R3073 - GPIO2 CTRL */
1479 { 0x00000C02, 0xA101 }, /* R3074 - GPIO3 CTRL */
1480 { 0x00000C03, 0xA101 }, /* R3075 - GPIO4 CTRL */
1481 { 0x00000C04, 0xA101 }, /* R3076 - GPIO5 CTRL */
1482 { 0x00000C0F, 0x0400 }, /* R3087 - IRQ CTRL 1 */
1483 { 0x00000C10, 0x1000 }, /* R3088 - GPIO Debounce Config */
Charles Keepax1ce37682015-09-16 10:42:14 +01001484 { 0x00000C18, 0x0000 }, /* R3096 - GP Switch 1 */
Mark Brown9cd9e282012-07-10 12:37:57 +01001485 { 0x00000C20, 0x8002 }, /* R3104 - Misc Pad Ctrl 1 */
1486 { 0x00000C21, 0x8001 }, /* R3105 - Misc Pad Ctrl 2 */
1487 { 0x00000C22, 0x0000 }, /* R3106 - Misc Pad Ctrl 3 */
1488 { 0x00000C23, 0x0000 }, /* R3107 - Misc Pad Ctrl 4 */
1489 { 0x00000C24, 0x0000 }, /* R3108 - Misc Pad Ctrl 5 */
1490 { 0x00000C25, 0x0000 }, /* R3109 - Misc Pad Ctrl 6 */
1491 { 0x00000C30, 0x8282 }, /* R3120 - Misc Pad Ctrl 7 */
1492 { 0x00000C31, 0x0082 }, /* R3121 - Misc Pad Ctrl 8 */
1493 { 0x00000C32, 0x8282 }, /* R3122 - Misc Pad Ctrl 9 */
1494 { 0x00000C33, 0x8282 }, /* R3123 - Misc Pad Ctrl 10 */
1495 { 0x00000C34, 0x8282 }, /* R3124 - Misc Pad Ctrl 11 */
1496 { 0x00000C35, 0x8282 }, /* R3125 - Misc Pad Ctrl 12 */
1497 { 0x00000C36, 0x8282 }, /* R3126 - Misc Pad Ctrl 13 */
1498 { 0x00000C37, 0x8282 }, /* R3127 - Misc Pad Ctrl 14 */
1499 { 0x00000C38, 0x8282 }, /* R3128 - Misc Pad Ctrl 15 */
1500 { 0x00000C39, 0x8282 }, /* R3129 - Misc Pad Ctrl 16 */
1501 { 0x00000C3A, 0x8282 }, /* R3130 - Misc Pad Ctrl 17 */
1502 { 0x00000C3B, 0x8282 }, /* R3131 - Misc Pad Ctrl 18 */
1503 { 0x00000D08, 0xFFFF }, /* R3336 - Interrupt Status 1 Mask */
1504 { 0x00000D09, 0xFFFF }, /* R3337 - Interrupt Status 2 Mask */
1505 { 0x00000D0A, 0xFFFF }, /* R3338 - Interrupt Status 3 Mask */
1506 { 0x00000D0B, 0xFFFF }, /* R3339 - Interrupt Status 4 Mask */
1507 { 0x00000D0C, 0xFEFF }, /* R3340 - Interrupt Status 5 Mask */
Charles Keepax32155012014-07-15 11:21:48 +01001508 { 0x00000D0D, 0xFFFF }, /* R3341 - Interrupt Status 6 Mask */
Mark Brown9cd9e282012-07-10 12:37:57 +01001509 { 0x00000D0F, 0x0000 }, /* R3343 - Interrupt Control */
1510 { 0x00000D18, 0xFFFF }, /* R3352 - IRQ2 Status 1 Mask */
1511 { 0x00000D19, 0xFFFF }, /* R3353 - IRQ2 Status 2 Mask */
1512 { 0x00000D1A, 0xFFFF }, /* R3354 - IRQ2 Status 3 Mask */
1513 { 0x00000D1B, 0xFFFF }, /* R3355 - IRQ2 Status 4 Mask */
1514 { 0x00000D1C, 0xFFFF }, /* R3356 - IRQ2 Status 5 Mask */
Charles Keepax32155012014-07-15 11:21:48 +01001515 { 0x00000D1D, 0xFFFF }, /* R3357 - IRQ2 Status 6 Mask */
Mark Brown9cd9e282012-07-10 12:37:57 +01001516 { 0x00000D1F, 0x0000 }, /* R3359 - IRQ2 Control */
Mark Brown9cd9e282012-07-10 12:37:57 +01001517 { 0x00000D53, 0xFFFF }, /* R3411 - AOD IRQ Mask IRQ1 */
1518 { 0x00000D54, 0xFFFF }, /* R3412 - AOD IRQ Mask IRQ2 */
1519 { 0x00000D56, 0x0000 }, /* R3414 - Jack detect debounce */
1520 { 0x00000E00, 0x0000 }, /* R3584 - FX_Ctrl1 */
Mark Brown9cd9e282012-07-10 12:37:57 +01001521 { 0x00000E10, 0x6318 }, /* R3600 - EQ1_1 */
1522 { 0x00000E11, 0x6300 }, /* R3601 - EQ1_2 */
1523 { 0x00000E12, 0x0FC8 }, /* R3602 - EQ1_3 */
1524 { 0x00000E13, 0x03FE }, /* R3603 - EQ1_4 */
1525 { 0x00000E14, 0x00E0 }, /* R3604 - EQ1_5 */
1526 { 0x00000E15, 0x1EC4 }, /* R3605 - EQ1_6 */
1527 { 0x00000E16, 0xF136 }, /* R3606 - EQ1_7 */
1528 { 0x00000E17, 0x0409 }, /* R3607 - EQ1_8 */
1529 { 0x00000E18, 0x04CC }, /* R3608 - EQ1_9 */
1530 { 0x00000E19, 0x1C9B }, /* R3609 - EQ1_10 */
1531 { 0x00000E1A, 0xF337 }, /* R3610 - EQ1_11 */
1532 { 0x00000E1B, 0x040B }, /* R3611 - EQ1_12 */
1533 { 0x00000E1C, 0x0CBB }, /* R3612 - EQ1_13 */
1534 { 0x00000E1D, 0x16F8 }, /* R3613 - EQ1_14 */
1535 { 0x00000E1E, 0xF7D9 }, /* R3614 - EQ1_15 */
1536 { 0x00000E1F, 0x040A }, /* R3615 - EQ1_16 */
1537 { 0x00000E20, 0x1F14 }, /* R3616 - EQ1_17 */
1538 { 0x00000E21, 0x058C }, /* R3617 - EQ1_18 */
1539 { 0x00000E22, 0x0563 }, /* R3618 - EQ1_19 */
1540 { 0x00000E23, 0x4000 }, /* R3619 - EQ1_20 */
1541 { 0x00000E24, 0x0B75 }, /* R3620 - EQ1_21 */
1542 { 0x00000E26, 0x6318 }, /* R3622 - EQ2_1 */
1543 { 0x00000E27, 0x6300 }, /* R3623 - EQ2_2 */
1544 { 0x00000E28, 0x0FC8 }, /* R3624 - EQ2_3 */
1545 { 0x00000E29, 0x03FE }, /* R3625 - EQ2_4 */
1546 { 0x00000E2A, 0x00E0 }, /* R3626 - EQ2_5 */
1547 { 0x00000E2B, 0x1EC4 }, /* R3627 - EQ2_6 */
1548 { 0x00000E2C, 0xF136 }, /* R3628 - EQ2_7 */
1549 { 0x00000E2D, 0x0409 }, /* R3629 - EQ2_8 */
1550 { 0x00000E2E, 0x04CC }, /* R3630 - EQ2_9 */
1551 { 0x00000E2F, 0x1C9B }, /* R3631 - EQ2_10 */
1552 { 0x00000E30, 0xF337 }, /* R3632 - EQ2_11 */
1553 { 0x00000E31, 0x040B }, /* R3633 - EQ2_12 */
1554 { 0x00000E32, 0x0CBB }, /* R3634 - EQ2_13 */
1555 { 0x00000E33, 0x16F8 }, /* R3635 - EQ2_14 */
1556 { 0x00000E34, 0xF7D9 }, /* R3636 - EQ2_15 */
1557 { 0x00000E35, 0x040A }, /* R3637 - EQ2_16 */
1558 { 0x00000E36, 0x1F14 }, /* R3638 - EQ2_17 */
1559 { 0x00000E37, 0x058C }, /* R3639 - EQ2_18 */
1560 { 0x00000E38, 0x0563 }, /* R3640 - EQ2_19 */
1561 { 0x00000E39, 0x4000 }, /* R3641 - EQ2_20 */
1562 { 0x00000E3A, 0x0B75 }, /* R3642 - EQ2_21 */
1563 { 0x00000E3C, 0x6318 }, /* R3644 - EQ3_1 */
1564 { 0x00000E3D, 0x6300 }, /* R3645 - EQ3_2 */
1565 { 0x00000E3E, 0x0FC8 }, /* R3646 - EQ3_3 */
1566 { 0x00000E3F, 0x03FE }, /* R3647 - EQ3_4 */
1567 { 0x00000E40, 0x00E0 }, /* R3648 - EQ3_5 */
1568 { 0x00000E41, 0x1EC4 }, /* R3649 - EQ3_6 */
1569 { 0x00000E42, 0xF136 }, /* R3650 - EQ3_7 */
1570 { 0x00000E43, 0x0409 }, /* R3651 - EQ3_8 */
1571 { 0x00000E44, 0x04CC }, /* R3652 - EQ3_9 */
1572 { 0x00000E45, 0x1C9B }, /* R3653 - EQ3_10 */
1573 { 0x00000E46, 0xF337 }, /* R3654 - EQ3_11 */
1574 { 0x00000E47, 0x040B }, /* R3655 - EQ3_12 */
1575 { 0x00000E48, 0x0CBB }, /* R3656 - EQ3_13 */
1576 { 0x00000E49, 0x16F8 }, /* R3657 - EQ3_14 */
1577 { 0x00000E4A, 0xF7D9 }, /* R3658 - EQ3_15 */
1578 { 0x00000E4B, 0x040A }, /* R3659 - EQ3_16 */
1579 { 0x00000E4C, 0x1F14 }, /* R3660 - EQ3_17 */
1580 { 0x00000E4D, 0x058C }, /* R3661 - EQ3_18 */
1581 { 0x00000E4E, 0x0563 }, /* R3662 - EQ3_19 */
1582 { 0x00000E4F, 0x4000 }, /* R3663 - EQ3_20 */
1583 { 0x00000E50, 0x0B75 }, /* R3664 - EQ3_21 */
1584 { 0x00000E52, 0x6318 }, /* R3666 - EQ4_1 */
1585 { 0x00000E53, 0x6300 }, /* R3667 - EQ4_2 */
1586 { 0x00000E54, 0x0FC8 }, /* R3668 - EQ4_3 */
1587 { 0x00000E55, 0x03FE }, /* R3669 - EQ4_4 */
1588 { 0x00000E56, 0x00E0 }, /* R3670 - EQ4_5 */
1589 { 0x00000E57, 0x1EC4 }, /* R3671 - EQ4_6 */
1590 { 0x00000E58, 0xF136 }, /* R3672 - EQ4_7 */
1591 { 0x00000E59, 0x0409 }, /* R3673 - EQ4_8 */
1592 { 0x00000E5A, 0x04CC }, /* R3674 - EQ4_9 */
1593 { 0x00000E5B, 0x1C9B }, /* R3675 - EQ4_10 */
1594 { 0x00000E5C, 0xF337 }, /* R3676 - EQ4_11 */
1595 { 0x00000E5D, 0x040B }, /* R3677 - EQ4_12 */
1596 { 0x00000E5E, 0x0CBB }, /* R3678 - EQ4_13 */
1597 { 0x00000E5F, 0x16F8 }, /* R3679 - EQ4_14 */
1598 { 0x00000E60, 0xF7D9 }, /* R3680 - EQ4_15 */
1599 { 0x00000E61, 0x040A }, /* R3681 - EQ4_16 */
1600 { 0x00000E62, 0x1F14 }, /* R3682 - EQ4_17 */
1601 { 0x00000E63, 0x058C }, /* R3683 - EQ4_18 */
1602 { 0x00000E64, 0x0563 }, /* R3684 - EQ4_19 */
1603 { 0x00000E65, 0x4000 }, /* R3685 - EQ4_20 */
1604 { 0x00000E66, 0x0B75 }, /* R3686 - EQ4_21 */
1605 { 0x00000E80, 0x0018 }, /* R3712 - DRC1 ctrl1 */
1606 { 0x00000E81, 0x0933 }, /* R3713 - DRC1 ctrl2 */
1607 { 0x00000E82, 0x0018 }, /* R3714 - DRC1 ctrl3 */
1608 { 0x00000E83, 0x0000 }, /* R3715 - DRC1 ctrl4 */
1609 { 0x00000E84, 0x0000 }, /* R3716 - DRC1 ctrl5 */
1610 { 0x00000E89, 0x0018 }, /* R3721 - DRC2 ctrl1 */
1611 { 0x00000E8A, 0x0933 }, /* R3722 - DRC2 ctrl2 */
1612 { 0x00000E8B, 0x0018 }, /* R3723 - DRC2 ctrl3 */
1613 { 0x00000E8C, 0x0000 }, /* R3724 - DRC2 ctrl4 */
1614 { 0x00000E8D, 0x0000 }, /* R3725 - DRC2 ctrl5 */
1615 { 0x00000EC0, 0x0000 }, /* R3776 - HPLPF1_1 */
1616 { 0x00000EC1, 0x0000 }, /* R3777 - HPLPF1_2 */
1617 { 0x00000EC4, 0x0000 }, /* R3780 - HPLPF2_1 */
1618 { 0x00000EC5, 0x0000 }, /* R3781 - HPLPF2_2 */
1619 { 0x00000EC8, 0x0000 }, /* R3784 - HPLPF3_1 */
1620 { 0x00000EC9, 0x0000 }, /* R3785 - HPLPF3_2 */
1621 { 0x00000ECC, 0x0000 }, /* R3788 - HPLPF4_1 */
1622 { 0x00000ECD, 0x0000 }, /* R3789 - HPLPF4_2 */
1623 { 0x00000EE0, 0x0000 }, /* R3808 - ASRC_ENABLE */
1624 { 0x00000EE2, 0x0000 }, /* R3810 - ASRC_RATE1 */
1625 { 0x00000EF0, 0x0000 }, /* R3824 - ISRC 1 CTRL 1 */
1626 { 0x00000EF1, 0x0000 }, /* R3825 - ISRC 1 CTRL 2 */
1627 { 0x00000EF2, 0x0000 }, /* R3826 - ISRC 1 CTRL 3 */
1628 { 0x00000EF3, 0x0000 }, /* R3827 - ISRC 2 CTRL 1 */
1629 { 0x00000EF4, 0x0000 }, /* R3828 - ISRC 2 CTRL 2 */
1630 { 0x00000EF5, 0x0000 }, /* R3829 - ISRC 2 CTRL 3 */
1631 { 0x00000EF6, 0x0000 }, /* R3830 - ISRC 3 CTRL 1 */
1632 { 0x00000EF7, 0x0000 }, /* R3831 - ISRC 3 CTRL 2 */
1633 { 0x00000EF8, 0x0000 }, /* R3832 - ISRC 3 CTRL 3 */
1634 { 0x00000F00, 0x0000 }, /* R3840 - Clock Control */
1635 { 0x00000F01, 0x0000 }, /* R3841 - ANC_SRC */
Charles Keepax9111fa52015-09-09 09:49:22 +01001636 { 0x00000F08, 0x001c }, /* R3848 - ANC Coefficient */
1637 { 0x00000F09, 0x0000 }, /* R3849 - ANC Coefficient */
1638 { 0x00000F0A, 0x0000 }, /* R3850 - ANC Coefficient */
1639 { 0x00000F0B, 0x0000 }, /* R3851 - ANC Coefficient */
1640 { 0x00000F0C, 0x0000 }, /* R3852 - ANC Coefficient */
1641 { 0x00000F0D, 0x0000 }, /* R3853 - ANC Coefficient */
1642 { 0x00000F0E, 0x0000 }, /* R3854 - ANC Coefficient */
1643 { 0x00000F0F, 0x0000 }, /* R3855 - ANC Coefficient */
1644 { 0x00000F10, 0x0000 }, /* R3856 - ANC Coefficient */
1645 { 0x00000F11, 0x0000 }, /* R3857 - ANC Coefficient */
1646 { 0x00000F12, 0x0000 }, /* R3858 - ANC Coefficient */
1647 { 0x00000F15, 0x0000 }, /* R3861 - FCL Filter Control */
1648 { 0x00000F17, 0x0004 }, /* R3863 - FCL ADC Reformatter Control */
1649 { 0x00000F18, 0x0004 }, /* R3864 - ANC Coefficient */
1650 { 0x00000F19, 0x0002 }, /* R3865 - ANC Coefficient */
1651 { 0x00000F1A, 0x0000 }, /* R3866 - ANC Coefficient */
1652 { 0x00000F1B, 0x0010 }, /* R3867 - ANC Coefficient */
1653 { 0x00000F1C, 0x0000 }, /* R3868 - ANC Coefficient */
1654 { 0x00000F1D, 0x0000 }, /* R3869 - ANC Coefficient */
1655 { 0x00000F1E, 0x0000 }, /* R3870 - ANC Coefficient */
1656 { 0x00000F1F, 0x0000 }, /* R3871 - ANC Coefficient */
1657 { 0x00000F20, 0x0000 }, /* R3872 - ANC Coefficient */
1658 { 0x00000F21, 0x0000 }, /* R3873 - ANC Coefficient */
1659 { 0x00000F22, 0x0000 }, /* R3874 - ANC Coefficient */
1660 { 0x00000F23, 0x0000 }, /* R3875 - ANC Coefficient */
1661 { 0x00000F24, 0x0000 }, /* R3876 - ANC Coefficient */
1662 { 0x00000F25, 0x0000 }, /* R3877 - ANC Coefficient */
1663 { 0x00000F26, 0x0000 }, /* R3878 - ANC Coefficient */
1664 { 0x00000F27, 0x0000 }, /* R3879 - ANC Coefficient */
1665 { 0x00000F28, 0x0000 }, /* R3880 - ANC Coefficient */
1666 { 0x00000F29, 0x0000 }, /* R3881 - ANC Coefficient */
1667 { 0x00000F2A, 0x0000 }, /* R3882 - ANC Coefficient */
1668 { 0x00000F2B, 0x0000 }, /* R3883 - ANC Coefficient */
1669 { 0x00000F2C, 0x0000 }, /* R3884 - ANC Coefficient */
1670 { 0x00000F2D, 0x0000 }, /* R3885 - ANC Coefficient */
1671 { 0x00000F2E, 0x0000 }, /* R3886 - ANC Coefficient */
1672 { 0x00000F2F, 0x0000 }, /* R3887 - ANC Coefficient */
1673 { 0x00000F30, 0x0000 }, /* R3888 - ANC Coefficient */
1674 { 0x00000F31, 0x0000 }, /* R3889 - ANC Coefficient */
1675 { 0x00000F32, 0x0000 }, /* R3890 - ANC Coefficient */
1676 { 0x00000F33, 0x0000 }, /* R3891 - ANC Coefficient */
1677 { 0x00000F34, 0x0000 }, /* R3892 - ANC Coefficient */
1678 { 0x00000F35, 0x0000 }, /* R3893 - ANC Coefficient */
1679 { 0x00000F36, 0x0000 }, /* R3894 - ANC Coefficient */
1680 { 0x00000F37, 0x0000 }, /* R3895 - ANC Coefficient */
1681 { 0x00000F38, 0x0000 }, /* R3896 - ANC Coefficient */
1682 { 0x00000F39, 0x0000 }, /* R3897 - ANC Coefficient */
1683 { 0x00000F3A, 0x0000 }, /* R3898 - ANC Coefficient */
1684 { 0x00000F3B, 0x0000 }, /* R3899 - ANC Coefficient */
1685 { 0x00000F3C, 0x0000 }, /* R3900 - ANC Coefficient */
1686 { 0x00000F3D, 0x0000 }, /* R3901 - ANC Coefficient */
1687 { 0x00000F3E, 0x0000 }, /* R3902 - ANC Coefficient */
1688 { 0x00000F3F, 0x0000 }, /* R3903 - ANC Coefficient */
1689 { 0x00000F40, 0x0000 }, /* R3904 - ANC Coefficient */
1690 { 0x00000F41, 0x0000 }, /* R3905 - ANC Coefficient */
1691 { 0x00000F42, 0x0000 }, /* R3906 - ANC Coefficient */
1692 { 0x00000F43, 0x0000 }, /* R3907 - ANC Coefficient */
1693 { 0x00000F44, 0x0000 }, /* R3908 - ANC Coefficient */
1694 { 0x00000F45, 0x0000 }, /* R3909 - ANC Coefficient */
1695 { 0x00000F46, 0x0000 }, /* R3910 - ANC Coefficient */
1696 { 0x00000F47, 0x0000 }, /* R3911 - ANC Coefficient */
1697 { 0x00000F48, 0x0000 }, /* R3912 - ANC Coefficient */
1698 { 0x00000F49, 0x0000 }, /* R3913 - ANC Coefficient */
1699 { 0x00000F4A, 0x0000 }, /* R3914 - ANC Coefficient */
1700 { 0x00000F4B, 0x0000 }, /* R3915 - ANC Coefficient */
1701 { 0x00000F4C, 0x0000 }, /* R3916 - ANC Coefficient */
1702 { 0x00000F4D, 0x0000 }, /* R3917 - ANC Coefficient */
1703 { 0x00000F4E, 0x0000 }, /* R3918 - ANC Coefficient */
1704 { 0x00000F4F, 0x0000 }, /* R3919 - ANC Coefficient */
1705 { 0x00000F50, 0x0000 }, /* R3920 - ANC Coefficient */
1706 { 0x00000F51, 0x0000 }, /* R3921 - ANC Coefficient */
1707 { 0x00000F52, 0x0000 }, /* R3922 - ANC Coefficient */
1708 { 0x00000F53, 0x0000 }, /* R3923 - ANC Coefficient */
1709 { 0x00000F54, 0x0000 }, /* R3924 - ANC Coefficient */
1710 { 0x00000F55, 0x0000 }, /* R3925 - ANC Coefficient */
1711 { 0x00000F56, 0x0000 }, /* R3926 - ANC Coefficient */
1712 { 0x00000F57, 0x0000 }, /* R3927 - ANC Coefficient */
1713 { 0x00000F58, 0x0000 }, /* R3928 - ANC Coefficient */
1714 { 0x00000F59, 0x0000 }, /* R3929 - ANC Coefficient */
1715 { 0x00000F5A, 0x0000 }, /* R3930 - ANC Coefficient */
1716 { 0x00000F5B, 0x0000 }, /* R3931 - ANC Coefficient */
1717 { 0x00000F5C, 0x0000 }, /* R3932 - ANC Coefficient */
1718 { 0x00000F5D, 0x0000 }, /* R3933 - ANC Coefficient */
1719 { 0x00000F5E, 0x0000 }, /* R3934 - ANC Coefficient */
1720 { 0x00000F5F, 0x0000 }, /* R3935 - ANC Coefficient */
1721 { 0x00000F60, 0x0000 }, /* R3936 - ANC Coefficient */
1722 { 0x00000F61, 0x0000 }, /* R3937 - ANC Coefficient */
1723 { 0x00000F62, 0x0000 }, /* R3938 - ANC Coefficient */
1724 { 0x00000F63, 0x0000 }, /* R3939 - ANC Coefficient */
1725 { 0x00000F64, 0x0000 }, /* R3940 - ANC Coefficient */
1726 { 0x00000F65, 0x0000 }, /* R3941 - ANC Coefficient */
1727 { 0x00000F66, 0x0000 }, /* R3942 - ANC Coefficient */
1728 { 0x00000F67, 0x0000 }, /* R3943 - ANC Coefficient */
1729 { 0x00000F68, 0x0000 }, /* R3944 - ANC Coefficient */
1730 { 0x00000F69, 0x0000 }, /* R3945 - ANC Coefficient */
1731 { 0x00000F70, 0x0000 }, /* R3952 - FCR Filter Control */
1732 { 0x00000F72, 0x0004 }, /* R3954 - FCR ADC Reformatter Control */
1733 { 0x00000F73, 0x0004 }, /* R3955 - ANC Coefficient */
1734 { 0x00000F74, 0x0002 }, /* R3956 - ANC Coefficient */
1735 { 0x00000F75, 0x0000 }, /* R3957 - ANC Coefficient */
1736 { 0x00000F76, 0x0010 }, /* R3958 - ANC Coefficient */
1737 { 0x00000F77, 0x0000 }, /* R3959 - ANC Coefficient */
1738 { 0x00000F78, 0x0000 }, /* R3960 - ANC Coefficient */
1739 { 0x00000F79, 0x0000 }, /* R3961 - ANC Coefficient */
1740 { 0x00000F7A, 0x0000 }, /* R3962 - ANC Coefficient */
1741 { 0x00000F7B, 0x0000 }, /* R3963 - ANC Coefficient */
1742 { 0x00000F7C, 0x0000 }, /* R3964 - ANC Coefficient */
1743 { 0x00000F7D, 0x0000 }, /* R3965 - ANC Coefficient */
1744 { 0x00000F7E, 0x0000 }, /* R3966 - ANC Coefficient */
1745 { 0x00000F7F, 0x0000 }, /* R3967 - ANC Coefficient */
1746 { 0x00000F80, 0x0000 }, /* R3968 - ANC Coefficient */
1747 { 0x00000F81, 0x0000 }, /* R3969 - ANC Coefficient */
1748 { 0x00000F82, 0x0000 }, /* R3970 - ANC Coefficient */
1749 { 0x00000F83, 0x0000 }, /* R3971 - ANC Coefficient */
1750 { 0x00000F84, 0x0000 }, /* R3972 - ANC Coefficient */
1751 { 0x00000F85, 0x0000 }, /* R3973 - ANC Coefficient */
1752 { 0x00000F86, 0x0000 }, /* R3974 - ANC Coefficient */
1753 { 0x00000F87, 0x0000 }, /* R3975 - ANC Coefficient */
1754 { 0x00000F88, 0x0000 }, /* R3976 - ANC Coefficient */
1755 { 0x00000F89, 0x0000 }, /* R3977 - ANC Coefficient */
1756 { 0x00000F8A, 0x0000 }, /* R3978 - ANC Coefficient */
1757 { 0x00000F8B, 0x0000 }, /* R3979 - ANC Coefficient */
1758 { 0x00000F8C, 0x0000 }, /* R3980 - ANC Coefficient */
1759 { 0x00000F8D, 0x0000 }, /* R3981 - ANC Coefficient */
1760 { 0x00000F8E, 0x0000 }, /* R3982 - ANC Coefficient */
1761 { 0x00000F8F, 0x0000 }, /* R3983 - ANC Coefficient */
1762 { 0x00000F90, 0x0000 }, /* R3984 - ANC Coefficient */
1763 { 0x00000F91, 0x0000 }, /* R3985 - ANC Coefficient */
1764 { 0x00000F92, 0x0000 }, /* R3986 - ANC Coefficient */
1765 { 0x00000F93, 0x0000 }, /* R3987 - ANC Coefficient */
1766 { 0x00000F94, 0x0000 }, /* R3988 - ANC Coefficient */
1767 { 0x00000F95, 0x0000 }, /* R3989 - ANC Coefficient */
1768 { 0x00000F96, 0x0000 }, /* R3990 - ANC Coefficient */
1769 { 0x00000F97, 0x0000 }, /* R3991 - ANC Coefficient */
1770 { 0x00000F98, 0x0000 }, /* R3992 - ANC Coefficient */
1771 { 0x00000F99, 0x0000 }, /* R3993 - ANC Coefficient */
1772 { 0x00000F9A, 0x0000 }, /* R3994 - ANC Coefficient */
1773 { 0x00000F9B, 0x0000 }, /* R3995 - ANC Coefficient */
1774 { 0x00000F9C, 0x0000 }, /* R3996 - ANC Coefficient */
1775 { 0x00000F9D, 0x0000 }, /* R3997 - ANC Coefficient */
1776 { 0x00000F9E, 0x0000 }, /* R3998 - ANC Coefficient */
1777 { 0x00000F9F, 0x0000 }, /* R3999 - ANC Coefficient */
1778 { 0x00000FA0, 0x0000 }, /* R4000 - ANC Coefficient */
1779 { 0x00000FA1, 0x0000 }, /* R4001 - ANC Coefficient */
1780 { 0x00000FA2, 0x0000 }, /* R4002 - ANC Coefficient */
1781 { 0x00000FA3, 0x0000 }, /* R4003 - ANC Coefficient */
1782 { 0x00000FA4, 0x0000 }, /* R4004 - ANC Coefficient */
1783 { 0x00000FA5, 0x0000 }, /* R4005 - ANC Coefficient */
1784 { 0x00000FA6, 0x0000 }, /* R4006 - ANC Coefficient */
1785 { 0x00000FA7, 0x0000 }, /* R4007 - ANC Coefficient */
1786 { 0x00000FA8, 0x0000 }, /* R4008 - ANC Coefficient */
1787 { 0x00000FA9, 0x0000 }, /* R4009 - ANC Coefficient */
1788 { 0x00000FAA, 0x0000 }, /* R4010 - ANC Coefficient */
1789 { 0x00000FAB, 0x0000 }, /* R4011 - ANC Coefficient */
1790 { 0x00000FAC, 0x0000 }, /* R4012 - ANC Coefficient */
1791 { 0x00000FAD, 0x0000 }, /* R4013 - ANC Coefficient */
1792 { 0x00000FAE, 0x0000 }, /* R4014 - ANC Coefficient */
1793 { 0x00000FAF, 0x0000 }, /* R4015 - ANC Coefficient */
1794 { 0x00000FB0, 0x0000 }, /* R4016 - ANC Coefficient */
1795 { 0x00000FB1, 0x0000 }, /* R4017 - ANC Coefficient */
1796 { 0x00000FB2, 0x0000 }, /* R4018 - ANC Coefficient */
1797 { 0x00000FB3, 0x0000 }, /* R4019 - ANC Coefficient */
1798 { 0x00000FB4, 0x0000 }, /* R4020 - ANC Coefficient */
1799 { 0x00000FB5, 0x0000 }, /* R4021 - ANC Coefficient */
1800 { 0x00000FB6, 0x0000 }, /* R4022 - ANC Coefficient */
1801 { 0x00000FB7, 0x0000 }, /* R4023 - ANC Coefficient */
1802 { 0x00000FB8, 0x0000 }, /* R4024 - ANC Coefficient */
1803 { 0x00000FB9, 0x0000 }, /* R4025 - ANC Coefficient */
1804 { 0x00000FBA, 0x0000 }, /* R4026 - ANC Coefficient */
1805 { 0x00000FBB, 0x0000 }, /* R4027 - ANC Coefficient */
1806 { 0x00000FBC, 0x0000 }, /* R4028 - ANC Coefficient */
1807 { 0x00000FBD, 0x0000 }, /* R4029 - ANC Coefficient */
1808 { 0x00000FBE, 0x0000 }, /* R4030 - ANC Coefficient */
1809 { 0x00000FBF, 0x0000 }, /* R4031 - ANC Coefficient */
1810 { 0x00000FC0, 0x0000 }, /* R4032 - ANC Coefficient */
1811 { 0x00000FC1, 0x0000 }, /* R4033 - ANC Coefficient */
1812 { 0x00000FC2, 0x0000 }, /* R4034 - ANC Coefficient */
1813 { 0x00000FC3, 0x0000 }, /* R4035 - ANC Coefficient */
1814 { 0x00000FC4, 0x0000 }, /* R4036 - ANC Coefficient */
Mark Brown9cd9e282012-07-10 12:37:57 +01001815 { 0x00001100, 0x0010 }, /* R4352 - DSP1 Control 1 */
Mark Brown9cd9e282012-07-10 12:37:57 +01001816 { 0x00001200, 0x0010 }, /* R4608 - DSP2 Control 1 */
Mark Brown9cd9e282012-07-10 12:37:57 +01001817 { 0x00001300, 0x0010 }, /* R4864 - DSP3 Control 1 */
Mark Brown9cd9e282012-07-10 12:37:57 +01001818 { 0x00001400, 0x0010 }, /* R5120 - DSP4 Control 1 */
Mark Brown9cd9e282012-07-10 12:37:57 +01001819};
1820
Charles Keepaxc50aa442013-11-19 16:04:00 +00001821static bool wm5110_is_rev_b_adsp_memory(unsigned int reg)
1822{
1823 if ((reg >= 0x100000 && reg < 0x103000) ||
1824 (reg >= 0x180000 && reg < 0x181000) ||
1825 (reg >= 0x190000 && reg < 0x192000) ||
1826 (reg >= 0x1a8000 && reg < 0x1a9000) ||
1827 (reg >= 0x200000 && reg < 0x209000) ||
1828 (reg >= 0x280000 && reg < 0x281000) ||
1829 (reg >= 0x290000 && reg < 0x29a000) ||
1830 (reg >= 0x2a8000 && reg < 0x2aa000) ||
1831 (reg >= 0x300000 && reg < 0x30f000) ||
1832 (reg >= 0x380000 && reg < 0x382000) ||
1833 (reg >= 0x390000 && reg < 0x39e000) ||
1834 (reg >= 0x3a8000 && reg < 0x3b6000) ||
1835 (reg >= 0x400000 && reg < 0x403000) ||
1836 (reg >= 0x480000 && reg < 0x481000) ||
1837 (reg >= 0x490000 && reg < 0x492000) ||
1838 (reg >= 0x4a8000 && reg < 0x4a9000))
1839 return true;
1840 else
1841 return false;
1842}
1843
1844static bool wm5110_is_rev_d_adsp_memory(unsigned int reg)
1845{
1846 if ((reg >= 0x100000 && reg < 0x106000) ||
1847 (reg >= 0x180000 && reg < 0x182000) ||
1848 (reg >= 0x190000 && reg < 0x198000) ||
1849 (reg >= 0x1a8000 && reg < 0x1aa000) ||
1850 (reg >= 0x200000 && reg < 0x20f000) ||
1851 (reg >= 0x280000 && reg < 0x282000) ||
1852 (reg >= 0x290000 && reg < 0x29c000) ||
1853 (reg >= 0x2a6000 && reg < 0x2b4000) ||
1854 (reg >= 0x300000 && reg < 0x30f000) ||
1855 (reg >= 0x380000 && reg < 0x382000) ||
1856 (reg >= 0x390000 && reg < 0x3a2000) ||
1857 (reg >= 0x3a6000 && reg < 0x3b4000) ||
1858 (reg >= 0x400000 && reg < 0x406000) ||
1859 (reg >= 0x480000 && reg < 0x482000) ||
1860 (reg >= 0x490000 && reg < 0x498000) ||
1861 (reg >= 0x4a8000 && reg < 0x4aa000))
1862 return true;
1863 else
1864 return false;
1865}
1866
1867static bool wm5110_is_adsp_memory(struct device *dev, unsigned int reg)
1868{
1869 struct arizona *arizona = dev_get_drvdata(dev);
1870
1871 switch (arizona->rev) {
1872 case 0 ... 2:
1873 return wm5110_is_rev_b_adsp_memory(reg);
1874 default:
1875 return wm5110_is_rev_d_adsp_memory(reg);
1876 }
1877}
1878
Mark Brown9cd9e282012-07-10 12:37:57 +01001879static bool wm5110_readable_register(struct device *dev, unsigned int reg)
1880{
1881 switch (reg) {
1882 case ARIZONA_SOFTWARE_RESET:
1883 case ARIZONA_DEVICE_REVISION:
1884 case ARIZONA_CTRL_IF_SPI_CFG_1:
1885 case ARIZONA_CTRL_IF_I2C1_CFG_1:
1886 case ARIZONA_CTRL_IF_I2C2_CFG_1:
1887 case ARIZONA_CTRL_IF_I2C1_CFG_2:
1888 case ARIZONA_CTRL_IF_I2C2_CFG_2:
1889 case ARIZONA_WRITE_SEQUENCER_CTRL_0:
1890 case ARIZONA_WRITE_SEQUENCER_CTRL_1:
1891 case ARIZONA_WRITE_SEQUENCER_CTRL_2:
1892 case ARIZONA_TONE_GENERATOR_1:
1893 case ARIZONA_TONE_GENERATOR_2:
1894 case ARIZONA_TONE_GENERATOR_3:
1895 case ARIZONA_TONE_GENERATOR_4:
1896 case ARIZONA_TONE_GENERATOR_5:
1897 case ARIZONA_PWM_DRIVE_1:
1898 case ARIZONA_PWM_DRIVE_2:
1899 case ARIZONA_PWM_DRIVE_3:
1900 case ARIZONA_WAKE_CONTROL:
1901 case ARIZONA_SEQUENCE_CONTROL:
Charles Keepaxf089d4d2015-07-07 15:28:12 +01001902 case ARIZONA_SPARE_TRIGGERS:
Mark Brown9cd9e282012-07-10 12:37:57 +01001903 case ARIZONA_SAMPLE_RATE_SEQUENCE_SELECT_1:
1904 case ARIZONA_SAMPLE_RATE_SEQUENCE_SELECT_2:
1905 case ARIZONA_SAMPLE_RATE_SEQUENCE_SELECT_3:
1906 case ARIZONA_SAMPLE_RATE_SEQUENCE_SELECT_4:
1907 case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_1:
1908 case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_2:
1909 case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_3:
1910 case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_4:
Richard Fitzgeralda9cd92a2014-05-20 13:48:51 +01001911 case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_5:
1912 case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_6:
Mark Brown9cd9e282012-07-10 12:37:57 +01001913 case ARIZONA_COMFORT_NOISE_GENERATOR:
1914 case ARIZONA_HAPTICS_CONTROL_1:
1915 case ARIZONA_HAPTICS_CONTROL_2:
1916 case ARIZONA_HAPTICS_PHASE_1_INTENSITY:
1917 case ARIZONA_HAPTICS_PHASE_1_DURATION:
1918 case ARIZONA_HAPTICS_PHASE_2_INTENSITY:
1919 case ARIZONA_HAPTICS_PHASE_2_DURATION:
1920 case ARIZONA_HAPTICS_PHASE_3_INTENSITY:
1921 case ARIZONA_HAPTICS_PHASE_3_DURATION:
1922 case ARIZONA_HAPTICS_STATUS:
1923 case ARIZONA_CLOCK_32K_1:
1924 case ARIZONA_SYSTEM_CLOCK_1:
1925 case ARIZONA_SAMPLE_RATE_1:
1926 case ARIZONA_SAMPLE_RATE_2:
1927 case ARIZONA_SAMPLE_RATE_3:
1928 case ARIZONA_SAMPLE_RATE_1_STATUS:
1929 case ARIZONA_SAMPLE_RATE_2_STATUS:
1930 case ARIZONA_SAMPLE_RATE_3_STATUS:
1931 case ARIZONA_ASYNC_CLOCK_1:
1932 case ARIZONA_ASYNC_SAMPLE_RATE_1:
1933 case ARIZONA_ASYNC_SAMPLE_RATE_1_STATUS:
Charles Keepaxc24084d2014-09-01 15:48:52 +01001934 case ARIZONA_ASYNC_SAMPLE_RATE_2:
1935 case ARIZONA_ASYNC_SAMPLE_RATE_2_STATUS:
Mark Brown9cd9e282012-07-10 12:37:57 +01001936 case ARIZONA_OUTPUT_SYSTEM_CLOCK:
1937 case ARIZONA_OUTPUT_ASYNC_CLOCK:
1938 case ARIZONA_RATE_ESTIMATOR_1:
1939 case ARIZONA_RATE_ESTIMATOR_2:
1940 case ARIZONA_RATE_ESTIMATOR_3:
1941 case ARIZONA_RATE_ESTIMATOR_4:
1942 case ARIZONA_RATE_ESTIMATOR_5:
1943 case ARIZONA_FLL1_CONTROL_1:
1944 case ARIZONA_FLL1_CONTROL_2:
1945 case ARIZONA_FLL1_CONTROL_3:
1946 case ARIZONA_FLL1_CONTROL_4:
1947 case ARIZONA_FLL1_CONTROL_5:
1948 case ARIZONA_FLL1_CONTROL_6:
Charles Keepaxc78d2032013-08-06 16:42:27 +01001949 case ARIZONA_FLL1_CONTROL_7:
Mark Brown9cd9e282012-07-10 12:37:57 +01001950 case ARIZONA_FLL1_LOOP_FILTER_TEST_1:
1951 case ARIZONA_FLL1_NCO_TEST_0:
1952 case ARIZONA_FLL1_SYNCHRONISER_1:
1953 case ARIZONA_FLL1_SYNCHRONISER_2:
1954 case ARIZONA_FLL1_SYNCHRONISER_3:
1955 case ARIZONA_FLL1_SYNCHRONISER_4:
1956 case ARIZONA_FLL1_SYNCHRONISER_5:
1957 case ARIZONA_FLL1_SYNCHRONISER_6:
Charles Keepaxc78d2032013-08-06 16:42:27 +01001958 case ARIZONA_FLL1_SYNCHRONISER_7:
Mark Brown9cd9e282012-07-10 12:37:57 +01001959 case ARIZONA_FLL1_SPREAD_SPECTRUM:
1960 case ARIZONA_FLL1_GPIO_CLOCK:
1961 case ARIZONA_FLL2_CONTROL_1:
1962 case ARIZONA_FLL2_CONTROL_2:
1963 case ARIZONA_FLL2_CONTROL_3:
1964 case ARIZONA_FLL2_CONTROL_4:
1965 case ARIZONA_FLL2_CONTROL_5:
1966 case ARIZONA_FLL2_CONTROL_6:
Charles Keepaxc78d2032013-08-06 16:42:27 +01001967 case ARIZONA_FLL2_CONTROL_7:
Mark Brown9cd9e282012-07-10 12:37:57 +01001968 case ARIZONA_FLL2_LOOP_FILTER_TEST_1:
1969 case ARIZONA_FLL2_NCO_TEST_0:
1970 case ARIZONA_FLL2_SYNCHRONISER_1:
1971 case ARIZONA_FLL2_SYNCHRONISER_2:
1972 case ARIZONA_FLL2_SYNCHRONISER_3:
1973 case ARIZONA_FLL2_SYNCHRONISER_4:
1974 case ARIZONA_FLL2_SYNCHRONISER_5:
1975 case ARIZONA_FLL2_SYNCHRONISER_6:
Charles Keepaxc78d2032013-08-06 16:42:27 +01001976 case ARIZONA_FLL2_SYNCHRONISER_7:
Mark Brown9cd9e282012-07-10 12:37:57 +01001977 case ARIZONA_FLL2_SPREAD_SPECTRUM:
1978 case ARIZONA_FLL2_GPIO_CLOCK:
1979 case ARIZONA_MIC_CHARGE_PUMP_1:
1980 case ARIZONA_LDO1_CONTROL_1:
1981 case ARIZONA_LDO2_CONTROL_1:
1982 case ARIZONA_MIC_BIAS_CTRL_1:
1983 case ARIZONA_MIC_BIAS_CTRL_2:
1984 case ARIZONA_MIC_BIAS_CTRL_3:
Charles Keepax47958c52014-11-04 15:24:36 +00001985 case ARIZONA_HP_CTRL_1L:
1986 case ARIZONA_HP_CTRL_1R:
Mark Brown9cd9e282012-07-10 12:37:57 +01001987 case ARIZONA_ACCESSORY_DETECT_MODE_1:
1988 case ARIZONA_HEADPHONE_DETECT_1:
1989 case ARIZONA_HEADPHONE_DETECT_2:
Charles Keepax24f76f32013-10-26 15:27:04 +01001990 case ARIZONA_MICD_CLAMP_CONTROL:
Mark Brown9cd9e282012-07-10 12:37:57 +01001991 case ARIZONA_MIC_DETECT_1:
1992 case ARIZONA_MIC_DETECT_2:
1993 case ARIZONA_MIC_DETECT_3:
Charles Keepaxe76e3972015-09-16 10:42:13 +01001994 case ARIZONA_MIC_DETECT_4:
Charles Keepaxacf0be12013-08-06 16:42:28 +01001995 case ARIZONA_MIC_DETECT_LEVEL_1:
1996 case ARIZONA_MIC_DETECT_LEVEL_2:
1997 case ARIZONA_MIC_DETECT_LEVEL_3:
1998 case ARIZONA_MIC_DETECT_LEVEL_4:
Mark Brown9cd9e282012-07-10 12:37:57 +01001999 case ARIZONA_MIC_NOISE_MIX_CONTROL_1:
Charles Keepaxfce7fbf2014-04-17 13:14:15 +01002000 case ARIZONA_ISOLATION_CONTROL:
Mark Brown9cd9e282012-07-10 12:37:57 +01002001 case ARIZONA_JACK_DETECT_ANALOGUE:
2002 case ARIZONA_INPUT_ENABLES:
2003 case ARIZONA_INPUT_ENABLES_STATUS:
2004 case ARIZONA_INPUT_RATE:
2005 case ARIZONA_INPUT_VOLUME_RAMP:
Charles Keepax254dc322013-11-19 16:04:03 +00002006 case ARIZONA_HPF_CONTROL:
Mark Brown9cd9e282012-07-10 12:37:57 +01002007 case ARIZONA_IN1L_CONTROL:
2008 case ARIZONA_ADC_DIGITAL_VOLUME_1L:
2009 case ARIZONA_DMIC1L_CONTROL:
2010 case ARIZONA_IN1R_CONTROL:
2011 case ARIZONA_ADC_DIGITAL_VOLUME_1R:
2012 case ARIZONA_DMIC1R_CONTROL:
2013 case ARIZONA_IN2L_CONTROL:
2014 case ARIZONA_ADC_DIGITAL_VOLUME_2L:
2015 case ARIZONA_DMIC2L_CONTROL:
2016 case ARIZONA_IN2R_CONTROL:
2017 case ARIZONA_ADC_DIGITAL_VOLUME_2R:
2018 case ARIZONA_DMIC2R_CONTROL:
2019 case ARIZONA_IN3L_CONTROL:
2020 case ARIZONA_ADC_DIGITAL_VOLUME_3L:
2021 case ARIZONA_DMIC3L_CONTROL:
2022 case ARIZONA_IN3R_CONTROL:
2023 case ARIZONA_ADC_DIGITAL_VOLUME_3R:
2024 case ARIZONA_DMIC3R_CONTROL:
2025 case ARIZONA_IN4L_CONTROL:
2026 case ARIZONA_ADC_DIGITAL_VOLUME_4L:
2027 case ARIZONA_DMIC4L_CONTROL:
Charles Keepax254dc322013-11-19 16:04:03 +00002028 case ARIZONA_IN4R_CONTROL:
Mark Brown9cd9e282012-07-10 12:37:57 +01002029 case ARIZONA_ADC_DIGITAL_VOLUME_4R:
2030 case ARIZONA_DMIC4R_CONTROL:
2031 case ARIZONA_OUTPUT_ENABLES_1:
2032 case ARIZONA_OUTPUT_STATUS_1:
2033 case ARIZONA_RAW_OUTPUT_STATUS_1:
2034 case ARIZONA_OUTPUT_RATE_1:
2035 case ARIZONA_OUTPUT_VOLUME_RAMP:
2036 case ARIZONA_OUTPUT_PATH_CONFIG_1L:
2037 case ARIZONA_DAC_DIGITAL_VOLUME_1L:
2038 case ARIZONA_DAC_VOLUME_LIMIT_1L:
2039 case ARIZONA_NOISE_GATE_SELECT_1L:
2040 case ARIZONA_OUTPUT_PATH_CONFIG_1R:
2041 case ARIZONA_DAC_DIGITAL_VOLUME_1R:
2042 case ARIZONA_DAC_VOLUME_LIMIT_1R:
2043 case ARIZONA_NOISE_GATE_SELECT_1R:
2044 case ARIZONA_OUTPUT_PATH_CONFIG_2L:
2045 case ARIZONA_DAC_DIGITAL_VOLUME_2L:
2046 case ARIZONA_DAC_VOLUME_LIMIT_2L:
2047 case ARIZONA_NOISE_GATE_SELECT_2L:
2048 case ARIZONA_OUTPUT_PATH_CONFIG_2R:
2049 case ARIZONA_DAC_DIGITAL_VOLUME_2R:
2050 case ARIZONA_DAC_VOLUME_LIMIT_2R:
2051 case ARIZONA_NOISE_GATE_SELECT_2R:
2052 case ARIZONA_OUTPUT_PATH_CONFIG_3L:
2053 case ARIZONA_DAC_DIGITAL_VOLUME_3L:
2054 case ARIZONA_DAC_VOLUME_LIMIT_3L:
2055 case ARIZONA_NOISE_GATE_SELECT_3L:
2056 case ARIZONA_OUTPUT_PATH_CONFIG_3R:
2057 case ARIZONA_DAC_DIGITAL_VOLUME_3R:
2058 case ARIZONA_DAC_VOLUME_LIMIT_3R:
2059 case ARIZONA_NOISE_GATE_SELECT_3R:
2060 case ARIZONA_OUTPUT_PATH_CONFIG_4L:
2061 case ARIZONA_DAC_DIGITAL_VOLUME_4L:
2062 case ARIZONA_OUT_VOLUME_4L:
2063 case ARIZONA_NOISE_GATE_SELECT_4L:
2064 case ARIZONA_OUTPUT_PATH_CONFIG_4R:
2065 case ARIZONA_DAC_DIGITAL_VOLUME_4R:
2066 case ARIZONA_OUT_VOLUME_4R:
2067 case ARIZONA_NOISE_GATE_SELECT_4R:
2068 case ARIZONA_OUTPUT_PATH_CONFIG_5L:
2069 case ARIZONA_DAC_DIGITAL_VOLUME_5L:
2070 case ARIZONA_DAC_VOLUME_LIMIT_5L:
2071 case ARIZONA_NOISE_GATE_SELECT_5L:
2072 case ARIZONA_OUTPUT_PATH_CONFIG_5R:
2073 case ARIZONA_DAC_DIGITAL_VOLUME_5R:
2074 case ARIZONA_DAC_VOLUME_LIMIT_5R:
2075 case ARIZONA_NOISE_GATE_SELECT_5R:
2076 case ARIZONA_OUTPUT_PATH_CONFIG_6L:
2077 case ARIZONA_DAC_DIGITAL_VOLUME_6L:
2078 case ARIZONA_DAC_VOLUME_LIMIT_6L:
2079 case ARIZONA_NOISE_GATE_SELECT_6L:
2080 case ARIZONA_OUTPUT_PATH_CONFIG_6R:
2081 case ARIZONA_DAC_DIGITAL_VOLUME_6R:
2082 case ARIZONA_DAC_VOLUME_LIMIT_6R:
2083 case ARIZONA_NOISE_GATE_SELECT_6R:
Charles Keepax792b62e2013-12-19 09:11:01 +00002084 case ARIZONA_DRE_ENABLE:
Mark Brown9cd9e282012-07-10 12:37:57 +01002085 case ARIZONA_DAC_AEC_CONTROL_1:
2086 case ARIZONA_NOISE_GATE_CONTROL:
2087 case ARIZONA_PDM_SPK1_CTRL_1:
2088 case ARIZONA_PDM_SPK1_CTRL_2:
2089 case ARIZONA_PDM_SPK2_CTRL_1:
2090 case ARIZONA_PDM_SPK2_CTRL_2:
Charles Keepax08e2d592014-01-09 14:29:24 +00002091 case ARIZONA_HP1_SHORT_CIRCUIT_CTRL:
2092 case ARIZONA_HP2_SHORT_CIRCUIT_CTRL:
2093 case ARIZONA_HP3_SHORT_CIRCUIT_CTRL:
Charles Keepaxb8ba9ed2015-09-16 10:42:15 +01002094 case ARIZONA_HP_TEST_CTRL_1:
Mark Brown9cd9e282012-07-10 12:37:57 +01002095 case ARIZONA_AIF1_BCLK_CTRL:
2096 case ARIZONA_AIF1_TX_PIN_CTRL:
2097 case ARIZONA_AIF1_RX_PIN_CTRL:
2098 case ARIZONA_AIF1_RATE_CTRL:
2099 case ARIZONA_AIF1_FORMAT:
2100 case ARIZONA_AIF1_TX_BCLK_RATE:
2101 case ARIZONA_AIF1_RX_BCLK_RATE:
2102 case ARIZONA_AIF1_FRAME_CTRL_1:
2103 case ARIZONA_AIF1_FRAME_CTRL_2:
2104 case ARIZONA_AIF1_FRAME_CTRL_3:
2105 case ARIZONA_AIF1_FRAME_CTRL_4:
2106 case ARIZONA_AIF1_FRAME_CTRL_5:
2107 case ARIZONA_AIF1_FRAME_CTRL_6:
2108 case ARIZONA_AIF1_FRAME_CTRL_7:
2109 case ARIZONA_AIF1_FRAME_CTRL_8:
2110 case ARIZONA_AIF1_FRAME_CTRL_9:
2111 case ARIZONA_AIF1_FRAME_CTRL_10:
2112 case ARIZONA_AIF1_FRAME_CTRL_11:
2113 case ARIZONA_AIF1_FRAME_CTRL_12:
2114 case ARIZONA_AIF1_FRAME_CTRL_13:
2115 case ARIZONA_AIF1_FRAME_CTRL_14:
2116 case ARIZONA_AIF1_FRAME_CTRL_15:
2117 case ARIZONA_AIF1_FRAME_CTRL_16:
2118 case ARIZONA_AIF1_FRAME_CTRL_17:
2119 case ARIZONA_AIF1_FRAME_CTRL_18:
2120 case ARIZONA_AIF1_TX_ENABLES:
2121 case ARIZONA_AIF1_RX_ENABLES:
2122 case ARIZONA_AIF2_BCLK_CTRL:
2123 case ARIZONA_AIF2_TX_PIN_CTRL:
2124 case ARIZONA_AIF2_RX_PIN_CTRL:
2125 case ARIZONA_AIF2_RATE_CTRL:
2126 case ARIZONA_AIF2_FORMAT:
2127 case ARIZONA_AIF2_TX_BCLK_RATE:
2128 case ARIZONA_AIF2_RX_BCLK_RATE:
2129 case ARIZONA_AIF2_FRAME_CTRL_1:
2130 case ARIZONA_AIF2_FRAME_CTRL_2:
2131 case ARIZONA_AIF2_FRAME_CTRL_3:
2132 case ARIZONA_AIF2_FRAME_CTRL_4:
Charles Keepax783f6fc2014-11-04 13:04:07 +00002133 case ARIZONA_AIF2_FRAME_CTRL_5:
2134 case ARIZONA_AIF2_FRAME_CTRL_6:
2135 case ARIZONA_AIF2_FRAME_CTRL_7:
2136 case ARIZONA_AIF2_FRAME_CTRL_8:
Mark Brown9cd9e282012-07-10 12:37:57 +01002137 case ARIZONA_AIF2_FRAME_CTRL_11:
2138 case ARIZONA_AIF2_FRAME_CTRL_12:
Charles Keepax783f6fc2014-11-04 13:04:07 +00002139 case ARIZONA_AIF2_FRAME_CTRL_13:
2140 case ARIZONA_AIF2_FRAME_CTRL_14:
2141 case ARIZONA_AIF2_FRAME_CTRL_15:
2142 case ARIZONA_AIF2_FRAME_CTRL_16:
Mark Brown9cd9e282012-07-10 12:37:57 +01002143 case ARIZONA_AIF2_TX_ENABLES:
2144 case ARIZONA_AIF2_RX_ENABLES:
2145 case ARIZONA_AIF3_BCLK_CTRL:
2146 case ARIZONA_AIF3_TX_PIN_CTRL:
2147 case ARIZONA_AIF3_RX_PIN_CTRL:
2148 case ARIZONA_AIF3_RATE_CTRL:
2149 case ARIZONA_AIF3_FORMAT:
2150 case ARIZONA_AIF3_TX_BCLK_RATE:
2151 case ARIZONA_AIF3_RX_BCLK_RATE:
2152 case ARIZONA_AIF3_FRAME_CTRL_1:
2153 case ARIZONA_AIF3_FRAME_CTRL_2:
2154 case ARIZONA_AIF3_FRAME_CTRL_3:
2155 case ARIZONA_AIF3_FRAME_CTRL_4:
2156 case ARIZONA_AIF3_FRAME_CTRL_11:
2157 case ARIZONA_AIF3_FRAME_CTRL_12:
2158 case ARIZONA_AIF3_TX_ENABLES:
2159 case ARIZONA_AIF3_RX_ENABLES:
2160 case ARIZONA_SLIMBUS_FRAMER_REF_GEAR:
2161 case ARIZONA_SLIMBUS_RATES_1:
2162 case ARIZONA_SLIMBUS_RATES_2:
2163 case ARIZONA_SLIMBUS_RATES_3:
2164 case ARIZONA_SLIMBUS_RATES_4:
2165 case ARIZONA_SLIMBUS_RATES_5:
2166 case ARIZONA_SLIMBUS_RATES_6:
2167 case ARIZONA_SLIMBUS_RATES_7:
2168 case ARIZONA_SLIMBUS_RATES_8:
2169 case ARIZONA_SLIMBUS_RX_CHANNEL_ENABLE:
2170 case ARIZONA_SLIMBUS_TX_CHANNEL_ENABLE:
2171 case ARIZONA_SLIMBUS_RX_PORT_STATUS:
2172 case ARIZONA_SLIMBUS_TX_PORT_STATUS:
2173 case ARIZONA_PWM1MIX_INPUT_1_SOURCE:
2174 case ARIZONA_PWM1MIX_INPUT_1_VOLUME:
2175 case ARIZONA_PWM1MIX_INPUT_2_SOURCE:
2176 case ARIZONA_PWM1MIX_INPUT_2_VOLUME:
2177 case ARIZONA_PWM1MIX_INPUT_3_SOURCE:
2178 case ARIZONA_PWM1MIX_INPUT_3_VOLUME:
2179 case ARIZONA_PWM1MIX_INPUT_4_SOURCE:
2180 case ARIZONA_PWM1MIX_INPUT_4_VOLUME:
2181 case ARIZONA_PWM2MIX_INPUT_1_SOURCE:
2182 case ARIZONA_PWM2MIX_INPUT_1_VOLUME:
2183 case ARIZONA_PWM2MIX_INPUT_2_SOURCE:
2184 case ARIZONA_PWM2MIX_INPUT_2_VOLUME:
2185 case ARIZONA_PWM2MIX_INPUT_3_SOURCE:
2186 case ARIZONA_PWM2MIX_INPUT_3_VOLUME:
2187 case ARIZONA_PWM2MIX_INPUT_4_SOURCE:
2188 case ARIZONA_PWM2MIX_INPUT_4_VOLUME:
2189 case ARIZONA_MICMIX_INPUT_1_SOURCE:
2190 case ARIZONA_MICMIX_INPUT_1_VOLUME:
2191 case ARIZONA_MICMIX_INPUT_2_SOURCE:
2192 case ARIZONA_MICMIX_INPUT_2_VOLUME:
2193 case ARIZONA_MICMIX_INPUT_3_SOURCE:
2194 case ARIZONA_MICMIX_INPUT_3_VOLUME:
2195 case ARIZONA_MICMIX_INPUT_4_SOURCE:
2196 case ARIZONA_MICMIX_INPUT_4_VOLUME:
2197 case ARIZONA_NOISEMIX_INPUT_1_SOURCE:
2198 case ARIZONA_NOISEMIX_INPUT_1_VOLUME:
2199 case ARIZONA_NOISEMIX_INPUT_2_SOURCE:
2200 case ARIZONA_NOISEMIX_INPUT_2_VOLUME:
2201 case ARIZONA_NOISEMIX_INPUT_3_SOURCE:
2202 case ARIZONA_NOISEMIX_INPUT_3_VOLUME:
2203 case ARIZONA_NOISEMIX_INPUT_4_SOURCE:
2204 case ARIZONA_NOISEMIX_INPUT_4_VOLUME:
2205 case ARIZONA_OUT1LMIX_INPUT_1_SOURCE:
2206 case ARIZONA_OUT1LMIX_INPUT_1_VOLUME:
2207 case ARIZONA_OUT1LMIX_INPUT_2_SOURCE:
2208 case ARIZONA_OUT1LMIX_INPUT_2_VOLUME:
2209 case ARIZONA_OUT1LMIX_INPUT_3_SOURCE:
2210 case ARIZONA_OUT1LMIX_INPUT_3_VOLUME:
2211 case ARIZONA_OUT1LMIX_INPUT_4_SOURCE:
2212 case ARIZONA_OUT1LMIX_INPUT_4_VOLUME:
2213 case ARIZONA_OUT1RMIX_INPUT_1_SOURCE:
2214 case ARIZONA_OUT1RMIX_INPUT_1_VOLUME:
2215 case ARIZONA_OUT1RMIX_INPUT_2_SOURCE:
2216 case ARIZONA_OUT1RMIX_INPUT_2_VOLUME:
2217 case ARIZONA_OUT1RMIX_INPUT_3_SOURCE:
2218 case ARIZONA_OUT1RMIX_INPUT_3_VOLUME:
2219 case ARIZONA_OUT1RMIX_INPUT_4_SOURCE:
2220 case ARIZONA_OUT1RMIX_INPUT_4_VOLUME:
2221 case ARIZONA_OUT2LMIX_INPUT_1_SOURCE:
2222 case ARIZONA_OUT2LMIX_INPUT_1_VOLUME:
2223 case ARIZONA_OUT2LMIX_INPUT_2_SOURCE:
2224 case ARIZONA_OUT2LMIX_INPUT_2_VOLUME:
2225 case ARIZONA_OUT2LMIX_INPUT_3_SOURCE:
2226 case ARIZONA_OUT2LMIX_INPUT_3_VOLUME:
2227 case ARIZONA_OUT2LMIX_INPUT_4_SOURCE:
2228 case ARIZONA_OUT2LMIX_INPUT_4_VOLUME:
2229 case ARIZONA_OUT2RMIX_INPUT_1_SOURCE:
2230 case ARIZONA_OUT2RMIX_INPUT_1_VOLUME:
2231 case ARIZONA_OUT2RMIX_INPUT_2_SOURCE:
2232 case ARIZONA_OUT2RMIX_INPUT_2_VOLUME:
2233 case ARIZONA_OUT2RMIX_INPUT_3_SOURCE:
2234 case ARIZONA_OUT2RMIX_INPUT_3_VOLUME:
2235 case ARIZONA_OUT2RMIX_INPUT_4_SOURCE:
2236 case ARIZONA_OUT2RMIX_INPUT_4_VOLUME:
2237 case ARIZONA_OUT3LMIX_INPUT_1_SOURCE:
2238 case ARIZONA_OUT3LMIX_INPUT_1_VOLUME:
2239 case ARIZONA_OUT3LMIX_INPUT_2_SOURCE:
2240 case ARIZONA_OUT3LMIX_INPUT_2_VOLUME:
2241 case ARIZONA_OUT3LMIX_INPUT_3_SOURCE:
2242 case ARIZONA_OUT3LMIX_INPUT_3_VOLUME:
2243 case ARIZONA_OUT3LMIX_INPUT_4_SOURCE:
2244 case ARIZONA_OUT3LMIX_INPUT_4_VOLUME:
2245 case ARIZONA_OUT3RMIX_INPUT_1_SOURCE:
2246 case ARIZONA_OUT3RMIX_INPUT_1_VOLUME:
2247 case ARIZONA_OUT3RMIX_INPUT_2_SOURCE:
2248 case ARIZONA_OUT3RMIX_INPUT_2_VOLUME:
2249 case ARIZONA_OUT3RMIX_INPUT_3_SOURCE:
2250 case ARIZONA_OUT3RMIX_INPUT_3_VOLUME:
2251 case ARIZONA_OUT3RMIX_INPUT_4_SOURCE:
2252 case ARIZONA_OUT3RMIX_INPUT_4_VOLUME:
2253 case ARIZONA_OUT4LMIX_INPUT_1_SOURCE:
2254 case ARIZONA_OUT4LMIX_INPUT_1_VOLUME:
2255 case ARIZONA_OUT4LMIX_INPUT_2_SOURCE:
2256 case ARIZONA_OUT4LMIX_INPUT_2_VOLUME:
2257 case ARIZONA_OUT4LMIX_INPUT_3_SOURCE:
2258 case ARIZONA_OUT4LMIX_INPUT_3_VOLUME:
2259 case ARIZONA_OUT4LMIX_INPUT_4_SOURCE:
2260 case ARIZONA_OUT4LMIX_INPUT_4_VOLUME:
2261 case ARIZONA_OUT4RMIX_INPUT_1_SOURCE:
2262 case ARIZONA_OUT4RMIX_INPUT_1_VOLUME:
2263 case ARIZONA_OUT4RMIX_INPUT_2_SOURCE:
2264 case ARIZONA_OUT4RMIX_INPUT_2_VOLUME:
2265 case ARIZONA_OUT4RMIX_INPUT_3_SOURCE:
2266 case ARIZONA_OUT4RMIX_INPUT_3_VOLUME:
2267 case ARIZONA_OUT4RMIX_INPUT_4_SOURCE:
2268 case ARIZONA_OUT4RMIX_INPUT_4_VOLUME:
2269 case ARIZONA_OUT5LMIX_INPUT_1_SOURCE:
2270 case ARIZONA_OUT5LMIX_INPUT_1_VOLUME:
2271 case ARIZONA_OUT5LMIX_INPUT_2_SOURCE:
2272 case ARIZONA_OUT5LMIX_INPUT_2_VOLUME:
2273 case ARIZONA_OUT5LMIX_INPUT_3_SOURCE:
2274 case ARIZONA_OUT5LMIX_INPUT_3_VOLUME:
2275 case ARIZONA_OUT5LMIX_INPUT_4_SOURCE:
2276 case ARIZONA_OUT5LMIX_INPUT_4_VOLUME:
2277 case ARIZONA_OUT5RMIX_INPUT_1_SOURCE:
2278 case ARIZONA_OUT5RMIX_INPUT_1_VOLUME:
2279 case ARIZONA_OUT5RMIX_INPUT_2_SOURCE:
2280 case ARIZONA_OUT5RMIX_INPUT_2_VOLUME:
2281 case ARIZONA_OUT5RMIX_INPUT_3_SOURCE:
2282 case ARIZONA_OUT5RMIX_INPUT_3_VOLUME:
2283 case ARIZONA_OUT5RMIX_INPUT_4_SOURCE:
2284 case ARIZONA_OUT5RMIX_INPUT_4_VOLUME:
2285 case ARIZONA_OUT6LMIX_INPUT_1_SOURCE:
2286 case ARIZONA_OUT6LMIX_INPUT_1_VOLUME:
2287 case ARIZONA_OUT6LMIX_INPUT_2_SOURCE:
2288 case ARIZONA_OUT6LMIX_INPUT_2_VOLUME:
2289 case ARIZONA_OUT6LMIX_INPUT_3_SOURCE:
2290 case ARIZONA_OUT6LMIX_INPUT_3_VOLUME:
2291 case ARIZONA_OUT6LMIX_INPUT_4_SOURCE:
2292 case ARIZONA_OUT6LMIX_INPUT_4_VOLUME:
2293 case ARIZONA_OUT6RMIX_INPUT_1_SOURCE:
2294 case ARIZONA_OUT6RMIX_INPUT_1_VOLUME:
2295 case ARIZONA_OUT6RMIX_INPUT_2_SOURCE:
2296 case ARIZONA_OUT6RMIX_INPUT_2_VOLUME:
2297 case ARIZONA_OUT6RMIX_INPUT_3_SOURCE:
2298 case ARIZONA_OUT6RMIX_INPUT_3_VOLUME:
2299 case ARIZONA_OUT6RMIX_INPUT_4_SOURCE:
2300 case ARIZONA_OUT6RMIX_INPUT_4_VOLUME:
2301 case ARIZONA_AIF1TX1MIX_INPUT_1_SOURCE:
2302 case ARIZONA_AIF1TX1MIX_INPUT_1_VOLUME:
2303 case ARIZONA_AIF1TX1MIX_INPUT_2_SOURCE:
2304 case ARIZONA_AIF1TX1MIX_INPUT_2_VOLUME:
2305 case ARIZONA_AIF1TX1MIX_INPUT_3_SOURCE:
2306 case ARIZONA_AIF1TX1MIX_INPUT_3_VOLUME:
2307 case ARIZONA_AIF1TX1MIX_INPUT_4_SOURCE:
2308 case ARIZONA_AIF1TX1MIX_INPUT_4_VOLUME:
2309 case ARIZONA_AIF1TX2MIX_INPUT_1_SOURCE:
2310 case ARIZONA_AIF1TX2MIX_INPUT_1_VOLUME:
2311 case ARIZONA_AIF1TX2MIX_INPUT_2_SOURCE:
2312 case ARIZONA_AIF1TX2MIX_INPUT_2_VOLUME:
2313 case ARIZONA_AIF1TX2MIX_INPUT_3_SOURCE:
2314 case ARIZONA_AIF1TX2MIX_INPUT_3_VOLUME:
2315 case ARIZONA_AIF1TX2MIX_INPUT_4_SOURCE:
2316 case ARIZONA_AIF1TX2MIX_INPUT_4_VOLUME:
2317 case ARIZONA_AIF1TX3MIX_INPUT_1_SOURCE:
2318 case ARIZONA_AIF1TX3MIX_INPUT_1_VOLUME:
2319 case ARIZONA_AIF1TX3MIX_INPUT_2_SOURCE:
2320 case ARIZONA_AIF1TX3MIX_INPUT_2_VOLUME:
2321 case ARIZONA_AIF1TX3MIX_INPUT_3_SOURCE:
2322 case ARIZONA_AIF1TX3MIX_INPUT_3_VOLUME:
2323 case ARIZONA_AIF1TX3MIX_INPUT_4_SOURCE:
2324 case ARIZONA_AIF1TX3MIX_INPUT_4_VOLUME:
2325 case ARIZONA_AIF1TX4MIX_INPUT_1_SOURCE:
2326 case ARIZONA_AIF1TX4MIX_INPUT_1_VOLUME:
2327 case ARIZONA_AIF1TX4MIX_INPUT_2_SOURCE:
2328 case ARIZONA_AIF1TX4MIX_INPUT_2_VOLUME:
2329 case ARIZONA_AIF1TX4MIX_INPUT_3_SOURCE:
2330 case ARIZONA_AIF1TX4MIX_INPUT_3_VOLUME:
2331 case ARIZONA_AIF1TX4MIX_INPUT_4_SOURCE:
2332 case ARIZONA_AIF1TX4MIX_INPUT_4_VOLUME:
2333 case ARIZONA_AIF1TX5MIX_INPUT_1_SOURCE:
2334 case ARIZONA_AIF1TX5MIX_INPUT_1_VOLUME:
2335 case ARIZONA_AIF1TX5MIX_INPUT_2_SOURCE:
2336 case ARIZONA_AIF1TX5MIX_INPUT_2_VOLUME:
2337 case ARIZONA_AIF1TX5MIX_INPUT_3_SOURCE:
2338 case ARIZONA_AIF1TX5MIX_INPUT_3_VOLUME:
2339 case ARIZONA_AIF1TX5MIX_INPUT_4_SOURCE:
2340 case ARIZONA_AIF1TX5MIX_INPUT_4_VOLUME:
2341 case ARIZONA_AIF1TX6MIX_INPUT_1_SOURCE:
2342 case ARIZONA_AIF1TX6MIX_INPUT_1_VOLUME:
2343 case ARIZONA_AIF1TX6MIX_INPUT_2_SOURCE:
2344 case ARIZONA_AIF1TX6MIX_INPUT_2_VOLUME:
2345 case ARIZONA_AIF1TX6MIX_INPUT_3_SOURCE:
2346 case ARIZONA_AIF1TX6MIX_INPUT_3_VOLUME:
2347 case ARIZONA_AIF1TX6MIX_INPUT_4_SOURCE:
2348 case ARIZONA_AIF1TX6MIX_INPUT_4_VOLUME:
2349 case ARIZONA_AIF1TX7MIX_INPUT_1_SOURCE:
2350 case ARIZONA_AIF1TX7MIX_INPUT_1_VOLUME:
2351 case ARIZONA_AIF1TX7MIX_INPUT_2_SOURCE:
2352 case ARIZONA_AIF1TX7MIX_INPUT_2_VOLUME:
2353 case ARIZONA_AIF1TX7MIX_INPUT_3_SOURCE:
2354 case ARIZONA_AIF1TX7MIX_INPUT_3_VOLUME:
2355 case ARIZONA_AIF1TX7MIX_INPUT_4_SOURCE:
2356 case ARIZONA_AIF1TX7MIX_INPUT_4_VOLUME:
2357 case ARIZONA_AIF1TX8MIX_INPUT_1_SOURCE:
2358 case ARIZONA_AIF1TX8MIX_INPUT_1_VOLUME:
2359 case ARIZONA_AIF1TX8MIX_INPUT_2_SOURCE:
2360 case ARIZONA_AIF1TX8MIX_INPUT_2_VOLUME:
2361 case ARIZONA_AIF1TX8MIX_INPUT_3_SOURCE:
2362 case ARIZONA_AIF1TX8MIX_INPUT_3_VOLUME:
2363 case ARIZONA_AIF1TX8MIX_INPUT_4_SOURCE:
2364 case ARIZONA_AIF1TX8MIX_INPUT_4_VOLUME:
2365 case ARIZONA_AIF2TX1MIX_INPUT_1_SOURCE:
2366 case ARIZONA_AIF2TX1MIX_INPUT_1_VOLUME:
2367 case ARIZONA_AIF2TX1MIX_INPUT_2_SOURCE:
2368 case ARIZONA_AIF2TX1MIX_INPUT_2_VOLUME:
2369 case ARIZONA_AIF2TX1MIX_INPUT_3_SOURCE:
2370 case ARIZONA_AIF2TX1MIX_INPUT_3_VOLUME:
2371 case ARIZONA_AIF2TX1MIX_INPUT_4_SOURCE:
2372 case ARIZONA_AIF2TX1MIX_INPUT_4_VOLUME:
2373 case ARIZONA_AIF2TX2MIX_INPUT_1_SOURCE:
2374 case ARIZONA_AIF2TX2MIX_INPUT_1_VOLUME:
2375 case ARIZONA_AIF2TX2MIX_INPUT_2_SOURCE:
2376 case ARIZONA_AIF2TX2MIX_INPUT_2_VOLUME:
2377 case ARIZONA_AIF2TX2MIX_INPUT_3_SOURCE:
2378 case ARIZONA_AIF2TX2MIX_INPUT_3_VOLUME:
2379 case ARIZONA_AIF2TX2MIX_INPUT_4_SOURCE:
2380 case ARIZONA_AIF2TX2MIX_INPUT_4_VOLUME:
Charles Keepax32a8fda2013-11-27 12:51:17 +00002381 case ARIZONA_AIF2TX3MIX_INPUT_1_SOURCE:
2382 case ARIZONA_AIF2TX3MIX_INPUT_1_VOLUME:
2383 case ARIZONA_AIF2TX3MIX_INPUT_2_SOURCE:
2384 case ARIZONA_AIF2TX3MIX_INPUT_2_VOLUME:
2385 case ARIZONA_AIF2TX3MIX_INPUT_3_SOURCE:
2386 case ARIZONA_AIF2TX3MIX_INPUT_3_VOLUME:
2387 case ARIZONA_AIF2TX3MIX_INPUT_4_SOURCE:
2388 case ARIZONA_AIF2TX3MIX_INPUT_4_VOLUME:
2389 case ARIZONA_AIF2TX4MIX_INPUT_1_SOURCE:
2390 case ARIZONA_AIF2TX4MIX_INPUT_1_VOLUME:
2391 case ARIZONA_AIF2TX4MIX_INPUT_2_SOURCE:
2392 case ARIZONA_AIF2TX4MIX_INPUT_2_VOLUME:
2393 case ARIZONA_AIF2TX4MIX_INPUT_3_SOURCE:
2394 case ARIZONA_AIF2TX4MIX_INPUT_3_VOLUME:
2395 case ARIZONA_AIF2TX4MIX_INPUT_4_SOURCE:
2396 case ARIZONA_AIF2TX4MIX_INPUT_4_VOLUME:
2397 case ARIZONA_AIF2TX5MIX_INPUT_1_SOURCE:
2398 case ARIZONA_AIF2TX5MIX_INPUT_1_VOLUME:
2399 case ARIZONA_AIF2TX5MIX_INPUT_2_SOURCE:
2400 case ARIZONA_AIF2TX5MIX_INPUT_2_VOLUME:
2401 case ARIZONA_AIF2TX5MIX_INPUT_3_SOURCE:
2402 case ARIZONA_AIF2TX5MIX_INPUT_3_VOLUME:
2403 case ARIZONA_AIF2TX5MIX_INPUT_4_SOURCE:
2404 case ARIZONA_AIF2TX5MIX_INPUT_4_VOLUME:
2405 case ARIZONA_AIF2TX6MIX_INPUT_1_SOURCE:
2406 case ARIZONA_AIF2TX6MIX_INPUT_1_VOLUME:
2407 case ARIZONA_AIF2TX6MIX_INPUT_2_SOURCE:
2408 case ARIZONA_AIF2TX6MIX_INPUT_2_VOLUME:
2409 case ARIZONA_AIF2TX6MIX_INPUT_3_SOURCE:
2410 case ARIZONA_AIF2TX6MIX_INPUT_3_VOLUME:
2411 case ARIZONA_AIF2TX6MIX_INPUT_4_SOURCE:
2412 case ARIZONA_AIF2TX6MIX_INPUT_4_VOLUME:
Mark Brown9cd9e282012-07-10 12:37:57 +01002413 case ARIZONA_AIF3TX1MIX_INPUT_1_SOURCE:
2414 case ARIZONA_AIF3TX1MIX_INPUT_1_VOLUME:
2415 case ARIZONA_AIF3TX1MIX_INPUT_2_SOURCE:
2416 case ARIZONA_AIF3TX1MIX_INPUT_2_VOLUME:
2417 case ARIZONA_AIF3TX1MIX_INPUT_3_SOURCE:
2418 case ARIZONA_AIF3TX1MIX_INPUT_3_VOLUME:
2419 case ARIZONA_AIF3TX1MIX_INPUT_4_SOURCE:
2420 case ARIZONA_AIF3TX1MIX_INPUT_4_VOLUME:
2421 case ARIZONA_AIF3TX2MIX_INPUT_1_SOURCE:
2422 case ARIZONA_AIF3TX2MIX_INPUT_1_VOLUME:
2423 case ARIZONA_AIF3TX2MIX_INPUT_2_SOURCE:
2424 case ARIZONA_AIF3TX2MIX_INPUT_2_VOLUME:
2425 case ARIZONA_AIF3TX2MIX_INPUT_3_SOURCE:
2426 case ARIZONA_AIF3TX2MIX_INPUT_3_VOLUME:
2427 case ARIZONA_AIF3TX2MIX_INPUT_4_SOURCE:
2428 case ARIZONA_AIF3TX2MIX_INPUT_4_VOLUME:
2429 case ARIZONA_SLIMTX1MIX_INPUT_1_SOURCE:
2430 case ARIZONA_SLIMTX1MIX_INPUT_1_VOLUME:
2431 case ARIZONA_SLIMTX1MIX_INPUT_2_SOURCE:
2432 case ARIZONA_SLIMTX1MIX_INPUT_2_VOLUME:
2433 case ARIZONA_SLIMTX1MIX_INPUT_3_SOURCE:
2434 case ARIZONA_SLIMTX1MIX_INPUT_3_VOLUME:
2435 case ARIZONA_SLIMTX1MIX_INPUT_4_SOURCE:
2436 case ARIZONA_SLIMTX1MIX_INPUT_4_VOLUME:
2437 case ARIZONA_SLIMTX2MIX_INPUT_1_SOURCE:
2438 case ARIZONA_SLIMTX2MIX_INPUT_1_VOLUME:
2439 case ARIZONA_SLIMTX2MIX_INPUT_2_SOURCE:
2440 case ARIZONA_SLIMTX2MIX_INPUT_2_VOLUME:
2441 case ARIZONA_SLIMTX2MIX_INPUT_3_SOURCE:
2442 case ARIZONA_SLIMTX2MIX_INPUT_3_VOLUME:
2443 case ARIZONA_SLIMTX2MIX_INPUT_4_SOURCE:
2444 case ARIZONA_SLIMTX2MIX_INPUT_4_VOLUME:
2445 case ARIZONA_SLIMTX3MIX_INPUT_1_SOURCE:
2446 case ARIZONA_SLIMTX3MIX_INPUT_1_VOLUME:
2447 case ARIZONA_SLIMTX3MIX_INPUT_2_SOURCE:
2448 case ARIZONA_SLIMTX3MIX_INPUT_2_VOLUME:
2449 case ARIZONA_SLIMTX3MIX_INPUT_3_SOURCE:
2450 case ARIZONA_SLIMTX3MIX_INPUT_3_VOLUME:
2451 case ARIZONA_SLIMTX3MIX_INPUT_4_SOURCE:
2452 case ARIZONA_SLIMTX3MIX_INPUT_4_VOLUME:
2453 case ARIZONA_SLIMTX4MIX_INPUT_1_SOURCE:
2454 case ARIZONA_SLIMTX4MIX_INPUT_1_VOLUME:
2455 case ARIZONA_SLIMTX4MIX_INPUT_2_SOURCE:
2456 case ARIZONA_SLIMTX4MIX_INPUT_2_VOLUME:
2457 case ARIZONA_SLIMTX4MIX_INPUT_3_SOURCE:
2458 case ARIZONA_SLIMTX4MIX_INPUT_3_VOLUME:
2459 case ARIZONA_SLIMTX4MIX_INPUT_4_SOURCE:
2460 case ARIZONA_SLIMTX4MIX_INPUT_4_VOLUME:
2461 case ARIZONA_SLIMTX5MIX_INPUT_1_SOURCE:
2462 case ARIZONA_SLIMTX5MIX_INPUT_1_VOLUME:
2463 case ARIZONA_SLIMTX5MIX_INPUT_2_SOURCE:
2464 case ARIZONA_SLIMTX5MIX_INPUT_2_VOLUME:
2465 case ARIZONA_SLIMTX5MIX_INPUT_3_SOURCE:
2466 case ARIZONA_SLIMTX5MIX_INPUT_3_VOLUME:
2467 case ARIZONA_SLIMTX5MIX_INPUT_4_SOURCE:
2468 case ARIZONA_SLIMTX5MIX_INPUT_4_VOLUME:
2469 case ARIZONA_SLIMTX6MIX_INPUT_1_SOURCE:
2470 case ARIZONA_SLIMTX6MIX_INPUT_1_VOLUME:
2471 case ARIZONA_SLIMTX6MIX_INPUT_2_SOURCE:
2472 case ARIZONA_SLIMTX6MIX_INPUT_2_VOLUME:
2473 case ARIZONA_SLIMTX6MIX_INPUT_3_SOURCE:
2474 case ARIZONA_SLIMTX6MIX_INPUT_3_VOLUME:
2475 case ARIZONA_SLIMTX6MIX_INPUT_4_SOURCE:
2476 case ARIZONA_SLIMTX6MIX_INPUT_4_VOLUME:
2477 case ARIZONA_SLIMTX7MIX_INPUT_1_SOURCE:
2478 case ARIZONA_SLIMTX7MIX_INPUT_1_VOLUME:
2479 case ARIZONA_SLIMTX7MIX_INPUT_2_SOURCE:
2480 case ARIZONA_SLIMTX7MIX_INPUT_2_VOLUME:
2481 case ARIZONA_SLIMTX7MIX_INPUT_3_SOURCE:
2482 case ARIZONA_SLIMTX7MIX_INPUT_3_VOLUME:
2483 case ARIZONA_SLIMTX7MIX_INPUT_4_SOURCE:
2484 case ARIZONA_SLIMTX7MIX_INPUT_4_VOLUME:
2485 case ARIZONA_SLIMTX8MIX_INPUT_1_SOURCE:
2486 case ARIZONA_SLIMTX8MIX_INPUT_1_VOLUME:
2487 case ARIZONA_SLIMTX8MIX_INPUT_2_SOURCE:
2488 case ARIZONA_SLIMTX8MIX_INPUT_2_VOLUME:
2489 case ARIZONA_SLIMTX8MIX_INPUT_3_SOURCE:
2490 case ARIZONA_SLIMTX8MIX_INPUT_3_VOLUME:
2491 case ARIZONA_SLIMTX8MIX_INPUT_4_SOURCE:
2492 case ARIZONA_SLIMTX8MIX_INPUT_4_VOLUME:
2493 case ARIZONA_EQ1MIX_INPUT_1_SOURCE:
2494 case ARIZONA_EQ1MIX_INPUT_1_VOLUME:
2495 case ARIZONA_EQ1MIX_INPUT_2_SOURCE:
2496 case ARIZONA_EQ1MIX_INPUT_2_VOLUME:
2497 case ARIZONA_EQ1MIX_INPUT_3_SOURCE:
2498 case ARIZONA_EQ1MIX_INPUT_3_VOLUME:
2499 case ARIZONA_EQ1MIX_INPUT_4_SOURCE:
2500 case ARIZONA_EQ1MIX_INPUT_4_VOLUME:
2501 case ARIZONA_EQ2MIX_INPUT_1_SOURCE:
2502 case ARIZONA_EQ2MIX_INPUT_1_VOLUME:
2503 case ARIZONA_EQ2MIX_INPUT_2_SOURCE:
2504 case ARIZONA_EQ2MIX_INPUT_2_VOLUME:
2505 case ARIZONA_EQ2MIX_INPUT_3_SOURCE:
2506 case ARIZONA_EQ2MIX_INPUT_3_VOLUME:
2507 case ARIZONA_EQ2MIX_INPUT_4_SOURCE:
2508 case ARIZONA_EQ2MIX_INPUT_4_VOLUME:
2509 case ARIZONA_EQ3MIX_INPUT_1_SOURCE:
2510 case ARIZONA_EQ3MIX_INPUT_1_VOLUME:
2511 case ARIZONA_EQ3MIX_INPUT_2_SOURCE:
2512 case ARIZONA_EQ3MIX_INPUT_2_VOLUME:
2513 case ARIZONA_EQ3MIX_INPUT_3_SOURCE:
2514 case ARIZONA_EQ3MIX_INPUT_3_VOLUME:
2515 case ARIZONA_EQ3MIX_INPUT_4_SOURCE:
2516 case ARIZONA_EQ3MIX_INPUT_4_VOLUME:
2517 case ARIZONA_EQ4MIX_INPUT_1_SOURCE:
2518 case ARIZONA_EQ4MIX_INPUT_1_VOLUME:
2519 case ARIZONA_EQ4MIX_INPUT_2_SOURCE:
2520 case ARIZONA_EQ4MIX_INPUT_2_VOLUME:
2521 case ARIZONA_EQ4MIX_INPUT_3_SOURCE:
2522 case ARIZONA_EQ4MIX_INPUT_3_VOLUME:
2523 case ARIZONA_EQ4MIX_INPUT_4_SOURCE:
2524 case ARIZONA_EQ4MIX_INPUT_4_VOLUME:
2525 case ARIZONA_DRC1LMIX_INPUT_1_SOURCE:
2526 case ARIZONA_DRC1LMIX_INPUT_1_VOLUME:
2527 case ARIZONA_DRC1LMIX_INPUT_2_SOURCE:
2528 case ARIZONA_DRC1LMIX_INPUT_2_VOLUME:
2529 case ARIZONA_DRC1LMIX_INPUT_3_SOURCE:
2530 case ARIZONA_DRC1LMIX_INPUT_3_VOLUME:
2531 case ARIZONA_DRC1LMIX_INPUT_4_SOURCE:
2532 case ARIZONA_DRC1LMIX_INPUT_4_VOLUME:
2533 case ARIZONA_DRC1RMIX_INPUT_1_SOURCE:
2534 case ARIZONA_DRC1RMIX_INPUT_1_VOLUME:
2535 case ARIZONA_DRC1RMIX_INPUT_2_SOURCE:
2536 case ARIZONA_DRC1RMIX_INPUT_2_VOLUME:
2537 case ARIZONA_DRC1RMIX_INPUT_3_SOURCE:
2538 case ARIZONA_DRC1RMIX_INPUT_3_VOLUME:
2539 case ARIZONA_DRC1RMIX_INPUT_4_SOURCE:
2540 case ARIZONA_DRC1RMIX_INPUT_4_VOLUME:
2541 case ARIZONA_DRC2LMIX_INPUT_1_SOURCE:
2542 case ARIZONA_DRC2LMIX_INPUT_1_VOLUME:
2543 case ARIZONA_DRC2LMIX_INPUT_2_SOURCE:
2544 case ARIZONA_DRC2LMIX_INPUT_2_VOLUME:
2545 case ARIZONA_DRC2LMIX_INPUT_3_SOURCE:
2546 case ARIZONA_DRC2LMIX_INPUT_3_VOLUME:
2547 case ARIZONA_DRC2LMIX_INPUT_4_SOURCE:
2548 case ARIZONA_DRC2LMIX_INPUT_4_VOLUME:
2549 case ARIZONA_DRC2RMIX_INPUT_1_SOURCE:
2550 case ARIZONA_DRC2RMIX_INPUT_1_VOLUME:
2551 case ARIZONA_DRC2RMIX_INPUT_2_SOURCE:
2552 case ARIZONA_DRC2RMIX_INPUT_2_VOLUME:
2553 case ARIZONA_DRC2RMIX_INPUT_3_SOURCE:
2554 case ARIZONA_DRC2RMIX_INPUT_3_VOLUME:
2555 case ARIZONA_DRC2RMIX_INPUT_4_SOURCE:
2556 case ARIZONA_DRC2RMIX_INPUT_4_VOLUME:
2557 case ARIZONA_HPLP1MIX_INPUT_1_SOURCE:
2558 case ARIZONA_HPLP1MIX_INPUT_1_VOLUME:
2559 case ARIZONA_HPLP1MIX_INPUT_2_SOURCE:
2560 case ARIZONA_HPLP1MIX_INPUT_2_VOLUME:
2561 case ARIZONA_HPLP1MIX_INPUT_3_SOURCE:
2562 case ARIZONA_HPLP1MIX_INPUT_3_VOLUME:
2563 case ARIZONA_HPLP1MIX_INPUT_4_SOURCE:
2564 case ARIZONA_HPLP1MIX_INPUT_4_VOLUME:
2565 case ARIZONA_HPLP2MIX_INPUT_1_SOURCE:
2566 case ARIZONA_HPLP2MIX_INPUT_1_VOLUME:
2567 case ARIZONA_HPLP2MIX_INPUT_2_SOURCE:
2568 case ARIZONA_HPLP2MIX_INPUT_2_VOLUME:
2569 case ARIZONA_HPLP2MIX_INPUT_3_SOURCE:
2570 case ARIZONA_HPLP2MIX_INPUT_3_VOLUME:
2571 case ARIZONA_HPLP2MIX_INPUT_4_SOURCE:
2572 case ARIZONA_HPLP2MIX_INPUT_4_VOLUME:
2573 case ARIZONA_HPLP3MIX_INPUT_1_SOURCE:
2574 case ARIZONA_HPLP3MIX_INPUT_1_VOLUME:
2575 case ARIZONA_HPLP3MIX_INPUT_2_SOURCE:
2576 case ARIZONA_HPLP3MIX_INPUT_2_VOLUME:
2577 case ARIZONA_HPLP3MIX_INPUT_3_SOURCE:
2578 case ARIZONA_HPLP3MIX_INPUT_3_VOLUME:
2579 case ARIZONA_HPLP3MIX_INPUT_4_SOURCE:
2580 case ARIZONA_HPLP3MIX_INPUT_4_VOLUME:
2581 case ARIZONA_HPLP4MIX_INPUT_1_SOURCE:
2582 case ARIZONA_HPLP4MIX_INPUT_1_VOLUME:
2583 case ARIZONA_HPLP4MIX_INPUT_2_SOURCE:
2584 case ARIZONA_HPLP4MIX_INPUT_2_VOLUME:
2585 case ARIZONA_HPLP4MIX_INPUT_3_SOURCE:
2586 case ARIZONA_HPLP4MIX_INPUT_3_VOLUME:
2587 case ARIZONA_HPLP4MIX_INPUT_4_SOURCE:
2588 case ARIZONA_HPLP4MIX_INPUT_4_VOLUME:
2589 case ARIZONA_DSP1LMIX_INPUT_1_SOURCE:
2590 case ARIZONA_DSP1LMIX_INPUT_1_VOLUME:
2591 case ARIZONA_DSP1LMIX_INPUT_2_SOURCE:
2592 case ARIZONA_DSP1LMIX_INPUT_2_VOLUME:
2593 case ARIZONA_DSP1LMIX_INPUT_3_SOURCE:
2594 case ARIZONA_DSP1LMIX_INPUT_3_VOLUME:
2595 case ARIZONA_DSP1LMIX_INPUT_4_SOURCE:
2596 case ARIZONA_DSP1LMIX_INPUT_4_VOLUME:
2597 case ARIZONA_DSP1RMIX_INPUT_1_SOURCE:
2598 case ARIZONA_DSP1RMIX_INPUT_1_VOLUME:
2599 case ARIZONA_DSP1RMIX_INPUT_2_SOURCE:
2600 case ARIZONA_DSP1RMIX_INPUT_2_VOLUME:
2601 case ARIZONA_DSP1RMIX_INPUT_3_SOURCE:
2602 case ARIZONA_DSP1RMIX_INPUT_3_VOLUME:
2603 case ARIZONA_DSP1RMIX_INPUT_4_SOURCE:
2604 case ARIZONA_DSP1RMIX_INPUT_4_VOLUME:
2605 case ARIZONA_DSP1AUX1MIX_INPUT_1_SOURCE:
2606 case ARIZONA_DSP1AUX2MIX_INPUT_1_SOURCE:
2607 case ARIZONA_DSP1AUX3MIX_INPUT_1_SOURCE:
2608 case ARIZONA_DSP1AUX4MIX_INPUT_1_SOURCE:
2609 case ARIZONA_DSP1AUX5MIX_INPUT_1_SOURCE:
2610 case ARIZONA_DSP1AUX6MIX_INPUT_1_SOURCE:
2611 case ARIZONA_DSP2LMIX_INPUT_1_SOURCE:
2612 case ARIZONA_DSP2LMIX_INPUT_1_VOLUME:
2613 case ARIZONA_DSP2LMIX_INPUT_2_SOURCE:
2614 case ARIZONA_DSP2LMIX_INPUT_2_VOLUME:
2615 case ARIZONA_DSP2LMIX_INPUT_3_SOURCE:
2616 case ARIZONA_DSP2LMIX_INPUT_3_VOLUME:
2617 case ARIZONA_DSP2LMIX_INPUT_4_SOURCE:
2618 case ARIZONA_DSP2LMIX_INPUT_4_VOLUME:
2619 case ARIZONA_DSP2RMIX_INPUT_1_SOURCE:
2620 case ARIZONA_DSP2RMIX_INPUT_1_VOLUME:
2621 case ARIZONA_DSP2RMIX_INPUT_2_SOURCE:
2622 case ARIZONA_DSP2RMIX_INPUT_2_VOLUME:
2623 case ARIZONA_DSP2RMIX_INPUT_3_SOURCE:
2624 case ARIZONA_DSP2RMIX_INPUT_3_VOLUME:
2625 case ARIZONA_DSP2RMIX_INPUT_4_SOURCE:
2626 case ARIZONA_DSP2RMIX_INPUT_4_VOLUME:
2627 case ARIZONA_DSP2AUX1MIX_INPUT_1_SOURCE:
2628 case ARIZONA_DSP2AUX2MIX_INPUT_1_SOURCE:
2629 case ARIZONA_DSP2AUX3MIX_INPUT_1_SOURCE:
2630 case ARIZONA_DSP2AUX4MIX_INPUT_1_SOURCE:
2631 case ARIZONA_DSP2AUX5MIX_INPUT_1_SOURCE:
2632 case ARIZONA_DSP2AUX6MIX_INPUT_1_SOURCE:
2633 case ARIZONA_DSP3LMIX_INPUT_1_SOURCE:
2634 case ARIZONA_DSP3LMIX_INPUT_1_VOLUME:
2635 case ARIZONA_DSP3LMIX_INPUT_2_SOURCE:
2636 case ARIZONA_DSP3LMIX_INPUT_2_VOLUME:
2637 case ARIZONA_DSP3LMIX_INPUT_3_SOURCE:
2638 case ARIZONA_DSP3LMIX_INPUT_3_VOLUME:
2639 case ARIZONA_DSP3LMIX_INPUT_4_SOURCE:
2640 case ARIZONA_DSP3LMIX_INPUT_4_VOLUME:
2641 case ARIZONA_DSP3RMIX_INPUT_1_SOURCE:
2642 case ARIZONA_DSP3RMIX_INPUT_1_VOLUME:
2643 case ARIZONA_DSP3RMIX_INPUT_2_SOURCE:
2644 case ARIZONA_DSP3RMIX_INPUT_2_VOLUME:
2645 case ARIZONA_DSP3RMIX_INPUT_3_SOURCE:
2646 case ARIZONA_DSP3RMIX_INPUT_3_VOLUME:
2647 case ARIZONA_DSP3RMIX_INPUT_4_SOURCE:
2648 case ARIZONA_DSP3RMIX_INPUT_4_VOLUME:
2649 case ARIZONA_DSP3AUX1MIX_INPUT_1_SOURCE:
2650 case ARIZONA_DSP3AUX2MIX_INPUT_1_SOURCE:
2651 case ARIZONA_DSP3AUX3MIX_INPUT_1_SOURCE:
2652 case ARIZONA_DSP3AUX4MIX_INPUT_1_SOURCE:
2653 case ARIZONA_DSP3AUX5MIX_INPUT_1_SOURCE:
2654 case ARIZONA_DSP3AUX6MIX_INPUT_1_SOURCE:
2655 case ARIZONA_DSP4LMIX_INPUT_1_SOURCE:
2656 case ARIZONA_DSP4LMIX_INPUT_1_VOLUME:
2657 case ARIZONA_DSP4LMIX_INPUT_2_SOURCE:
2658 case ARIZONA_DSP4LMIX_INPUT_2_VOLUME:
2659 case ARIZONA_DSP4LMIX_INPUT_3_SOURCE:
2660 case ARIZONA_DSP4LMIX_INPUT_3_VOLUME:
2661 case ARIZONA_DSP4LMIX_INPUT_4_SOURCE:
2662 case ARIZONA_DSP4LMIX_INPUT_4_VOLUME:
2663 case ARIZONA_DSP4RMIX_INPUT_1_SOURCE:
2664 case ARIZONA_DSP4RMIX_INPUT_1_VOLUME:
2665 case ARIZONA_DSP4RMIX_INPUT_2_SOURCE:
2666 case ARIZONA_DSP4RMIX_INPUT_2_VOLUME:
2667 case ARIZONA_DSP4RMIX_INPUT_3_SOURCE:
2668 case ARIZONA_DSP4RMIX_INPUT_3_VOLUME:
2669 case ARIZONA_DSP4RMIX_INPUT_4_SOURCE:
2670 case ARIZONA_DSP4RMIX_INPUT_4_VOLUME:
2671 case ARIZONA_DSP4AUX1MIX_INPUT_1_SOURCE:
2672 case ARIZONA_DSP4AUX2MIX_INPUT_1_SOURCE:
2673 case ARIZONA_DSP4AUX3MIX_INPUT_1_SOURCE:
2674 case ARIZONA_DSP4AUX4MIX_INPUT_1_SOURCE:
2675 case ARIZONA_DSP4AUX5MIX_INPUT_1_SOURCE:
2676 case ARIZONA_DSP4AUX6MIX_INPUT_1_SOURCE:
2677 case ARIZONA_ASRC1LMIX_INPUT_1_SOURCE:
2678 case ARIZONA_ASRC1RMIX_INPUT_1_SOURCE:
2679 case ARIZONA_ASRC2LMIX_INPUT_1_SOURCE:
2680 case ARIZONA_ASRC2RMIX_INPUT_1_SOURCE:
2681 case ARIZONA_ISRC1DEC1MIX_INPUT_1_SOURCE:
2682 case ARIZONA_ISRC1DEC2MIX_INPUT_1_SOURCE:
2683 case ARIZONA_ISRC1DEC3MIX_INPUT_1_SOURCE:
2684 case ARIZONA_ISRC1DEC4MIX_INPUT_1_SOURCE:
2685 case ARIZONA_ISRC1INT1MIX_INPUT_1_SOURCE:
2686 case ARIZONA_ISRC1INT2MIX_INPUT_1_SOURCE:
2687 case ARIZONA_ISRC1INT3MIX_INPUT_1_SOURCE:
2688 case ARIZONA_ISRC1INT4MIX_INPUT_1_SOURCE:
2689 case ARIZONA_ISRC2DEC1MIX_INPUT_1_SOURCE:
2690 case ARIZONA_ISRC2DEC2MIX_INPUT_1_SOURCE:
2691 case ARIZONA_ISRC2DEC3MIX_INPUT_1_SOURCE:
2692 case ARIZONA_ISRC2DEC4MIX_INPUT_1_SOURCE:
2693 case ARIZONA_ISRC2INT1MIX_INPUT_1_SOURCE:
2694 case ARIZONA_ISRC2INT2MIX_INPUT_1_SOURCE:
2695 case ARIZONA_ISRC2INT3MIX_INPUT_1_SOURCE:
2696 case ARIZONA_ISRC2INT4MIX_INPUT_1_SOURCE:
2697 case ARIZONA_ISRC3DEC1MIX_INPUT_1_SOURCE:
2698 case ARIZONA_ISRC3DEC2MIX_INPUT_1_SOURCE:
2699 case ARIZONA_ISRC3DEC3MIX_INPUT_1_SOURCE:
2700 case ARIZONA_ISRC3DEC4MIX_INPUT_1_SOURCE:
2701 case ARIZONA_ISRC3INT1MIX_INPUT_1_SOURCE:
2702 case ARIZONA_ISRC3INT2MIX_INPUT_1_SOURCE:
2703 case ARIZONA_ISRC3INT3MIX_INPUT_1_SOURCE:
2704 case ARIZONA_ISRC3INT4MIX_INPUT_1_SOURCE:
2705 case ARIZONA_GPIO1_CTRL:
2706 case ARIZONA_GPIO2_CTRL:
2707 case ARIZONA_GPIO3_CTRL:
2708 case ARIZONA_GPIO4_CTRL:
2709 case ARIZONA_GPIO5_CTRL:
2710 case ARIZONA_IRQ_CTRL_1:
2711 case ARIZONA_GPIO_DEBOUNCE_CONFIG:
Charles Keepax1ce37682015-09-16 10:42:14 +01002712 case ARIZONA_GP_SWITCH_1:
Mark Brown9cd9e282012-07-10 12:37:57 +01002713 case ARIZONA_MISC_PAD_CTRL_1:
2714 case ARIZONA_MISC_PAD_CTRL_2:
2715 case ARIZONA_MISC_PAD_CTRL_3:
2716 case ARIZONA_MISC_PAD_CTRL_4:
2717 case ARIZONA_MISC_PAD_CTRL_5:
2718 case ARIZONA_MISC_PAD_CTRL_6:
2719 case ARIZONA_MISC_PAD_CTRL_7:
2720 case ARIZONA_MISC_PAD_CTRL_8:
2721 case ARIZONA_MISC_PAD_CTRL_9:
2722 case ARIZONA_MISC_PAD_CTRL_10:
2723 case ARIZONA_MISC_PAD_CTRL_11:
2724 case ARIZONA_MISC_PAD_CTRL_12:
2725 case ARIZONA_MISC_PAD_CTRL_13:
2726 case ARIZONA_MISC_PAD_CTRL_14:
2727 case ARIZONA_MISC_PAD_CTRL_15:
2728 case ARIZONA_MISC_PAD_CTRL_16:
2729 case ARIZONA_MISC_PAD_CTRL_17:
2730 case ARIZONA_MISC_PAD_CTRL_18:
2731 case ARIZONA_INTERRUPT_STATUS_1:
2732 case ARIZONA_INTERRUPT_STATUS_2:
2733 case ARIZONA_INTERRUPT_STATUS_3:
2734 case ARIZONA_INTERRUPT_STATUS_4:
2735 case ARIZONA_INTERRUPT_STATUS_5:
Charles Keepax32155012014-07-15 11:21:48 +01002736 case ARIZONA_INTERRUPT_STATUS_6:
Mark Brown9cd9e282012-07-10 12:37:57 +01002737 case ARIZONA_INTERRUPT_STATUS_1_MASK:
2738 case ARIZONA_INTERRUPT_STATUS_2_MASK:
2739 case ARIZONA_INTERRUPT_STATUS_3_MASK:
2740 case ARIZONA_INTERRUPT_STATUS_4_MASK:
2741 case ARIZONA_INTERRUPT_STATUS_5_MASK:
Charles Keepax32155012014-07-15 11:21:48 +01002742 case ARIZONA_INTERRUPT_STATUS_6_MASK:
Mark Brown9cd9e282012-07-10 12:37:57 +01002743 case ARIZONA_INTERRUPT_CONTROL:
2744 case ARIZONA_IRQ2_STATUS_1:
2745 case ARIZONA_IRQ2_STATUS_2:
2746 case ARIZONA_IRQ2_STATUS_3:
2747 case ARIZONA_IRQ2_STATUS_4:
2748 case ARIZONA_IRQ2_STATUS_5:
Charles Keepax32155012014-07-15 11:21:48 +01002749 case ARIZONA_IRQ2_STATUS_6:
Mark Brown9cd9e282012-07-10 12:37:57 +01002750 case ARIZONA_IRQ2_STATUS_1_MASK:
2751 case ARIZONA_IRQ2_STATUS_2_MASK:
2752 case ARIZONA_IRQ2_STATUS_3_MASK:
2753 case ARIZONA_IRQ2_STATUS_4_MASK:
2754 case ARIZONA_IRQ2_STATUS_5_MASK:
Charles Keepax32155012014-07-15 11:21:48 +01002755 case ARIZONA_IRQ2_STATUS_6_MASK:
Mark Brown9cd9e282012-07-10 12:37:57 +01002756 case ARIZONA_IRQ2_CONTROL:
2757 case ARIZONA_INTERRUPT_RAW_STATUS_2:
2758 case ARIZONA_INTERRUPT_RAW_STATUS_3:
2759 case ARIZONA_INTERRUPT_RAW_STATUS_4:
2760 case ARIZONA_INTERRUPT_RAW_STATUS_5:
2761 case ARIZONA_INTERRUPT_RAW_STATUS_6:
2762 case ARIZONA_INTERRUPT_RAW_STATUS_7:
2763 case ARIZONA_INTERRUPT_RAW_STATUS_8:
Charles Keepax32155012014-07-15 11:21:48 +01002764 case ARIZONA_INTERRUPT_RAW_STATUS_9:
Mark Brown9cd9e282012-07-10 12:37:57 +01002765 case ARIZONA_IRQ_PIN_STATUS:
2766 case ARIZONA_AOD_WKUP_AND_TRIG:
2767 case ARIZONA_AOD_IRQ1:
2768 case ARIZONA_AOD_IRQ2:
2769 case ARIZONA_AOD_IRQ_MASK_IRQ1:
2770 case ARIZONA_AOD_IRQ_MASK_IRQ2:
2771 case ARIZONA_AOD_IRQ_RAW_STATUS:
2772 case ARIZONA_JACK_DETECT_DEBOUNCE:
2773 case ARIZONA_FX_CTRL1:
2774 case ARIZONA_FX_CTRL2:
2775 case ARIZONA_EQ1_1:
2776 case ARIZONA_EQ1_2:
2777 case ARIZONA_EQ1_3:
2778 case ARIZONA_EQ1_4:
2779 case ARIZONA_EQ1_5:
2780 case ARIZONA_EQ1_6:
2781 case ARIZONA_EQ1_7:
2782 case ARIZONA_EQ1_8:
2783 case ARIZONA_EQ1_9:
2784 case ARIZONA_EQ1_10:
2785 case ARIZONA_EQ1_11:
2786 case ARIZONA_EQ1_12:
2787 case ARIZONA_EQ1_13:
2788 case ARIZONA_EQ1_14:
2789 case ARIZONA_EQ1_15:
2790 case ARIZONA_EQ1_16:
2791 case ARIZONA_EQ1_17:
2792 case ARIZONA_EQ1_18:
2793 case ARIZONA_EQ1_19:
2794 case ARIZONA_EQ1_20:
2795 case ARIZONA_EQ1_21:
2796 case ARIZONA_EQ2_1:
2797 case ARIZONA_EQ2_2:
2798 case ARIZONA_EQ2_3:
2799 case ARIZONA_EQ2_4:
2800 case ARIZONA_EQ2_5:
2801 case ARIZONA_EQ2_6:
2802 case ARIZONA_EQ2_7:
2803 case ARIZONA_EQ2_8:
2804 case ARIZONA_EQ2_9:
2805 case ARIZONA_EQ2_10:
2806 case ARIZONA_EQ2_11:
2807 case ARIZONA_EQ2_12:
2808 case ARIZONA_EQ2_13:
2809 case ARIZONA_EQ2_14:
2810 case ARIZONA_EQ2_15:
2811 case ARIZONA_EQ2_16:
2812 case ARIZONA_EQ2_17:
2813 case ARIZONA_EQ2_18:
2814 case ARIZONA_EQ2_19:
2815 case ARIZONA_EQ2_20:
2816 case ARIZONA_EQ2_21:
2817 case ARIZONA_EQ3_1:
2818 case ARIZONA_EQ3_2:
2819 case ARIZONA_EQ3_3:
2820 case ARIZONA_EQ3_4:
2821 case ARIZONA_EQ3_5:
2822 case ARIZONA_EQ3_6:
2823 case ARIZONA_EQ3_7:
2824 case ARIZONA_EQ3_8:
2825 case ARIZONA_EQ3_9:
2826 case ARIZONA_EQ3_10:
2827 case ARIZONA_EQ3_11:
2828 case ARIZONA_EQ3_12:
2829 case ARIZONA_EQ3_13:
2830 case ARIZONA_EQ3_14:
2831 case ARIZONA_EQ3_15:
2832 case ARIZONA_EQ3_16:
2833 case ARIZONA_EQ3_17:
2834 case ARIZONA_EQ3_18:
2835 case ARIZONA_EQ3_19:
2836 case ARIZONA_EQ3_20:
2837 case ARIZONA_EQ3_21:
2838 case ARIZONA_EQ4_1:
2839 case ARIZONA_EQ4_2:
2840 case ARIZONA_EQ4_3:
2841 case ARIZONA_EQ4_4:
2842 case ARIZONA_EQ4_5:
2843 case ARIZONA_EQ4_6:
2844 case ARIZONA_EQ4_7:
2845 case ARIZONA_EQ4_8:
2846 case ARIZONA_EQ4_9:
2847 case ARIZONA_EQ4_10:
2848 case ARIZONA_EQ4_11:
2849 case ARIZONA_EQ4_12:
2850 case ARIZONA_EQ4_13:
2851 case ARIZONA_EQ4_14:
2852 case ARIZONA_EQ4_15:
2853 case ARIZONA_EQ4_16:
2854 case ARIZONA_EQ4_17:
2855 case ARIZONA_EQ4_18:
2856 case ARIZONA_EQ4_19:
2857 case ARIZONA_EQ4_20:
2858 case ARIZONA_EQ4_21:
2859 case ARIZONA_DRC1_CTRL1:
2860 case ARIZONA_DRC1_CTRL2:
2861 case ARIZONA_DRC1_CTRL3:
2862 case ARIZONA_DRC1_CTRL4:
2863 case ARIZONA_DRC1_CTRL5:
2864 case ARIZONA_DRC2_CTRL1:
2865 case ARIZONA_DRC2_CTRL2:
2866 case ARIZONA_DRC2_CTRL3:
2867 case ARIZONA_DRC2_CTRL4:
2868 case ARIZONA_DRC2_CTRL5:
2869 case ARIZONA_HPLPF1_1:
2870 case ARIZONA_HPLPF1_2:
2871 case ARIZONA_HPLPF2_1:
2872 case ARIZONA_HPLPF2_2:
2873 case ARIZONA_HPLPF3_1:
2874 case ARIZONA_HPLPF3_2:
2875 case ARIZONA_HPLPF4_1:
2876 case ARIZONA_HPLPF4_2:
2877 case ARIZONA_ASRC_ENABLE:
2878 case ARIZONA_ASRC_STATUS:
2879 case ARIZONA_ASRC_RATE1:
2880 case ARIZONA_ISRC_1_CTRL_1:
2881 case ARIZONA_ISRC_1_CTRL_2:
2882 case ARIZONA_ISRC_1_CTRL_3:
2883 case ARIZONA_ISRC_2_CTRL_1:
2884 case ARIZONA_ISRC_2_CTRL_2:
2885 case ARIZONA_ISRC_2_CTRL_3:
2886 case ARIZONA_ISRC_3_CTRL_1:
2887 case ARIZONA_ISRC_3_CTRL_2:
2888 case ARIZONA_ISRC_3_CTRL_3:
2889 case ARIZONA_CLOCK_CONTROL:
2890 case ARIZONA_ANC_SRC:
2891 case ARIZONA_DSP_STATUS:
Charles Keepax9111fa52015-09-09 09:49:22 +01002892 case ARIZONA_ANC_COEFF_START ... ARIZONA_ANC_COEFF_END:
2893 case ARIZONA_FCL_FILTER_CONTROL:
2894 case ARIZONA_FCL_ADC_REFORMATTER_CONTROL:
2895 case ARIZONA_FCL_COEFF_START ... ARIZONA_FCL_COEFF_END:
2896 case ARIZONA_FCR_FILTER_CONTROL:
2897 case ARIZONA_FCR_ADC_REFORMATTER_CONTROL:
2898 case ARIZONA_FCR_COEFF_START ... ARIZONA_FCR_COEFF_END:
Mark Brown9cd9e282012-07-10 12:37:57 +01002899 case ARIZONA_DSP1_CONTROL_1:
2900 case ARIZONA_DSP1_CLOCKING_1:
2901 case ARIZONA_DSP1_STATUS_1:
2902 case ARIZONA_DSP1_STATUS_2:
Mark Browne5657052013-05-22 18:55:25 -05002903 case ARIZONA_DSP1_STATUS_3:
Charles Keepax47ec66a2014-01-22 13:04:24 +00002904 case ARIZONA_DSP1_STATUS_4:
2905 case ARIZONA_DSP1_WDMA_BUFFER_1:
2906 case ARIZONA_DSP1_WDMA_BUFFER_2:
2907 case ARIZONA_DSP1_WDMA_BUFFER_3:
2908 case ARIZONA_DSP1_WDMA_BUFFER_4:
2909 case ARIZONA_DSP1_WDMA_BUFFER_5:
2910 case ARIZONA_DSP1_WDMA_BUFFER_6:
2911 case ARIZONA_DSP1_WDMA_BUFFER_7:
2912 case ARIZONA_DSP1_WDMA_BUFFER_8:
2913 case ARIZONA_DSP1_RDMA_BUFFER_1:
2914 case ARIZONA_DSP1_RDMA_BUFFER_2:
2915 case ARIZONA_DSP1_RDMA_BUFFER_3:
2916 case ARIZONA_DSP1_RDMA_BUFFER_4:
2917 case ARIZONA_DSP1_RDMA_BUFFER_5:
2918 case ARIZONA_DSP1_RDMA_BUFFER_6:
2919 case ARIZONA_DSP1_WDMA_CONFIG_1:
2920 case ARIZONA_DSP1_WDMA_CONFIG_2:
2921 case ARIZONA_DSP1_WDMA_OFFSET_1:
2922 case ARIZONA_DSP1_RDMA_CONFIG_1:
2923 case ARIZONA_DSP1_RDMA_OFFSET_1:
2924 case ARIZONA_DSP1_EXTERNAL_START_SELECT_1:
Charles Keepax98755552013-09-17 15:23:04 +01002925 case ARIZONA_DSP1_SCRATCH_0:
2926 case ARIZONA_DSP1_SCRATCH_1:
2927 case ARIZONA_DSP1_SCRATCH_2:
2928 case ARIZONA_DSP1_SCRATCH_3:
Mark Brown9cd9e282012-07-10 12:37:57 +01002929 case ARIZONA_DSP2_CONTROL_1:
2930 case ARIZONA_DSP2_CLOCKING_1:
2931 case ARIZONA_DSP2_STATUS_1:
2932 case ARIZONA_DSP2_STATUS_2:
Mark Browne5657052013-05-22 18:55:25 -05002933 case ARIZONA_DSP2_STATUS_3:
Charles Keepax47ec66a2014-01-22 13:04:24 +00002934 case ARIZONA_DSP2_STATUS_4:
2935 case ARIZONA_DSP2_WDMA_BUFFER_1:
2936 case ARIZONA_DSP2_WDMA_BUFFER_2:
2937 case ARIZONA_DSP2_WDMA_BUFFER_3:
2938 case ARIZONA_DSP2_WDMA_BUFFER_4:
2939 case ARIZONA_DSP2_WDMA_BUFFER_5:
2940 case ARIZONA_DSP2_WDMA_BUFFER_6:
2941 case ARIZONA_DSP2_WDMA_BUFFER_7:
2942 case ARIZONA_DSP2_WDMA_BUFFER_8:
2943 case ARIZONA_DSP2_RDMA_BUFFER_1:
2944 case ARIZONA_DSP2_RDMA_BUFFER_2:
2945 case ARIZONA_DSP2_RDMA_BUFFER_3:
2946 case ARIZONA_DSP2_RDMA_BUFFER_4:
2947 case ARIZONA_DSP2_RDMA_BUFFER_5:
2948 case ARIZONA_DSP2_RDMA_BUFFER_6:
2949 case ARIZONA_DSP2_WDMA_CONFIG_1:
2950 case ARIZONA_DSP2_WDMA_CONFIG_2:
2951 case ARIZONA_DSP2_WDMA_OFFSET_1:
2952 case ARIZONA_DSP2_RDMA_CONFIG_1:
2953 case ARIZONA_DSP2_RDMA_OFFSET_1:
2954 case ARIZONA_DSP2_EXTERNAL_START_SELECT_1:
Charles Keepax98755552013-09-17 15:23:04 +01002955 case ARIZONA_DSP2_SCRATCH_0:
2956 case ARIZONA_DSP2_SCRATCH_1:
2957 case ARIZONA_DSP2_SCRATCH_2:
2958 case ARIZONA_DSP2_SCRATCH_3:
Mark Brown9cd9e282012-07-10 12:37:57 +01002959 case ARIZONA_DSP3_CONTROL_1:
2960 case ARIZONA_DSP3_CLOCKING_1:
2961 case ARIZONA_DSP3_STATUS_1:
2962 case ARIZONA_DSP3_STATUS_2:
Mark Browne5657052013-05-22 18:55:25 -05002963 case ARIZONA_DSP3_STATUS_3:
Charles Keepax47ec66a2014-01-22 13:04:24 +00002964 case ARIZONA_DSP3_STATUS_4:
2965 case ARIZONA_DSP3_WDMA_BUFFER_1:
2966 case ARIZONA_DSP3_WDMA_BUFFER_2:
2967 case ARIZONA_DSP3_WDMA_BUFFER_3:
2968 case ARIZONA_DSP3_WDMA_BUFFER_4:
2969 case ARIZONA_DSP3_WDMA_BUFFER_5:
2970 case ARIZONA_DSP3_WDMA_BUFFER_6:
2971 case ARIZONA_DSP3_WDMA_BUFFER_7:
2972 case ARIZONA_DSP3_WDMA_BUFFER_8:
2973 case ARIZONA_DSP3_RDMA_BUFFER_1:
2974 case ARIZONA_DSP3_RDMA_BUFFER_2:
2975 case ARIZONA_DSP3_RDMA_BUFFER_3:
2976 case ARIZONA_DSP3_RDMA_BUFFER_4:
2977 case ARIZONA_DSP3_RDMA_BUFFER_5:
2978 case ARIZONA_DSP3_RDMA_BUFFER_6:
2979 case ARIZONA_DSP3_WDMA_CONFIG_1:
2980 case ARIZONA_DSP3_WDMA_CONFIG_2:
2981 case ARIZONA_DSP3_WDMA_OFFSET_1:
2982 case ARIZONA_DSP3_RDMA_CONFIG_1:
2983 case ARIZONA_DSP3_RDMA_OFFSET_1:
2984 case ARIZONA_DSP3_EXTERNAL_START_SELECT_1:
Charles Keepax98755552013-09-17 15:23:04 +01002985 case ARIZONA_DSP3_SCRATCH_0:
2986 case ARIZONA_DSP3_SCRATCH_1:
2987 case ARIZONA_DSP3_SCRATCH_2:
2988 case ARIZONA_DSP3_SCRATCH_3:
Mark Brown9cd9e282012-07-10 12:37:57 +01002989 case ARIZONA_DSP4_CONTROL_1:
2990 case ARIZONA_DSP4_CLOCKING_1:
2991 case ARIZONA_DSP4_STATUS_1:
2992 case ARIZONA_DSP4_STATUS_2:
Mark Browne5657052013-05-22 18:55:25 -05002993 case ARIZONA_DSP4_STATUS_3:
Charles Keepax47ec66a2014-01-22 13:04:24 +00002994 case ARIZONA_DSP4_STATUS_4:
2995 case ARIZONA_DSP4_WDMA_BUFFER_1:
2996 case ARIZONA_DSP4_WDMA_BUFFER_2:
2997 case ARIZONA_DSP4_WDMA_BUFFER_3:
2998 case ARIZONA_DSP4_WDMA_BUFFER_4:
2999 case ARIZONA_DSP4_WDMA_BUFFER_5:
3000 case ARIZONA_DSP4_WDMA_BUFFER_6:
3001 case ARIZONA_DSP4_WDMA_BUFFER_7:
3002 case ARIZONA_DSP4_WDMA_BUFFER_8:
3003 case ARIZONA_DSP4_RDMA_BUFFER_1:
3004 case ARIZONA_DSP4_RDMA_BUFFER_2:
3005 case ARIZONA_DSP4_RDMA_BUFFER_3:
3006 case ARIZONA_DSP4_RDMA_BUFFER_4:
3007 case ARIZONA_DSP4_RDMA_BUFFER_5:
3008 case ARIZONA_DSP4_RDMA_BUFFER_6:
3009 case ARIZONA_DSP4_WDMA_CONFIG_1:
3010 case ARIZONA_DSP4_WDMA_CONFIG_2:
3011 case ARIZONA_DSP4_WDMA_OFFSET_1:
3012 case ARIZONA_DSP4_RDMA_CONFIG_1:
3013 case ARIZONA_DSP4_RDMA_OFFSET_1:
3014 case ARIZONA_DSP4_EXTERNAL_START_SELECT_1:
Charles Keepax98755552013-09-17 15:23:04 +01003015 case ARIZONA_DSP4_SCRATCH_0:
3016 case ARIZONA_DSP4_SCRATCH_1:
3017 case ARIZONA_DSP4_SCRATCH_2:
3018 case ARIZONA_DSP4_SCRATCH_3:
Mark Brown9cd9e282012-07-10 12:37:57 +01003019 return true;
3020 default:
Charles Keepaxc50aa442013-11-19 16:04:00 +00003021 return wm5110_is_adsp_memory(dev, reg);
Mark Brown9cd9e282012-07-10 12:37:57 +01003022 }
3023}
3024
3025static bool wm5110_volatile_register(struct device *dev, unsigned int reg)
3026{
3027 switch (reg) {
3028 case ARIZONA_SOFTWARE_RESET:
3029 case ARIZONA_DEVICE_REVISION:
Charles Keepaxe569d932014-08-13 11:42:47 +01003030 case ARIZONA_WRITE_SEQUENCER_CTRL_0:
3031 case ARIZONA_WRITE_SEQUENCER_CTRL_1:
3032 case ARIZONA_WRITE_SEQUENCER_CTRL_2:
Mark Brown9cd9e282012-07-10 12:37:57 +01003033 case ARIZONA_HAPTICS_STATUS:
3034 case ARIZONA_SAMPLE_RATE_1_STATUS:
3035 case ARIZONA_SAMPLE_RATE_2_STATUS:
3036 case ARIZONA_SAMPLE_RATE_3_STATUS:
3037 case ARIZONA_ASYNC_SAMPLE_RATE_1_STATUS:
Charles Keepaxc24084d2014-09-01 15:48:52 +01003038 case ARIZONA_ASYNC_SAMPLE_RATE_2_STATUS:
Mark Brown9cd9e282012-07-10 12:37:57 +01003039 case ARIZONA_MIC_DETECT_3:
Charles Keepaxe76e3972015-09-16 10:42:13 +01003040 case ARIZONA_MIC_DETECT_4:
Charles Keepax47958c52014-11-04 15:24:36 +00003041 case ARIZONA_HP_CTRL_1L:
3042 case ARIZONA_HP_CTRL_1R:
Mark Brown9cd9e282012-07-10 12:37:57 +01003043 case ARIZONA_HEADPHONE_DETECT_2:
3044 case ARIZONA_INPUT_ENABLES_STATUS:
3045 case ARIZONA_OUTPUT_STATUS_1:
3046 case ARIZONA_RAW_OUTPUT_STATUS_1:
Charles Keepaxb8ba9ed2015-09-16 10:42:15 +01003047 case ARIZONA_HP_TEST_CTRL_1:
Mark Brown9cd9e282012-07-10 12:37:57 +01003048 case ARIZONA_SLIMBUS_RX_PORT_STATUS:
3049 case ARIZONA_SLIMBUS_TX_PORT_STATUS:
3050 case ARIZONA_INTERRUPT_STATUS_1:
3051 case ARIZONA_INTERRUPT_STATUS_2:
3052 case ARIZONA_INTERRUPT_STATUS_3:
3053 case ARIZONA_INTERRUPT_STATUS_4:
3054 case ARIZONA_INTERRUPT_STATUS_5:
Charles Keepax32155012014-07-15 11:21:48 +01003055 case ARIZONA_INTERRUPT_STATUS_6:
Mark Brown9cd9e282012-07-10 12:37:57 +01003056 case ARIZONA_IRQ2_STATUS_1:
3057 case ARIZONA_IRQ2_STATUS_2:
3058 case ARIZONA_IRQ2_STATUS_3:
3059 case ARIZONA_IRQ2_STATUS_4:
3060 case ARIZONA_IRQ2_STATUS_5:
Charles Keepax32155012014-07-15 11:21:48 +01003061 case ARIZONA_IRQ2_STATUS_6:
Mark Brown9cd9e282012-07-10 12:37:57 +01003062 case ARIZONA_INTERRUPT_RAW_STATUS_2:
3063 case ARIZONA_INTERRUPT_RAW_STATUS_3:
3064 case ARIZONA_INTERRUPT_RAW_STATUS_4:
3065 case ARIZONA_INTERRUPT_RAW_STATUS_5:
3066 case ARIZONA_INTERRUPT_RAW_STATUS_6:
3067 case ARIZONA_INTERRUPT_RAW_STATUS_7:
3068 case ARIZONA_INTERRUPT_RAW_STATUS_8:
Charles Keepax32155012014-07-15 11:21:48 +01003069 case ARIZONA_INTERRUPT_RAW_STATUS_9:
Mark Brown9cd9e282012-07-10 12:37:57 +01003070 case ARIZONA_IRQ_PIN_STATUS:
Charles Keepax2212e682013-10-14 09:09:00 +01003071 case ARIZONA_AOD_WKUP_AND_TRIG:
Mark Brown9cd9e282012-07-10 12:37:57 +01003072 case ARIZONA_AOD_IRQ1:
3073 case ARIZONA_AOD_IRQ2:
Charles Keepax2212e682013-10-14 09:09:00 +01003074 case ARIZONA_AOD_IRQ_RAW_STATUS:
Charles Keepax44955ab2013-08-06 16:42:30 +01003075 case ARIZONA_FX_CTRL2:
Mark Brown9cd9e282012-07-10 12:37:57 +01003076 case ARIZONA_ASRC_STATUS:
3077 case ARIZONA_DSP_STATUS:
Mark Brown9cd9e282012-07-10 12:37:57 +01003078 case ARIZONA_DSP1_STATUS_1:
3079 case ARIZONA_DSP1_STATUS_2:
Mark Browne5657052013-05-22 18:55:25 -05003080 case ARIZONA_DSP1_STATUS_3:
Charles Keepax47ec66a2014-01-22 13:04:24 +00003081 case ARIZONA_DSP1_STATUS_4:
3082 case ARIZONA_DSP1_WDMA_BUFFER_1:
3083 case ARIZONA_DSP1_WDMA_BUFFER_2:
3084 case ARIZONA_DSP1_WDMA_BUFFER_3:
3085 case ARIZONA_DSP1_WDMA_BUFFER_4:
3086 case ARIZONA_DSP1_WDMA_BUFFER_5:
3087 case ARIZONA_DSP1_WDMA_BUFFER_6:
3088 case ARIZONA_DSP1_WDMA_BUFFER_7:
3089 case ARIZONA_DSP1_WDMA_BUFFER_8:
3090 case ARIZONA_DSP1_RDMA_BUFFER_1:
3091 case ARIZONA_DSP1_RDMA_BUFFER_2:
3092 case ARIZONA_DSP1_RDMA_BUFFER_3:
3093 case ARIZONA_DSP1_RDMA_BUFFER_4:
3094 case ARIZONA_DSP1_RDMA_BUFFER_5:
3095 case ARIZONA_DSP1_RDMA_BUFFER_6:
3096 case ARIZONA_DSP1_WDMA_CONFIG_1:
3097 case ARIZONA_DSP1_WDMA_CONFIG_2:
3098 case ARIZONA_DSP1_WDMA_OFFSET_1:
3099 case ARIZONA_DSP1_RDMA_CONFIG_1:
3100 case ARIZONA_DSP1_RDMA_OFFSET_1:
3101 case ARIZONA_DSP1_EXTERNAL_START_SELECT_1:
Charles Keepax98755552013-09-17 15:23:04 +01003102 case ARIZONA_DSP1_SCRATCH_0:
3103 case ARIZONA_DSP1_SCRATCH_1:
3104 case ARIZONA_DSP1_SCRATCH_2:
3105 case ARIZONA_DSP1_SCRATCH_3:
Charles Keepaxa0eae332014-03-20 16:49:24 +00003106 case ARIZONA_DSP1_CLOCKING_1:
Mark Brown9cd9e282012-07-10 12:37:57 +01003107 case ARIZONA_DSP2_STATUS_1:
3108 case ARIZONA_DSP2_STATUS_2:
Mark Browne5657052013-05-22 18:55:25 -05003109 case ARIZONA_DSP2_STATUS_3:
Charles Keepax47ec66a2014-01-22 13:04:24 +00003110 case ARIZONA_DSP2_STATUS_4:
3111 case ARIZONA_DSP2_WDMA_BUFFER_1:
3112 case ARIZONA_DSP2_WDMA_BUFFER_2:
3113 case ARIZONA_DSP2_WDMA_BUFFER_3:
3114 case ARIZONA_DSP2_WDMA_BUFFER_4:
3115 case ARIZONA_DSP2_WDMA_BUFFER_5:
3116 case ARIZONA_DSP2_WDMA_BUFFER_6:
3117 case ARIZONA_DSP2_WDMA_BUFFER_7:
3118 case ARIZONA_DSP2_WDMA_BUFFER_8:
3119 case ARIZONA_DSP2_RDMA_BUFFER_1:
3120 case ARIZONA_DSP2_RDMA_BUFFER_2:
3121 case ARIZONA_DSP2_RDMA_BUFFER_3:
3122 case ARIZONA_DSP2_RDMA_BUFFER_4:
3123 case ARIZONA_DSP2_RDMA_BUFFER_5:
3124 case ARIZONA_DSP2_RDMA_BUFFER_6:
3125 case ARIZONA_DSP2_WDMA_CONFIG_1:
3126 case ARIZONA_DSP2_WDMA_CONFIG_2:
3127 case ARIZONA_DSP2_WDMA_OFFSET_1:
3128 case ARIZONA_DSP2_RDMA_CONFIG_1:
3129 case ARIZONA_DSP2_RDMA_OFFSET_1:
3130 case ARIZONA_DSP2_EXTERNAL_START_SELECT_1:
Charles Keepax98755552013-09-17 15:23:04 +01003131 case ARIZONA_DSP2_SCRATCH_0:
3132 case ARIZONA_DSP2_SCRATCH_1:
3133 case ARIZONA_DSP2_SCRATCH_2:
3134 case ARIZONA_DSP2_SCRATCH_3:
Charles Keepaxa0eae332014-03-20 16:49:24 +00003135 case ARIZONA_DSP2_CLOCKING_1:
Mark Brown9cd9e282012-07-10 12:37:57 +01003136 case ARIZONA_DSP3_STATUS_1:
3137 case ARIZONA_DSP3_STATUS_2:
Mark Browne5657052013-05-22 18:55:25 -05003138 case ARIZONA_DSP3_STATUS_3:
Charles Keepax47ec66a2014-01-22 13:04:24 +00003139 case ARIZONA_DSP3_STATUS_4:
3140 case ARIZONA_DSP3_WDMA_BUFFER_1:
3141 case ARIZONA_DSP3_WDMA_BUFFER_2:
3142 case ARIZONA_DSP3_WDMA_BUFFER_3:
3143 case ARIZONA_DSP3_WDMA_BUFFER_4:
3144 case ARIZONA_DSP3_WDMA_BUFFER_5:
3145 case ARIZONA_DSP3_WDMA_BUFFER_6:
3146 case ARIZONA_DSP3_WDMA_BUFFER_7:
3147 case ARIZONA_DSP3_WDMA_BUFFER_8:
3148 case ARIZONA_DSP3_RDMA_BUFFER_1:
3149 case ARIZONA_DSP3_RDMA_BUFFER_2:
3150 case ARIZONA_DSP3_RDMA_BUFFER_3:
3151 case ARIZONA_DSP3_RDMA_BUFFER_4:
3152 case ARIZONA_DSP3_RDMA_BUFFER_5:
3153 case ARIZONA_DSP3_RDMA_BUFFER_6:
3154 case ARIZONA_DSP3_WDMA_CONFIG_1:
3155 case ARIZONA_DSP3_WDMA_CONFIG_2:
3156 case ARIZONA_DSP3_WDMA_OFFSET_1:
3157 case ARIZONA_DSP3_RDMA_CONFIG_1:
3158 case ARIZONA_DSP3_RDMA_OFFSET_1:
3159 case ARIZONA_DSP3_EXTERNAL_START_SELECT_1:
Charles Keepax98755552013-09-17 15:23:04 +01003160 case ARIZONA_DSP3_SCRATCH_0:
3161 case ARIZONA_DSP3_SCRATCH_1:
3162 case ARIZONA_DSP3_SCRATCH_2:
3163 case ARIZONA_DSP3_SCRATCH_3:
Charles Keepaxa0eae332014-03-20 16:49:24 +00003164 case ARIZONA_DSP3_CLOCKING_1:
Mark Brown9cd9e282012-07-10 12:37:57 +01003165 case ARIZONA_DSP4_STATUS_1:
3166 case ARIZONA_DSP4_STATUS_2:
Mark Browne5657052013-05-22 18:55:25 -05003167 case ARIZONA_DSP4_STATUS_3:
Charles Keepax47ec66a2014-01-22 13:04:24 +00003168 case ARIZONA_DSP4_STATUS_4:
3169 case ARIZONA_DSP4_WDMA_BUFFER_1:
3170 case ARIZONA_DSP4_WDMA_BUFFER_2:
3171 case ARIZONA_DSP4_WDMA_BUFFER_3:
3172 case ARIZONA_DSP4_WDMA_BUFFER_4:
3173 case ARIZONA_DSP4_WDMA_BUFFER_5:
3174 case ARIZONA_DSP4_WDMA_BUFFER_6:
3175 case ARIZONA_DSP4_WDMA_BUFFER_7:
3176 case ARIZONA_DSP4_WDMA_BUFFER_8:
3177 case ARIZONA_DSP4_RDMA_BUFFER_1:
3178 case ARIZONA_DSP4_RDMA_BUFFER_2:
3179 case ARIZONA_DSP4_RDMA_BUFFER_3:
3180 case ARIZONA_DSP4_RDMA_BUFFER_4:
3181 case ARIZONA_DSP4_RDMA_BUFFER_5:
3182 case ARIZONA_DSP4_RDMA_BUFFER_6:
3183 case ARIZONA_DSP4_WDMA_CONFIG_1:
3184 case ARIZONA_DSP4_WDMA_CONFIG_2:
3185 case ARIZONA_DSP4_WDMA_OFFSET_1:
3186 case ARIZONA_DSP4_RDMA_CONFIG_1:
3187 case ARIZONA_DSP4_RDMA_OFFSET_1:
3188 case ARIZONA_DSP4_EXTERNAL_START_SELECT_1:
Charles Keepax98755552013-09-17 15:23:04 +01003189 case ARIZONA_DSP4_SCRATCH_0:
3190 case ARIZONA_DSP4_SCRATCH_1:
3191 case ARIZONA_DSP4_SCRATCH_2:
3192 case ARIZONA_DSP4_SCRATCH_3:
Charles Keepaxa0eae332014-03-20 16:49:24 +00003193 case ARIZONA_DSP4_CLOCKING_1:
Mark Brown9cd9e282012-07-10 12:37:57 +01003194 return true;
3195 default:
Charles Keepaxc50aa442013-11-19 16:04:00 +00003196 return wm5110_is_adsp_memory(dev, reg);
Mark Brown9cd9e282012-07-10 12:37:57 +01003197 }
3198}
3199
Charles Keepaxc50aa442013-11-19 16:04:00 +00003200#define WM5110_MAX_REGISTER 0x4a9fff
3201
Mark Brown9cd9e282012-07-10 12:37:57 +01003202const struct regmap_config wm5110_spi_regmap = {
3203 .reg_bits = 32,
3204 .pad_bits = 16,
3205 .val_bits = 16,
Richard Fitzgerald496e43a2015-07-20 16:53:47 +01003206 .reg_format_endian = REGMAP_ENDIAN_BIG,
3207 .val_format_endian = REGMAP_ENDIAN_BIG,
Mark Brown9cd9e282012-07-10 12:37:57 +01003208
Charles Keepaxc50aa442013-11-19 16:04:00 +00003209 .max_register = WM5110_MAX_REGISTER,
Mark Brown9cd9e282012-07-10 12:37:57 +01003210 .readable_reg = wm5110_readable_register,
3211 .volatile_reg = wm5110_volatile_register,
3212
3213 .cache_type = REGCACHE_RBTREE,
3214 .reg_defaults = wm5110_reg_default,
3215 .num_reg_defaults = ARRAY_SIZE(wm5110_reg_default),
3216};
3217EXPORT_SYMBOL_GPL(wm5110_spi_regmap);
3218
3219const struct regmap_config wm5110_i2c_regmap = {
3220 .reg_bits = 32,
3221 .val_bits = 16,
Richard Fitzgerald496e43a2015-07-20 16:53:47 +01003222 .reg_format_endian = REGMAP_ENDIAN_BIG,
3223 .val_format_endian = REGMAP_ENDIAN_BIG,
Mark Brown9cd9e282012-07-10 12:37:57 +01003224
Charles Keepaxc50aa442013-11-19 16:04:00 +00003225 .max_register = WM5110_MAX_REGISTER,
Mark Brown9cd9e282012-07-10 12:37:57 +01003226 .readable_reg = wm5110_readable_register,
3227 .volatile_reg = wm5110_volatile_register,
3228
3229 .cache_type = REGCACHE_RBTREE,
3230 .reg_defaults = wm5110_reg_default,
3231 .num_reg_defaults = ARRAY_SIZE(wm5110_reg_default),
3232};
3233EXPORT_SYMBOL_GPL(wm5110_i2c_regmap);