1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Regmap tables for CS47L35 codec
4 *
5 * Copyright (C) 2015-2017 Cirrus Logic
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; version 2.
10 */
11
12#include <linux/device.h>
13#include <linux/module.h>
14#include <linux/regmap.h>
15
16#include <linux/mfd/madera/core.h>
17#include <linux/mfd/madera/registers.h>
18
19#include "madera.h"
20
21static const struct reg_sequence cs47l35_reva_16_patch[] = {
22 { 0x460, 0x0c40 },
23 { 0x461, 0xcd1a },
24 { 0x462, 0x0c40 },
25 { 0x463, 0xb53b },
26 { 0x464, 0x0c40 },
27 { 0x465, 0x7503 },
28 { 0x466, 0x0c40 },
29 { 0x467, 0x4a41 },
30 { 0x468, 0x0041 },
31 { 0x469, 0x3491 },
32 { 0x46a, 0x0841 },
33 { 0x46b, 0x1f50 },
34 { 0x46c, 0x0446 },
35 { 0x46d, 0x14ed },
36 { 0x46e, 0x0446 },
37 { 0x46f, 0x1455 },
38 { 0x470, 0x04c6 },
39 { 0x471, 0x1220 },
40 { 0x472, 0x04c6 },
41 { 0x473, 0x040f },
42 { 0x474, 0x04ce },
43 { 0x475, 0x0339 },
44 { 0x476, 0x05df },
45 { 0x477, 0x028f },
46 { 0x478, 0x05df },
47 { 0x479, 0x0209 },
48 { 0x47a, 0x05df },
49 { 0x47b, 0x00cf },
50 { 0x47c, 0x05df },
51 { 0x47d, 0x0001 },
52 { 0x47e, 0x07ff },
53};
54
55int cs47l35_patch(struct madera *madera)
56{
57 int ret;
58
59 ret = regmap_register_patch(madera->regmap, cs47l35_reva_16_patch,
60 ARRAY_SIZE(cs47l35_reva_16_patch));
61 if (ret < 0)
62 dev_err(madera->dev, "Error applying patch: %d\n", ret);
63
64 return ret;
65}
66EXPORT_SYMBOL_GPL(cs47l35_patch);
67
68static const struct reg_default cs47l35_reg_default[] = {
69 { 0x00000020, 0x0000 }, /* R32 (0x20) - Tone Generator 1 */
70 { 0x00000021, 0x1000 }, /* R33 (0x21) - Tone Generator 2 */
71 { 0x00000022, 0x0000 }, /* R34 (0x22) - Tone Generator 3 */
72 { 0x00000023, 0x1000 }, /* R35 (0x23) - Tone Generator 4 */
73 { 0x00000024, 0x0000 }, /* R36 (0x24) - Tone Generator 5 */
74 { 0x00000030, 0x0000 }, /* R48 (0x30) - PWM Drive 1 */
75 { 0x00000031, 0x0100 }, /* R49 (0x31) - PWM Drive 2 */
76 { 0x00000032, 0x0100 }, /* R50 (0x32) - PWM Drive 3 */
77 { 0x00000061, 0x01ff }, /* R97 (0x61) - Sample Rate Sequence Select 1 */
78 { 0x00000062, 0x01ff }, /* R98 (0x62) - Sample Rate Sequence Select 2 */
79 { 0x00000063, 0x01ff }, /* R99 (0x63) - Sample Rate Sequence Select 3 */
80 { 0x00000064, 0x01ff }, /* R100 (0x64) - Sample Rate Sequence Select 4*/
81 { 0x00000066, 0x01ff }, /* R102 (0x66) - Always On Triggers Sequence Select 1*/
82 { 0x00000067, 0x01ff }, /* R103 (0x67) - Always On Triggers Sequence Select 2*/
83 { 0x00000090, 0x0000 }, /* R144 (0x90) - Haptics Control 1 */
84 { 0x00000091, 0x7fff }, /* R145 (0x91) - Haptics Control 2 */
85 { 0x00000092, 0x0000 }, /* R146 (0x92) - Haptics phase 1 intensity */
86 { 0x00000093, 0x0000 }, /* R147 (0x93) - Haptics phase 1 duration */
87 { 0x00000094, 0x0000 }, /* R148 (0x94) - Haptics phase 2 intensity */
88 { 0x00000095, 0x0000 }, /* R149 (0x95) - Haptics phase 2 duration */
89 { 0x00000096, 0x0000 }, /* R150 (0x96) - Haptics phase 3 intensity */
90 { 0x00000097, 0x0000 }, /* R151 (0x97) - Haptics phase 3 duration */
91 { 0x000000A0, 0x0000 }, /* R160 (0xa0) - Comfort Noise Generator */
92 { 0x00000100, 0x0002 }, /* R256 (0x100) - Clock 32k 1 */
93 { 0x00000101, 0x0404 }, /* R257 (0x101) - System Clock 1 */
94 { 0x00000102, 0x0011 }, /* R258 (0x102) - Sample rate 1 */
95 { 0x00000103, 0x0011 }, /* R259 (0x103) - Sample rate 2 */
96 { 0x00000104, 0x0011 }, /* R260 (0x104) - Sample rate 3 */
97 { 0x00000120, 0x0305 }, /* R288 (0x120) - DSP Clock 1 */
98 { 0x00000122, 0x0000 }, /* R290 (0x122) - DSP Clock 2 */
99 { 0x00000149, 0x0000 }, /* R329 (0x149) - Output system clock */
100 { 0x0000014a, 0x0000 }, /* R330 (0x14a) - Output async clock */
101 { 0x00000152, 0x0000 }, /* R338 (0x152) - Rate Estimator 1 */
102 { 0x00000153, 0x0000 }, /* R339 (0x153) - Rate Estimator 2 */
103 { 0x00000154, 0x0000 }, /* R340 (0x154) - Rate Estimator 3 */
104 { 0x00000155, 0x0000 }, /* R341 (0x155) - Rate Estimator 4 */
105 { 0x00000156, 0x0000 }, /* R342 (0x156) - Rate Estimator 5 */
106 { 0x00000171, 0x0002 }, /* R369 (0x171) - FLL1 Control 1 */
107 { 0x00000172, 0x0008 }, /* R370 (0x172) - FLL1 Control 2 */
108 { 0x00000173, 0x0018 }, /* R371 (0x173) - FLL1 Control 3 */
109 { 0x00000174, 0x007d }, /* R372 (0x174) - FLL1 Control 4 */
110 { 0x00000175, 0x0000 }, /* R373 (0x175) - FLL1 Control 5 */
111 { 0x00000176, 0x0000 }, /* R374 (0x176) - FLL1 Control 6 */
112 { 0x00000177, 0x0281 }, /* R375 (0x177) - FLL1 Loop Filter Test 1 */
113 { 0x00000179, 0x0000 }, /* R377 (0x179) - FLL1 Control 7 */
114 { 0x0000017a, 0x0b06 }, /* R378 (0x17a) - FLL1 EFS2 */
115 { 0x0000017f, 0x0000 }, /* R383 (0x17f) - FLL1 Synchroniser 1 */
116 { 0x00000180, 0x0000 }, /* R384 (0x180) - FLL1 Synchroniser 2 */
117 { 0x00000181, 0x0000 }, /* R385 (0x181) - FLL1 Synchroniser 3 */
118 { 0x00000182, 0x0000 }, /* R386 (0x182) - FLL1 Synchroniser 4 */
119 { 0x00000183, 0x0000 }, /* R387 (0x183) - FLL1 Synchroniser 5 */
120 { 0x00000184, 0x0000 }, /* R388 (0x184) - FLL1 Synchroniser 6 */
121 { 0x00000185, 0x0001 }, /* R389 (0x185) - FLL1 Synchroniser 7 */
122 { 0x00000187, 0x0000 }, /* R391 (0x187) - FLL1 Spread Spectrum */
123 { 0x00000188, 0x000c }, /* R392 (0x188) - FLL1 GPIO Clock */
124 { 0x00000200, 0x0006 }, /* R512 (0x200) - Mic Charge Pump 1 */
125 { 0x0000020b, 0x0400 }, /* R523 (0x20b) - HP Charge Pump 8 */
126 { 0x00000213, 0x03e4 }, /* R531 (0x213) - LDO2 Control 1 */
127 { 0x00000218, 0x00e6 }, /* R536 (0x218) - Mic Bias Ctrl 1 */
128 { 0x00000219, 0x00e6 }, /* R537 (0x219) - Mic Bias Ctrl 2 */
129 { 0x0000021c, 0x0022 }, /* R540 (0x21c) - Mic Bias Ctrl 5 */
130 { 0x0000021e, 0x0022 }, /* R542 (0x21e) - Mic Bias Ctrl 6 */
131 { 0x0000027e, 0x0000 }, /* R638 (0x27e) - EDRE HP stereo control */
132 { 0x00000293, 0x0080 }, /* R659 (0x293) - Accessory Detect Mode 1 */
133 { 0x0000029b, 0x0000 }, /* R667 (0x29b) - Headphone Detect 1 */
134 { 0x000002a3, 0x1102 }, /* R675 (0x2a3) - Mic Detect Control 1 */
135 { 0x000002a4, 0x009f }, /* R676 (0x2a4) - Mic Detect Control 2 */
136 { 0x000002a6, 0x3d3d }, /* R678 (0x2a6) - Mic Detect Level 1 */
137 { 0x000002a7, 0x3d3d }, /* R679 (0x2a7) - Mic Detect Level 2 */
138 { 0x000002a8, 0x333d }, /* R680 (0x2a8) - Mic Detect Level 3 */
139 { 0x000002a9, 0x202d }, /* R681 (0x2a9) - Mic Detect Level 4 */
140 { 0x000002c6, 0x0010 }, /* R710 (0x2c5) - Mic Clamp control */
141 { 0x000002c8, 0x0000 }, /* R712 (0x2c8) - GP switch 1 */
142 { 0x000002d3, 0x0000 }, /* R723 (0x2d3) - Jack detect analogue */
143 { 0x00000300, 0x0000 }, /* R768 (0x300) - Input Enables */
144 { 0x00000308, 0x0000 }, /* R776 (0x308) - Input Rate */
145 { 0x00000309, 0x0022 }, /* R777 (0x309) - Input Volume Ramp */
146 { 0x0000030c, 0x0002 }, /* R780 (0x30c) - HPF Control */
147 { 0x00000310, 0x0080 }, /* R784 (0x310) - IN1L Control */
148 { 0x00000311, 0x0180 }, /* R785 (0x311) - ADC Digital Volume 1L */
149 { 0x00000312, 0x0500 }, /* R786 (0x312) - DMIC1L Control */
150 { 0x00000314, 0x0080 }, /* R788 (0x314) - IN1R Control */
151 { 0x00000315, 0x0180 }, /* R789 (0x315) - ADC Digital Volume 1R */
152 { 0x00000316, 0x0000 }, /* R790 (0x316) - DMIC1R Control */
153 { 0x00000318, 0x0080 }, /* R792 (0x318) - IN2L Control */
154 { 0x00000319, 0x0180 }, /* R793 (0x319) - ADC Digital Volume 2L */
155 { 0x0000031a, 0x0500 }, /* R794 (0x31a) - DMIC2L Control */
156 { 0x0000031c, 0x0080 }, /* R796 (0x31c) - IN2R Control */
157 { 0x0000031d, 0x0180 }, /* R797 (0x31d) - ADC Digital Volume 2R */
158 { 0x0000031e, 0x0000 }, /* R798 (0x31e) - DMIC2R Control */
159 { 0x00000400, 0x0000 }, /* R1024 (0x400) - Output Enables 1 */
160 { 0x00000408, 0x0000 }, /* R1032 (0x408) - Output Rate 1 */
161 { 0x00000409, 0x0022 }, /* R1033 (0x409) - Output Volume Ramp */
162 { 0x00000410, 0x0080 }, /* R1040 (0x410) - Output Path Config 1L */
163 { 0x00000411, 0x0180 }, /* R1041 (0x411) - DAC Digital Volume 1L */
164 { 0x00000413, 0x0001 }, /* R1043 (0x413) - Noise Gate Select 1L */
165 { 0x00000414, 0x0080 }, /* R1044 (0x414) - Output Path Config 1R */
166 { 0x00000415, 0x0180 }, /* R1045 (0x415) - DAC Digital Volume 1R */
167 { 0x00000417, 0x0002 }, /* R1047 (0x417) - Noise Gate Select 1R */
168 { 0x00000428, 0x0000 }, /* R1064 (0x428) - Output Path Config 4L */
169 { 0x00000429, 0x0180 }, /* R1065 (0x429) - DAC Digital Volume 4L */
170 { 0x0000042b, 0x0040 }, /* R1067 (0x42b) - Noise Gate Select 4L */
171 { 0x00000430, 0x0000 }, /* R1072 (0x430) - Output Path Config 5L */
172 { 0x00000431, 0x0180 }, /* R1073 (0x431) - DAC Digital Volume 5L */
173 { 0x00000433, 0x0100 }, /* R1075 (0x433) - Noise Gate Select 5L */
174 { 0x00000434, 0x0000 }, /* R1076 (0x434) - Output Path Config 5R */
175 { 0x00000435, 0x0180 }, /* R1077 (0x435) - DAC Digital Volume 5R */
176 { 0x00000437, 0x0200 }, /* R1079 (0x437) - Noise Gate Select 5R */
177 { 0x00000440, 0x0003 }, /* R1088 (0x440) - DRE Enable */
178 { 0x00000448, 0x0a83 }, /* R1096 (0x448) - eDRE Enable */
179 { 0x0000044a, 0x0000 }, /* R1098 (0x44a) - eDRE Manual */
180 { 0x00000450, 0x0000 }, /* R1104 (0x450) - DAC AEC Control 1 */
181 { 0x00000458, 0x0000 }, /* R1112 (0x458) - Noise Gate Control */
182 { 0x00000490, 0x0069 }, /* R1168 (0x490) - PDM SPK1 CTRL 1 */
183 { 0x00000491, 0x0000 }, /* R1169 (0x491) - PDM SPK1 CTRL 2 */
184 { 0x000004a0, 0x3080 }, /* R1184 (0x4a0) - HP1 Short Circuit Ctrl */
185 { 0x000004a8, 0x7120 }, /* R1192 (0x4a8) - HP Test Ctrl 5 */
186 { 0x000004a9, 0x7120 }, /* R1193 (0x4a9) - HP Test Ctrl 6 */
187 { 0x00000500, 0x000c }, /* R1280 (0x500) - AIF1 BCLK Ctrl */
188 { 0x00000501, 0x0000 }, /* R1281 (0x501) - AIF1 Tx Pin Ctrl */
189 { 0x00000502, 0x0000 }, /* R1282 (0x502) - AIF1 Rx Pin Ctrl */
190 { 0x00000503, 0x0000 }, /* R1283 (0x503) - AIF1 Rate Ctrl */
191 { 0x00000504, 0x0000 }, /* R1284 (0x504) - AIF1 Format */
192 { 0x00000506, 0x0040 }, /* R1286 (0x506) - AIF1 Rx BCLK Rate */
193 { 0x00000507, 0x1818 }, /* R1287 (0x507) - AIF1 Frame Ctrl 1 */
194 { 0x00000508, 0x1818 }, /* R1288 (0x508) - AIF1 Frame Ctrl 2 */
195 { 0x00000509, 0x0000 }, /* R1289 (0x509) - AIF1 Frame Ctrl 3 */
196 { 0x0000050a, 0x0001 }, /* R1290 (0x50a) - AIF1 Frame Ctrl 4 */
197 { 0x0000050b, 0x0002 }, /* R1291 (0x50b) - AIF1 Frame Ctrl 5 */
198 { 0x0000050c, 0x0003 }, /* R1292 (0x50c) - AIF1 Frame Ctrl 6 */
199 { 0x0000050d, 0x0004 }, /* R1293 (0x50d) - AIF1 Frame Ctrl 7 */
200 { 0x0000050e, 0x0005 }, /* R1294 (0x50e) - AIF1 Frame Ctrl 8 */
201 { 0x00000511, 0x0000 }, /* R1297 (0x511) - AIF1 Frame Ctrl 11 */
202 { 0x00000512, 0x0001 }, /* R1298 (0x512) - AIF1 Frame Ctrl 12 */
203 { 0x00000513, 0x0002 }, /* R1299 (0x513) - AIF1 Frame Ctrl 13 */
204 { 0x00000514, 0x0003 }, /* R1300 (0x514) - AIF1 Frame Ctrl 14 */
205 { 0x00000515, 0x0004 }, /* R1301 (0x515) - AIF1 Frame Ctrl 15 */
206 { 0x00000516, 0x0005 }, /* R1302 (0x516) - AIF1 Frame Ctrl 16 */
207 { 0x00000519, 0x0000 }, /* R1305 (0x519) - AIF1 Tx Enables */
208 { 0x0000051a, 0x0000 }, /* R1306 (0x51a) - AIF1 Rx Enables */
209 { 0x00000540, 0x000c }, /* R1344 (0x540) - AIF2 BCLK Ctrl */
210 { 0x00000541, 0x0000 }, /* R1345 (0x541) - AIF2 Tx Pin Ctrl */
211 { 0x00000542, 0x0000 }, /* R1346 (0x542) - AIF2 Rx Pin Ctrl */
212 { 0x00000543, 0x0000 }, /* R1347 (0x543) - AIF2 Rate Ctrl */
213 { 0x00000544, 0x0000 }, /* R1348 (0x544) - AIF2 Format */
214 { 0x00000546, 0x0040 }, /* R1350 (0x546) - AIF2 Rx BCLK Rate */
215 { 0x00000547, 0x1818 }, /* R1351 (0x547) - AIF2 Frame Ctrl 1 */
216 { 0x00000548, 0x1818 }, /* R1352 (0x548) - AIF2 Frame Ctrl 2 */
217 { 0x00000549, 0x0000 }, /* R1353 (0x549) - AIF2 Frame Ctrl 3 */
218 { 0x0000054a, 0x0001 }, /* R1354 (0x54a) - AIF2 Frame Ctrl 4 */
219 { 0x00000551, 0x0000 }, /* R1361 (0x551) - AIF2 Frame Ctrl 11 */
220 { 0x00000552, 0x0001 }, /* R1362 (0x552) - AIF2 Frame Ctrl 12 */
221 { 0x00000559, 0x0000 }, /* R1369 (0x559) - AIF2 Tx Enables */
222 { 0x0000055a, 0x0000 }, /* R1370 (0x55a) - AIF2 Rx Enables */
223 { 0x00000580, 0x000c }, /* R1408 (0x580) - AIF3 BCLK Ctrl */
224 { 0x00000581, 0x0000 }, /* R1409 (0x581) - AIF3 Tx Pin Ctrl */
225 { 0x00000582, 0x0000 }, /* R1410 (0x582) - AIF3 Rx Pin Ctrl */
226 { 0x00000583, 0x0000 }, /* R1411 (0x583) - AIF3 Rate Ctrl */
227 { 0x00000584, 0x0000 }, /* R1412 (0x584) - AIF3 Format */
228 { 0x00000586, 0x0040 }, /* R1414 (0x586) - AIF3 Rx BCLK Rate */
229 { 0x00000587, 0x1818 }, /* R1415 (0x587) - AIF3 Frame Ctrl 1 */
230 { 0x00000588, 0x1818 }, /* R1416 (0x588) - AIF3 Frame Ctrl 2 */
231 { 0x00000589, 0x0000 }, /* R1417 (0x589) - AIF3 Frame Ctrl 3 */
232 { 0x0000058a, 0x0001 }, /* R1418 (0x58a) - AIF3 Frame Ctrl 4 */
233 { 0x00000591, 0x0000 }, /* R1425 (0x591) - AIF3 Frame Ctrl 11 */
234 { 0x00000592, 0x0001 }, /* R1426 (0x592) - AIF3 Frame Ctrl 12 */
235 { 0x00000599, 0x0000 }, /* R1433 (0x599) - AIF3 Tx Enables */
236 { 0x0000059a, 0x0000 }, /* R1434 (0x59a) - AIF3 Rx Enables */
237 { 0x000005c2, 0x0000 }, /* R1474 (0x5c2) - SPD1 TX Control */
238 { 0x000005e3, 0x0000 }, /* R1507 (0x5e3) - SLIMbus Framer Ref Gear */
239 { 0x000005e5, 0x0000 }, /* R1509 (0x5e5) - SLIMbus Rates 1 */
240 { 0x000005e6, 0x0000 }, /* R1510 (0x5e6) - SLIMbus Rates 2 */
241 { 0x000005e7, 0x0000 }, /* R1511 (0x5e7) - SLIMbus Rates 3 */
242 { 0x000005e9, 0x0000 }, /* R1513 (0x5e9) - SLIMbus Rates 5 */
243 { 0x000005ea, 0x0000 }, /* R1514 (0x5ea) - SLIMbus Rates 6 */
244 { 0x000005eb, 0x0000 }, /* R1515 (0x5eb) - SLIMbus Rates 7 */
245 { 0x000005f5, 0x0000 }, /* R1525 (0x5f5) - SLIMbus RX Channel Enable */
246 { 0x000005f6, 0x0000 }, /* R1526 (0x5f6) - SLIMbus TX Channel Enable */
247 { 0x00000640, 0x0000 }, /* R1600 (0x640) - PWM1MIX Input 1 Source */
248 { 0x00000641, 0x0080 }, /* R1601 (0x641) - PWM1MIX Input 1 Volume */
249 { 0x00000642, 0x0000 }, /* R1602 (0x642) - PWM1MIX Input 2 Source */
250 { 0x00000643, 0x0080 }, /* R1603 (0x643) - PWM1MIX Input 2 Volume */
251 { 0x00000644, 0x0000 }, /* R1604 (0x644) - PWM1MIX Input 3 Source */
252 { 0x00000645, 0x0080 }, /* R1605 (0x645) - PWM1MIX Input 3 Volume */
253 { 0x00000646, 0x0000 }, /* R1606 (0x646) - PWM1MIX Input 4 Source */
254 { 0x00000647, 0x0080 }, /* R1607 (0x647) - PWM1MIX Input 4 Volume */
255 { 0x00000648, 0x0000 }, /* R1608 (0x648) - PWM2MIX Input 1 Source */
256 { 0x00000649, 0x0080 }, /* R1609 (0x649) - PWM2MIX Input 1 Volume */
257 { 0x0000064a, 0x0000 }, /* R1610 (0x64a) - PWM2MIX Input 2 Source */
258 { 0x0000064b, 0x0080 }, /* R1611 (0x64b) - PWM2MIX Input 2 Volume */
259 { 0x0000064c, 0x0000 }, /* R1612 (0x64c) - PWM2MIX Input 3 Source */
260 { 0x0000064d, 0x0080 }, /* R1613 (0x64d) - PWM2MIX Input 3 Volume */
261 { 0x0000064e, 0x0000 }, /* R1614 (0x64e) - PWM2MIX Input 4 Source */
262 { 0x0000064f, 0x0080 }, /* R1615 (0x64f) - PWM2MIX Input 4 Volume */
263 { 0x00000680, 0x0000 }, /* R1664 (0x680) - OUT1LMIX Input 1 Source */
264 { 0x00000681, 0x0080 }, /* R1665 (0x681) - OUT1LMIX Input 1 Volume */
265 { 0x00000682, 0x0000 }, /* R1666 (0x682) - OUT1LMIX Input 2 Source */
266 { 0x00000683, 0x0080 }, /* R1667 (0x683) - OUT1LMIX Input 2 Volume */
267 { 0x00000684, 0x0000 }, /* R1668 (0x684) - OUT1LMIX Input 3 Source */
268 { 0x00000685, 0x0080 }, /* R1669 (0x685) - OUT1LMIX Input 3 Volume */
269 { 0x00000686, 0x0000 }, /* R1670 (0x686) - OUT1LMIX Input 4 Source */
270 { 0x00000687, 0x0080 }, /* R1671 (0x687) - OUT1LMIX Input 4 Volume */
271 { 0x00000688, 0x0000 }, /* R1672 (0x688) - OUT1RMIX Input 1 Source */
272 { 0x00000689, 0x0080 }, /* R1673 (0x689) - OUT1RMIX Input 1 Volume */
273 { 0x0000068a, 0x0000 }, /* R1674 (0x68a) - OUT1RMIX Input 2 Source */
274 { 0x0000068b, 0x0080 }, /* R1675 (0x68b) - OUT1RMIX Input 2 Volume */
275 { 0x0000068c, 0x0000 }, /* R1672 (0x68c) - OUT1RMIX Input 3 Source */
276 { 0x0000068d, 0x0080 }, /* R1673 (0x68d) - OUT1RMIX Input 3 Volume */
277 { 0x0000068e, 0x0000 }, /* R1674 (0x68e) - OUT1RMIX Input 4 Source */
278 { 0x0000068f, 0x0080 }, /* R1675 (0x68f) - OUT1RMIX Input 4 Volume */
279 { 0x000006b0, 0x0000 }, /* R1712 (0x6b0) - OUT4LMIX Input 1 Source */
280 { 0x000006b1, 0x0080 }, /* R1713 (0x6b1) - OUT4LMIX Input 1 Volume */
281 { 0x000006b2, 0x0000 }, /* R1714 (0x6b2) - OUT4LMIX Input 2 Source */
282 { 0x000006b3, 0x0080 }, /* R1715 (0x6b3) - OUT4LMIX Input 2 Volume */
283 { 0x000006b4, 0x0000 }, /* R1716 (0x6b4) - OUT4LMIX Input 3 Source */
284 { 0x000006b5, 0x0080 }, /* R1717 (0x6b5) - OUT4LMIX Input 3 Volume */
285 { 0x000006b6, 0x0000 }, /* R1718 (0x6b6) - OUT4LMIX Input 4 Source */
286 { 0x000006b7, 0x0080 }, /* R1719 (0x6b7) - OUT4LMIX Input 4 Volume */
287 { 0x000006c0, 0x0000 }, /* R1728 (0x6c0) - OUT5LMIX Input 1 Source */
288 { 0x000006c1, 0x0080 }, /* R1729 (0x6c1) - OUT5LMIX Input 1 Volume */
289 { 0x000006c2, 0x0000 }, /* R1730 (0x6c2) - OUT5LMIX Input 2 Source */
290 { 0x000006c3, 0x0080 }, /* R1731 (0x6c3) - OUT5LMIX Input 2 Volume */
291 { 0x000006c4, 0x0000 }, /* R1732 (0x6c4) - OUT5LMIX Input 3 Source */
292 { 0x000006c5, 0x0080 }, /* R1733 (0x6c5) - OUT5LMIX Input 3 Volume */
293 { 0x000006c6, 0x0000 }, /* R1734 (0x6c6) - OUT5LMIX Input 4 Source */
294 { 0x000006c7, 0x0080 }, /* R1735 (0x6c7) - OUT5LMIX Input 4 Volume */
295 { 0x000006c8, 0x0000 }, /* R1736 (0x6c8) - OUT5RMIX Input 1 Source */
296 { 0x000006c9, 0x0080 }, /* R1737 (0x6c9) - OUT5RMIX Input 1 Volume */
297 { 0x000006ca, 0x0000 }, /* R1738 (0x6ca) - OUT5RMIX Input 2 Source */
298 { 0x000006cb, 0x0080 }, /* R1739 (0x6cb) - OUT5RMIX Input 2 Volume */
299 { 0x000006cc, 0x0000 }, /* R1740 (0x6cc) - OUT5RMIX Input 3 Source */
300 { 0x000006cd, 0x0080 }, /* R1741 (0x6cd) - OUT5RMIX Input 3 Volume */
301 { 0x000006ce, 0x0000 }, /* R1742 (0x6ce) - OUT5RMIX Input 4 Source */
302 { 0x000006cf, 0x0080 }, /* R1743 (0x6cf) - OUT5RMIX Input 4 Volume */
303 { 0x00000700, 0x0000 }, /* R1792 (0x700) - AIF1TX1MIX Input 1 Source */
304 { 0x00000701, 0x0080 }, /* R1793 (0x701) - AIF1TX1MIX Input 1 Volume */
305 { 0x00000702, 0x0000 }, /* R1794 (0x702) - AIF1TX1MIX Input 2 Source */
306 { 0x00000703, 0x0080 }, /* R1795 (0x703) - AIF1TX1MIX Input 2 Volume */
307 { 0x00000704, 0x0000 }, /* R1796 (0x704) - AIF1TX1MIX Input 3 Source */
308 { 0x00000705, 0x0080 }, /* R1797 (0x705) - AIF1TX1MIX Input 3 Volume */
309 { 0x00000706, 0x0000 }, /* R1798 (0x706) - AIF1TX1MIX Input 4 Source */
310 { 0x00000707, 0x0080 }, /* R1799 (0x707) - AIF1TX1MIX Input 4 Volume */
311 { 0x00000708, 0x0000 }, /* R1800 (0x708) - AIF1TX2MIX Input 1 Source */
312 { 0x00000709, 0x0080 }, /* R1801 (0x709) - AIF1TX2MIX Input 1 Volume */
313 { 0x0000070a, 0x0000 }, /* R1802 (0x70a) - AIF1TX2MIX Input 2 Source */
314 { 0x0000070b, 0x0080 }, /* R1803 (0x70b) - AIF1TX2MIX Input 2 Volume */
315 { 0x0000070c, 0x0000 }, /* R1804 (0x70c) - AIF1TX2MIX Input 3 Source */
316 { 0x0000070d, 0x0080 }, /* R1805 (0x70d) - AIF1TX2MIX Input 3 Volume */
317 { 0x0000070e, 0x0000 }, /* R1806 (0x70e) - AIF1TX2MIX Input 4 Source */
318 { 0x0000070f, 0x0080 }, /* R1807 (0x70f) - AIF1TX2MIX Input 4 Volume */
319 { 0x00000710, 0x0000 }, /* R1808 (0x710) - AIF1TX3MIX Input 1 Source */
320 { 0x00000711, 0x0080 }, /* R1809 (0x711) - AIF1TX3MIX Input 1 Volume */
321 { 0x00000712, 0x0000 }, /* R1810 (0x712) - AIF1TX3MIX Input 2 Source */
322 { 0x00000713, 0x0080 }, /* R1811 (0x713) - AIF1TX3MIX Input 2 Volume */
323 { 0x00000714, 0x0000 }, /* R1812 (0x714) - AIF1TX3MIX Input 3 Source */
324 { 0x00000715, 0x0080 }, /* R1813 (0x715) - AIF1TX3MIX Input 3 Volume */
325 { 0x00000716, 0x0000 }, /* R1814 (0x716) - AIF1TX3MIX Input 4 Source */
326 { 0x00000717, 0x0080 }, /* R1815 (0x717) - AIF1TX3MIX Input 4 Volume */
327 { 0x00000718, 0x0000 }, /* R1816 (0x718) - AIF1TX4MIX Input 1 Source */
328 { 0x00000719, 0x0080 }, /* R1817 (0x719) - AIF1TX4MIX Input 1 Volume */
329 { 0x0000071a, 0x0000 }, /* R1818 (0x71a) - AIF1TX4MIX Input 2 Source */
330 { 0x0000071b, 0x0080 }, /* R1819 (0x71b) - AIF1TX4MIX Input 2 Volume */
331 { 0x0000071c, 0x0000 }, /* R1820 (0x71c) - AIF1TX4MIX Input 3 Source */
332 { 0x0000071d, 0x0080 }, /* R1821 (0x71d) - AIF1TX4MIX Input 3 Volume */
333 { 0x0000071e, 0x0000 }, /* R1822 (0x71e) - AIF1TX4MIX Input 4 Source */
334 { 0x0000071f, 0x0080 }, /* R1823 (0x71f) - AIF1TX4MIX Input 4 Volume */
335 { 0x00000720, 0x0000 }, /* R1824 (0x720) - AIF1TX5MIX Input 1 Source */
336 { 0x00000721, 0x0080 }, /* R1825 (0x721) - AIF1TX5MIX Input 1 Volume */
337 { 0x00000722, 0x0000 }, /* R1826 (0x722) - AIF1TX5MIX Input 2 Source */
338 { 0x00000723, 0x0080 }, /* R1827 (0x723) - AIF1TX5MIX Input 2 Volume */
339 { 0x00000724, 0x0000 }, /* R1828 (0x724) - AIF1TX5MIX Input 3 Source */
340 { 0x00000725, 0x0080 }, /* R1829 (0x725) - AIF1TX5MIX Input 3 Volume */
341 { 0x00000726, 0x0000 }, /* R1830 (0x726) - AIF1TX5MIX Input 4 Source */
342 { 0x00000727, 0x0080 }, /* R1831 (0x727) - AIF1TX5MIX Input 4 Volume */
343 { 0x00000728, 0x0000 }, /* R1832 (0x728) - AIF1TX6MIX Input 1 Source */
344 { 0x00000729, 0x0080 }, /* R1833 (0x729) - AIF1TX6MIX Input 1 Volume */
345 { 0x0000072a, 0x0000 }, /* R1834 (0x72a) - AIF1TX6MIX Input 2 Source */
346 { 0x0000072b, 0x0080 }, /* R1835 (0x72b) - AIF1TX6MIX Input 2 Volume */
347 { 0x0000072c, 0x0000 }, /* R1836 (0x72c) - AIF1TX6MIX Input 3 Source */
348 { 0x0000072d, 0x0080 }, /* R1837 (0x72d) - AIF1TX6MIX Input 3 Volume */
349 { 0x0000072e, 0x0000 }, /* R1838 (0x72e) - AIF1TX6MIX Input 4 Source */
350 { 0x0000072f, 0x0080 }, /* R1839 (0x72f) - AIF1TX6MIX Input 4 Volume */
351 { 0x00000740, 0x0000 }, /* R1856 (0x740) - AIF2TX1MIX Input 1 Source */
352 { 0x00000741, 0x0080 }, /* R1857 (0x741) - AIF2TX1MIX Input 1 Volume */
353 { 0x00000742, 0x0000 }, /* R1858 (0x742) - AIF2TX1MIX Input 2 Source */
354 { 0x00000743, 0x0080 }, /* R1859 (0x743) - AIF2TX1MIX Input 2 Volume */
355 { 0x00000744, 0x0000 }, /* R1860 (0x744) - AIF2TX1MIX Input 3 Source */
356 { 0x00000745, 0x0080 }, /* R1861 (0x745) - AIF2TX1MIX Input 3 Volume */
357 { 0x00000746, 0x0000 }, /* R1862 (0x746) - AIF2TX1MIX Input 4 Source */
358 { 0x00000747, 0x0080 }, /* R1863 (0x747) - AIF2TX1MIX Input 4 Volume */
359 { 0x00000748, 0x0000 }, /* R1864 (0x748) - AIF2TX2MIX Input 1 Source */
360 { 0x00000749, 0x0080 }, /* R1865 (0x749) - AIF2TX2MIX Input 1 Volume */
361 { 0x0000074a, 0x0000 }, /* R1866 (0x74a) - AIF2TX2MIX Input 2 Source */
362 { 0x0000074b, 0x0080 }, /* R1867 (0x74b) - AIF2TX2MIX Input 2 Volume */
363 { 0x0000074c, 0x0000 }, /* R1868 (0x74c) - AIF2TX2MIX Input 3 Source */
364 { 0x0000074d, 0x0080 }, /* R1869 (0x74d) - AIF2TX2MIX Input 3 Volume */
365 { 0x0000074e, 0x0000 }, /* R1870 (0x74e) - AIF2TX2MIX Input 4 Source */
366 { 0x0000074f, 0x0080 }, /* R1871 (0x74f) - AIF2TX2MIX Input 4 Volume */
367 { 0x00000780, 0x0000 }, /* R1920 (0x780) - AIF3TX1MIX Input 1 Source */
368 { 0x00000781, 0x0080 }, /* R1921 (0x781) - AIF3TX1MIX Input 1 Volume */
369 { 0x00000782, 0x0000 }, /* R1922 (0x782) - AIF3TX1MIX Input 2 Source */
370 { 0x00000783, 0x0080 }, /* R1923 (0x783) - AIF3TX1MIX Input 2 Volume */
371 { 0x00000784, 0x0000 }, /* R1924 (0x784) - AIF3TX1MIX Input 3 Source */
372 { 0x00000785, 0x0080 }, /* R1925 (0x785) - AIF3TX1MIX Input 3 Volume */
373 { 0x00000786, 0x0000 }, /* R1926 (0x786) - AIF3TX1MIX Input 4 Source */
374 { 0x00000787, 0x0080 }, /* R1927 (0x787) - AIF3TX1MIX Input 4 Volume */
375 { 0x00000788, 0x0000 }, /* R1928 (0x788) - AIF3TX2MIX Input 1 Source */
376 { 0x00000789, 0x0080 }, /* R1929 (0x789) - AIF3TX2MIX Input 1 Volume */
377 { 0x0000078a, 0x0000 }, /* R1930 (0x78a) - AIF3TX2MIX Input 2 Source */
378 { 0x0000078b, 0x0080 }, /* R1931 (0x78b) - AIF3TX2MIX Input 2 Volume */
379 { 0x0000078c, 0x0000 }, /* R1932 (0x78c) - AIF3TX2MIX Input 3 Source */
380 { 0x0000078d, 0x0080 }, /* R1933 (0x78d) - AIF3TX2MIX Input 3 Volume */
381 { 0x0000078e, 0x0000 }, /* R1934 (0x78e) - AIF3TX2MIX Input 4 Source */
382 { 0x0000078f, 0x0080 }, /* R1935 (0x78f) - AIF3TX2MIX Input 4 Volume */
383 { 0x000007c0, 0x0000 }, /* R1984 (0x7c0) - SLIMTX1MIX Input 1 Source */
384 { 0x000007c1, 0x0080 }, /* R1985 (0x7c1) - SLIMTX1MIX Input 1 Volume */
385 { 0x000007c2, 0x0000 }, /* R1986 (0x7c2) - SLIMTX1MIX Input 2 Source */
386 { 0x000007c3, 0x0080 }, /* R1987 (0x7c3) - SLIMTX1MIX Input 2 Volume */
387 { 0x000007c4, 0x0000 }, /* R1988 (0x7c4) - SLIMTX1MIX Input 3 Source */
388 { 0x000007c5, 0x0080 }, /* R1989 (0x7c5) - SLIMTX1MIX Input 3 Volume */
389 { 0x000007c6, 0x0000 }, /* R1990 (0x7c6) - SLIMTX1MIX Input 4 Source */
390 { 0x000007c7, 0x0080 }, /* R1991 (0x7c7) - SLIMTX1MIX Input 4 Volume */
391 { 0x000007c8, 0x0000 }, /* R1992 (0x7c8) - SLIMTX2MIX Input 1 Source */
392 { 0x000007c9, 0x0080 }, /* R1993 (0x7c9) - SLIMTX2MIX Input 1 Volume */
393 { 0x000007ca, 0x0000 }, /* R1994 (0x7ca) - SLIMTX2MIX Input 2 Source */
394 { 0x000007cb, 0x0080 }, /* R1995 (0x7cb) - SLIMTX2MIX Input 2 Volume */
395 { 0x000007cc, 0x0000 }, /* R1996 (0x7cc) - SLIMTX2MIX Input 3 Source */
396 { 0x000007cd, 0x0080 }, /* R1997 (0x7cd) - SLIMTX2MIX Input 3 Volume */
397 { 0x000007ce, 0x0000 }, /* R1998 (0x7ce) - SLIMTX2MIX Input 4 Source */
398 { 0x000007cf, 0x0080 }, /* R1999 (0x7cf) - SLIMTX2MIX Input 4 Volume */
399 { 0x000007d0, 0x0000 }, /* R2000 (0x7d0) - SLIMTX3MIX Input 1 Source */
400 { 0x000007d1, 0x0080 }, /* R2001 (0x7d1) - SLIMTX3MIX Input 1 Volume */
401 { 0x000007d2, 0x0000 }, /* R2002 (0x7d2) - SLIMTX3MIX Input 2 Source */
402 { 0x000007d3, 0x0080 }, /* R2003 (0x7d3) - SLIMTX3MIX Input 2 Volume */
403 { 0x000007d4, 0x0000 }, /* R2004 (0x7d4) - SLIMTX3MIX Input 3 Source */
404 { 0x000007d5, 0x0080 }, /* R2005 (0x7d5) - SLIMTX3MIX Input 3 Volume */
405 { 0x000007d6, 0x0000 }, /* R2006 (0x7d6) - SLIMTX3MIX Input 4 Source */
406 { 0x000007d7, 0x0080 }, /* R2007 (0x7d7) - SLIMTX3MIX Input 4 Volume */
407 { 0x000007d8, 0x0000 }, /* R2008 (0x7d8) - SLIMTX4MIX Input 1 Source */
408 { 0x000007d9, 0x0080 }, /* R2009 (0x7d9) - SLIMTX4MIX Input 1 Volume */
409 { 0x000007da, 0x0000 }, /* R2010 (0x7da) - SLIMTX4MIX Input 2 Source */
410 { 0x000007db, 0x0080 }, /* R2011 (0x7db) - SLIMTX4MIX Input 2 Volume */
411 { 0x000007dc, 0x0000 }, /* R2012 (0x7dc) - SLIMTX4MIX Input 3 Source */
412 { 0x000007dd, 0x0080 }, /* R2013 (0x7dd) - SLIMTX4MIX Input 3 Volume */
413 { 0x000007de, 0x0000 }, /* R2014 (0x7de) - SLIMTX4MIX Input 4 Source */
414 { 0x000007df, 0x0080 }, /* R2015 (0x7df) - SLIMTX4MIX Input 4 Volume */
415 { 0x000007e0, 0x0000 }, /* R2016 (0x7e0) - SLIMTX5MIX Input 1 Source */
416 { 0x000007e1, 0x0080 }, /* R2017 (0x7e1) - SLIMTX5MIX Input 1 Volume */
417 { 0x000007e2, 0x0000 }, /* R2018 (0x7e2) - SLIMTX5MIX Input 2 Source */
418 { 0x000007e3, 0x0080 }, /* R2019 (0x7e3) - SLIMTX5MIX Input 2 Volume */
419 { 0x000007e4, 0x0000 }, /* R2020 (0x7e4) - SLIMTX5MIX Input 3 Source */
420 { 0x000007e5, 0x0080 }, /* R2021 (0x7e5) - SLIMTX5MIX Input 3 Volume */
421 { 0x000007e6, 0x0000 }, /* R2022 (0x7e6) - SLIMTX5MIX Input 4 Source */
422 { 0x000007e7, 0x0080 }, /* R2023 (0x7e7) - SLIMTX5MIX Input 4 Volume */
423 { 0x000007e8, 0x0000 }, /* R2024 (0x7e8) - SLIMTX6MIX Input 1 Source */
424 { 0x000007e9, 0x0080 }, /* R2025 (0x7e9) - SLIMTX6MIX Input 1 Volume */
425 { 0x000007ea, 0x0000 }, /* R2026 (0x7ea) - SLIMTX6MIX Input 2 Source */
426 { 0x000007eb, 0x0080 }, /* R2027 (0x7eb) - SLIMTX6MIX Input 2 Volume */
427 { 0x000007ec, 0x0000 }, /* R2028 (0x7ec) - SLIMTX6MIX Input 3 Source */
428 { 0x000007ed, 0x0080 }, /* R2029 (0x7ed) - SLIMTX6MIX Input 3 Volume */
429 { 0x000007ee, 0x0000 }, /* R2030 (0x7ee) - SLIMTX6MIX Input 4 Source */
430 { 0x000007ef, 0x0080 }, /* R2031 (0x7ef) - SLIMTX6MIX Input 4 Volume */
431 { 0x00000800, 0x0000 }, /* R2048 (0x800) - SPDIF1TX1MIX Input 1 Source*/
432 { 0x00000801, 0x0080 }, /* R2049 (0x801) - SPDIF1TX1MIX Input 1 Volume*/
433 { 0x00000808, 0x0000 }, /* R2056 (0x808) - SPDIF1TX2MIX Input 1 Source*/
434 { 0x00000809, 0x0080 }, /* R2057 (0x809) - SPDIF1TX2MIX Input 1 Volume*/
435 { 0x00000880, 0x0000 }, /* R2176 (0x880) - EQ1MIX Input 1 Source */
436 { 0x00000881, 0x0080 }, /* R2177 (0x881) - EQ1MIX Input 1 Volume */
437 { 0x00000882, 0x0000 }, /* R2178 (0x882) - EQ1MIX Input 2 Source */
438 { 0x00000883, 0x0080 }, /* R2179 (0x883) - EQ1MIX Input 2 Volume */
439 { 0x00000884, 0x0000 }, /* R2180 (0x884) - EQ1MIX Input 3 Source */
440 { 0x00000885, 0x0080 }, /* R2181 (0x885) - EQ1MIX Input 3 Volume */
441 { 0x00000886, 0x0000 }, /* R2182 (0x886) - EQ1MIX Input 4 Source */
442 { 0x00000887, 0x0080 }, /* R2183 (0x887) - EQ1MIX Input 4 Volume */
443 { 0x00000888, 0x0000 }, /* R2184 (0x888) - EQ2MIX Input 1 Source */
444 { 0x00000889, 0x0080 }, /* R2185 (0x889) - EQ2MIX Input 1 Volume */
445 { 0x0000088a, 0x0000 }, /* R2186 (0x88a) - EQ2MIX Input 2 Source */
446 { 0x0000088b, 0x0080 }, /* R2187 (0x88b) - EQ2MIX Input 2 Volume */
447 { 0x0000088c, 0x0000 }, /* R2188 (0x88c) - EQ2MIX Input 3 Source */
448 { 0x0000088d, 0x0080 }, /* R2189 (0x88d) - EQ2MIX Input 3 Volume */
449 { 0x0000088e, 0x0000 }, /* R2190 (0x88e) - EQ2MIX Input 4 Source */
450 { 0x0000088f, 0x0080 }, /* R2191 (0x88f) - EQ2MIX Input 4 Volume */
451 { 0x00000890, 0x0000 }, /* R2192 (0x890) - EQ3MIX Input 1 Source */
452 { 0x00000891, 0x0080 }, /* R2193 (0x891) - EQ3MIX Input 1 Volume */
453 { 0x00000892, 0x0000 }, /* R2194 (0x892) - EQ3MIX Input 2 Source */
454 { 0x00000893, 0x0080 }, /* R2195 (0x893) - EQ3MIX Input 2 Volume */
455 { 0x00000894, 0x0000 }, /* R2196 (0x894) - EQ3MIX Input 3 Source */
456 { 0x00000895, 0x0080 }, /* R2197 (0x895) - EQ3MIX Input 3 Volume */
457 { 0x00000896, 0x0000 }, /* R2198 (0x896) - EQ3MIX Input 4 Source */
458 { 0x00000897, 0x0080 }, /* R2199 (0x897) - EQ3MIX Input 4 Volume */
459 { 0x00000898, 0x0000 }, /* R2200 (0x898) - EQ4MIX Input 1 Source */
460 { 0x00000899, 0x0080 }, /* R2201 (0x899) - EQ4MIX Input 1 Volume */
461 { 0x0000089a, 0x0000 }, /* R2202 (0x89a) - EQ4MIX Input 2 Source */
462 { 0x0000089b, 0x0080 }, /* R2203 (0x89b) - EQ4MIX Input 2 Volume */
463 { 0x0000089c, 0x0000 }, /* R2204 (0x89c) - EQ4MIX Input 3 Source */
464 { 0x0000089d, 0x0080 }, /* R2205 (0x89d) - EQ4MIX Input 3 Volume */
465 { 0x0000089e, 0x0000 }, /* R2206 (0x89e) - EQ4MIX Input 4 Source */
466 { 0x0000089f, 0x0080 }, /* R2207 (0x89f) - EQ4MIX Input 4 Volume */
467 { 0x000008c0, 0x0000 }, /* R2240 (0x8c0) - DRC1LMIX Input 1 Source */
468 { 0x000008c1, 0x0080 }, /* R2241 (0x8c1) - DRC1LMIX Input 1 Volume */
469 { 0x000008c2, 0x0000 }, /* R2242 (0x8c2) - DRC1LMIX Input 2 Source */
470 { 0x000008c3, 0x0080 }, /* R2243 (0x8c3) - DRC1LMIX Input 2 Volume */
471 { 0x000008c4, 0x0000 }, /* R2244 (0x8c4) - DRC1LMIX Input 3 Source */
472 { 0x000008c5, 0x0080 }, /* R2245 (0x8c5) - DRC1LMIX Input 3 Volume */
473 { 0x000008c6, 0x0000 }, /* R2246 (0x8c6) - DRC1LMIX Input 4 Source */
474 { 0x000008c7, 0x0080 }, /* R2247 (0x8c7) - DRC1LMIX Input 4 Volume */
475 { 0x000008c8, 0x0000 }, /* R2248 (0x8c8) - DRC1RMIX Input 1 Source */
476 { 0x000008c9, 0x0080 }, /* R2249 (0x8c9) - DRC1RMIX Input 1 Volume */
477 { 0x000008ca, 0x0000 }, /* R2250 (0x8ca) - DRC1RMIX Input 2 Source */
478 { 0x000008cb, 0x0080 }, /* R2251 (0x8cb) - DRC1RMIX Input 2 Volume */
479 { 0x000008cc, 0x0000 }, /* R2252 (0x8cc) - DRC1RMIX Input 3 Source */
480 { 0x000008cd, 0x0080 }, /* R2253 (0x8cd) - DRC1RMIX Input 3 Volume */
481 { 0x000008ce, 0x0000 }, /* R2254 (0x8ce) - DRC1RMIX Input 4 Source */
482 { 0x000008cf, 0x0080 }, /* R2255 (0x8cf) - DRC1RMIX Input 4 Volume */
483 { 0x000008d0, 0x0000 }, /* R2256 (0x8d0) - DRC2LMIX Input 1 Source */
484 { 0x000008d1, 0x0080 }, /* R2257 (0x8d1) - DRC2LMIX Input 1 Volume */
485 { 0x000008d2, 0x0000 }, /* R2258 (0x8d2) - DRC2LMIX Input 2 Source */
486 { 0x000008d3, 0x0080 }, /* R2259 (0x8d3) - DRC2LMIX Input 2 Volume */
487 { 0x000008d4, 0x0000 }, /* R2260 (0x8d4) - DRC2LMIX Input 3 Source */
488 { 0x000008d5, 0x0080 }, /* R2261 (0x8d5) - DRC2LMIX Input 3 Volume */
489 { 0x000008d6, 0x0000 }, /* R2262 (0x8d6) - DRC2LMIX Input 4 Source */
490 { 0x000008d7, 0x0080 }, /* R2263 (0x8d7) - DRC2LMIX Input 4 Volume */
491 { 0x000008d8, 0x0000 }, /* R2264 (0x8d8) - DRC2RMIX Input 1 Source */
492 { 0x000008d9, 0x0080 }, /* R2265 (0x8d9) - DRC2RMIX Input 1 Volume */
493 { 0x000008da, 0x0000 }, /* R2266 (0x8da) - DRC2RMIX Input 2 Source */
494 { 0x000008db, 0x0080 }, /* R2267 (0x8db) - DRC2RMIX Input 2 Volume */
495 { 0x000008dc, 0x0000 }, /* R2268 (0x8dc) - DRC2RMIX Input 3 Source */
496 { 0x000008dd, 0x0080 }, /* R2269 (0x8dd) - DRC2RMIX Input 3 Volume */
497 { 0x000008de, 0x0000 }, /* R2270 (0x8de) - DRC2RMIX Input 4 Source */
498 { 0x000008df, 0x0080 }, /* R2271 (0x8df) - DRC2RMIX Input 4 Volume */
499 { 0x00000900, 0x0000 }, /* R2304 (0x900) - HPLP1MIX Input 1 Source */
500 { 0x00000901, 0x0080 }, /* R2305 (0x901) - HPLP1MIX Input 1 Volume */
501 { 0x00000902, 0x0000 }, /* R2306 (0x902) - HPLP1MIX Input 2 Source */
502 { 0x00000903, 0x0080 }, /* R2307 (0x903) - HPLP1MIX Input 2 Volume */
503 { 0x00000904, 0x0000 }, /* R2308 (0x904) - HPLP1MIX Input 3 Source */
504 { 0x00000905, 0x0080 }, /* R2309 (0x905) - HPLP1MIX Input 3 Volume */
505 { 0x00000906, 0x0000 }, /* R2310 (0x906) - HPLP1MIX Input 4 Source */
506 { 0x00000907, 0x0080 }, /* R2311 (0x907) - HPLP1MIX Input 4 Volume */
507 { 0x00000908, 0x0000 }, /* R2312 (0x908) - HPLP2MIX Input 1 Source */
508 { 0x00000909, 0x0080 }, /* R2313 (0x909) - HPLP2MIX Input 1 Volume */
509 { 0x0000090a, 0x0000 }, /* R2314 (0x90a) - HPLP2MIX Input 2 Source */
510 { 0x0000090b, 0x0080 }, /* R2315 (0x90b) - HPLP2MIX Input 2 Volume */
511 { 0x0000090c, 0x0000 }, /* R2316 (0x90c) - HPLP2MIX Input 3 Source */
512 { 0x0000090d, 0x0080 }, /* R2317 (0x90d) - HPLP2MIX Input 3 Volume */
513 { 0x0000090e, 0x0000 }, /* R2318 (0x90e) - HPLP2MIX Input 4 Source */
514 { 0x0000090f, 0x0080 }, /* R2319 (0x90f) - HPLP2MIX Input 4 Volume */
515 { 0x00000910, 0x0000 }, /* R2320 (0x910) - HPLP3MIX Input 1 Source */
516 { 0x00000911, 0x0080 }, /* R2321 (0x911) - HPLP3MIX Input 1 Volume */
517 { 0x00000912, 0x0000 }, /* R2322 (0x912) - HPLP3MIX Input 2 Source */
518 { 0x00000913, 0x0080 }, /* R2323 (0x913) - HPLP3MIX Input 2 Volume */
519 { 0x00000914, 0x0000 }, /* R2324 (0x914) - HPLP3MIX Input 3 Source */
520 { 0x00000915, 0x0080 }, /* R2325 (0x915) - HPLP3MIX Input 3 Volume */
521 { 0x00000916, 0x0000 }, /* R2326 (0x916) - HPLP3MIX Input 4 Source */
522 { 0x00000917, 0x0080 }, /* R2327 (0x917) - HPLP3MIX Input 4 Volume */
523 { 0x00000918, 0x0000 }, /* R2328 (0x918) - HPLP4MIX Input 1 Source */
524 { 0x00000919, 0x0080 }, /* R2329 (0x919) - HPLP4MIX Input 1 Volume */
525 { 0x0000091a, 0x0000 }, /* R2330 (0x91a) - HPLP4MIX Input 2 Source */
526 { 0x0000091b, 0x0080 }, /* R2331 (0x91b) - HPLP4MIX Input 2 Volume */
527 { 0x0000091c, 0x0000 }, /* R2332 (0x91c) - HPLP4MIX Input 3 Source */
528 { 0x0000091d, 0x0080 }, /* R2333 (0x91d) - HPLP4MIX Input 3 Volume */
529 { 0x0000091e, 0x0000 }, /* R2334 (0x91e) - HPLP4MIX Input 4 Source */
530 { 0x0000091f, 0x0080 }, /* R2335 (0x91f) - HPLP4MIX Input 4 Volume */
531 { 0x00000940, 0x0000 }, /* R2368 (0x940) - DSP1LMIX Input 1 Source */
532 { 0x00000941, 0x0080 }, /* R2369 (0x941) - DSP1LMIX Input 1 Volume */
533 { 0x00000942, 0x0000 }, /* R2370 (0x942) - DSP1LMIX Input 2 Source */
534 { 0x00000943, 0x0080 }, /* R2371 (0x943) - DSP1LMIX Input 2 Volume */
535 { 0x00000944, 0x0000 }, /* R2372 (0x944) - DSP1LMIX Input 3 Source */
536 { 0x00000945, 0x0080 }, /* R2373 (0x945) - DSP1LMIX Input 3 Volume */
537 { 0x00000946, 0x0000 }, /* R2374 (0x946) - DSP1LMIX Input 4 Source */
538 { 0x00000947, 0x0080 }, /* R2375 (0x947) - DSP1LMIX Input 4 Volume */
539 { 0x00000948, 0x0000 }, /* R2376 (0x948) - DSP1RMIX Input 1 Source */
540 { 0x00000949, 0x0080 }, /* R2377 (0x949) - DSP1RMIX Input 1 Volume */
541 { 0x0000094a, 0x0000 }, /* R2378 (0x94a) - DSP1RMIX Input 2 Source */
542 { 0x0000094b, 0x0080 }, /* R2379 (0x94b) - DSP1RMIX Input 2 Volume */
543 { 0x0000094c, 0x0000 }, /* R2380 (0x94c) - DSP1RMIX Input 3 Source */
544 { 0x0000094d, 0x0080 }, /* R2381 (0x94d) - DSP1RMIX Input 3 Volume */
545 { 0x0000094e, 0x0000 }, /* R2382 (0x94e) - DSP1RMIX Input 4 Source */
546 { 0x0000094f, 0x0080 }, /* R2383 (0x94f) - DSP1RMIX Input 4 Volume */
547 { 0x00000950, 0x0000 }, /* R2384 (0x950) - DSP1AUX1MIX Input 1 Source */
548 { 0x00000958, 0x0000 }, /* R2392 (0x958) - DSP1AUX2MIX Input 1 Source */
549 { 0x00000960, 0x0000 }, /* R2400 (0x960) - DSP1AUX3MIX Input 1 Source */
550 { 0x00000968, 0x0000 }, /* R2408 (0x968) - DSP1AUX4MIX Input 1 Source */
551 { 0x00000970, 0x0000 }, /* R2416 (0x970) - DSP1AUX5MIX Input 1 Source */
552 { 0x00000978, 0x0000 }, /* R2424 (0x978) - DSP1AUX6MIX Input 1 Source */
553 { 0x00000980, 0x0000 }, /* R2432 (0x980) - DSP2LMIX Input 1 Source */
554 { 0x00000981, 0x0080 }, /* R2433 (0x981) - DSP2LMIX Input 1 Volume */
555 { 0x00000982, 0x0000 }, /* R2434 (0x982) - DSP2LMIX Input 2 Source */
556 { 0x00000983, 0x0080 }, /* R2435 (0x983) - DSP2LMIX Input 2 Volume */
557 { 0x00000984, 0x0000 }, /* R2436 (0x984) - DSP2LMIX Input 3 Source */
558 { 0x00000985, 0x0080 }, /* R2437 (0x985) - DSP2LMIX Input 3 Volume */
559 { 0x00000986, 0x0000 }, /* R2438 (0x986) - DSP2LMIX Input 4 Source */
560 { 0x00000987, 0x0080 }, /* R2439 (0x987) - DSP2LMIX Input 4 Volume */
561 { 0x00000988, 0x0000 }, /* R2440 (0x988) - DSP2RMIX Input 1 Source */
562 { 0x00000989, 0x0080 }, /* R2441 (0x989) - DSP2RMIX Input 1 Volume */
563 { 0x0000098a, 0x0000 }, /* R2442 (0x98a) - DSP2RMIX Input 2 Source */
564 { 0x0000098b, 0x0080 }, /* R2443 (0x98b) - DSP2RMIX Input 2 Volume */
565 { 0x0000098c, 0x0000 }, /* R2444 (0x98c) - DSP2RMIX Input 3 Source */
566 { 0x0000098d, 0x0080 }, /* R2445 (0x98d) - DSP2RMIX Input 3 Volume */
567 { 0x0000098e, 0x0000 }, /* R2446 (0x98e) - DSP2RMIX Input 4 Source */
568 { 0x0000098f, 0x0080 }, /* R2447 (0x98f) - DSP2RMIX Input 4 Volume */
569 { 0x00000990, 0x0000 }, /* R2448 (0x990) - DSP2AUX1MIX Input 1 Source */
570 { 0x00000998, 0x0000 }, /* R2456 (0x998) - DSP2AUX2MIX Input 1 Source */
571 { 0x000009a0, 0x0000 }, /* R2464 (0x9a0) - DSP2AUX3MIX Input 1 Source */
572 { 0x000009a8, 0x0000 }, /* R2472 (0x9a8) - DSP2AUX4MIX Input 1 Source */
573 { 0x000009b0, 0x0000 }, /* R2480 (0x9b0) - DSP2AUX5MIX Input 1 Source */
574 { 0x000009b8, 0x0000 }, /* R2488 (0x9b8) - DSP2AUX6MIX Input 1 Source */
575 { 0x000009c0, 0x0000 }, /* R2496 (0x9c0) - DSP3LMIX Input 1 Source */
576 { 0x000009c1, 0x0080 }, /* R2497 (0x9c1) - DSP3LMIX Input 1 Volume */
577 { 0x000009c2, 0x0000 }, /* R2498 (0x9c2) - DSP3LMIX Input 2 Source */
578 { 0x000009c3, 0x0080 }, /* R2499 (0x9c3) - DSP3LMIX Input 2 Volume */
579 { 0x000009c4, 0x0000 }, /* R2500 (0x9c4) - DSP3LMIX Input 3 Source */
580 { 0x000009c5, 0x0080 }, /* R2501 (0x9c5) - DSP3LMIX Input 3 Volume */
581 { 0x000009c6, 0x0000 }, /* R2502 (0x9c6) - DSP3LMIX Input 4 Source */
582 { 0x000009c7, 0x0080 }, /* R2503 (0x9c7) - DSP3LMIX Input 4 Volume */
583 { 0x000009c8, 0x0000 }, /* R2504 (0x9c8) - DSP3RMIX Input 1 Source */
584 { 0x000009c9, 0x0080 }, /* R2505 (0x9c9) - DSP3RMIX Input 1 Volume */
585 { 0x000009ca, 0x0000 }, /* R2506 (0x9ca) - DSP3RMIX Input 2 Source */
586 { 0x000009cb, 0x0080 }, /* R2507 (0x9cb) - DSP3RMIX Input 2 Volume */
587 { 0x000009cc, 0x0000 }, /* R2508 (0x9cc) - DSP3RMIX Input 3 Source */
588 { 0x000009cd, 0x0080 }, /* R2509 (0x9cd) - DSP3RMIX Input 3 Volume */
589 { 0x000009ce, 0x0000 }, /* R2510 (0x9ce) - DSP3RMIX Input 4 Source */
590 { 0x000009cf, 0x0080 }, /* R2511 (0x9cf) - DSP3RMIX Input 4 Volume */
591 { 0x000009d0, 0x0000 }, /* R2512 (0x9d0) - DSP3AUX1MIX Input 1 Source */
592 { 0x000009d8, 0x0000 }, /* R2520 (0x9d8) - DSP3AUX2MIX Input 1 Source */
593 { 0x000009e0, 0x0000 }, /* R2528 (0x9e0) - DSP3AUX3MIX Input 1 Source */
594 { 0x000009e8, 0x0000 }, /* R2536 (0x9e8) - DSP3AUX4MIX Input 1 Source */
595 { 0x000009f0, 0x0000 }, /* R2544 (0x9f0) - DSP3AUX5MIX Input 1 Source */
596 { 0x000009f8, 0x0000 }, /* R2552 (0x9f8) - DSP3AUX6MIX Input 1 Source */
597 { 0x00000b00, 0x0000 }, /* R2816 (0xb00) - ISRC1DEC1MIX Input 1 Source*/
598 { 0x00000b08, 0x0000 }, /* R2824 (0xb08) - ISRC1DEC2MIX Input 1 Source*/
599 { 0x00000b10, 0x0000 }, /* R2832 (0xb10) - ISRC1DEC3MIX Input 1 Source*/
600 { 0x00000b18, 0x0000 }, /* R2840 (0xb18) - ISRC1DEC4MIX Input 1 Source*/
601 { 0x00000b20, 0x0000 }, /* R2848 (0xb20) - ISRC1INT1MIX Input 1 Source*/
602 { 0x00000b28, 0x0000 }, /* R2856 (0xb28) - ISRC1INT2MIX Input 1 Source*/
603 { 0x00000b30, 0x0000 }, /* R2864 (0xb30) - ISRC1INT3MIX Input 1 Source*/
604 { 0x00000b38, 0x0000 }, /* R2872 (0xb38) - ISRC1INT4MIX Input 1 Source*/
605 { 0x00000b40, 0x0000 }, /* R2880 (0xb40) - ISRC2DEC1MIX Input 1 Source*/
606 { 0x00000b48, 0x0000 }, /* R2888 (0xb48) - ISRC2DEC2MIX Input 1 Source*/
607 { 0x00000b50, 0x0000 }, /* R2896 (0xb50) - ISRC2DEC3MIX Input 1 Source*/
608 { 0x00000b58, 0x0000 }, /* R2904 (0xb58) - ISRC2DEC4MIX Input 1 Source*/
609 { 0x00000b60, 0x0000 }, /* R2912 (0xb60) - ISRC2INT1MIX Input 1 Source*/
610 { 0x00000b68, 0x0000 }, /* R2920 (0xb68) - ISRC2INT2MIX Input 1 Source*/
611 { 0x00000b70, 0x0000 }, /* R2928 (0xb70) - ISRC2INT3MIX Input 1 Source*/
612 { 0x00000b78, 0x0000 }, /* R2936 (0xb78) - ISRC2INT4MIX Input 1 Source*/
613 { 0x00000e00, 0x0000 }, /* R3584 (0xe00) - FX Ctrl1 */
614 { 0x00000e10, 0x6318 }, /* R3600 (0xe10) - EQ1_1 */
615 { 0x00000e11, 0x6300 }, /* R3601 (0xe11) - EQ1_2 */
616 { 0x00000e12, 0x0fc8 }, /* R3602 (0xe12) - EQ1_3 */
617 { 0x00000e13, 0x03fe }, /* R3603 (0xe13) - EQ1_4 */
618 { 0x00000e14, 0x00e0 }, /* R3604 (0xe14) - EQ1_5 */
619 { 0x00000e15, 0x1ec4 }, /* R3605 (0xe15) - EQ1_6 */
620 { 0x00000e16, 0xf136 }, /* R3606 (0xe16) - EQ1_7 */
621 { 0x00000e17, 0x0409 }, /* R3607 (0xe17) - EQ1_8 */
622 { 0x00000e18, 0x04cc }, /* R3608 (0xe18) - EQ1_9 */
623 { 0x00000e19, 0x1c9b }, /* R3609 (0xe19) - EQ1_10 */
624 { 0x00000e1a, 0xf337 }, /* R3610 (0xe1a) - EQ1_11 */
625 { 0x00000e1b, 0x040b }, /* R3611 (0xe1b) - EQ1_12 */
626 { 0x00000e1c, 0x0cbb }, /* R3612 (0xe1c) - EQ1_13 */
627 { 0x00000e1d, 0x16f8 }, /* R3613 (0xe1d) - EQ1_14 */
628 { 0x00000e1e, 0xf7d9 }, /* R3614 (0xe1e) - EQ1_15 */
629 { 0x00000e1f, 0x040a }, /* R3615 (0xe1f) - EQ1_16 */
630 { 0x00000e20, 0x1f14 }, /* R3616 (0xe20) - EQ1_17 */
631 { 0x00000e21, 0x058c }, /* R3617 (0xe21) - EQ1_18 */
632 { 0x00000e22, 0x0563 }, /* R3618 (0xe22) - EQ1_19 */
633 { 0x00000e23, 0x4000 }, /* R3619 (0xe23) - EQ1_20 */
634 { 0x00000e24, 0x0b75 }, /* R3620 (0xe24) - EQ1_21 */
635 { 0x00000e26, 0x6318 }, /* R3622 (0xe26) - EQ2_1 */
636 { 0x00000e27, 0x6300 }, /* R3623 (0xe27) - EQ2_2 */
637 { 0x00000e28, 0x0fc8 }, /* R3624 (0xe28) - EQ2_3 */
638 { 0x00000e29, 0x03fe }, /* R3625 (0xe29) - EQ2_4 */
639 { 0x00000e2a, 0x00e0 }, /* R3626 (0xe2a) - EQ2_5 */
640 { 0x00000e2b, 0x1ec4 }, /* R3627 (0xe2b) - EQ2_6 */
641 { 0x00000e2c, 0xf136 }, /* R3628 (0xe2c) - EQ2_7 */
642 { 0x00000e2d, 0x0409 }, /* R3629 (0xe2d) - EQ2_8 */
643 { 0x00000e2e, 0x04cc }, /* R3630 (0xe2e) - EQ2_9 */
644 { 0x00000e2f, 0x1c9b }, /* R3631 (0xe2f) - EQ2_10 */
645 { 0x00000e30, 0xf337 }, /* R3632 (0xe30) - EQ2_11 */
646 { 0x00000e31, 0x040b }, /* R3633 (0xe31) - EQ2_12 */
647 { 0x00000e32, 0x0cbb }, /* R3634 (0xe32) - EQ2_13 */
648 { 0x00000e33, 0x16f8 }, /* R3635 (0xe33) - EQ2_14 */
649 { 0x00000e34, 0xf7d9 }, /* R3636 (0xe34) - EQ2_15 */
650 { 0x00000e35, 0x040a }, /* R3637 (0xe35) - EQ2_16 */
651 { 0x00000e36, 0x1f14 }, /* R3638 (0xe36) - EQ2_17 */
652 { 0x00000e37, 0x058c }, /* R3639 (0xe37) - EQ2_18 */
653 { 0x00000e38, 0x0563 }, /* R3640 (0xe38) - EQ2_19 */
654 { 0x00000e39, 0x4000 }, /* R3641 (0xe39) - EQ2_20 */
655 { 0x00000e3a, 0x0b75 }, /* R3642 (0xe3a) - EQ2_21 */
656 { 0x00000e3c, 0x6318 }, /* R3644 (0xe3c) - EQ3_1 */
657 { 0x00000e3d, 0x6300 }, /* R3645 (0xe3d) - EQ3_2 */
658 { 0x00000e3e, 0x0fc8 }, /* R3646 (0xe3e) - EQ3_3 */
659 { 0x00000e3f, 0x03fe }, /* R3647 (0xe3f) - EQ3_4 */
660 { 0x00000e40, 0x00e0 }, /* R3648 (0xe40) - EQ3_5 */
661 { 0x00000e41, 0x1ec4 }, /* R3649 (0xe41) - EQ3_6 */
662 { 0x00000e42, 0xf136 }, /* R3650 (0xe42) - EQ3_7 */
663 { 0x00000e43, 0x0409 }, /* R3651 (0xe43) - EQ3_8 */
664 { 0x00000e44, 0x04cc }, /* R3652 (0xe44) - EQ3_9 */
665 { 0x00000e45, 0x1c9b }, /* R3653 (0xe45) - EQ3_10 */
666 { 0x00000e46, 0xf337 }, /* R3654 (0xe46) - EQ3_11 */
667 { 0x00000e47, 0x040b }, /* R3655 (0xe47) - EQ3_12 */
668 { 0x00000e48, 0x0cbb }, /* R3656 (0xe48) - EQ3_13 */
669 { 0x00000e49, 0x16f8 }, /* R3657 (0xe49) - EQ3_14 */
670 { 0x00000e4a, 0xf7d9 }, /* R3658 (0xe4a) - EQ3_15 */
671 { 0x00000e4b, 0x040a }, /* R3659 (0xe4b) - EQ3_16 */
672 { 0x00000e4c, 0x1f14 }, /* R3660 (0xe4c) - EQ3_17 */
673 { 0x00000e4d, 0x058c }, /* R3661 (0xe4d) - EQ3_18 */
674 { 0x00000e4e, 0x0563 }, /* R3662 (0xe4e) - EQ3_19 */
675 { 0x00000e4f, 0x4000 }, /* R3663 (0xe4f) - EQ3_20 */
676 { 0x00000e50, 0x0b75 }, /* R3664 (0xe50) - EQ3_21 */
677 { 0x00000e52, 0x6318 }, /* R3666 (0xe52) - EQ4_1 */
678 { 0x00000e53, 0x6300 }, /* R3667 (0xe53) - EQ4_2 */
679 { 0x00000e54, 0x0fc8 }, /* R3668 (0xe54) - EQ4_3 */
680 { 0x00000e55, 0x03fe }, /* R3669 (0xe55) - EQ4_4 */
681 { 0x00000e56, 0x00e0 }, /* R3670 (0xe56) - EQ4_5 */
682 { 0x00000e57, 0x1ec4 }, /* R3671 (0xe57) - EQ4_6 */
683 { 0x00000e58, 0xf136 }, /* R3672 (0xe58) - EQ4_7 */
684 { 0x00000e59, 0x0409 }, /* R3673 (0xe59) - EQ4_8 */
685 { 0x00000e5a, 0x04cc }, /* R3674 (0xe5a) - EQ4_9 */
686 { 0x00000e5b, 0x1c9b }, /* R3675 (0xe5b) - EQ4_10 */
687 { 0x00000e5c, 0xf337 }, /* R3676 (0xe5c) - EQ4_11 */
688 { 0x00000e5d, 0x040b }, /* R3677 (0xe5d) - EQ4_12 */
689 { 0x00000e5e, 0x0cbb }, /* R3678 (0xe5e) - EQ4_13 */
690 { 0x00000e5f, 0x16f8 }, /* R3679 (0xe5f) - EQ4_14 */
691 { 0x00000e60, 0xf7d9 }, /* R3680 (0xe60) - EQ4_15 */
692 { 0x00000e61, 0x040a }, /* R3681 (0xe61) - EQ4_16 */
693 { 0x00000e62, 0x1f14 }, /* R3682 (0xe62) - EQ4_17 */
694 { 0x00000e63, 0x058c }, /* R3683 (0xe63) - EQ4_18 */
695 { 0x00000e64, 0x0563 }, /* R3684 (0xe64) - EQ4_19 */
696 { 0x00000e65, 0x4000 }, /* R3685 (0xe65) - EQ4_20 */
697 { 0x00000e66, 0x0b75 }, /* R3686 (0xe66) - EQ4_21 */
698 { 0x00000e80, 0x0018 }, /* R3712 (0xe80) - DRC1 ctrl1 */
699 { 0x00000e81, 0x0933 }, /* R3713 (0xe81) - DRC1 ctrl2 */
700 { 0x00000e82, 0x0018 }, /* R3714 (0xe82) - DRC1 ctrl3 */
701 { 0x00000e83, 0x0000 }, /* R3715 (0xe83) - DRC1 ctrl4 */
702 { 0x00000e84, 0x0000 }, /* R3716 (0xe84) - DRC1 ctrl5 */
703 { 0x00000e88, 0x0018 }, /* R3720 (0xe88) - DRC2 ctrl1 */
704 { 0x00000e89, 0x0933 }, /* R3721 (0xe89) - DRC2 ctrl2 */
705 { 0x00000e8a, 0x0018 }, /* R3722 (0xe8a) - DRC2 ctrl3 */
706 { 0x00000e8b, 0x0000 }, /* R3723 (0xe8b) - DRC2 ctrl4 */
707 { 0x00000e8c, 0x0000 }, /* R3724 (0xe8c) - DRC2 ctrl5 */
708 { 0x00000ec0, 0x0000 }, /* R3776 (0xec0) - HPLPF1_1 */
709 { 0x00000ec1, 0x0000 }, /* R3777 (0xec1) - HPLPF1_2 */
710 { 0x00000ec4, 0x0000 }, /* R3780 (0xec4) - HPLPF2_1 */
711 { 0x00000ec5, 0x0000 }, /* R3781 (0xec5) - HPLPF2_2 */
712 { 0x00000ec8, 0x0000 }, /* R3784 (0xec8) - HPLPF3_1 */
713 { 0x00000ec9, 0x0000 }, /* R3785 (0xec9) - HPLPF3_2 */
714 { 0x00000ecc, 0x0000 }, /* R3788 (0xecc) - HPLPF4_1 */
715 { 0x00000ecd, 0x0000 }, /* R3789 (0xecd) - HPLPF4_2 */
716 { 0x00000ef0, 0x0000 }, /* R3824 (0xef0) - ISRC 1 CTRL 1 */
717 { 0x00000ef1, 0x0001 }, /* R3825 (0xef1) - ISRC 1 CTRL 2 */
718 { 0x00000ef2, 0x0000 }, /* R3826 (0xef2) - ISRC 1 CTRL 3 */
719 { 0x00000ef3, 0x0000 }, /* R3827 (0xef3) - ISRC 2 CTRL 1 */
720 { 0x00000ef4, 0x0001 }, /* R3828 (0xef4) - ISRC 2 CTRL 2 */
721 { 0x00000ef5, 0x0000 }, /* R3829 (0xef5) - ISRC 2 CTRL 3 */
722 { 0x00001300, 0x0000 }, /* R4864 (0x1300) - DAC Comp 1 */
723 { 0x00001302, 0x0000 }, /* R4866 (0x1302) - DAC Comp 2 */
724 { 0x00001380, 0x0000 }, /* R4992 (0x1380) - FRF Coefficient 1L 1 */
725 { 0x00001381, 0x0000 }, /* R4993 (0x1381) - FRF Coefficient 1L 2 */
726 { 0x00001382, 0x0000 }, /* R4994 (0x1382) - FRF Coefficient 1L 3 */
727 { 0x00001383, 0x0000 }, /* R4995 (0x1383) - FRF Coefficient 1L 4 */
728 { 0x00001390, 0x0000 }, /* R5008 (0x1390) - FRF Coefficient 1R 1 */
729 { 0x00001391, 0x0000 }, /* R5009 (0x1391) - FRF Coefficient 1R 2 */
730 { 0x00001392, 0x0000 }, /* R5010 (0x1392) - FRF Coefficient 1R 3 */
731 { 0x00001393, 0x0000 }, /* R5011 (0x1393) - FRF Coefficient 1R 4 */
732 { 0x000013a0, 0x0000 }, /* R5024 (0x13a0) - FRF Coefficient 4L 1 */
733 { 0x000013a1, 0x0000 }, /* R5025 (0x13a1) - FRF Coefficient 4L 2 */
734 { 0x000013a2, 0x0000 }, /* R5026 (0x13a2) - FRF Coefficient 4L 3 */
735 { 0x000013a3, 0x0000 }, /* R5027 (0x13a3) - FRF Coefficient 4L 4 */
736 { 0x000013b0, 0x0000 }, /* R5040 (0x13b0) - FRF Coefficient 5L 1 */
737 { 0x000013b1, 0x0000 }, /* R5041 (0x13b1) - FRF Coefficient 5L 2 */
738 { 0x000013b2, 0x0000 }, /* R5042 (0x13b2) - FRF Coefficient 5L 3 */
739 { 0x000013b3, 0x0000 }, /* R5043 (0x13b3) - FRF Coefficient 5L 4 */
740 { 0x000013c0, 0x0000 }, /* R5040 (0x13c0) - FRF Coefficient 5R 1 */
741 { 0x000013c1, 0x0000 }, /* R5041 (0x13c1) - FRF Coefficient 5R 2 */
742 { 0x000013c2, 0x0000 }, /* R5042 (0x13c2) - FRF Coefficient 5R 3 */
743 { 0x000013c3, 0x0000 }, /* R5043 (0x13c3) - FRF Coefficient 5R 4 */
744 { 0x00001700, 0x2001 }, /* R5888 (0x1700) - GPIO1 Control 1 */
745 { 0x00001701, 0xf000 }, /* R5889 (0x1701) - GPIO1 Control 2 */
746 { 0x00001702, 0x2001 }, /* R5890 (0x1702) - GPIO2 Control 1 */
747 { 0x00001703, 0xf000 }, /* R5891 (0x1703) - GPIO2 Control 2 */
748 { 0x00001704, 0x2001 }, /* R5892 (0x1704) - GPIO3 Control 1 */
749 { 0x00001705, 0xf000 }, /* R5893 (0x1705) - GPIO3 Control 2 */
750 { 0x00001706, 0x2001 }, /* R5894 (0x1706) - GPIO4 Control 1 */
751 { 0x00001707, 0xf000 }, /* R5895 (0x1707) - GPIO4 Control 2 */
752 { 0x00001708, 0x2001 }, /* R5896 (0x1708) - GPIO5 Control 1 */
753 { 0x00001709, 0xf000 }, /* R5897 (0x1709) - GPIO5 Control 2 */
754 { 0x0000170a, 0x2001 }, /* R5898 (0x170a) - GPIO6 Control 1 */
755 { 0x0000170b, 0xf000 }, /* R5899 (0x170b) - GPIO6 Control 2 */
756 { 0x0000170c, 0x2001 }, /* R5900 (0x170c) - GPIO7 Control 1 */
757 { 0x0000170d, 0xf000 }, /* R5901 (0x170d) - GPIO7 Control 2 */
758 { 0x0000170e, 0x2001 }, /* R5902 (0x170e) - GPIO8 Control 1 */
759 { 0x0000170f, 0xf000 }, /* R5903 (0x170f) - GPIO8 Control 2 */
760 { 0x00001710, 0x2001 }, /* R5904 (0x1710) - GPIO9 Control 1 */
761 { 0x00001711, 0xf000 }, /* R5905 (0x1711) - GPIO9 Control 2 */
762 { 0x00001712, 0x2001 }, /* R5906 (0x1712) - GPIO10 Control 1 */
763 { 0x00001713, 0xf000 }, /* R5907 (0x1713) - GPIO10 Control 2 */
764 { 0x00001714, 0x2001 }, /* R5908 (0x1714) - GPIO11 Control 1 */
765 { 0x00001715, 0xf000 }, /* R5909 (0x1715) - GPIO11 Control 2 */
766 { 0x00001716, 0x2001 }, /* R5910 (0x1716) - GPIO12 Control 1 */
767 { 0x00001717, 0xf000 }, /* R5911 (0x1717) - GPIO12 Control 2 */
768 { 0x00001718, 0x2001 }, /* R5912 (0x1718) - GPIO13 Control 1 */
769 { 0x00001719, 0xf000 }, /* R5913 (0x1719) - GPIO13 Control 2 */
770 { 0x0000171a, 0x2001 }, /* R5914 (0x171a) - GPIO14 Control 1 */
771 { 0x0000171b, 0xf000 }, /* R5915 (0x171b) - GPIO14 Control 2 */
772 { 0x0000171c, 0x2001 }, /* R5916 (0x171c) - GPIO15 Control 1 */
773 { 0x0000171d, 0xf000 }, /* R5917 (0x171d) - GPIO15 Control 2 */
774 { 0x0000171e, 0x2001 }, /* R5918 (0x171e) - GPIO16 Control 1 */
775 { 0x0000171f, 0xf000 }, /* R5919 (0x171f) - GPIO16 Control 2 */
776 { 0x00001840, 0xffff }, /* R6208 (0x1840) - IRQ1 Mask 1 */
777 { 0x00001841, 0xffff }, /* R6209 (0x1841) - IRQ1 Mask 2 */
778 { 0x00001842, 0xffff }, /* R6210 (0x1842) - IRQ1 Mask 3 */
779 { 0x00001843, 0xffff }, /* R6211 (0x1843) - IRQ1 Mask 4 */
780 { 0x00001844, 0xffff }, /* R6212 (0x1844) - IRQ1 Mask 5 */
781 { 0x00001845, 0xffff }, /* R6213 (0x1845) - IRQ1 Mask 6 */
782 { 0x00001846, 0xffff }, /* R6214 (0x1846) - IRQ1 Mask 7 */
783 { 0x00001847, 0xffff }, /* R6215 (0x1847) - IRQ1 Mask 8 */
784 { 0x00001848, 0xffff }, /* R6216 (0x1848) - IRQ1 Mask 9 */
785 { 0x00001849, 0xffff }, /* R6217 (0x1849) - IRQ1 Mask 10 */
786 { 0x0000184a, 0xffff }, /* R6218 (0x184a) - IRQ1 Mask 11 */
787 { 0x0000184b, 0xffff }, /* R6219 (0x184b) - IRQ1 Mask 12 */
788 { 0x0000184c, 0xffff }, /* R6220 (0x184c) - IRQ1 Mask 13 */
789 { 0x0000184d, 0xffff }, /* R6221 (0x184d) - IRQ1 Mask 14 */
790 { 0x0000184e, 0xffff }, /* R6222 (0x184e) - IRQ1 Mask 15 */
791 { 0x0000184f, 0xffff }, /* R6223 (0x184f) - IRQ1 Mask 16 */
792 { 0x00001850, 0xffff }, /* R6224 (0x1850) - IRQ1 Mask 17 */
793 { 0x00001851, 0xffff }, /* R6225 (0x1851) - IRQ1 Mask 18 */
794 { 0x00001852, 0xffff }, /* R6226 (0x1852) - IRQ1 Mask 19 */
795 { 0x00001853, 0xffff }, /* R6227 (0x1853) - IRQ1 Mask 20 */
796 { 0x00001854, 0xffff }, /* R6228 (0x1854) - IRQ1 Mask 21 */
797 { 0x00001855, 0xffff }, /* R6229 (0x1855) - IRQ1 Mask 22 */
798 { 0x00001856, 0xffff }, /* R6230 (0x1856) - IRQ1 Mask 23 */
799 { 0x00001857, 0xffff }, /* R6231 (0x1857) - IRQ1 Mask 24 */
800 { 0x00001858, 0xffff }, /* R6232 (0x1858) - IRQ1 Mask 25 */
801 { 0x00001859, 0xffff }, /* R6233 (0x1859) - IRQ1 Mask 26 */
802 { 0x0000185a, 0xffff }, /* R6234 (0x185a) - IRQ1 Mask 27 */
803 { 0x0000185b, 0xffff }, /* R6235 (0x185b) - IRQ1 Mask 28 */
804 { 0x0000185c, 0xffff }, /* R6236 (0x185c) - IRQ1 Mask 29 */
805 { 0x0000185d, 0xffff }, /* R6237 (0x185d) - IRQ1 Mask 30 */
806 { 0x0000185e, 0xffff }, /* R6238 (0x185e) - IRQ1 Mask 31 */
807 { 0x0000185f, 0xffff }, /* R6239 (0x185f) - IRQ1 Mask 32 */
808 { 0x00001860, 0xffff }, /* R6240 (0x1860) - IRQ1 Mask 33 */
809 { 0x00001a06, 0x0000 }, /* R6662 (0x1a06) - Interrupt Debounce 7 */
810 { 0x00001a80, 0x4400 }, /* R6784 (0x1a80) - IRQ1 CTRL */
811};
812
813static bool cs47l35_is_adsp_memory(unsigned int reg)
814{
815 switch (reg) {
816 case 0x080000 ... 0x085ffe:
817 case 0x0a0000 ... 0x0a7ffe:
818 case 0x0c0000 ... 0x0c1ffe:
819 case 0x0e0000 ... 0x0e1ffe:
820 case 0x100000 ... 0x10effe:
821 case 0x120000 ... 0x12bffe:
822 case 0x136000 ... 0x137ffe:
823 case 0x140000 ... 0x14bffe:
824 case 0x160000 ... 0x161ffe:
825 case 0x180000 ... 0x18effe:
826 case 0x1a0000 ... 0x1b1ffe:
827 case 0x1b6000 ... 0x1b7ffe:
828 case 0x1c0000 ... 0x1cbffe:
829 case 0x1e0000 ... 0x1e1ffe:
830 return true;
831 default:
832 return false;
833 }
834}
835
836static bool cs47l35_16bit_readable_register(struct device *dev,
837 unsigned int reg)
838{
839 switch (reg) {
840 case MADERA_SOFTWARE_RESET:
841 case MADERA_HARDWARE_REVISION:
842 case MADERA_WRITE_SEQUENCER_CTRL_0:
843 case MADERA_WRITE_SEQUENCER_CTRL_1:
844 case MADERA_WRITE_SEQUENCER_CTRL_2:
845 case MADERA_TONE_GENERATOR_1:
846 case MADERA_TONE_GENERATOR_2:
847 case MADERA_TONE_GENERATOR_3:
848 case MADERA_TONE_GENERATOR_4:
849 case MADERA_TONE_GENERATOR_5:
850 case MADERA_PWM_DRIVE_1:
851 case MADERA_PWM_DRIVE_2:
852 case MADERA_PWM_DRIVE_3:
853 case MADERA_SAMPLE_RATE_SEQUENCE_SELECT_1:
854 case MADERA_SAMPLE_RATE_SEQUENCE_SELECT_2:
855 case MADERA_SAMPLE_RATE_SEQUENCE_SELECT_3:
856 case MADERA_SAMPLE_RATE_SEQUENCE_SELECT_4:
857 case MADERA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_1:
858 case MADERA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_2:
859 case MADERA_HAPTICS_CONTROL_1:
860 case MADERA_HAPTICS_CONTROL_2:
861 case MADERA_HAPTICS_PHASE_1_INTENSITY:
862 case MADERA_HAPTICS_PHASE_1_DURATION:
863 case MADERA_HAPTICS_PHASE_2_INTENSITY:
864 case MADERA_HAPTICS_PHASE_2_DURATION:
865 case MADERA_HAPTICS_PHASE_3_INTENSITY:
866 case MADERA_HAPTICS_PHASE_3_DURATION:
867 case MADERA_HAPTICS_STATUS:
868 case MADERA_COMFORT_NOISE_GENERATOR:
869 case MADERA_CLOCK_32K_1:
870 case MADERA_SYSTEM_CLOCK_1:
871 case MADERA_SAMPLE_RATE_1:
872 case MADERA_SAMPLE_RATE_2:
873 case MADERA_SAMPLE_RATE_3:
874 case MADERA_SAMPLE_RATE_1_STATUS:
875 case MADERA_SAMPLE_RATE_2_STATUS:
876 case MADERA_SAMPLE_RATE_3_STATUS:
877 case MADERA_DSP_CLOCK_1:
878 case MADERA_DSP_CLOCK_2:
879 case MADERA_OUTPUT_SYSTEM_CLOCK:
880 case MADERA_OUTPUT_ASYNC_CLOCK:
881 case MADERA_RATE_ESTIMATOR_1:
882 case MADERA_RATE_ESTIMATOR_2:
883 case MADERA_RATE_ESTIMATOR_3:
884 case MADERA_RATE_ESTIMATOR_4:
885 case MADERA_RATE_ESTIMATOR_5:
886 case MADERA_FLL1_CONTROL_1:
887 case MADERA_FLL1_CONTROL_2:
888 case MADERA_FLL1_CONTROL_3:
889 case MADERA_FLL1_CONTROL_4:
890 case MADERA_FLL1_CONTROL_5:
891 case MADERA_FLL1_CONTROL_6:
892 case MADERA_FLL1_CONTROL_7:
893 case MADERA_FLL1_EFS_2:
894 case MADERA_FLL1_LOOP_FILTER_TEST_1:
895 case CS47L35_FLL1_SYNCHRONISER_1:
896 case CS47L35_FLL1_SYNCHRONISER_2:
897 case CS47L35_FLL1_SYNCHRONISER_3:
898 case CS47L35_FLL1_SYNCHRONISER_4:
899 case CS47L35_FLL1_SYNCHRONISER_5:
900 case CS47L35_FLL1_SYNCHRONISER_6:
901 case CS47L35_FLL1_SYNCHRONISER_7:
902 case CS47L35_FLL1_SPREAD_SPECTRUM:
903 case CS47L35_FLL1_GPIO_CLOCK:
904 case MADERA_MIC_CHARGE_PUMP_1:
905 case MADERA_HP_CHARGE_PUMP_8:
906 case MADERA_LDO2_CONTROL_1:
907 case MADERA_MIC_BIAS_CTRL_1:
908 case MADERA_MIC_BIAS_CTRL_2:
909 case MADERA_MIC_BIAS_CTRL_5:
910 case MADERA_MIC_BIAS_CTRL_6:
911 case MADERA_HP_CTRL_1L:
912 case MADERA_HP_CTRL_1R:
913 case MADERA_DCS_HP1L_CONTROL:
914 case MADERA_DCS_HP1R_CONTROL:
915 case MADERA_EDRE_HP_STEREO_CONTROL:
916 case MADERA_ACCESSORY_DETECT_MODE_1:
917 case MADERA_HEADPHONE_DETECT_1:
918 case MADERA_HEADPHONE_DETECT_2:
919 case MADERA_HEADPHONE_DETECT_3:
920 case MADERA_HEADPHONE_DETECT_5:
921 case MADERA_MICD_CLAMP_CONTROL:
922 case MADERA_MIC_DETECT_1_CONTROL_1:
923 case MADERA_MIC_DETECT_1_CONTROL_2:
924 case MADERA_MIC_DETECT_1_CONTROL_3:
925 case MADERA_MIC_DETECT_1_LEVEL_1:
926 case MADERA_MIC_DETECT_1_LEVEL_2:
927 case MADERA_MIC_DETECT_1_LEVEL_3:
928 case MADERA_MIC_DETECT_1_LEVEL_4:
929 case MADERA_MIC_DETECT_1_CONTROL_4:
930 case MADERA_GP_SWITCH_1:
931 case MADERA_JACK_DETECT_ANALOGUE:
932 case MADERA_INPUT_ENABLES:
933 case MADERA_INPUT_ENABLES_STATUS:
934 case MADERA_INPUT_RATE:
935 case MADERA_INPUT_VOLUME_RAMP:
936 case MADERA_HPF_CONTROL:
937 case MADERA_IN1L_CONTROL:
938 case MADERA_ADC_DIGITAL_VOLUME_1L:
939 case MADERA_DMIC1L_CONTROL:
940 case MADERA_IN1R_CONTROL:
941 case MADERA_ADC_DIGITAL_VOLUME_1R:
942 case MADERA_DMIC1R_CONTROL:
943 case MADERA_IN2L_CONTROL:
944 case MADERA_ADC_DIGITAL_VOLUME_2L:
945 case MADERA_DMIC2L_CONTROL:
946 case MADERA_IN2R_CONTROL:
947 case MADERA_ADC_DIGITAL_VOLUME_2R:
948 case MADERA_DMIC2R_CONTROL:
949 case MADERA_OUTPUT_ENABLES_1:
950 case MADERA_OUTPUT_STATUS_1:
951 case MADERA_RAW_OUTPUT_STATUS_1:
952 case MADERA_OUTPUT_RATE_1:
953 case MADERA_OUTPUT_VOLUME_RAMP:
954 case MADERA_OUTPUT_PATH_CONFIG_1L:
955 case MADERA_DAC_DIGITAL_VOLUME_1L:
956 case MADERA_NOISE_GATE_SELECT_1L:
957 case MADERA_OUTPUT_PATH_CONFIG_1R:
958 case MADERA_DAC_DIGITAL_VOLUME_1R:
959 case MADERA_NOISE_GATE_SELECT_1R:
960 case MADERA_OUTPUT_PATH_CONFIG_4L:
961 case MADERA_DAC_DIGITAL_VOLUME_4L:
962 case MADERA_NOISE_GATE_SELECT_4L:
963 case MADERA_OUTPUT_PATH_CONFIG_5L:
964 case MADERA_DAC_DIGITAL_VOLUME_5L:
965 case MADERA_NOISE_GATE_SELECT_5L:
966 case MADERA_OUTPUT_PATH_CONFIG_5R:
967 case MADERA_DAC_DIGITAL_VOLUME_5R:
968 case MADERA_NOISE_GATE_SELECT_5R:
969 case MADERA_DRE_ENABLE:
970 case MADERA_EDRE_ENABLE:
971 case MADERA_EDRE_MANUAL:
972 case MADERA_DAC_AEC_CONTROL_1:
973 case MADERA_NOISE_GATE_CONTROL:
974 case MADERA_PDM_SPK1_CTRL_1:
975 case MADERA_PDM_SPK1_CTRL_2:
976 case MADERA_HP1_SHORT_CIRCUIT_CTRL:
977 case MADERA_HP_TEST_CTRL_5:
978 case MADERA_HP_TEST_CTRL_6:
979 case MADERA_AIF1_BCLK_CTRL:
980 case MADERA_AIF1_TX_PIN_CTRL:
981 case MADERA_AIF1_RX_PIN_CTRL:
982 case MADERA_AIF1_RATE_CTRL:
983 case MADERA_AIF1_FORMAT:
984 case MADERA_AIF1_RX_BCLK_RATE:
985 case MADERA_AIF1_FRAME_CTRL_1:
986 case MADERA_AIF1_FRAME_CTRL_2:
987 case MADERA_AIF1_FRAME_CTRL_3:
988 case MADERA_AIF1_FRAME_CTRL_4:
989 case MADERA_AIF1_FRAME_CTRL_5:
990 case MADERA_AIF1_FRAME_CTRL_6:
991 case MADERA_AIF1_FRAME_CTRL_7:
992 case MADERA_AIF1_FRAME_CTRL_8:
993 case MADERA_AIF1_FRAME_CTRL_11:
994 case MADERA_AIF1_FRAME_CTRL_12:
995 case MADERA_AIF1_FRAME_CTRL_13:
996 case MADERA_AIF1_FRAME_CTRL_14:
997 case MADERA_AIF1_FRAME_CTRL_15:
998 case MADERA_AIF1_FRAME_CTRL_16:
999 case MADERA_AIF1_TX_ENABLES:
1000 case MADERA_AIF1_RX_ENABLES:
1001 case MADERA_AIF2_BCLK_CTRL:
1002 case MADERA_AIF2_TX_PIN_CTRL:
1003 case MADERA_AIF2_RX_PIN_CTRL:
1004 case MADERA_AIF2_RATE_CTRL:
1005 case MADERA_AIF2_FORMAT:
1006 case MADERA_AIF2_RX_BCLK_RATE:
1007 case MADERA_AIF2_FRAME_CTRL_1:
1008 case MADERA_AIF2_FRAME_CTRL_2:
1009 case MADERA_AIF2_FRAME_CTRL_3:
1010 case MADERA_AIF2_FRAME_CTRL_4:
1011 case MADERA_AIF2_FRAME_CTRL_11:
1012 case MADERA_AIF2_FRAME_CTRL_12:
1013 case MADERA_AIF2_TX_ENABLES:
1014 case MADERA_AIF2_RX_ENABLES:
1015 case MADERA_AIF3_BCLK_CTRL:
1016 case MADERA_AIF3_TX_PIN_CTRL:
1017 case MADERA_AIF3_RX_PIN_CTRL:
1018 case MADERA_AIF3_RATE_CTRL:
1019 case MADERA_AIF3_FORMAT:
1020 case MADERA_AIF3_RX_BCLK_RATE:
1021 case MADERA_AIF3_FRAME_CTRL_1:
1022 case MADERA_AIF3_FRAME_CTRL_2:
1023 case MADERA_AIF3_FRAME_CTRL_3:
1024 case MADERA_AIF3_FRAME_CTRL_4:
1025 case MADERA_AIF3_FRAME_CTRL_11:
1026 case MADERA_AIF3_FRAME_CTRL_12:
1027 case MADERA_AIF3_TX_ENABLES:
1028 case MADERA_AIF3_RX_ENABLES:
1029 case MADERA_SPD1_TX_CONTROL:
1030 case MADERA_SPD1_TX_CHANNEL_STATUS_1:
1031 case MADERA_SPD1_TX_CHANNEL_STATUS_2:
1032 case MADERA_SPD1_TX_CHANNEL_STATUS_3:
1033 case MADERA_SLIMBUS_FRAMER_REF_GEAR:
1034 case MADERA_SLIMBUS_RATES_1:
1035 case MADERA_SLIMBUS_RATES_2:
1036 case MADERA_SLIMBUS_RATES_3:
1037 case MADERA_SLIMBUS_RATES_5:
1038 case MADERA_SLIMBUS_RATES_6:
1039 case MADERA_SLIMBUS_RATES_7:
1040 case MADERA_SLIMBUS_RX_CHANNEL_ENABLE:
1041 case MADERA_SLIMBUS_TX_CHANNEL_ENABLE:
1042 case MADERA_SLIMBUS_RX_PORT_STATUS:
1043 case MADERA_SLIMBUS_TX_PORT_STATUS:
1044 case MADERA_PWM1MIX_INPUT_1_SOURCE:
1045 case MADERA_PWM1MIX_INPUT_1_VOLUME:
1046 case MADERA_PWM1MIX_INPUT_2_SOURCE:
1047 case MADERA_PWM1MIX_INPUT_2_VOLUME:
1048 case MADERA_PWM1MIX_INPUT_3_SOURCE:
1049 case MADERA_PWM1MIX_INPUT_3_VOLUME:
1050 case MADERA_PWM1MIX_INPUT_4_SOURCE:
1051 case MADERA_PWM1MIX_INPUT_4_VOLUME:
1052 case MADERA_PWM2MIX_INPUT_1_SOURCE:
1053 case MADERA_PWM2MIX_INPUT_1_VOLUME:
1054 case MADERA_PWM2MIX_INPUT_2_SOURCE:
1055 case MADERA_PWM2MIX_INPUT_2_VOLUME:
1056 case MADERA_PWM2MIX_INPUT_3_SOURCE:
1057 case MADERA_PWM2MIX_INPUT_3_VOLUME:
1058 case MADERA_PWM2MIX_INPUT_4_SOURCE:
1059 case MADERA_PWM2MIX_INPUT_4_VOLUME:
1060 case MADERA_OUT1LMIX_INPUT_1_SOURCE:
1061 case MADERA_OUT1LMIX_INPUT_1_VOLUME:
1062 case MADERA_OUT1LMIX_INPUT_2_SOURCE:
1063 case MADERA_OUT1LMIX_INPUT_2_VOLUME:
1064 case MADERA_OUT1LMIX_INPUT_3_SOURCE:
1065 case MADERA_OUT1LMIX_INPUT_3_VOLUME:
1066 case MADERA_OUT1LMIX_INPUT_4_SOURCE:
1067 case MADERA_OUT1LMIX_INPUT_4_VOLUME:
1068 case MADERA_OUT1RMIX_INPUT_1_SOURCE:
1069 case MADERA_OUT1RMIX_INPUT_1_VOLUME:
1070 case MADERA_OUT1RMIX_INPUT_2_SOURCE:
1071 case MADERA_OUT1RMIX_INPUT_2_VOLUME:
1072 case MADERA_OUT1RMIX_INPUT_3_SOURCE:
1073 case MADERA_OUT1RMIX_INPUT_3_VOLUME:
1074 case MADERA_OUT1RMIX_INPUT_4_SOURCE:
1075 case MADERA_OUT1RMIX_INPUT_4_VOLUME:
1076 case MADERA_OUT4LMIX_INPUT_1_SOURCE:
1077 case MADERA_OUT4LMIX_INPUT_1_VOLUME:
1078 case MADERA_OUT4LMIX_INPUT_2_SOURCE:
1079 case MADERA_OUT4LMIX_INPUT_2_VOLUME:
1080 case MADERA_OUT4LMIX_INPUT_3_SOURCE:
1081 case MADERA_OUT4LMIX_INPUT_3_VOLUME:
1082 case MADERA_OUT4LMIX_INPUT_4_SOURCE:
1083 case MADERA_OUT4LMIX_INPUT_4_VOLUME:
1084 case MADERA_OUT5LMIX_INPUT_1_SOURCE:
1085 case MADERA_OUT5LMIX_INPUT_1_VOLUME:
1086 case MADERA_OUT5LMIX_INPUT_2_SOURCE:
1087 case MADERA_OUT5LMIX_INPUT_2_VOLUME:
1088 case MADERA_OUT5LMIX_INPUT_3_SOURCE:
1089 case MADERA_OUT5LMIX_INPUT_3_VOLUME:
1090 case MADERA_OUT5LMIX_INPUT_4_SOURCE:
1091 case MADERA_OUT5LMIX_INPUT_4_VOLUME:
1092 case MADERA_OUT5RMIX_INPUT_1_SOURCE:
1093 case MADERA_OUT5RMIX_INPUT_1_VOLUME:
1094 case MADERA_OUT5RMIX_INPUT_2_SOURCE:
1095 case MADERA_OUT5RMIX_INPUT_2_VOLUME:
1096 case MADERA_OUT5RMIX_INPUT_3_SOURCE:
1097 case MADERA_OUT5RMIX_INPUT_3_VOLUME:
1098 case MADERA_OUT5RMIX_INPUT_4_SOURCE:
1099 case MADERA_OUT5RMIX_INPUT_4_VOLUME:
1100 case MADERA_AIF1TX1MIX_INPUT_1_SOURCE:
1101 case MADERA_AIF1TX1MIX_INPUT_1_VOLUME:
1102 case MADERA_AIF1TX1MIX_INPUT_2_SOURCE:
1103 case MADERA_AIF1TX1MIX_INPUT_2_VOLUME:
1104 case MADERA_AIF1TX1MIX_INPUT_3_SOURCE:
1105 case MADERA_AIF1TX1MIX_INPUT_3_VOLUME:
1106 case MADERA_AIF1TX1MIX_INPUT_4_SOURCE:
1107 case MADERA_AIF1TX1MIX_INPUT_4_VOLUME:
1108 case MADERA_AIF1TX2MIX_INPUT_1_SOURCE:
1109 case MADERA_AIF1TX2MIX_INPUT_1_VOLUME:
1110 case MADERA_AIF1TX2MIX_INPUT_2_SOURCE:
1111 case MADERA_AIF1TX2MIX_INPUT_2_VOLUME:
1112 case MADERA_AIF1TX2MIX_INPUT_3_SOURCE:
1113 case MADERA_AIF1TX2MIX_INPUT_3_VOLUME:
1114 case MADERA_AIF1TX2MIX_INPUT_4_SOURCE:
1115 case MADERA_AIF1TX2MIX_INPUT_4_VOLUME:
1116 case MADERA_AIF1TX3MIX_INPUT_1_SOURCE:
1117 case MADERA_AIF1TX3MIX_INPUT_1_VOLUME:
1118 case MADERA_AIF1TX3MIX_INPUT_2_SOURCE:
1119 case MADERA_AIF1TX3MIX_INPUT_2_VOLUME:
1120 case MADERA_AIF1TX3MIX_INPUT_3_SOURCE:
1121 case MADERA_AIF1TX3MIX_INPUT_3_VOLUME:
1122 case MADERA_AIF1TX3MIX_INPUT_4_SOURCE:
1123 case MADERA_AIF1TX3MIX_INPUT_4_VOLUME:
1124 case MADERA_AIF1TX4MIX_INPUT_1_SOURCE:
1125 case MADERA_AIF1TX4MIX_INPUT_1_VOLUME:
1126 case MADERA_AIF1TX4MIX_INPUT_2_SOURCE:
1127 case MADERA_AIF1TX4MIX_INPUT_2_VOLUME:
1128 case MADERA_AIF1TX4MIX_INPUT_3_SOURCE:
1129 case MADERA_AIF1TX4MIX_INPUT_3_VOLUME:
1130 case MADERA_AIF1TX4MIX_INPUT_4_SOURCE:
1131 case MADERA_AIF1TX4MIX_INPUT_4_VOLUME:
1132 case MADERA_AIF1TX5MIX_INPUT_1_SOURCE:
1133 case MADERA_AIF1TX5MIX_INPUT_1_VOLUME:
1134 case MADERA_AIF1TX5MIX_INPUT_2_SOURCE:
1135 case MADERA_AIF1TX5MIX_INPUT_2_VOLUME:
1136 case MADERA_AIF1TX5MIX_INPUT_3_SOURCE:
1137 case MADERA_AIF1TX5MIX_INPUT_3_VOLUME:
1138 case MADERA_AIF1TX5MIX_INPUT_4_SOURCE:
1139 case MADERA_AIF1TX5MIX_INPUT_4_VOLUME:
1140 case MADERA_AIF1TX6MIX_INPUT_1_SOURCE:
1141 case MADERA_AIF1TX6MIX_INPUT_1_VOLUME:
1142 case MADERA_AIF1TX6MIX_INPUT_2_SOURCE:
1143 case MADERA_AIF1TX6MIX_INPUT_2_VOLUME:
1144 case MADERA_AIF1TX6MIX_INPUT_3_SOURCE:
1145 case MADERA_AIF1TX6MIX_INPUT_3_VOLUME:
1146 case MADERA_AIF1TX6MIX_INPUT_4_SOURCE:
1147 case MADERA_AIF1TX6MIX_INPUT_4_VOLUME:
1148 case MADERA_AIF2TX1MIX_INPUT_1_SOURCE:
1149 case MADERA_AIF2TX1MIX_INPUT_1_VOLUME:
1150 case MADERA_AIF2TX1MIX_INPUT_2_SOURCE:
1151 case MADERA_AIF2TX1MIX_INPUT_2_VOLUME:
1152 case MADERA_AIF2TX1MIX_INPUT_3_SOURCE:
1153 case MADERA_AIF2TX1MIX_INPUT_3_VOLUME:
1154 case MADERA_AIF2TX1MIX_INPUT_4_SOURCE:
1155 case MADERA_AIF2TX1MIX_INPUT_4_VOLUME:
1156 case MADERA_AIF2TX2MIX_INPUT_1_SOURCE:
1157 case MADERA_AIF2TX2MIX_INPUT_1_VOLUME:
1158 case MADERA_AIF2TX2MIX_INPUT_2_SOURCE:
1159 case MADERA_AIF2TX2MIX_INPUT_2_VOLUME:
1160 case MADERA_AIF2TX2MIX_INPUT_3_SOURCE:
1161 case MADERA_AIF2TX2MIX_INPUT_3_VOLUME:
1162 case MADERA_AIF2TX2MIX_INPUT_4_SOURCE:
1163 case MADERA_AIF2TX2MIX_INPUT_4_VOLUME:
1164 case MADERA_AIF3TX1MIX_INPUT_1_SOURCE:
1165 case MADERA_AIF3TX1MIX_INPUT_1_VOLUME:
1166 case MADERA_AIF3TX1MIX_INPUT_2_SOURCE:
1167 case MADERA_AIF3TX1MIX_INPUT_2_VOLUME:
1168 case MADERA_AIF3TX1MIX_INPUT_3_SOURCE:
1169 case MADERA_AIF3TX1MIX_INPUT_3_VOLUME:
1170 case MADERA_AIF3TX1MIX_INPUT_4_SOURCE:
1171 case MADERA_AIF3TX1MIX_INPUT_4_VOLUME:
1172 case MADERA_AIF3TX2MIX_INPUT_1_SOURCE:
1173 case MADERA_AIF3TX2MIX_INPUT_1_VOLUME:
1174 case MADERA_AIF3TX2MIX_INPUT_2_SOURCE:
1175 case MADERA_AIF3TX2MIX_INPUT_2_VOLUME:
1176 case MADERA_AIF3TX2MIX_INPUT_3_SOURCE:
1177 case MADERA_AIF3TX2MIX_INPUT_3_VOLUME:
1178 case MADERA_AIF3TX2MIX_INPUT_4_SOURCE:
1179 case MADERA_AIF3TX2MIX_INPUT_4_VOLUME:
1180 case MADERA_SLIMTX1MIX_INPUT_1_SOURCE:
1181 case MADERA_SLIMTX1MIX_INPUT_1_VOLUME:
1182 case MADERA_SLIMTX1MIX_INPUT_2_SOURCE:
1183 case MADERA_SLIMTX1MIX_INPUT_2_VOLUME:
1184 case MADERA_SLIMTX1MIX_INPUT_3_SOURCE:
1185 case MADERA_SLIMTX1MIX_INPUT_3_VOLUME:
1186 case MADERA_SLIMTX1MIX_INPUT_4_SOURCE:
1187 case MADERA_SLIMTX1MIX_INPUT_4_VOLUME:
1188 case MADERA_SLIMTX2MIX_INPUT_1_SOURCE:
1189 case MADERA_SLIMTX2MIX_INPUT_1_VOLUME:
1190 case MADERA_SLIMTX2MIX_INPUT_2_SOURCE:
1191 case MADERA_SLIMTX2MIX_INPUT_2_VOLUME:
1192 case MADERA_SLIMTX2MIX_INPUT_3_SOURCE:
1193 case MADERA_SLIMTX2MIX_INPUT_3_VOLUME:
1194 case MADERA_SLIMTX2MIX_INPUT_4_SOURCE:
1195 case MADERA_SLIMTX2MIX_INPUT_4_VOLUME:
1196 case MADERA_SLIMTX3MIX_INPUT_1_SOURCE:
1197 case MADERA_SLIMTX3MIX_INPUT_1_VOLUME:
1198 case MADERA_SLIMTX3MIX_INPUT_2_SOURCE:
1199 case MADERA_SLIMTX3MIX_INPUT_2_VOLUME:
1200 case MADERA_SLIMTX3MIX_INPUT_3_SOURCE:
1201 case MADERA_SLIMTX3MIX_INPUT_3_VOLUME:
1202 case MADERA_SLIMTX3MIX_INPUT_4_SOURCE:
1203 case MADERA_SLIMTX3MIX_INPUT_4_VOLUME:
1204 case MADERA_SLIMTX4MIX_INPUT_1_SOURCE:
1205 case MADERA_SLIMTX4MIX_INPUT_1_VOLUME:
1206 case MADERA_SLIMTX4MIX_INPUT_2_SOURCE:
1207 case MADERA_SLIMTX4MIX_INPUT_2_VOLUME:
1208 case MADERA_SLIMTX4MIX_INPUT_3_SOURCE:
1209 case MADERA_SLIMTX4MIX_INPUT_3_VOLUME:
1210 case MADERA_SLIMTX4MIX_INPUT_4_SOURCE:
1211 case MADERA_SLIMTX4MIX_INPUT_4_VOLUME:
1212 case MADERA_SLIMTX5MIX_INPUT_1_SOURCE:
1213 case MADERA_SLIMTX5MIX_INPUT_1_VOLUME:
1214 case MADERA_SLIMTX5MIX_INPUT_2_SOURCE:
1215 case MADERA_SLIMTX5MIX_INPUT_2_VOLUME:
1216 case MADERA_SLIMTX5MIX_INPUT_3_SOURCE:
1217 case MADERA_SLIMTX5MIX_INPUT_3_VOLUME:
1218 case MADERA_SLIMTX5MIX_INPUT_4_SOURCE:
1219 case MADERA_SLIMTX5MIX_INPUT_4_VOLUME:
1220 case MADERA_SLIMTX6MIX_INPUT_1_SOURCE:
1221 case MADERA_SLIMTX6MIX_INPUT_1_VOLUME:
1222 case MADERA_SLIMTX6MIX_INPUT_2_SOURCE:
1223 case MADERA_SLIMTX6MIX_INPUT_2_VOLUME:
1224 case MADERA_SLIMTX6MIX_INPUT_3_SOURCE:
1225 case MADERA_SLIMTX6MIX_INPUT_3_VOLUME:
1226 case MADERA_SLIMTX6MIX_INPUT_4_SOURCE:
1227 case MADERA_SLIMTX6MIX_INPUT_4_VOLUME:
1228 case MADERA_SPDIF1TX1MIX_INPUT_1_SOURCE:
1229 case MADERA_SPDIF1TX1MIX_INPUT_1_VOLUME:
1230 case MADERA_SPDIF1TX2MIX_INPUT_1_SOURCE:
1231 case MADERA_SPDIF1TX2MIX_INPUT_1_VOLUME:
1232 case MADERA_EQ1MIX_INPUT_1_SOURCE:
1233 case MADERA_EQ1MIX_INPUT_1_VOLUME:
1234 case MADERA_EQ1MIX_INPUT_2_SOURCE:
1235 case MADERA_EQ1MIX_INPUT_2_VOLUME:
1236 case MADERA_EQ1MIX_INPUT_3_SOURCE:
1237 case MADERA_EQ1MIX_INPUT_3_VOLUME:
1238 case MADERA_EQ1MIX_INPUT_4_SOURCE:
1239 case MADERA_EQ1MIX_INPUT_4_VOLUME:
1240 case MADERA_EQ2MIX_INPUT_1_SOURCE:
1241 case MADERA_EQ2MIX_INPUT_1_VOLUME:
1242 case MADERA_EQ2MIX_INPUT_2_SOURCE:
1243 case MADERA_EQ2MIX_INPUT_2_VOLUME:
1244 case MADERA_EQ2MIX_INPUT_3_SOURCE:
1245 case MADERA_EQ2MIX_INPUT_3_VOLUME:
1246 case MADERA_EQ2MIX_INPUT_4_SOURCE:
1247 case MADERA_EQ2MIX_INPUT_4_VOLUME:
1248 case MADERA_EQ3MIX_INPUT_1_SOURCE:
1249 case MADERA_EQ3MIX_INPUT_1_VOLUME:
1250 case MADERA_EQ3MIX_INPUT_2_SOURCE:
1251 case MADERA_EQ3MIX_INPUT_2_VOLUME:
1252 case MADERA_EQ3MIX_INPUT_3_SOURCE:
1253 case MADERA_EQ3MIX_INPUT_3_VOLUME:
1254 case MADERA_EQ3MIX_INPUT_4_SOURCE:
1255 case MADERA_EQ3MIX_INPUT_4_VOLUME:
1256 case MADERA_EQ4MIX_INPUT_1_SOURCE:
1257 case MADERA_EQ4MIX_INPUT_1_VOLUME:
1258 case MADERA_EQ4MIX_INPUT_2_SOURCE:
1259 case MADERA_EQ4MIX_INPUT_2_VOLUME:
1260 case MADERA_EQ4MIX_INPUT_3_SOURCE:
1261 case MADERA_EQ4MIX_INPUT_3_VOLUME:
1262 case MADERA_EQ4MIX_INPUT_4_SOURCE:
1263 case MADERA_EQ4MIX_INPUT_4_VOLUME:
1264 case MADERA_DRC1LMIX_INPUT_1_SOURCE:
1265 case MADERA_DRC1LMIX_INPUT_1_VOLUME:
1266 case MADERA_DRC1LMIX_INPUT_2_SOURCE:
1267 case MADERA_DRC1LMIX_INPUT_2_VOLUME:
1268 case MADERA_DRC1LMIX_INPUT_3_SOURCE:
1269 case MADERA_DRC1LMIX_INPUT_3_VOLUME:
1270 case MADERA_DRC1LMIX_INPUT_4_SOURCE:
1271 case MADERA_DRC1LMIX_INPUT_4_VOLUME:
1272 case MADERA_DRC1RMIX_INPUT_1_SOURCE:
1273 case MADERA_DRC1RMIX_INPUT_1_VOLUME:
1274 case MADERA_DRC1RMIX_INPUT_2_SOURCE:
1275 case MADERA_DRC1RMIX_INPUT_2_VOLUME:
1276 case MADERA_DRC1RMIX_INPUT_3_SOURCE:
1277 case MADERA_DRC1RMIX_INPUT_3_VOLUME:
1278 case MADERA_DRC1RMIX_INPUT_4_SOURCE:
1279 case MADERA_DRC1RMIX_INPUT_4_VOLUME:
1280 case MADERA_DRC2LMIX_INPUT_1_SOURCE:
1281 case MADERA_DRC2LMIX_INPUT_1_VOLUME:
1282 case MADERA_DRC2LMIX_INPUT_2_SOURCE:
1283 case MADERA_DRC2LMIX_INPUT_2_VOLUME:
1284 case MADERA_DRC2LMIX_INPUT_3_SOURCE:
1285 case MADERA_DRC2LMIX_INPUT_3_VOLUME:
1286 case MADERA_DRC2LMIX_INPUT_4_SOURCE:
1287 case MADERA_DRC2LMIX_INPUT_4_VOLUME:
1288 case MADERA_DRC2RMIX_INPUT_1_SOURCE:
1289 case MADERA_DRC2RMIX_INPUT_1_VOLUME:
1290 case MADERA_DRC2RMIX_INPUT_2_SOURCE:
1291 case MADERA_DRC2RMIX_INPUT_2_VOLUME:
1292 case MADERA_DRC2RMIX_INPUT_3_SOURCE:
1293 case MADERA_DRC2RMIX_INPUT_3_VOLUME:
1294 case MADERA_DRC2RMIX_INPUT_4_SOURCE:
1295 case MADERA_DRC2RMIX_INPUT_4_VOLUME:
1296 case MADERA_HPLP1MIX_INPUT_1_SOURCE:
1297 case MADERA_HPLP1MIX_INPUT_1_VOLUME:
1298 case MADERA_HPLP1MIX_INPUT_2_SOURCE:
1299 case MADERA_HPLP1MIX_INPUT_2_VOLUME:
1300 case MADERA_HPLP1MIX_INPUT_3_SOURCE:
1301 case MADERA_HPLP1MIX_INPUT_3_VOLUME:
1302 case MADERA_HPLP1MIX_INPUT_4_SOURCE:
1303 case MADERA_HPLP1MIX_INPUT_4_VOLUME:
1304 case MADERA_HPLP2MIX_INPUT_1_SOURCE:
1305 case MADERA_HPLP2MIX_INPUT_1_VOLUME:
1306 case MADERA_HPLP2MIX_INPUT_2_SOURCE:
1307 case MADERA_HPLP2MIX_INPUT_2_VOLUME:
1308 case MADERA_HPLP2MIX_INPUT_3_SOURCE:
1309 case MADERA_HPLP2MIX_INPUT_3_VOLUME:
1310 case MADERA_HPLP2MIX_INPUT_4_SOURCE:
1311 case MADERA_HPLP2MIX_INPUT_4_VOLUME:
1312 case MADERA_HPLP3MIX_INPUT_1_SOURCE:
1313 case MADERA_HPLP3MIX_INPUT_1_VOLUME:
1314 case MADERA_HPLP3MIX_INPUT_2_SOURCE:
1315 case MADERA_HPLP3MIX_INPUT_2_VOLUME:
1316 case MADERA_HPLP3MIX_INPUT_3_SOURCE:
1317 case MADERA_HPLP3MIX_INPUT_3_VOLUME:
1318 case MADERA_HPLP3MIX_INPUT_4_SOURCE:
1319 case MADERA_HPLP3MIX_INPUT_4_VOLUME:
1320 case MADERA_HPLP4MIX_INPUT_1_SOURCE:
1321 case MADERA_HPLP4MIX_INPUT_1_VOLUME:
1322 case MADERA_HPLP4MIX_INPUT_2_SOURCE:
1323 case MADERA_HPLP4MIX_INPUT_2_VOLUME:
1324 case MADERA_HPLP4MIX_INPUT_3_SOURCE:
1325 case MADERA_HPLP4MIX_INPUT_3_VOLUME:
1326 case MADERA_HPLP4MIX_INPUT_4_SOURCE:
1327 case MADERA_HPLP4MIX_INPUT_4_VOLUME:
1328 case MADERA_DSP1LMIX_INPUT_1_SOURCE:
1329 case MADERA_DSP1LMIX_INPUT_1_VOLUME:
1330 case MADERA_DSP1LMIX_INPUT_2_SOURCE:
1331 case MADERA_DSP1LMIX_INPUT_2_VOLUME:
1332 case MADERA_DSP1LMIX_INPUT_3_SOURCE:
1333 case MADERA_DSP1LMIX_INPUT_3_VOLUME:
1334 case MADERA_DSP1LMIX_INPUT_4_SOURCE:
1335 case MADERA_DSP1LMIX_INPUT_4_VOLUME:
1336 case MADERA_DSP1RMIX_INPUT_1_SOURCE:
1337 case MADERA_DSP1RMIX_INPUT_1_VOLUME:
1338 case MADERA_DSP1RMIX_INPUT_2_SOURCE:
1339 case MADERA_DSP1RMIX_INPUT_2_VOLUME:
1340 case MADERA_DSP1RMIX_INPUT_3_SOURCE:
1341 case MADERA_DSP1RMIX_INPUT_3_VOLUME:
1342 case MADERA_DSP1RMIX_INPUT_4_SOURCE:
1343 case MADERA_DSP1RMIX_INPUT_4_VOLUME:
1344 case MADERA_DSP1AUX1MIX_INPUT_1_SOURCE:
1345 case MADERA_DSP1AUX2MIX_INPUT_1_SOURCE:
1346 case MADERA_DSP1AUX3MIX_INPUT_1_SOURCE:
1347 case MADERA_DSP1AUX4MIX_INPUT_1_SOURCE:
1348 case MADERA_DSP1AUX5MIX_INPUT_1_SOURCE:
1349 case MADERA_DSP1AUX6MIX_INPUT_1_SOURCE:
1350 case MADERA_DSP2LMIX_INPUT_1_SOURCE:
1351 case MADERA_DSP2LMIX_INPUT_1_VOLUME:
1352 case MADERA_DSP2LMIX_INPUT_2_SOURCE:
1353 case MADERA_DSP2LMIX_INPUT_2_VOLUME:
1354 case MADERA_DSP2LMIX_INPUT_3_SOURCE:
1355 case MADERA_DSP2LMIX_INPUT_3_VOLUME:
1356 case MADERA_DSP2LMIX_INPUT_4_SOURCE:
1357 case MADERA_DSP2LMIX_INPUT_4_VOLUME:
1358 case MADERA_DSP2RMIX_INPUT_1_SOURCE:
1359 case MADERA_DSP2RMIX_INPUT_1_VOLUME:
1360 case MADERA_DSP2RMIX_INPUT_2_SOURCE:
1361 case MADERA_DSP2RMIX_INPUT_2_VOLUME:
1362 case MADERA_DSP2RMIX_INPUT_3_SOURCE:
1363 case MADERA_DSP2RMIX_INPUT_3_VOLUME:
1364 case MADERA_DSP2RMIX_INPUT_4_SOURCE:
1365 case MADERA_DSP2RMIX_INPUT_4_VOLUME:
1366 case MADERA_DSP2AUX1MIX_INPUT_1_SOURCE:
1367 case MADERA_DSP2AUX2MIX_INPUT_1_SOURCE:
1368 case MADERA_DSP2AUX3MIX_INPUT_1_SOURCE:
1369 case MADERA_DSP2AUX4MIX_INPUT_1_SOURCE:
1370 case MADERA_DSP2AUX5MIX_INPUT_1_SOURCE:
1371 case MADERA_DSP2AUX6MIX_INPUT_1_SOURCE:
1372 case MADERA_DSP3LMIX_INPUT_1_SOURCE:
1373 case MADERA_DSP3LMIX_INPUT_1_VOLUME:
1374 case MADERA_DSP3LMIX_INPUT_2_SOURCE:
1375 case MADERA_DSP3LMIX_INPUT_2_VOLUME:
1376 case MADERA_DSP3LMIX_INPUT_3_SOURCE:
1377 case MADERA_DSP3LMIX_INPUT_3_VOLUME:
1378 case MADERA_DSP3LMIX_INPUT_4_SOURCE:
1379 case MADERA_DSP3LMIX_INPUT_4_VOLUME:
1380 case MADERA_DSP3RMIX_INPUT_1_SOURCE:
1381 case MADERA_DSP3RMIX_INPUT_1_VOLUME:
1382 case MADERA_DSP3RMIX_INPUT_2_SOURCE:
1383 case MADERA_DSP3RMIX_INPUT_2_VOLUME:
1384 case MADERA_DSP3RMIX_INPUT_3_SOURCE:
1385 case MADERA_DSP3RMIX_INPUT_3_VOLUME:
1386 case MADERA_DSP3RMIX_INPUT_4_SOURCE:
1387 case MADERA_DSP3RMIX_INPUT_4_VOLUME:
1388 case MADERA_DSP3AUX1MIX_INPUT_1_SOURCE:
1389 case MADERA_DSP3AUX2MIX_INPUT_1_SOURCE:
1390 case MADERA_DSP3AUX3MIX_INPUT_1_SOURCE:
1391 case MADERA_DSP3AUX4MIX_INPUT_1_SOURCE:
1392 case MADERA_DSP3AUX5MIX_INPUT_1_SOURCE:
1393 case MADERA_DSP3AUX6MIX_INPUT_1_SOURCE:
1394 case MADERA_ISRC1DEC1MIX_INPUT_1_SOURCE:
1395 case MADERA_ISRC1DEC2MIX_INPUT_1_SOURCE:
1396 case MADERA_ISRC1DEC3MIX_INPUT_1_SOURCE:
1397 case MADERA_ISRC1DEC4MIX_INPUT_1_SOURCE:
1398 case MADERA_ISRC1INT1MIX_INPUT_1_SOURCE:
1399 case MADERA_ISRC1INT2MIX_INPUT_1_SOURCE:
1400 case MADERA_ISRC1INT3MIX_INPUT_1_SOURCE:
1401 case MADERA_ISRC1INT4MIX_INPUT_1_SOURCE:
1402 case MADERA_ISRC2DEC1MIX_INPUT_1_SOURCE:
1403 case MADERA_ISRC2DEC2MIX_INPUT_1_SOURCE:
1404 case MADERA_ISRC2DEC3MIX_INPUT_1_SOURCE:
1405 case MADERA_ISRC2DEC4MIX_INPUT_1_SOURCE:
1406 case MADERA_ISRC2INT1MIX_INPUT_1_SOURCE:
1407 case MADERA_ISRC2INT2MIX_INPUT_1_SOURCE:
1408 case MADERA_ISRC2INT3MIX_INPUT_1_SOURCE:
1409 case MADERA_ISRC2INT4MIX_INPUT_1_SOURCE:
1410 case MADERA_FX_CTRL1:
1411 case MADERA_FX_CTRL2:
1412 case MADERA_EQ1_1 ... MADERA_EQ1_21:
1413 case MADERA_EQ2_1 ... MADERA_EQ2_21:
1414 case MADERA_EQ3_1 ... MADERA_EQ3_21:
1415 case MADERA_EQ4_1 ... MADERA_EQ4_21:
1416 case MADERA_DRC1_CTRL1:
1417 case MADERA_DRC1_CTRL2:
1418 case MADERA_DRC1_CTRL3:
1419 case MADERA_DRC1_CTRL4:
1420 case MADERA_DRC1_CTRL5:
1421 case MADERA_DRC2_CTRL1:
1422 case MADERA_DRC2_CTRL2:
1423 case MADERA_DRC2_CTRL3:
1424 case MADERA_DRC2_CTRL4:
1425 case MADERA_DRC2_CTRL5:
1426 case MADERA_HPLPF1_1:
1427 case MADERA_HPLPF1_2:
1428 case MADERA_HPLPF2_1:
1429 case MADERA_HPLPF2_2:
1430 case MADERA_HPLPF3_1:
1431 case MADERA_HPLPF3_2:
1432 case MADERA_HPLPF4_1:
1433 case MADERA_HPLPF4_2:
1434 case MADERA_ISRC_1_CTRL_1:
1435 case MADERA_ISRC_1_CTRL_2:
1436 case MADERA_ISRC_1_CTRL_3:
1437 case MADERA_ISRC_2_CTRL_1:
1438 case MADERA_ISRC_2_CTRL_2:
1439 case MADERA_ISRC_2_CTRL_3:
1440 case MADERA_DAC_COMP_1:
1441 case MADERA_DAC_COMP_2:
1442 case MADERA_FRF_COEFFICIENT_1L_1:
1443 case MADERA_FRF_COEFFICIENT_1L_2:
1444 case MADERA_FRF_COEFFICIENT_1L_3:
1445 case MADERA_FRF_COEFFICIENT_1L_4:
1446 case MADERA_FRF_COEFFICIENT_1R_1:
1447 case MADERA_FRF_COEFFICIENT_1R_2:
1448 case MADERA_FRF_COEFFICIENT_1R_3:
1449 case MADERA_FRF_COEFFICIENT_1R_4:
1450 case CS47L35_FRF_COEFFICIENT_4L_1:
1451 case CS47L35_FRF_COEFFICIENT_4L_2:
1452 case CS47L35_FRF_COEFFICIENT_4L_3:
1453 case CS47L35_FRF_COEFFICIENT_4L_4:
1454 case CS47L35_FRF_COEFFICIENT_5L_1:
1455 case CS47L35_FRF_COEFFICIENT_5L_2:
1456 case CS47L35_FRF_COEFFICIENT_5L_3:
1457 case CS47L35_FRF_COEFFICIENT_5L_4:
1458 case CS47L35_FRF_COEFFICIENT_5R_1:
1459 case CS47L35_FRF_COEFFICIENT_5R_2:
1460 case CS47L35_FRF_COEFFICIENT_5R_3:
1461 case CS47L35_FRF_COEFFICIENT_5R_4:
1462 case MADERA_GPIO1_CTRL_1 ... MADERA_GPIO16_CTRL_2:
1463 case MADERA_IRQ1_STATUS_1 ... MADERA_IRQ1_STATUS_33:
1464 case MADERA_IRQ1_MASK_1 ... MADERA_IRQ1_MASK_33:
1465 case MADERA_IRQ1_RAW_STATUS_1 ... MADERA_IRQ1_RAW_STATUS_33:
1466 case MADERA_INTERRUPT_DEBOUNCE_7:
1467 case MADERA_IRQ1_CTRL:
1468 return true;
1469 default:
1470 return false;
1471 }
1472}
1473
1474static bool cs47l35_16bit_volatile_register(struct device *dev,
1475 unsigned int reg)
1476{
1477 switch (reg) {
1478 case MADERA_SOFTWARE_RESET:
1479 case MADERA_HARDWARE_REVISION:
1480 case MADERA_WRITE_SEQUENCER_CTRL_0:
1481 case MADERA_WRITE_SEQUENCER_CTRL_1:
1482 case MADERA_WRITE_SEQUENCER_CTRL_2:
1483 case MADERA_HAPTICS_STATUS:
1484 case MADERA_SAMPLE_RATE_1_STATUS:
1485 case MADERA_SAMPLE_RATE_2_STATUS:
1486 case MADERA_SAMPLE_RATE_3_STATUS:
1487 case MADERA_HP_CTRL_1L:
1488 case MADERA_HP_CTRL_1R:
1489 case MADERA_DCS_HP1L_CONTROL:
1490 case MADERA_DCS_HP1R_CONTROL:
1491 case MADERA_MIC_DETECT_1_CONTROL_3:
1492 case MADERA_MIC_DETECT_1_CONTROL_4:
1493 case MADERA_HEADPHONE_DETECT_2:
1494 case MADERA_HEADPHONE_DETECT_3:
1495 case MADERA_HEADPHONE_DETECT_5:
1496 case MADERA_INPUT_ENABLES_STATUS:
1497 case MADERA_OUTPUT_STATUS_1:
1498 case MADERA_RAW_OUTPUT_STATUS_1:
1499 case MADERA_SPD1_TX_CHANNEL_STATUS_1:
1500 case MADERA_SPD1_TX_CHANNEL_STATUS_2:
1501 case MADERA_SPD1_TX_CHANNEL_STATUS_3:
1502 case MADERA_SLIMBUS_RX_PORT_STATUS:
1503 case MADERA_SLIMBUS_TX_PORT_STATUS:
1504 case MADERA_FX_CTRL2:
1505 case MADERA_IRQ1_STATUS_1 ... MADERA_IRQ1_STATUS_33:
1506 case MADERA_IRQ1_RAW_STATUS_1 ... MADERA_IRQ1_RAW_STATUS_33:
1507 return true;
1508 default:
1509 return false;
1510 }
1511}
1512
1513static bool cs47l35_32bit_readable_register(struct device *dev,
1514 unsigned int reg)
1515{
1516 switch (reg) {
1517 case MADERA_WSEQ_SEQUENCE_1 ... MADERA_WSEQ_SEQUENCE_252:
1518 case CS47L35_OTP_HPDET_CAL_1 ... CS47L35_OTP_HPDET_CAL_2:
1519 case MADERA_DSP1_CONFIG_1 ... MADERA_DSP1_SCRATCH_2:
1520 case MADERA_DSP2_CONFIG_1 ... MADERA_DSP2_SCRATCH_2:
1521 case MADERA_DSP3_CONFIG_1 ... MADERA_DSP3_SCRATCH_2:
1522 return true;
1523 default:
1524 return cs47l35_is_adsp_memory(reg);
1525 }
1526}
1527
1528static bool cs47l35_32bit_volatile_register(struct device *dev,
1529 unsigned int reg)
1530{
1531 switch (reg) {
1532 case MADERA_WSEQ_SEQUENCE_1 ... MADERA_WSEQ_SEQUENCE_252:
1533 case CS47L35_OTP_HPDET_CAL_1 ... CS47L35_OTP_HPDET_CAL_2:
1534 case MADERA_DSP1_CONFIG_1 ... MADERA_DSP1_SCRATCH_2:
1535 case MADERA_DSP2_CONFIG_1 ... MADERA_DSP2_SCRATCH_2:
1536 case MADERA_DSP3_CONFIG_1 ... MADERA_DSP3_SCRATCH_2:
1537 return true;
1538 default:
1539 return cs47l35_is_adsp_memory(reg);
1540 }
1541}
1542
1543const struct regmap_config cs47l35_16bit_spi_regmap = {
1544 .name = "cs47l35_16bit",
1545 .reg_bits = 32,
1546 .pad_bits = 16,
1547 .val_bits = 16,
1548 .reg_format_endian = REGMAP_ENDIAN_BIG,
1549 .val_format_endian = REGMAP_ENDIAN_BIG,
1550
1551 .max_register = 0x1b00,
1552 .readable_reg = cs47l35_16bit_readable_register,
1553 .volatile_reg = cs47l35_16bit_volatile_register,
1554
1555 .cache_type = REGCACHE_RBTREE,
1556 .reg_defaults = cs47l35_reg_default,
1557 .num_reg_defaults = ARRAY_SIZE(cs47l35_reg_default),
1558};
1559EXPORT_SYMBOL_GPL(cs47l35_16bit_spi_regmap);
1560
1561const struct regmap_config cs47l35_16bit_i2c_regmap = {
1562 .name = "cs47l35_16bit",
1563 .reg_bits = 32,
1564 .val_bits = 16,
1565 .reg_format_endian = REGMAP_ENDIAN_BIG,
1566 .val_format_endian = REGMAP_ENDIAN_BIG,
1567
1568 .max_register = 0x1b00,
1569 .readable_reg = cs47l35_16bit_readable_register,
1570 .volatile_reg = cs47l35_16bit_volatile_register,
1571
1572 .cache_type = REGCACHE_RBTREE,
1573 .reg_defaults = cs47l35_reg_default,
1574 .num_reg_defaults = ARRAY_SIZE(cs47l35_reg_default),
1575};
1576EXPORT_SYMBOL_GPL(cs47l35_16bit_i2c_regmap);
1577
1578const struct regmap_config cs47l35_32bit_spi_regmap = {
1579 .name = "cs47l35_32bit",
1580 .reg_bits = 32,
1581 .reg_stride = 2,
1582 .pad_bits = 16,
1583 .val_bits = 32,
1584 .reg_format_endian = REGMAP_ENDIAN_BIG,
1585 .val_format_endian = REGMAP_ENDIAN_BIG,
1586
1587 .max_register = MADERA_DSP3_SCRATCH_2,
1588 .readable_reg = cs47l35_32bit_readable_register,
1589 .volatile_reg = cs47l35_32bit_volatile_register,
1590
1591 .cache_type = REGCACHE_RBTREE,
1592};
1593EXPORT_SYMBOL_GPL(cs47l35_32bit_spi_regmap);
1594
1595const struct regmap_config cs47l35_32bit_i2c_regmap = {
1596 .name = "cs47l35_32bit",
1597 .reg_bits = 32,
1598 .reg_stride = 2,
1599 .val_bits = 32,
1600 .reg_format_endian = REGMAP_ENDIAN_BIG,
1601 .val_format_endian = REGMAP_ENDIAN_BIG,
1602
1603 .max_register = MADERA_DSP3_SCRATCH_2,
1604 .readable_reg = cs47l35_32bit_readable_register,
1605 .volatile_reg = cs47l35_32bit_volatile_register,
1606
1607 .cache_type = REGCACHE_RBTREE,
1608};
1609EXPORT_SYMBOL_GPL(cs47l35_32bit_i2c_regmap);
1610