1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Madera register definitions
4  *
5  * Copyright (C) 2015-2018 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 #ifndef MADERA_REGISTERS_H
13 #define MADERA_REGISTERS_H
14 
15 /*
16  * Register Addresses.
17  */
18 #define MADERA_SOFTWARE_RESET				0x00
19 #define MADERA_HARDWARE_REVISION			0x01
20 #define MADERA_CTRL_IF_CFG_1				0x08
21 #define MADERA_CTRL_IF_CFG_2				0x09
22 #define MADERA_CTRL_IF_CFG_3				0x0A
23 #define MADERA_WRITE_SEQUENCER_CTRL_0			0x16
24 #define MADERA_WRITE_SEQUENCER_CTRL_1			0x17
25 #define MADERA_WRITE_SEQUENCER_CTRL_2			0x18
26 #define MADERA_TONE_GENERATOR_1				0x20
27 #define MADERA_TONE_GENERATOR_2				0x21
28 #define MADERA_TONE_GENERATOR_3				0x22
29 #define MADERA_TONE_GENERATOR_4				0x23
30 #define MADERA_TONE_GENERATOR_5				0x24
31 #define MADERA_PWM_DRIVE_1				0x30
32 #define MADERA_PWM_DRIVE_2				0x31
33 #define MADERA_PWM_DRIVE_3				0x32
34 #define MADERA_SEQUENCE_CONTROL				0x41
35 #define MADERA_SAMPLE_RATE_SEQUENCE_SELECT_1		0x61
36 #define MADERA_SAMPLE_RATE_SEQUENCE_SELECT_2		0x62
37 #define MADERA_SAMPLE_RATE_SEQUENCE_SELECT_3		0x63
38 #define MADERA_SAMPLE_RATE_SEQUENCE_SELECT_4		0x64
39 #define MADERA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_1	0x66
40 #define MADERA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_2	0x67
41 #define MADERA_HAPTICS_CONTROL_1			0x90
42 #define MADERA_HAPTICS_CONTROL_2			0x91
43 #define MADERA_HAPTICS_PHASE_1_INTENSITY		0x92
44 #define MADERA_HAPTICS_PHASE_1_DURATION			0x93
45 #define MADERA_HAPTICS_PHASE_2_INTENSITY		0x94
46 #define MADERA_HAPTICS_PHASE_2_DURATION			0x95
47 #define MADERA_HAPTICS_PHASE_3_INTENSITY		0x96
48 #define MADERA_HAPTICS_PHASE_3_DURATION			0x97
49 #define MADERA_HAPTICS_STATUS				0x98
50 #define MADERA_COMFORT_NOISE_GENERATOR			0xA0
51 #define MADERA_CLOCK_32K_1				0x100
52 #define MADERA_SYSTEM_CLOCK_1				0x101
53 #define MADERA_SAMPLE_RATE_1				0x102
54 #define MADERA_SAMPLE_RATE_2				0x103
55 #define MADERA_SAMPLE_RATE_3				0x104
56 #define MADERA_SAMPLE_RATE_1_STATUS			0x10A
57 #define MADERA_SAMPLE_RATE_2_STATUS			0x10B
58 #define MADERA_SAMPLE_RATE_3_STATUS			0x10C
59 #define MADERA_ASYNC_CLOCK_1				0x112
60 #define MADERA_ASYNC_SAMPLE_RATE_1			0x113
61 #define MADERA_ASYNC_SAMPLE_RATE_2			0x114
62 #define MADERA_ASYNC_SAMPLE_RATE_1_STATUS		0x11B
63 #define MADERA_ASYNC_SAMPLE_RATE_2_STATUS		0x11C
64 #define MADERA_DSP_CLOCK_1				0x120
65 #define MADERA_DSP_CLOCK_2				0x122
66 #define MADERA_OUTPUT_SYSTEM_CLOCK			0x149
67 #define MADERA_OUTPUT_ASYNC_CLOCK			0x14A
68 #define MADERA_RATE_ESTIMATOR_1				0x152
69 #define MADERA_RATE_ESTIMATOR_2				0x153
70 #define MADERA_RATE_ESTIMATOR_3				0x154
71 #define MADERA_RATE_ESTIMATOR_4				0x155
72 #define MADERA_RATE_ESTIMATOR_5				0x156
73 #define MADERA_FLL1_CONTROL_1				0x171
74 #define MADERA_FLL1_CONTROL_2				0x172
75 #define MADERA_FLL1_CONTROL_3				0x173
76 #define MADERA_FLL1_CONTROL_4				0x174
77 #define MADERA_FLL1_CONTROL_5				0x175
78 #define MADERA_FLL1_CONTROL_6				0x176
79 #define MADERA_FLL1_LOOP_FILTER_TEST_1			0x177
80 #define MADERA_FLL1_NCO_TEST_0				0x178
81 #define MADERA_FLL1_CONTROL_7				0x179
82 #define MADERA_FLL1_EFS_2				0x17A
83 #define CS47L35_FLL1_SYNCHRONISER_1			0x17F
84 #define CS47L35_FLL1_SYNCHRONISER_2			0x180
85 #define CS47L35_FLL1_SYNCHRONISER_3			0x181
86 #define CS47L35_FLL1_SYNCHRONISER_4			0x182
87 #define CS47L35_FLL1_SYNCHRONISER_5			0x183
88 #define CS47L35_FLL1_SYNCHRONISER_6			0x184
89 #define CS47L35_FLL1_SYNCHRONISER_7			0x185
90 #define CS47L35_FLL1_SPREAD_SPECTRUM			0x187
91 #define CS47L35_FLL1_GPIO_CLOCK				0x188
92 #define MADERA_FLL1_SYNCHRONISER_1			0x181
93 #define MADERA_FLL1_SYNCHRONISER_2			0x182
94 #define MADERA_FLL1_SYNCHRONISER_3			0x183
95 #define MADERA_FLL1_SYNCHRONISER_4			0x184
96 #define MADERA_FLL1_SYNCHRONISER_5			0x185
97 #define MADERA_FLL1_SYNCHRONISER_6			0x186
98 #define MADERA_FLL1_SYNCHRONISER_7			0x187
99 #define MADERA_FLL1_SPREAD_SPECTRUM			0x189
100 #define MADERA_FLL1_GPIO_CLOCK				0x18A
101 #define MADERA_FLL2_CONTROL_1				0x191
102 #define MADERA_FLL2_CONTROL_2				0x192
103 #define MADERA_FLL2_CONTROL_3				0x193
104 #define MADERA_FLL2_CONTROL_4				0x194
105 #define MADERA_FLL2_CONTROL_5				0x195
106 #define MADERA_FLL2_CONTROL_6				0x196
107 #define MADERA_FLL2_LOOP_FILTER_TEST_1			0x197
108 #define MADERA_FLL2_NCO_TEST_0				0x198
109 #define MADERA_FLL2_CONTROL_7				0x199
110 #define MADERA_FLL2_EFS_2				0x19A
111 #define MADERA_FLL2_SYNCHRONISER_1			0x1A1
112 #define MADERA_FLL2_SYNCHRONISER_2			0x1A2
113 #define MADERA_FLL2_SYNCHRONISER_3			0x1A3
114 #define MADERA_FLL2_SYNCHRONISER_4			0x1A4
115 #define MADERA_FLL2_SYNCHRONISER_5			0x1A5
116 #define MADERA_FLL2_SYNCHRONISER_6			0x1A6
117 #define MADERA_FLL2_SYNCHRONISER_7			0x1A7
118 #define MADERA_FLL2_SPREAD_SPECTRUM			0x1A9
119 #define MADERA_FLL2_GPIO_CLOCK				0x1AA
120 #define MADERA_FLL3_CONTROL_1				0x1B1
121 #define MADERA_FLL3_CONTROL_2				0x1B2
122 #define MADERA_FLL3_CONTROL_3				0x1B3
123 #define MADERA_FLL3_CONTROL_4				0x1B4
124 #define MADERA_FLL3_CONTROL_5				0x1B5
125 #define MADERA_FLL3_CONTROL_6				0x1B6
126 #define MADERA_FLL3_LOOP_FILTER_TEST_1			0x1B7
127 #define MADERA_FLL3_NCO_TEST_0				0x1B8
128 #define MADERA_FLL3_CONTROL_7				0x1B9
129 #define MADERA_FLL3_SYNCHRONISER_1			0x1C1
130 #define MADERA_FLL3_SYNCHRONISER_2			0x1C2
131 #define MADERA_FLL3_SYNCHRONISER_3			0x1C3
132 #define MADERA_FLL3_SYNCHRONISER_4			0x1C4
133 #define MADERA_FLL3_SYNCHRONISER_5			0x1C5
134 #define MADERA_FLL3_SYNCHRONISER_6			0x1C6
135 #define MADERA_FLL3_SYNCHRONISER_7			0x1C7
136 #define MADERA_FLL3_SPREAD_SPECTRUM			0x1C9
137 #define MADERA_FLL3_GPIO_CLOCK				0x1CA
138 #define MADERA_FLLAO_CONTROL_1				0x1D1
139 #define MADERA_FLLAO_CONTROL_2				0x1D2
140 #define MADERA_FLLAO_CONTROL_3				0x1D3
141 #define MADERA_FLLAO_CONTROL_4				0x1D4
142 #define MADERA_FLLAO_CONTROL_5				0x1D5
143 #define MADERA_FLLAO_CONTROL_6				0x1D6
144 #define MADERA_FLLAO_CONTROL_7				0x1D8
145 #define MADERA_FLLAO_CONTROL_8				0x1DA
146 #define MADERA_FLLAO_CONTROL_9				0x1DB
147 #define MADERA_FLLAO_CONTROL_10				0x1DC
148 #define MADERA_FLLAO_CONTROL_11				0x1DD
149 #define MADERA_MIC_CHARGE_PUMP_1			0x200
150 #define MADERA_HP_CHARGE_PUMP_8				0x20B
151 #define MADERA_LDO1_CONTROL_1				0x210
152 #define MADERA_LDO2_CONTROL_1				0x213
153 #define MADERA_MIC_BIAS_CTRL_1				0x218
154 #define MADERA_MIC_BIAS_CTRL_2				0x219
155 #define MADERA_MIC_BIAS_CTRL_3				0x21A
156 #define MADERA_MIC_BIAS_CTRL_4				0x21B
157 #define MADERA_MIC_BIAS_CTRL_5				0x21C
158 #define MADERA_MIC_BIAS_CTRL_6				0x21E
159 #define MADERA_HP_CTRL_1L				0x225
160 #define MADERA_HP_CTRL_1R				0x226
161 #define MADERA_HP_CTRL_2L				0x227
162 #define MADERA_HP_CTRL_2R				0x228
163 #define MADERA_HP_CTRL_3L				0x229
164 #define MADERA_HP_CTRL_3R				0x22A
165 #define MADERA_DCS_HP1L_CONTROL				0x232
166 #define MADERA_DCS_HP1R_CONTROL				0x238
167 #define MADERA_EDRE_HP_STEREO_CONTROL			0x27E
168 #define MADERA_ACCESSORY_DETECT_MODE_1			0x293
169 #define MADERA_HEADPHONE_DETECT_0			0x299
170 #define MADERA_HEADPHONE_DETECT_1			0x29B
171 #define MADERA_HEADPHONE_DETECT_2			0x29C
172 #define MADERA_HEADPHONE_DETECT_3			0x29D
173 #define MADERA_HEADPHONE_DETECT_4			0x29E
174 #define MADERA_HEADPHONE_DETECT_5			0x29F
175 #define MADERA_MIC_DETECT_1_CONTROL_0			0x2A2
176 #define MADERA_MIC_DETECT_1_CONTROL_1			0x2A3
177 #define MADERA_MIC_DETECT_1_CONTROL_2			0x2A4
178 #define MADERA_MIC_DETECT_1_CONTROL_3			0x2A5
179 #define MADERA_MIC_DETECT_1_LEVEL_1			0x2A6
180 #define MADERA_MIC_DETECT_1_LEVEL_2			0x2A7
181 #define MADERA_MIC_DETECT_1_LEVEL_3			0x2A8
182 #define MADERA_MIC_DETECT_1_LEVEL_4			0x2A9
183 #define MADERA_MIC_DETECT_1_CONTROL_4			0x2AB
184 #define MADERA_MIC_DETECT_2_CONTROL_0			0x2B2
185 #define MADERA_MIC_DETECT_2_CONTROL_1			0x2B3
186 #define MADERA_MIC_DETECT_2_CONTROL_2			0x2B4
187 #define MADERA_MIC_DETECT_2_CONTROL_3			0x2B5
188 #define MADERA_MIC_DETECT_2_LEVEL_1			0x2B6
189 #define MADERA_MIC_DETECT_2_LEVEL_2			0x2B7
190 #define MADERA_MIC_DETECT_2_LEVEL_3			0x2B8
191 #define MADERA_MIC_DETECT_2_LEVEL_4			0x2B9
192 #define MADERA_MIC_DETECT_2_CONTROL_4			0x2BB
193 #define MADERA_MICD_CLAMP_CONTROL			0x2C6
194 #define MADERA_GP_SWITCH_1				0x2C8
195 #define MADERA_JACK_DETECT_ANALOGUE			0x2D3
196 #define MADERA_INPUT_ENABLES				0x300
197 #define MADERA_INPUT_ENABLES_STATUS			0x301
198 #define MADERA_INPUT_RATE				0x308
199 #define MADERA_INPUT_VOLUME_RAMP			0x309
200 #define MADERA_HPF_CONTROL				0x30C
201 #define MADERA_IN1L_CONTROL				0x310
202 #define MADERA_ADC_DIGITAL_VOLUME_1L			0x311
203 #define MADERA_DMIC1L_CONTROL				0x312
204 #define MADERA_IN1L_RATE_CONTROL			0x313
205 #define MADERA_IN1R_CONTROL				0x314
206 #define MADERA_ADC_DIGITAL_VOLUME_1R			0x315
207 #define MADERA_DMIC1R_CONTROL				0x316
208 #define MADERA_IN1R_RATE_CONTROL			0x317
209 #define MADERA_IN2L_CONTROL				0x318
210 #define MADERA_ADC_DIGITAL_VOLUME_2L			0x319
211 #define MADERA_DMIC2L_CONTROL				0x31A
212 #define MADERA_IN2L_RATE_CONTROL			0x31B
213 #define MADERA_IN2R_CONTROL				0x31C
214 #define MADERA_ADC_DIGITAL_VOLUME_2R			0x31D
215 #define MADERA_DMIC2R_CONTROL				0x31E
216 #define MADERA_IN2R_RATE_CONTROL			0x31F
217 #define MADERA_IN3L_CONTROL				0x320
218 #define MADERA_ADC_DIGITAL_VOLUME_3L			0x321
219 #define MADERA_DMIC3L_CONTROL				0x322
220 #define MADERA_IN3L_RATE_CONTROL			0x323
221 #define MADERA_IN3R_CONTROL				0x324
222 #define MADERA_ADC_DIGITAL_VOLUME_3R			0x325
223 #define MADERA_DMIC3R_CONTROL				0x326
224 #define MADERA_IN3R_RATE_CONTROL			0x327
225 #define MADERA_IN4L_CONTROL				0x328
226 #define MADERA_ADC_DIGITAL_VOLUME_4L			0x329
227 #define MADERA_DMIC4L_CONTROL				0x32A
228 #define MADERA_IN4L_RATE_CONTROL			0x32B
229 #define MADERA_IN4R_CONTROL				0x32C
230 #define MADERA_ADC_DIGITAL_VOLUME_4R			0x32D
231 #define MADERA_DMIC4R_CONTROL				0x32E
232 #define MADERA_IN4R_RATE_CONTROL			0x32F
233 #define MADERA_IN5L_CONTROL				0x330
234 #define MADERA_ADC_DIGITAL_VOLUME_5L			0x331
235 #define MADERA_DMIC5L_CONTROL				0x332
236 #define MADERA_IN5L_RATE_CONTROL			0x333
237 #define MADERA_IN5R_CONTROL				0x334
238 #define MADERA_ADC_DIGITAL_VOLUME_5R			0x335
239 #define MADERA_DMIC5R_CONTROL				0x336
240 #define MADERA_IN5R_RATE_CONTROL			0x337
241 #define MADERA_IN6L_CONTROL				0x338
242 #define MADERA_ADC_DIGITAL_VOLUME_6L			0x339
243 #define MADERA_DMIC6L_CONTROL				0x33A
244 #define MADERA_IN6R_CONTROL				0x33C
245 #define MADERA_ADC_DIGITAL_VOLUME_6R			0x33D
246 #define MADERA_DMIC6R_CONTROL				0x33E
247 #define MADERA_OUTPUT_ENABLES_1				0x400
248 #define MADERA_OUTPUT_STATUS_1				0x401
249 #define MADERA_RAW_OUTPUT_STATUS_1			0x406
250 #define MADERA_OUTPUT_RATE_1				0x408
251 #define MADERA_OUTPUT_VOLUME_RAMP			0x409
252 #define MADERA_OUTPUT_PATH_CONFIG_1L			0x410
253 #define MADERA_DAC_DIGITAL_VOLUME_1L			0x411
254 #define MADERA_OUTPUT_PATH_CONFIG_1			0x412
255 #define MADERA_NOISE_GATE_SELECT_1L			0x413
256 #define MADERA_OUTPUT_PATH_CONFIG_1R			0x414
257 #define MADERA_DAC_DIGITAL_VOLUME_1R			0x415
258 #define MADERA_NOISE_GATE_SELECT_1R			0x417
259 #define MADERA_OUTPUT_PATH_CONFIG_2L			0x418
260 #define MADERA_DAC_DIGITAL_VOLUME_2L			0x419
261 #define MADERA_OUTPUT_PATH_CONFIG_2			0x41A
262 #define MADERA_NOISE_GATE_SELECT_2L			0x41B
263 #define MADERA_OUTPUT_PATH_CONFIG_2R			0x41C
264 #define MADERA_DAC_DIGITAL_VOLUME_2R			0x41D
265 #define MADERA_NOISE_GATE_SELECT_2R			0x41F
266 #define MADERA_OUTPUT_PATH_CONFIG_3L			0x420
267 #define MADERA_DAC_DIGITAL_VOLUME_3L			0x421
268 #define MADERA_NOISE_GATE_SELECT_3L			0x423
269 #define MADERA_OUTPUT_PATH_CONFIG_3R			0x424
270 #define MADERA_DAC_DIGITAL_VOLUME_3R			0x425
271 #define MADERA_NOISE_GATE_SELECT_3R			0x427
272 #define MADERA_OUTPUT_PATH_CONFIG_4L			0x428
273 #define MADERA_DAC_DIGITAL_VOLUME_4L			0x429
274 #define MADERA_NOISE_GATE_SELECT_4L			0x42B
275 #define MADERA_OUTPUT_PATH_CONFIG_4R			0x42C
276 #define MADERA_DAC_DIGITAL_VOLUME_4R			0x42D
277 #define MADERA_NOISE_GATE_SELECT_4R			0x42F
278 #define MADERA_OUTPUT_PATH_CONFIG_5L			0x430
279 #define MADERA_DAC_DIGITAL_VOLUME_5L			0x431
280 #define MADERA_NOISE_GATE_SELECT_5L			0x433
281 #define MADERA_OUTPUT_PATH_CONFIG_5R			0x434
282 #define MADERA_DAC_DIGITAL_VOLUME_5R			0x435
283 #define MADERA_NOISE_GATE_SELECT_5R			0x437
284 #define MADERA_OUTPUT_PATH_CONFIG_6L			0x438
285 #define MADERA_DAC_DIGITAL_VOLUME_6L			0x439
286 #define MADERA_NOISE_GATE_SELECT_6L			0x43B
287 #define MADERA_OUTPUT_PATH_CONFIG_6R			0x43C
288 #define MADERA_DAC_DIGITAL_VOLUME_6R			0x43D
289 #define MADERA_NOISE_GATE_SELECT_6R			0x43F
290 #define MADERA_DRE_ENABLE				0x440
291 #define MADERA_EDRE_ENABLE				0x448
292 #define MADERA_EDRE_MANUAL				0x44A
293 #define MADERA_DAC_AEC_CONTROL_1			0x450
294 #define MADERA_DAC_AEC_CONTROL_2			0x451
295 #define MADERA_NOISE_GATE_CONTROL			0x458
296 #define MADERA_PDM_SPK1_CTRL_1				0x490
297 #define MADERA_PDM_SPK1_CTRL_2				0x491
298 #define MADERA_PDM_SPK2_CTRL_1				0x492
299 #define MADERA_PDM_SPK2_CTRL_2				0x493
300 #define MADERA_HP1_SHORT_CIRCUIT_CTRL			0x4A0
301 #define MADERA_HP2_SHORT_CIRCUIT_CTRL			0x4A1
302 #define MADERA_HP3_SHORT_CIRCUIT_CTRL			0x4A2
303 #define MADERA_HP_TEST_CTRL_1				0x4A4
304 #define MADERA_HP_TEST_CTRL_5				0x4A8
305 #define MADERA_HP_TEST_CTRL_6				0x4A9
306 #define MADERA_AIF1_BCLK_CTRL				0x500
307 #define MADERA_AIF1_TX_PIN_CTRL				0x501
308 #define MADERA_AIF1_RX_PIN_CTRL				0x502
309 #define MADERA_AIF1_RATE_CTRL				0x503
310 #define MADERA_AIF1_FORMAT				0x504
311 #define MADERA_AIF1_RX_BCLK_RATE			0x506
312 #define MADERA_AIF1_FRAME_CTRL_1			0x507
313 #define MADERA_AIF1_FRAME_CTRL_2			0x508
314 #define MADERA_AIF1_FRAME_CTRL_3			0x509
315 #define MADERA_AIF1_FRAME_CTRL_4			0x50A
316 #define MADERA_AIF1_FRAME_CTRL_5			0x50B
317 #define MADERA_AIF1_FRAME_CTRL_6			0x50C
318 #define MADERA_AIF1_FRAME_CTRL_7			0x50D
319 #define MADERA_AIF1_FRAME_CTRL_8			0x50E
320 #define MADERA_AIF1_FRAME_CTRL_9			0x50F
321 #define MADERA_AIF1_FRAME_CTRL_10			0x510
322 #define MADERA_AIF1_FRAME_CTRL_11			0x511
323 #define MADERA_AIF1_FRAME_CTRL_12			0x512
324 #define MADERA_AIF1_FRAME_CTRL_13			0x513
325 #define MADERA_AIF1_FRAME_CTRL_14			0x514
326 #define MADERA_AIF1_FRAME_CTRL_15			0x515
327 #define MADERA_AIF1_FRAME_CTRL_16			0x516
328 #define MADERA_AIF1_FRAME_CTRL_17			0x517
329 #define MADERA_AIF1_FRAME_CTRL_18			0x518
330 #define MADERA_AIF1_TX_ENABLES				0x519
331 #define MADERA_AIF1_RX_ENABLES				0x51A
332 #define MADERA_AIF1_FORCE_WRITE				0x51B
333 #define MADERA_AIF2_BCLK_CTRL				0x540
334 #define MADERA_AIF2_TX_PIN_CTRL				0x541
335 #define MADERA_AIF2_RX_PIN_CTRL				0x542
336 #define MADERA_AIF2_RATE_CTRL				0x543
337 #define MADERA_AIF2_FORMAT				0x544
338 #define MADERA_AIF2_RX_BCLK_RATE			0x546
339 #define MADERA_AIF2_FRAME_CTRL_1			0x547
340 #define MADERA_AIF2_FRAME_CTRL_2			0x548
341 #define MADERA_AIF2_FRAME_CTRL_3			0x549
342 #define MADERA_AIF2_FRAME_CTRL_4			0x54A
343 #define MADERA_AIF2_FRAME_CTRL_5			0x54B
344 #define MADERA_AIF2_FRAME_CTRL_6			0x54C
345 #define MADERA_AIF2_FRAME_CTRL_7			0x54D
346 #define MADERA_AIF2_FRAME_CTRL_8			0x54E
347 #define MADERA_AIF2_FRAME_CTRL_9			0x54F
348 #define MADERA_AIF2_FRAME_CTRL_10			0x550
349 #define MADERA_AIF2_FRAME_CTRL_11			0x551
350 #define MADERA_AIF2_FRAME_CTRL_12			0x552
351 #define MADERA_AIF2_FRAME_CTRL_13			0x553
352 #define MADERA_AIF2_FRAME_CTRL_14			0x554
353 #define MADERA_AIF2_FRAME_CTRL_15			0x555
354 #define MADERA_AIF2_FRAME_CTRL_16			0x556
355 #define MADERA_AIF2_FRAME_CTRL_17			0x557
356 #define MADERA_AIF2_FRAME_CTRL_18			0x558
357 #define MADERA_AIF2_TX_ENABLES				0x559
358 #define MADERA_AIF2_RX_ENABLES				0x55A
359 #define MADERA_AIF2_FORCE_WRITE				0x55B
360 #define MADERA_AIF3_BCLK_CTRL				0x580
361 #define MADERA_AIF3_TX_PIN_CTRL				0x581
362 #define MADERA_AIF3_RX_PIN_CTRL				0x582
363 #define MADERA_AIF3_RATE_CTRL				0x583
364 #define MADERA_AIF3_FORMAT				0x584
365 #define MADERA_AIF3_RX_BCLK_RATE			0x586
366 #define MADERA_AIF3_FRAME_CTRL_1			0x587
367 #define MADERA_AIF3_FRAME_CTRL_2			0x588
368 #define MADERA_AIF3_FRAME_CTRL_3			0x589
369 #define MADERA_AIF3_FRAME_CTRL_4			0x58A
370 #define MADERA_AIF3_FRAME_CTRL_11			0x591
371 #define MADERA_AIF3_FRAME_CTRL_12			0x592
372 #define MADERA_AIF3_TX_ENABLES				0x599
373 #define MADERA_AIF3_RX_ENABLES				0x59A
374 #define MADERA_AIF3_FORCE_WRITE				0x59B
375 #define MADERA_AIF4_BCLK_CTRL				0x5A0
376 #define MADERA_AIF4_TX_PIN_CTRL				0x5A1
377 #define MADERA_AIF4_RX_PIN_CTRL				0x5A2
378 #define MADERA_AIF4_RATE_CTRL				0x5A3
379 #define MADERA_AIF4_FORMAT				0x5A4
380 #define MADERA_AIF4_RX_BCLK_RATE			0x5A6
381 #define MADERA_AIF4_FRAME_CTRL_1			0x5A7
382 #define MADERA_AIF4_FRAME_CTRL_2			0x5A8
383 #define MADERA_AIF4_FRAME_CTRL_3			0x5A9
384 #define MADERA_AIF4_FRAME_CTRL_4			0x5AA
385 #define MADERA_AIF4_FRAME_CTRL_11			0x5B1
386 #define MADERA_AIF4_FRAME_CTRL_12			0x5B2
387 #define MADERA_AIF4_TX_ENABLES				0x5B9
388 #define MADERA_AIF4_RX_ENABLES				0x5BA
389 #define MADERA_AIF4_FORCE_WRITE				0x5BB
390 #define MADERA_SPD1_TX_CONTROL				0x5C2
391 #define MADERA_SPD1_TX_CHANNEL_STATUS_1			0x5C3
392 #define MADERA_SPD1_TX_CHANNEL_STATUS_2			0x5C4
393 #define MADERA_SPD1_TX_CHANNEL_STATUS_3			0x5C5
394 #define MADERA_SLIMBUS_FRAMER_REF_GEAR			0x5E3
395 #define MADERA_SLIMBUS_RATES_1				0x5E5
396 #define MADERA_SLIMBUS_RATES_2				0x5E6
397 #define MADERA_SLIMBUS_RATES_3				0x5E7
398 #define MADERA_SLIMBUS_RATES_4				0x5E8
399 #define MADERA_SLIMBUS_RATES_5				0x5E9
400 #define MADERA_SLIMBUS_RATES_6				0x5EA
401 #define MADERA_SLIMBUS_RATES_7				0x5EB
402 #define MADERA_SLIMBUS_RATES_8				0x5EC
403 #define MADERA_SLIMBUS_RX_CHANNEL_ENABLE		0x5F5
404 #define MADERA_SLIMBUS_TX_CHANNEL_ENABLE		0x5F6
405 #define MADERA_SLIMBUS_RX_PORT_STATUS			0x5F7
406 #define MADERA_SLIMBUS_TX_PORT_STATUS			0x5F8
407 #define MADERA_PWM1MIX_INPUT_1_SOURCE			0x640
408 #define MADERA_PWM1MIX_INPUT_1_VOLUME			0x641
409 #define MADERA_PWM1MIX_INPUT_2_SOURCE			0x642
410 #define MADERA_PWM1MIX_INPUT_2_VOLUME			0x643
411 #define MADERA_PWM1MIX_INPUT_3_SOURCE			0x644
412 #define MADERA_PWM1MIX_INPUT_3_VOLUME			0x645
413 #define MADERA_PWM1MIX_INPUT_4_SOURCE			0x646
414 #define MADERA_PWM1MIX_INPUT_4_VOLUME			0x647
415 #define MADERA_PWM2MIX_INPUT_1_SOURCE			0x648
416 #define MADERA_PWM2MIX_INPUT_1_VOLUME			0x649
417 #define MADERA_PWM2MIX_INPUT_2_SOURCE			0x64A
418 #define MADERA_PWM2MIX_INPUT_2_VOLUME			0x64B
419 #define MADERA_PWM2MIX_INPUT_3_SOURCE			0x64C
420 #define MADERA_PWM2MIX_INPUT_3_VOLUME			0x64D
421 #define MADERA_PWM2MIX_INPUT_4_SOURCE			0x64E
422 #define MADERA_PWM2MIX_INPUT_4_VOLUME			0x64F
423 #define MADERA_OUT1LMIX_INPUT_1_SOURCE			0x680
424 #define MADERA_OUT1LMIX_INPUT_1_VOLUME			0x681
425 #define MADERA_OUT1LMIX_INPUT_2_SOURCE			0x682
426 #define MADERA_OUT1LMIX_INPUT_2_VOLUME			0x683
427 #define MADERA_OUT1LMIX_INPUT_3_SOURCE			0x684
428 #define MADERA_OUT1LMIX_INPUT_3_VOLUME			0x685
429 #define MADERA_OUT1LMIX_INPUT_4_SOURCE			0x686
430 #define MADERA_OUT1LMIX_INPUT_4_VOLUME			0x687
431 #define MADERA_OUT1RMIX_INPUT_1_SOURCE			0x688
432 #define MADERA_OUT1RMIX_INPUT_1_VOLUME			0x689
433 #define MADERA_OUT1RMIX_INPUT_2_SOURCE			0x68A
434 #define MADERA_OUT1RMIX_INPUT_2_VOLUME			0x68B
435 #define MADERA_OUT1RMIX_INPUT_3_SOURCE			0x68C
436 #define MADERA_OUT1RMIX_INPUT_3_VOLUME			0x68D
437 #define MADERA_OUT1RMIX_INPUT_4_SOURCE			0x68E
438 #define MADERA_OUT1RMIX_INPUT_4_VOLUME			0x68F
439 #define MADERA_OUT2LMIX_INPUT_1_SOURCE			0x690
440 #define MADERA_OUT2LMIX_INPUT_1_VOLUME			0x691
441 #define MADERA_OUT2LMIX_INPUT_2_SOURCE			0x692
442 #define MADERA_OUT2LMIX_INPUT_2_VOLUME			0x693
443 #define MADERA_OUT2LMIX_INPUT_3_SOURCE			0x694
444 #define MADERA_OUT2LMIX_INPUT_3_VOLUME			0x695
445 #define MADERA_OUT2LMIX_INPUT_4_SOURCE			0x696
446 #define MADERA_OUT2LMIX_INPUT_4_VOLUME			0x697
447 #define MADERA_OUT2RMIX_INPUT_1_SOURCE			0x698
448 #define MADERA_OUT2RMIX_INPUT_1_VOLUME			0x699
449 #define MADERA_OUT2RMIX_INPUT_2_SOURCE			0x69A
450 #define MADERA_OUT2RMIX_INPUT_2_VOLUME			0x69B
451 #define MADERA_OUT2RMIX_INPUT_3_SOURCE			0x69C
452 #define MADERA_OUT2RMIX_INPUT_3_VOLUME			0x69D
453 #define MADERA_OUT2RMIX_INPUT_4_SOURCE			0x69E
454 #define MADERA_OUT2RMIX_INPUT_4_VOLUME			0x69F
455 #define MADERA_OUT3LMIX_INPUT_1_SOURCE			0x6A0
456 #define MADERA_OUT3LMIX_INPUT_1_VOLUME			0x6A1
457 #define MADERA_OUT3LMIX_INPUT_2_SOURCE			0x6A2
458 #define MADERA_OUT3LMIX_INPUT_2_VOLUME			0x6A3
459 #define MADERA_OUT3LMIX_INPUT_3_SOURCE			0x6A4
460 #define MADERA_OUT3LMIX_INPUT_3_VOLUME			0x6A5
461 #define MADERA_OUT3LMIX_INPUT_4_SOURCE			0x6A6
462 #define MADERA_OUT3LMIX_INPUT_4_VOLUME			0x6A7
463 #define MADERA_OUT3RMIX_INPUT_1_SOURCE			0x6A8
464 #define MADERA_OUT3RMIX_INPUT_1_VOLUME			0x6A9
465 #define MADERA_OUT3RMIX_INPUT_2_SOURCE			0x6AA
466 #define MADERA_OUT3RMIX_INPUT_2_VOLUME			0x6AB
467 #define MADERA_OUT3RMIX_INPUT_3_SOURCE			0x6AC
468 #define MADERA_OUT3RMIX_INPUT_3_VOLUME			0x6AD
469 #define MADERA_OUT3RMIX_INPUT_4_SOURCE			0x6AE
470 #define MADERA_OUT3RMIX_INPUT_4_VOLUME			0x6AF
471 #define MADERA_OUT4LMIX_INPUT_1_SOURCE			0x6B0
472 #define MADERA_OUT4LMIX_INPUT_1_VOLUME			0x6B1
473 #define MADERA_OUT4LMIX_INPUT_2_SOURCE			0x6B2
474 #define MADERA_OUT4LMIX_INPUT_2_VOLUME			0x6B3
475 #define MADERA_OUT4LMIX_INPUT_3_SOURCE			0x6B4
476 #define MADERA_OUT4LMIX_INPUT_3_VOLUME			0x6B5
477 #define MADERA_OUT4LMIX_INPUT_4_SOURCE			0x6B6
478 #define MADERA_OUT4LMIX_INPUT_4_VOLUME			0x6B7
479 #define MADERA_OUT4RMIX_INPUT_1_SOURCE			0x6B8
480 #define MADERA_OUT4RMIX_INPUT_1_VOLUME			0x6B9
481 #define MADERA_OUT4RMIX_INPUT_2_SOURCE			0x6BA
482 #define MADERA_OUT4RMIX_INPUT_2_VOLUME			0x6BB
483 #define MADERA_OUT4RMIX_INPUT_3_SOURCE			0x6BC
484 #define MADERA_OUT4RMIX_INPUT_3_VOLUME			0x6BD
485 #define MADERA_OUT4RMIX_INPUT_4_SOURCE			0x6BE
486 #define MADERA_OUT4RMIX_INPUT_4_VOLUME			0x6BF
487 #define MADERA_OUT5LMIX_INPUT_1_SOURCE			0x6C0
488 #define MADERA_OUT5LMIX_INPUT_1_VOLUME			0x6C1
489 #define MADERA_OUT5LMIX_INPUT_2_SOURCE			0x6C2
490 #define MADERA_OUT5LMIX_INPUT_2_VOLUME			0x6C3
491 #define MADERA_OUT5LMIX_INPUT_3_SOURCE			0x6C4
492 #define MADERA_OUT5LMIX_INPUT_3_VOLUME			0x6C5
493 #define MADERA_OUT5LMIX_INPUT_4_SOURCE			0x6C6
494 #define MADERA_OUT5LMIX_INPUT_4_VOLUME			0x6C7
495 #define MADERA_OUT5RMIX_INPUT_1_SOURCE			0x6C8
496 #define MADERA_OUT5RMIX_INPUT_1_VOLUME			0x6C9
497 #define MADERA_OUT5RMIX_INPUT_2_SOURCE			0x6CA
498 #define MADERA_OUT5RMIX_INPUT_2_VOLUME			0x6CB
499 #define MADERA_OUT5RMIX_INPUT_3_SOURCE			0x6CC
500 #define MADERA_OUT5RMIX_INPUT_3_VOLUME			0x6CD
501 #define MADERA_OUT5RMIX_INPUT_4_SOURCE			0x6CE
502 #define MADERA_OUT5RMIX_INPUT_4_VOLUME			0x6CF
503 #define MADERA_OUT6LMIX_INPUT_1_SOURCE			0x6D0
504 #define MADERA_OUT6LMIX_INPUT_1_VOLUME			0x6D1
505 #define MADERA_OUT6LMIX_INPUT_2_SOURCE			0x6D2
506 #define MADERA_OUT6LMIX_INPUT_2_VOLUME			0x6D3
507 #define MADERA_OUT6LMIX_INPUT_3_SOURCE			0x6D4
508 #define MADERA_OUT6LMIX_INPUT_3_VOLUME			0x6D5
509 #define MADERA_OUT6LMIX_INPUT_4_SOURCE			0x6D6
510 #define MADERA_OUT6LMIX_INPUT_4_VOLUME			0x6D7
511 #define MADERA_OUT6RMIX_INPUT_1_SOURCE			0x6D8
512 #define MADERA_OUT6RMIX_INPUT_1_VOLUME			0x6D9
513 #define MADERA_OUT6RMIX_INPUT_2_SOURCE			0x6DA
514 #define MADERA_OUT6RMIX_INPUT_2_VOLUME			0x6DB
515 #define MADERA_OUT6RMIX_INPUT_3_SOURCE			0x6DC
516 #define MADERA_OUT6RMIX_INPUT_3_VOLUME			0x6DD
517 #define MADERA_OUT6RMIX_INPUT_4_SOURCE			0x6DE
518 #define MADERA_OUT6RMIX_INPUT_4_VOLUME			0x6DF
519 #define MADERA_AIF1TX1MIX_INPUT_1_SOURCE		0x700
520 #define MADERA_AIF1TX1MIX_INPUT_1_VOLUME		0x701
521 #define MADERA_AIF1TX1MIX_INPUT_2_SOURCE		0x702
522 #define MADERA_AIF1TX1MIX_INPUT_2_VOLUME		0x703
523 #define MADERA_AIF1TX1MIX_INPUT_3_SOURCE		0x704
524 #define MADERA_AIF1TX1MIX_INPUT_3_VOLUME		0x705
525 #define MADERA_AIF1TX1MIX_INPUT_4_SOURCE		0x706
526 #define MADERA_AIF1TX1MIX_INPUT_4_VOLUME		0x707
527 #define MADERA_AIF1TX2MIX_INPUT_1_SOURCE		0x708
528 #define MADERA_AIF1TX2MIX_INPUT_1_VOLUME		0x709
529 #define MADERA_AIF1TX2MIX_INPUT_2_SOURCE		0x70A
530 #define MADERA_AIF1TX2MIX_INPUT_2_VOLUME		0x70B
531 #define MADERA_AIF1TX2MIX_INPUT_3_SOURCE		0x70C
532 #define MADERA_AIF1TX2MIX_INPUT_3_VOLUME		0x70D
533 #define MADERA_AIF1TX2MIX_INPUT_4_SOURCE		0x70E
534 #define MADERA_AIF1TX2MIX_INPUT_4_VOLUME		0x70F
535 #define MADERA_AIF1TX3MIX_INPUT_1_SOURCE		0x710
536 #define MADERA_AIF1TX3MIX_INPUT_1_VOLUME		0x711
537 #define MADERA_AIF1TX3MIX_INPUT_2_SOURCE		0x712
538 #define MADERA_AIF1TX3MIX_INPUT_2_VOLUME		0x713
539 #define MADERA_AIF1TX3MIX_INPUT_3_SOURCE		0x714
540 #define MADERA_AIF1TX3MIX_INPUT_3_VOLUME		0x715
541 #define MADERA_AIF1TX3MIX_INPUT_4_SOURCE		0x716
542 #define MADERA_AIF1TX3MIX_INPUT_4_VOLUME		0x717
543 #define MADERA_AIF1TX4MIX_INPUT_1_SOURCE		0x718
544 #define MADERA_AIF1TX4MIX_INPUT_1_VOLUME		0x719
545 #define MADERA_AIF1TX4MIX_INPUT_2_SOURCE		0x71A
546 #define MADERA_AIF1TX4MIX_INPUT_2_VOLUME		0x71B
547 #define MADERA_AIF1TX4MIX_INPUT_3_SOURCE		0x71C
548 #define MADERA_AIF1TX4MIX_INPUT_3_VOLUME		0x71D
549 #define MADERA_AIF1TX4MIX_INPUT_4_SOURCE		0x71E
550 #define MADERA_AIF1TX4MIX_INPUT_4_VOLUME		0x71F
551 #define MADERA_AIF1TX5MIX_INPUT_1_SOURCE		0x720
552 #define MADERA_AIF1TX5MIX_INPUT_1_VOLUME		0x721
553 #define MADERA_AIF1TX5MIX_INPUT_2_SOURCE		0x722
554 #define MADERA_AIF1TX5MIX_INPUT_2_VOLUME		0x723
555 #define MADERA_AIF1TX5MIX_INPUT_3_SOURCE		0x724
556 #define MADERA_AIF1TX5MIX_INPUT_3_VOLUME		0x725
557 #define MADERA_AIF1TX5MIX_INPUT_4_SOURCE		0x726
558 #define MADERA_AIF1TX5MIX_INPUT_4_VOLUME		0x727
559 #define MADERA_AIF1TX6MIX_INPUT_1_SOURCE		0x728
560 #define MADERA_AIF1TX6MIX_INPUT_1_VOLUME		0x729
561 #define MADERA_AIF1TX6MIX_INPUT_2_SOURCE		0x72A
562 #define MADERA_AIF1TX6MIX_INPUT_2_VOLUME		0x72B
563 #define MADERA_AIF1TX6MIX_INPUT_3_SOURCE		0x72C
564 #define MADERA_AIF1TX6MIX_INPUT_3_VOLUME		0x72D
565 #define MADERA_AIF1TX6MIX_INPUT_4_SOURCE		0x72E
566 #define MADERA_AIF1TX6MIX_INPUT_4_VOLUME		0x72F
567 #define MADERA_AIF1TX7MIX_INPUT_1_SOURCE		0x730
568 #define MADERA_AIF1TX7MIX_INPUT_1_VOLUME		0x731
569 #define MADERA_AIF1TX7MIX_INPUT_2_SOURCE		0x732
570 #define MADERA_AIF1TX7MIX_INPUT_2_VOLUME		0x733
571 #define MADERA_AIF1TX7MIX_INPUT_3_SOURCE		0x734
572 #define MADERA_AIF1TX7MIX_INPUT_3_VOLUME		0x735
573 #define MADERA_AIF1TX7MIX_INPUT_4_SOURCE		0x736
574 #define MADERA_AIF1TX7MIX_INPUT_4_VOLUME		0x737
575 #define MADERA_AIF1TX8MIX_INPUT_1_SOURCE		0x738
576 #define MADERA_AIF1TX8MIX_INPUT_1_VOLUME		0x739
577 #define MADERA_AIF1TX8MIX_INPUT_2_SOURCE		0x73A
578 #define MADERA_AIF1TX8MIX_INPUT_2_VOLUME		0x73B
579 #define MADERA_AIF1TX8MIX_INPUT_3_SOURCE		0x73C
580 #define MADERA_AIF1TX8MIX_INPUT_3_VOLUME		0x73D
581 #define MADERA_AIF1TX8MIX_INPUT_4_SOURCE		0x73E
582 #define MADERA_AIF1TX8MIX_INPUT_4_VOLUME		0x73F
583 #define MADERA_AIF2TX1MIX_INPUT_1_SOURCE		0x740
584 #define MADERA_AIF2TX1MIX_INPUT_1_VOLUME		0x741
585 #define MADERA_AIF2TX1MIX_INPUT_2_SOURCE		0x742
586 #define MADERA_AIF2TX1MIX_INPUT_2_VOLUME		0x743
587 #define MADERA_AIF2TX1MIX_INPUT_3_SOURCE		0x744
588 #define MADERA_AIF2TX1MIX_INPUT_3_VOLUME		0x745
589 #define MADERA_AIF2TX1MIX_INPUT_4_SOURCE		0x746
590 #define MADERA_AIF2TX1MIX_INPUT_4_VOLUME		0x747
591 #define MADERA_AIF2TX2MIX_INPUT_1_SOURCE		0x748
592 #define MADERA_AIF2TX2MIX_INPUT_1_VOLUME		0x749
593 #define MADERA_AIF2TX2MIX_INPUT_2_SOURCE		0x74A
594 #define MADERA_AIF2TX2MIX_INPUT_2_VOLUME		0x74B
595 #define MADERA_AIF2TX2MIX_INPUT_3_SOURCE		0x74C
596 #define MADERA_AIF2TX2MIX_INPUT_3_VOLUME		0x74D
597 #define MADERA_AIF2TX2MIX_INPUT_4_SOURCE		0x74E
598 #define MADERA_AIF2TX2MIX_INPUT_4_VOLUME		0x74F
599 #define MADERA_AIF2TX3MIX_INPUT_1_SOURCE		0x750
600 #define MADERA_AIF2TX3MIX_INPUT_1_VOLUME		0x751
601 #define MADERA_AIF2TX3MIX_INPUT_2_SOURCE		0x752
602 #define MADERA_AIF2TX3MIX_INPUT_2_VOLUME		0x753
603 #define MADERA_AIF2TX3MIX_INPUT_3_SOURCE		0x754
604 #define MADERA_AIF2TX3MIX_INPUT_3_VOLUME		0x755
605 #define MADERA_AIF2TX3MIX_INPUT_4_SOURCE		0x756
606 #define MADERA_AIF2TX3MIX_INPUT_4_VOLUME		0x757
607 #define MADERA_AIF2TX4MIX_INPUT_1_SOURCE		0x758
608 #define MADERA_AIF2TX4MIX_INPUT_1_VOLUME		0x759
609 #define MADERA_AIF2TX4MIX_INPUT_2_SOURCE		0x75A
610 #define MADERA_AIF2TX4MIX_INPUT_2_VOLUME		0x75B
611 #define MADERA_AIF2TX4MIX_INPUT_3_SOURCE		0x75C
612 #define MADERA_AIF2TX4MIX_INPUT_3_VOLUME		0x75D
613 #define MADERA_AIF2TX4MIX_INPUT_4_SOURCE		0x75E
614 #define MADERA_AIF2TX4MIX_INPUT_4_VOLUME		0x75F
615 #define MADERA_AIF2TX5MIX_INPUT_1_SOURCE		0x760
616 #define MADERA_AIF2TX5MIX_INPUT_1_VOLUME		0x761
617 #define MADERA_AIF2TX5MIX_INPUT_2_SOURCE		0x762
618 #define MADERA_AIF2TX5MIX_INPUT_2_VOLUME		0x763
619 #define MADERA_AIF2TX5MIX_INPUT_3_SOURCE		0x764
620 #define MADERA_AIF2TX5MIX_INPUT_3_VOLUME		0x765
621 #define MADERA_AIF2TX5MIX_INPUT_4_SOURCE		0x766
622 #define MADERA_AIF2TX5MIX_INPUT_4_VOLUME		0x767
623 #define MADERA_AIF2TX6MIX_INPUT_1_SOURCE		0x768
624 #define MADERA_AIF2TX6MIX_INPUT_1_VOLUME		0x769
625 #define MADERA_AIF2TX6MIX_INPUT_2_SOURCE		0x76A
626 #define MADERA_AIF2TX6MIX_INPUT_2_VOLUME		0x76B
627 #define MADERA_AIF2TX6MIX_INPUT_3_SOURCE		0x76C
628 #define MADERA_AIF2TX6MIX_INPUT_3_VOLUME		0x76D
629 #define MADERA_AIF2TX6MIX_INPUT_4_SOURCE		0x76E
630 #define MADERA_AIF2TX6MIX_INPUT_4_VOLUME		0x76F
631 #define MADERA_AIF2TX7MIX_INPUT_1_SOURCE		0x770
632 #define MADERA_AIF2TX7MIX_INPUT_1_VOLUME		0x771
633 #define MADERA_AIF2TX7MIX_INPUT_2_SOURCE		0x772
634 #define MADERA_AIF2TX7MIX_INPUT_2_VOLUME		0x773
635 #define MADERA_AIF2TX7MIX_INPUT_3_SOURCE		0x774
636 #define MADERA_AIF2TX7MIX_INPUT_3_VOLUME		0x775
637 #define MADERA_AIF2TX7MIX_INPUT_4_SOURCE		0x776
638 #define MADERA_AIF2TX7MIX_INPUT_4_VOLUME		0x777
639 #define MADERA_AIF2TX8MIX_INPUT_1_SOURCE		0x778
640 #define MADERA_AIF2TX8MIX_INPUT_1_VOLUME		0x779
641 #define MADERA_AIF2TX8MIX_INPUT_2_SOURCE		0x77A
642 #define MADERA_AIF2TX8MIX_INPUT_2_VOLUME		0x77B
643 #define MADERA_AIF2TX8MIX_INPUT_3_SOURCE		0x77C
644 #define MADERA_AIF2TX8MIX_INPUT_3_VOLUME		0x77D
645 #define MADERA_AIF2TX8MIX_INPUT_4_SOURCE		0x77E
646 #define MADERA_AIF2TX8MIX_INPUT_4_VOLUME		0x77F
647 #define MADERA_AIF3TX1MIX_INPUT_1_SOURCE		0x780
648 #define MADERA_AIF3TX1MIX_INPUT_1_VOLUME		0x781
649 #define MADERA_AIF3TX1MIX_INPUT_2_SOURCE		0x782
650 #define MADERA_AIF3TX1MIX_INPUT_2_VOLUME		0x783
651 #define MADERA_AIF3TX1MIX_INPUT_3_SOURCE		0x784
652 #define MADERA_AIF3TX1MIX_INPUT_3_VOLUME		0x785
653 #define MADERA_AIF3TX1MIX_INPUT_4_SOURCE		0x786
654 #define MADERA_AIF3TX1MIX_INPUT_4_VOLUME		0x787
655 #define MADERA_AIF3TX2MIX_INPUT_1_SOURCE		0x788
656 #define MADERA_AIF3TX2MIX_INPUT_1_VOLUME		0x789
657 #define MADERA_AIF3TX2MIX_INPUT_2_SOURCE		0x78A
658 #define MADERA_AIF3TX2MIX_INPUT_2_VOLUME		0x78B
659 #define MADERA_AIF3TX2MIX_INPUT_3_SOURCE		0x78C
660 #define MADERA_AIF3TX2MIX_INPUT_3_VOLUME		0x78D
661 #define MADERA_AIF3TX2MIX_INPUT_4_SOURCE		0x78E
662 #define MADERA_AIF3TX2MIX_INPUT_4_VOLUME		0x78F
663 #define MADERA_AIF4TX1MIX_INPUT_1_SOURCE		0x7A0
664 #define MADERA_AIF4TX1MIX_INPUT_1_VOLUME		0x7A1
665 #define MADERA_AIF4TX1MIX_INPUT_2_SOURCE		0x7A2
666 #define MADERA_AIF4TX1MIX_INPUT_2_VOLUME		0x7A3
667 #define MADERA_AIF4TX1MIX_INPUT_3_SOURCE		0x7A4
668 #define MADERA_AIF4TX1MIX_INPUT_3_VOLUME		0x7A5
669 #define MADERA_AIF4TX1MIX_INPUT_4_SOURCE		0x7A6
670 #define MADERA_AIF4TX1MIX_INPUT_4_VOLUME		0x7A7
671 #define MADERA_AIF4TX2MIX_INPUT_1_SOURCE		0x7A8
672 #define MADERA_AIF4TX2MIX_INPUT_1_VOLUME		0x7A9
673 #define MADERA_AIF4TX2MIX_INPUT_2_SOURCE		0x7AA
674 #define MADERA_AIF4TX2MIX_INPUT_2_VOLUME		0x7AB
675 #define MADERA_AIF4TX2MIX_INPUT_3_SOURCE		0x7AC
676 #define MADERA_AIF4TX2MIX_INPUT_3_VOLUME		0x7AD
677 #define MADERA_AIF4TX2MIX_INPUT_4_SOURCE		0x7AE
678 #define MADERA_AIF4TX2MIX_INPUT_4_VOLUME		0x7AF
679 #define MADERA_SLIMTX1MIX_INPUT_1_SOURCE		0x7C0
680 #define MADERA_SLIMTX1MIX_INPUT_1_VOLUME		0x7C1
681 #define MADERA_SLIMTX1MIX_INPUT_2_SOURCE		0x7C2
682 #define MADERA_SLIMTX1MIX_INPUT_2_VOLUME		0x7C3
683 #define MADERA_SLIMTX1MIX_INPUT_3_SOURCE		0x7C4
684 #define MADERA_SLIMTX1MIX_INPUT_3_VOLUME		0x7C5
685 #define MADERA_SLIMTX1MIX_INPUT_4_SOURCE		0x7C6
686 #define MADERA_SLIMTX1MIX_INPUT_4_VOLUME		0x7C7
687 #define MADERA_SLIMTX2MIX_INPUT_1_SOURCE		0x7C8
688 #define MADERA_SLIMTX2MIX_INPUT_1_VOLUME		0x7C9
689 #define MADERA_SLIMTX2MIX_INPUT_2_SOURCE		0x7CA
690 #define MADERA_SLIMTX2MIX_INPUT_2_VOLUME		0x7CB
691 #define MADERA_SLIMTX2MIX_INPUT_3_SOURCE		0x7CC
692 #define MADERA_SLIMTX2MIX_INPUT_3_VOLUME		0x7CD
693 #define MADERA_SLIMTX2MIX_INPUT_4_SOURCE		0x7CE
694 #define MADERA_SLIMTX2MIX_INPUT_4_VOLUME		0x7CF
695 #define MADERA_SLIMTX3MIX_INPUT_1_SOURCE		0x7D0
696 #define MADERA_SLIMTX3MIX_INPUT_1_VOLUME		0x7D1
697 #define MADERA_SLIMTX3MIX_INPUT_2_SOURCE		0x7D2
698 #define MADERA_SLIMTX3MIX_INPUT_2_VOLUME		0x7D3
699 #define MADERA_SLIMTX3MIX_INPUT_3_SOURCE		0x7D4
700 #define MADERA_SLIMTX3MIX_INPUT_3_VOLUME		0x7D5
701 #define MADERA_SLIMTX3MIX_INPUT_4_SOURCE		0x7D6
702 #define MADERA_SLIMTX3MIX_INPUT_4_VOLUME		0x7D7
703 #define MADERA_SLIMTX4MIX_INPUT_1_SOURCE		0x7D8
704 #define MADERA_SLIMTX4MIX_INPUT_1_VOLUME		0x7D9
705 #define MADERA_SLIMTX4MIX_INPUT_2_SOURCE		0x7DA
706 #define MADERA_SLIMTX4MIX_INPUT_2_VOLUME		0x7DB
707 #define MADERA_SLIMTX4MIX_INPUT_3_SOURCE		0x7DC
708 #define MADERA_SLIMTX4MIX_INPUT_3_VOLUME		0x7DD
709 #define MADERA_SLIMTX4MIX_INPUT_4_SOURCE		0x7DE
710 #define MADERA_SLIMTX4MIX_INPUT_4_VOLUME		0x7DF
711 #define MADERA_SLIMTX5MIX_INPUT_1_SOURCE		0x7E0
712 #define MADERA_SLIMTX5MIX_INPUT_1_VOLUME		0x7E1
713 #define MADERA_SLIMTX5MIX_INPUT_2_SOURCE		0x7E2
714 #define MADERA_SLIMTX5MIX_INPUT_2_VOLUME		0x7E3
715 #define MADERA_SLIMTX5MIX_INPUT_3_SOURCE		0x7E4
716 #define MADERA_SLIMTX5MIX_INPUT_3_VOLUME		0x7E5
717 #define MADERA_SLIMTX5MIX_INPUT_4_SOURCE		0x7E6
718 #define MADERA_SLIMTX5MIX_INPUT_4_VOLUME		0x7E7
719 #define MADERA_SLIMTX6MIX_INPUT_1_SOURCE		0x7E8
720 #define MADERA_SLIMTX6MIX_INPUT_1_VOLUME		0x7E9
721 #define MADERA_SLIMTX6MIX_INPUT_2_SOURCE		0x7EA
722 #define MADERA_SLIMTX6MIX_INPUT_2_VOLUME		0x7EB
723 #define MADERA_SLIMTX6MIX_INPUT_3_SOURCE		0x7EC
724 #define MADERA_SLIMTX6MIX_INPUT_3_VOLUME		0x7ED
725 #define MADERA_SLIMTX6MIX_INPUT_4_SOURCE		0x7EE
726 #define MADERA_SLIMTX6MIX_INPUT_4_VOLUME		0x7EF
727 #define MADERA_SLIMTX7MIX_INPUT_1_SOURCE		0x7F0
728 #define MADERA_SLIMTX7MIX_INPUT_1_VOLUME		0x7F1
729 #define MADERA_SLIMTX7MIX_INPUT_2_SOURCE		0x7F2
730 #define MADERA_SLIMTX7MIX_INPUT_2_VOLUME		0x7F3
731 #define MADERA_SLIMTX7MIX_INPUT_3_SOURCE		0x7F4
732 #define MADERA_SLIMTX7MIX_INPUT_3_VOLUME		0x7F5
733 #define MADERA_SLIMTX7MIX_INPUT_4_SOURCE		0x7F6
734 #define MADERA_SLIMTX7MIX_INPUT_4_VOLUME		0x7F7
735 #define MADERA_SLIMTX8MIX_INPUT_1_SOURCE		0x7F8
736 #define MADERA_SLIMTX8MIX_INPUT_1_VOLUME		0x7F9
737 #define MADERA_SLIMTX8MIX_INPUT_2_SOURCE		0x7FA
738 #define MADERA_SLIMTX8MIX_INPUT_2_VOLUME		0x7FB
739 #define MADERA_SLIMTX8MIX_INPUT_3_SOURCE		0x7FC
740 #define MADERA_SLIMTX8MIX_INPUT_3_VOLUME		0x7FD
741 #define MADERA_SLIMTX8MIX_INPUT_4_SOURCE		0x7FE
742 #define MADERA_SLIMTX8MIX_INPUT_4_VOLUME		0x7FF
743 #define MADERA_SPDIF1TX1MIX_INPUT_1_SOURCE		0x800
744 #define MADERA_SPDIF1TX1MIX_INPUT_1_VOLUME		0x801
745 #define MADERA_SPDIF1TX2MIX_INPUT_1_SOURCE		0x808
746 #define MADERA_SPDIF1TX2MIX_INPUT_1_VOLUME		0x809
747 #define MADERA_EQ1MIX_INPUT_1_SOURCE			0x880
748 #define MADERA_EQ1MIX_INPUT_1_VOLUME			0x881
749 #define MADERA_EQ1MIX_INPUT_2_SOURCE			0x882
750 #define MADERA_EQ1MIX_INPUT_2_VOLUME			0x883
751 #define MADERA_EQ1MIX_INPUT_3_SOURCE			0x884
752 #define MADERA_EQ1MIX_INPUT_3_VOLUME			0x885
753 #define MADERA_EQ1MIX_INPUT_4_SOURCE			0x886
754 #define MADERA_EQ1MIX_INPUT_4_VOLUME			0x887
755 #define MADERA_EQ2MIX_INPUT_1_SOURCE			0x888
756 #define MADERA_EQ2MIX_INPUT_1_VOLUME			0x889
757 #define MADERA_EQ2MIX_INPUT_2_SOURCE			0x88A
758 #define MADERA_EQ2MIX_INPUT_2_VOLUME			0x88B
759 #define MADERA_EQ2MIX_INPUT_3_SOURCE			0x88C
760 #define MADERA_EQ2MIX_INPUT_3_VOLUME			0x88D
761 #define MADERA_EQ2MIX_INPUT_4_SOURCE			0x88E
762 #define MADERA_EQ2MIX_INPUT_4_VOLUME			0x88F
763 #define MADERA_EQ3MIX_INPUT_1_SOURCE			0x890
764 #define MADERA_EQ3MIX_INPUT_1_VOLUME			0x891
765 #define MADERA_EQ3MIX_INPUT_2_SOURCE			0x892
766 #define MADERA_EQ3MIX_INPUT_2_VOLUME			0x893
767 #define MADERA_EQ3MIX_INPUT_3_SOURCE			0x894
768 #define MADERA_EQ3MIX_INPUT_3_VOLUME			0x895
769 #define MADERA_EQ3MIX_INPUT_4_SOURCE			0x896
770 #define MADERA_EQ3MIX_INPUT_4_VOLUME			0x897
771 #define MADERA_EQ4MIX_INPUT_1_SOURCE			0x898
772 #define MADERA_EQ4MIX_INPUT_1_VOLUME			0x899
773 #define MADERA_EQ4MIX_INPUT_2_SOURCE			0x89A
774 #define MADERA_EQ4MIX_INPUT_2_VOLUME			0x89B
775 #define MADERA_EQ4MIX_INPUT_3_SOURCE			0x89C
776 #define MADERA_EQ4MIX_INPUT_3_VOLUME			0x89D
777 #define MADERA_EQ4MIX_INPUT_4_SOURCE			0x89E
778 #define MADERA_EQ4MIX_INPUT_4_VOLUME			0x89F
779 #define MADERA_DRC1LMIX_INPUT_1_SOURCE			0x8C0
780 #define MADERA_DRC1LMIX_INPUT_1_VOLUME			0x8C1
781 #define MADERA_DRC1LMIX_INPUT_2_SOURCE			0x8C2
782 #define MADERA_DRC1LMIX_INPUT_2_VOLUME			0x8C3
783 #define MADERA_DRC1LMIX_INPUT_3_SOURCE			0x8C4
784 #define MADERA_DRC1LMIX_INPUT_3_VOLUME			0x8C5
785 #define MADERA_DRC1LMIX_INPUT_4_SOURCE			0x8C6
786 #define MADERA_DRC1LMIX_INPUT_4_VOLUME			0x8C7
787 #define MADERA_DRC1RMIX_INPUT_1_SOURCE			0x8C8
788 #define MADERA_DRC1RMIX_INPUT_1_VOLUME			0x8C9
789 #define MADERA_DRC1RMIX_INPUT_2_SOURCE			0x8CA
790 #define MADERA_DRC1RMIX_INPUT_2_VOLUME			0x8CB
791 #define MADERA_DRC1RMIX_INPUT_3_SOURCE			0x8CC
792 #define MADERA_DRC1RMIX_INPUT_3_VOLUME			0x8CD
793 #define MADERA_DRC1RMIX_INPUT_4_SOURCE			0x8CE
794 #define MADERA_DRC1RMIX_INPUT_4_VOLUME			0x8CF
795 #define MADERA_DRC2LMIX_INPUT_1_SOURCE			0x8D0
796 #define MADERA_DRC2LMIX_INPUT_1_VOLUME			0x8D1
797 #define MADERA_DRC2LMIX_INPUT_2_SOURCE			0x8D2
798 #define MADERA_DRC2LMIX_INPUT_2_VOLUME			0x8D3
799 #define MADERA_DRC2LMIX_INPUT_3_SOURCE			0x8D4
800 #define MADERA_DRC2LMIX_INPUT_3_VOLUME			0x8D5
801 #define MADERA_DRC2LMIX_INPUT_4_SOURCE			0x8D6
802 #define MADERA_DRC2LMIX_INPUT_4_VOLUME			0x8D7
803 #define MADERA_DRC2RMIX_INPUT_1_SOURCE			0x8D8
804 #define MADERA_DRC2RMIX_INPUT_1_VOLUME			0x8D9
805 #define MADERA_DRC2RMIX_INPUT_2_SOURCE			0x8DA
806 #define MADERA_DRC2RMIX_INPUT_2_VOLUME			0x8DB
807 #define MADERA_DRC2RMIX_INPUT_3_SOURCE			0x8DC
808 #define MADERA_DRC2RMIX_INPUT_3_VOLUME			0x8DD
809 #define MADERA_DRC2RMIX_INPUT_4_SOURCE			0x8DE
810 #define MADERA_DRC2RMIX_INPUT_4_VOLUME			0x8DF
811 #define MADERA_HPLP1MIX_INPUT_1_SOURCE			0x900
812 #define MADERA_HPLP1MIX_INPUT_1_VOLUME			0x901
813 #define MADERA_HPLP1MIX_INPUT_2_SOURCE			0x902
814 #define MADERA_HPLP1MIX_INPUT_2_VOLUME			0x903
815 #define MADERA_HPLP1MIX_INPUT_3_SOURCE			0x904
816 #define MADERA_HPLP1MIX_INPUT_3_VOLUME			0x905
817 #define MADERA_HPLP1MIX_INPUT_4_SOURCE			0x906
818 #define MADERA_HPLP1MIX_INPUT_4_VOLUME			0x907
819 #define MADERA_HPLP2MIX_INPUT_1_SOURCE			0x908
820 #define MADERA_HPLP2MIX_INPUT_1_VOLUME			0x909
821 #define MADERA_HPLP2MIX_INPUT_2_SOURCE			0x90A
822 #define MADERA_HPLP2MIX_INPUT_2_VOLUME			0x90B
823 #define MADERA_HPLP2MIX_INPUT_3_SOURCE			0x90C
824 #define MADERA_HPLP2MIX_INPUT_3_VOLUME			0x90D
825 #define MADERA_HPLP2MIX_INPUT_4_SOURCE			0x90E
826 #define MADERA_HPLP2MIX_INPUT_4_VOLUME			0x90F
827 #define MADERA_HPLP3MIX_INPUT_1_SOURCE			0x910
828 #define MADERA_HPLP3MIX_INPUT_1_VOLUME			0x911
829 #define MADERA_HPLP3MIX_INPUT_2_SOURCE			0x912
830 #define MADERA_HPLP3MIX_INPUT_2_VOLUME			0x913
831 #define MADERA_HPLP3MIX_INPUT_3_SOURCE			0x914
832 #define MADERA_HPLP3MIX_INPUT_3_VOLUME			0x915
833 #define MADERA_HPLP3MIX_INPUT_4_SOURCE			0x916
834 #define MADERA_HPLP3MIX_INPUT_4_VOLUME			0x917
835 #define MADERA_HPLP4MIX_INPUT_1_SOURCE			0x918
836 #define MADERA_HPLP4MIX_INPUT_1_VOLUME			0x919
837 #define MADERA_HPLP4MIX_INPUT_2_SOURCE			0x91A
838 #define MADERA_HPLP4MIX_INPUT_2_VOLUME			0x91B
839 #define MADERA_HPLP4MIX_INPUT_3_SOURCE			0x91C
840 #define MADERA_HPLP4MIX_INPUT_3_VOLUME			0x91D
841 #define MADERA_HPLP4MIX_INPUT_4_SOURCE			0x91E
842 #define MADERA_HPLP4MIX_INPUT_4_VOLUME			0x91F
843 #define MADERA_DSP1LMIX_INPUT_1_SOURCE			0x940
844 #define MADERA_DSP1LMIX_INPUT_1_VOLUME			0x941
845 #define MADERA_DSP1LMIX_INPUT_2_SOURCE			0x942
846 #define MADERA_DSP1LMIX_INPUT_2_VOLUME			0x943
847 #define MADERA_DSP1LMIX_INPUT_3_SOURCE			0x944
848 #define MADERA_DSP1LMIX_INPUT_3_VOLUME			0x945
849 #define MADERA_DSP1LMIX_INPUT_4_SOURCE			0x946
850 #define MADERA_DSP1LMIX_INPUT_4_VOLUME			0x947
851 #define MADERA_DSP1RMIX_INPUT_1_SOURCE			0x948
852 #define MADERA_DSP1RMIX_INPUT_1_VOLUME			0x949
853 #define MADERA_DSP1RMIX_INPUT_2_SOURCE			0x94A
854 #define MADERA_DSP1RMIX_INPUT_2_VOLUME			0x94B
855 #define MADERA_DSP1RMIX_INPUT_3_SOURCE			0x94C
856 #define MADERA_DSP1RMIX_INPUT_3_VOLUME			0x94D
857 #define MADERA_DSP1RMIX_INPUT_4_SOURCE			0x94E
858 #define MADERA_DSP1RMIX_INPUT_4_VOLUME			0x94F
859 #define MADERA_DSP1AUX1MIX_INPUT_1_SOURCE		0x950
860 #define MADERA_DSP1AUX2MIX_INPUT_1_SOURCE		0x958
861 #define MADERA_DSP1AUX3MIX_INPUT_1_SOURCE		0x960
862 #define MADERA_DSP1AUX4MIX_INPUT_1_SOURCE		0x968
863 #define MADERA_DSP1AUX5MIX_INPUT_1_SOURCE		0x970
864 #define MADERA_DSP1AUX6MIX_INPUT_1_SOURCE		0x978
865 #define MADERA_DSP2LMIX_INPUT_1_SOURCE			0x980
866 #define MADERA_DSP2LMIX_INPUT_1_VOLUME			0x981
867 #define MADERA_DSP2LMIX_INPUT_2_SOURCE			0x982
868 #define MADERA_DSP2LMIX_INPUT_2_VOLUME			0x983
869 #define MADERA_DSP2LMIX_INPUT_3_SOURCE			0x984
870 #define MADERA_DSP2LMIX_INPUT_3_VOLUME			0x985
871 #define MADERA_DSP2LMIX_INPUT_4_SOURCE			0x986
872 #define MADERA_DSP2LMIX_INPUT_4_VOLUME			0x987
873 #define MADERA_DSP2RMIX_INPUT_1_SOURCE			0x988
874 #define MADERA_DSP2RMIX_INPUT_1_VOLUME			0x989
875 #define MADERA_DSP2RMIX_INPUT_2_SOURCE			0x98A
876 #define MADERA_DSP2RMIX_INPUT_2_VOLUME			0x98B
877 #define MADERA_DSP2RMIX_INPUT_3_SOURCE			0x98C
878 #define MADERA_DSP2RMIX_INPUT_3_VOLUME			0x98D
879 #define MADERA_DSP2RMIX_INPUT_4_SOURCE			0x98E
880 #define MADERA_DSP2RMIX_INPUT_4_VOLUME			0x98F
881 #define MADERA_DSP2AUX1MIX_INPUT_1_SOURCE		0x990
882 #define MADERA_DSP2AUX2MIX_INPUT_1_SOURCE		0x998
883 #define MADERA_DSP2AUX3MIX_INPUT_1_SOURCE		0x9A0
884 #define MADERA_DSP2AUX4MIX_INPUT_1_SOURCE		0x9A8
885 #define MADERA_DSP2AUX5MIX_INPUT_1_SOURCE		0x9B0
886 #define MADERA_DSP2AUX6MIX_INPUT_1_SOURCE		0x9B8
887 #define MADERA_DSP3LMIX_INPUT_1_SOURCE			0x9C0
888 #define MADERA_DSP3LMIX_INPUT_1_VOLUME			0x9C1
889 #define MADERA_DSP3LMIX_INPUT_2_SOURCE			0x9C2
890 #define MADERA_DSP3LMIX_INPUT_2_VOLUME			0x9C3
891 #define MADERA_DSP3LMIX_INPUT_3_SOURCE			0x9C4
892 #define MADERA_DSP3LMIX_INPUT_3_VOLUME			0x9C5
893 #define MADERA_DSP3LMIX_INPUT_4_SOURCE			0x9C6
894 #define MADERA_DSP3LMIX_INPUT_4_VOLUME			0x9C7
895 #define MADERA_DSP3RMIX_INPUT_1_SOURCE			0x9C8
896 #define MADERA_DSP3RMIX_INPUT_1_VOLUME			0x9C9
897 #define MADERA_DSP3RMIX_INPUT_2_SOURCE			0x9CA
898 #define MADERA_DSP3RMIX_INPUT_2_VOLUME			0x9CB
899 #define MADERA_DSP3RMIX_INPUT_3_SOURCE			0x9CC
900 #define MADERA_DSP3RMIX_INPUT_3_VOLUME			0x9CD
901 #define MADERA_DSP3RMIX_INPUT_4_SOURCE			0x9CE
902 #define MADERA_DSP3RMIX_INPUT_4_VOLUME			0x9CF
903 #define MADERA_DSP3AUX1MIX_INPUT_1_SOURCE		0x9D0
904 #define MADERA_DSP3AUX2MIX_INPUT_1_SOURCE		0x9D8
905 #define MADERA_DSP3AUX3MIX_INPUT_1_SOURCE		0x9E0
906 #define MADERA_DSP3AUX4MIX_INPUT_1_SOURCE		0x9E8
907 #define MADERA_DSP3AUX5MIX_INPUT_1_SOURCE		0x9F0
908 #define MADERA_DSP3AUX6MIX_INPUT_1_SOURCE		0x9F8
909 #define MADERA_DSP4LMIX_INPUT_1_SOURCE			0xA00
910 #define MADERA_DSP4LMIX_INPUT_1_VOLUME			0xA01
911 #define MADERA_DSP4LMIX_INPUT_2_SOURCE			0xA02
912 #define MADERA_DSP4LMIX_INPUT_2_VOLUME			0xA03
913 #define MADERA_DSP4LMIX_INPUT_3_SOURCE			0xA04
914 #define MADERA_DSP4LMIX_INPUT_3_VOLUME			0xA05
915 #define MADERA_DSP4LMIX_INPUT_4_SOURCE			0xA06
916 #define MADERA_DSP4LMIX_INPUT_4_VOLUME			0xA07
917 #define MADERA_DSP4RMIX_INPUT_1_SOURCE			0xA08
918 #define MADERA_DSP4RMIX_INPUT_1_VOLUME			0xA09
919 #define MADERA_DSP4RMIX_INPUT_2_SOURCE			0xA0A
920 #define MADERA_DSP4RMIX_INPUT_2_VOLUME			0xA0B
921 #define MADERA_DSP4RMIX_INPUT_3_SOURCE			0xA0C
922 #define MADERA_DSP4RMIX_INPUT_3_VOLUME			0xA0D
923 #define MADERA_DSP4RMIX_INPUT_4_SOURCE			0xA0E
924 #define MADERA_DSP4RMIX_INPUT_4_VOLUME			0xA0F
925 #define MADERA_DSP4AUX1MIX_INPUT_1_SOURCE		0xA10
926 #define MADERA_DSP4AUX2MIX_INPUT_1_SOURCE		0xA18
927 #define MADERA_DSP4AUX3MIX_INPUT_1_SOURCE		0xA20
928 #define MADERA_DSP4AUX4MIX_INPUT_1_SOURCE		0xA28
929 #define MADERA_DSP4AUX5MIX_INPUT_1_SOURCE		0xA30
930 #define MADERA_DSP4AUX6MIX_INPUT_1_SOURCE		0xA38
931 #define MADERA_DSP5LMIX_INPUT_1_SOURCE			0xA40
932 #define MADERA_DSP5LMIX_INPUT_1_VOLUME			0xA41
933 #define MADERA_DSP5LMIX_INPUT_2_SOURCE			0xA42
934 #define MADERA_DSP5LMIX_INPUT_2_VOLUME			0xA43
935 #define MADERA_DSP5LMIX_INPUT_3_SOURCE			0xA44
936 #define MADERA_DSP5LMIX_INPUT_3_VOLUME			0xA45
937 #define MADERA_DSP5LMIX_INPUT_4_SOURCE			0xA46
938 #define MADERA_DSP5LMIX_INPUT_4_VOLUME			0xA47
939 #define MADERA_DSP5RMIX_INPUT_1_SOURCE			0xA48
940 #define MADERA_DSP5RMIX_INPUT_1_VOLUME			0xA49
941 #define MADERA_DSP5RMIX_INPUT_2_SOURCE			0xA4A
942 #define MADERA_DSP5RMIX_INPUT_2_VOLUME			0xA4B
943 #define MADERA_DSP5RMIX_INPUT_3_SOURCE			0xA4C
944 #define MADERA_DSP5RMIX_INPUT_3_VOLUME			0xA4D
945 #define MADERA_DSP5RMIX_INPUT_4_SOURCE			0xA4E
946 #define MADERA_DSP5RMIX_INPUT_4_VOLUME			0xA4F
947 #define MADERA_DSP5AUX1MIX_INPUT_1_SOURCE		0xA50
948 #define MADERA_DSP5AUX2MIX_INPUT_1_SOURCE		0xA58
949 #define MADERA_DSP5AUX3MIX_INPUT_1_SOURCE		0xA60
950 #define MADERA_DSP5AUX4MIX_INPUT_1_SOURCE		0xA68
951 #define MADERA_DSP5AUX5MIX_INPUT_1_SOURCE		0xA70
952 #define MADERA_DSP5AUX6MIX_INPUT_1_SOURCE		0xA78
953 #define MADERA_ASRC1_1LMIX_INPUT_1_SOURCE		0xA80
954 #define MADERA_ASRC1_1RMIX_INPUT_1_SOURCE		0xA88
955 #define MADERA_ASRC1_2LMIX_INPUT_1_SOURCE		0xA90
956 #define MADERA_ASRC1_2RMIX_INPUT_1_SOURCE		0xA98
957 #define MADERA_ASRC2_1LMIX_INPUT_1_SOURCE		0xAA0
958 #define MADERA_ASRC2_1RMIX_INPUT_1_SOURCE		0xAA8
959 #define MADERA_ASRC2_2LMIX_INPUT_1_SOURCE		0xAB0
960 #define MADERA_ASRC2_2RMIX_INPUT_1_SOURCE		0xAB8
961 #define MADERA_ISRC1DEC1MIX_INPUT_1_SOURCE		0xB00
962 #define MADERA_ISRC1DEC2MIX_INPUT_1_SOURCE		0xB08
963 #define MADERA_ISRC1DEC3MIX_INPUT_1_SOURCE		0xB10
964 #define MADERA_ISRC1DEC4MIX_INPUT_1_SOURCE		0xB18
965 #define MADERA_ISRC1INT1MIX_INPUT_1_SOURCE		0xB20
966 #define MADERA_ISRC1INT2MIX_INPUT_1_SOURCE		0xB28
967 #define MADERA_ISRC1INT3MIX_INPUT_1_SOURCE		0xB30
968 #define MADERA_ISRC1INT4MIX_INPUT_1_SOURCE		0xB38
969 #define MADERA_ISRC2DEC1MIX_INPUT_1_SOURCE		0xB40
970 #define MADERA_ISRC2DEC2MIX_INPUT_1_SOURCE		0xB48
971 #define MADERA_ISRC2DEC3MIX_INPUT_1_SOURCE		0xB50
972 #define MADERA_ISRC2DEC4MIX_INPUT_1_SOURCE		0xB58
973 #define MADERA_ISRC2INT1MIX_INPUT_1_SOURCE		0xB60
974 #define MADERA_ISRC2INT2MIX_INPUT_1_SOURCE		0xB68
975 #define MADERA_ISRC2INT3MIX_INPUT_1_SOURCE		0xB70
976 #define MADERA_ISRC2INT4MIX_INPUT_1_SOURCE		0xB78
977 #define MADERA_ISRC3DEC1MIX_INPUT_1_SOURCE		0xB80
978 #define MADERA_ISRC3DEC2MIX_INPUT_1_SOURCE		0xB88
979 #define MADERA_ISRC3DEC3MIX_INPUT_1_SOURCE		0xB90
980 #define MADERA_ISRC3DEC4MIX_INPUT_1_SOURCE		0xB98
981 #define MADERA_ISRC3INT1MIX_INPUT_1_SOURCE		0xBA0
982 #define MADERA_ISRC3INT2MIX_INPUT_1_SOURCE		0xBA8
983 #define MADERA_ISRC3INT3MIX_INPUT_1_SOURCE		0xBB0
984 #define MADERA_ISRC3INT4MIX_INPUT_1_SOURCE		0xBB8
985 #define MADERA_ISRC4DEC1MIX_INPUT_1_SOURCE		0xBC0
986 #define MADERA_ISRC4DEC2MIX_INPUT_1_SOURCE		0xBC8
987 #define MADERA_ISRC4INT1MIX_INPUT_1_SOURCE		0xBE0
988 #define MADERA_ISRC4INT2MIX_INPUT_1_SOURCE		0xBE8
989 #define MADERA_DSP6LMIX_INPUT_1_SOURCE			0xC00
990 #define MADERA_DSP6LMIX_INPUT_1_VOLUME			0xC01
991 #define MADERA_DSP6LMIX_INPUT_2_SOURCE			0xC02
992 #define MADERA_DSP6LMIX_INPUT_2_VOLUME			0xC03
993 #define MADERA_DSP6LMIX_INPUT_3_SOURCE			0xC04
994 #define MADERA_DSP6LMIX_INPUT_3_VOLUME			0xC05
995 #define MADERA_DSP6LMIX_INPUT_4_SOURCE			0xC06
996 #define MADERA_DSP6LMIX_INPUT_4_VOLUME			0xC07
997 #define MADERA_DSP6RMIX_INPUT_1_SOURCE			0xC08
998 #define MADERA_DSP6RMIX_INPUT_1_VOLUME			0xC09
999 #define MADERA_DSP6RMIX_INPUT_2_SOURCE			0xC0A
1000 #define MADERA_DSP6RMIX_INPUT_2_VOLUME			0xC0B
1001 #define MADERA_DSP6RMIX_INPUT_3_SOURCE			0xC0C
1002 #define MADERA_DSP6RMIX_INPUT_3_VOLUME			0xC0D
1003 #define MADERA_DSP6RMIX_INPUT_4_SOURCE			0xC0E
1004 #define MADERA_DSP6RMIX_INPUT_4_VOLUME			0xC0F
1005 #define MADERA_DSP6AUX1MIX_INPUT_1_SOURCE		0xC10
1006 #define MADERA_DSP6AUX2MIX_INPUT_1_SOURCE		0xC18
1007 #define MADERA_DSP6AUX3MIX_INPUT_1_SOURCE		0xC20
1008 #define MADERA_DSP6AUX4MIX_INPUT_1_SOURCE		0xC28
1009 #define MADERA_DSP6AUX5MIX_INPUT_1_SOURCE		0xC30
1010 #define MADERA_DSP6AUX6MIX_INPUT_1_SOURCE		0xC38
1011 #define MADERA_DSP7LMIX_INPUT_1_SOURCE			0xC40
1012 #define MADERA_DSP7LMIX_INPUT_1_VOLUME			0xC41
1013 #define MADERA_DSP7LMIX_INPUT_2_SOURCE			0xC42
1014 #define MADERA_DSP7LMIX_INPUT_2_VOLUME			0xC43
1015 #define MADERA_DSP7LMIX_INPUT_3_SOURCE			0xC44
1016 #define MADERA_DSP7LMIX_INPUT_3_VOLUME			0xC45
1017 #define MADERA_DSP7LMIX_INPUT_4_SOURCE			0xC46
1018 #define MADERA_DSP7LMIX_INPUT_4_VOLUME			0xC47
1019 #define MADERA_DSP7RMIX_INPUT_1_SOURCE			0xC48
1020 #define MADERA_DSP7RMIX_INPUT_1_VOLUME			0xC49
1021 #define MADERA_DSP7RMIX_INPUT_2_SOURCE			0xC4A
1022 #define MADERA_DSP7RMIX_INPUT_2_VOLUME			0xC4B
1023 #define MADERA_DSP7RMIX_INPUT_3_SOURCE			0xC4C
1024 #define MADERA_DSP7RMIX_INPUT_3_VOLUME			0xC4D
1025 #define MADERA_DSP7RMIX_INPUT_4_SOURCE			0xC4E
1026 #define MADERA_DSP7RMIX_INPUT_4_VOLUME			0xC4F
1027 #define MADERA_DSP7AUX1MIX_INPUT_1_SOURCE		0xC50
1028 #define MADERA_DSP7AUX2MIX_INPUT_1_SOURCE		0xC58
1029 #define MADERA_DSP7AUX3MIX_INPUT_1_SOURCE		0xC60
1030 #define MADERA_DSP7AUX4MIX_INPUT_1_SOURCE		0xC68
1031 #define MADERA_DSP7AUX5MIX_INPUT_1_SOURCE		0xC70
1032 #define MADERA_DSP7AUX6MIX_INPUT_1_SOURCE		0xC78
1033 #define MADERA_DFC1MIX_INPUT_1_SOURCE			0xDC0
1034 #define MADERA_DFC2MIX_INPUT_1_SOURCE			0xDC8
1035 #define MADERA_DFC3MIX_INPUT_1_SOURCE			0xDD0
1036 #define MADERA_DFC4MIX_INPUT_1_SOURCE			0xDD8
1037 #define MADERA_DFC5MIX_INPUT_1_SOURCE			0xDE0
1038 #define MADERA_DFC6MIX_INPUT_1_SOURCE			0xDE8
1039 #define MADERA_DFC7MIX_INPUT_1_SOURCE			0xDF0
1040 #define MADERA_DFC8MIX_INPUT_1_SOURCE			0xDF8
1041 #define MADERA_FX_CTRL1					0xE00
1042 #define MADERA_FX_CTRL2					0xE01
1043 #define MADERA_EQ1_1					0xE10
1044 #define MADERA_EQ1_2					0xE11
1045 #define MADERA_EQ1_21					0xE24
1046 #define MADERA_EQ2_1					0xE26
1047 #define MADERA_EQ2_2					0xE27
1048 #define MADERA_EQ2_21					0xE3A
1049 #define MADERA_EQ3_1					0xE3C
1050 #define MADERA_EQ3_2					0xE3D
1051 #define MADERA_EQ3_21					0xE50
1052 #define MADERA_EQ4_1					0xE52
1053 #define MADERA_EQ4_2					0xE53
1054 #define MADERA_EQ4_21					0xE66
1055 #define MADERA_DRC1_CTRL1				0xE80
1056 #define MADERA_DRC1_CTRL2				0xE81
1057 #define MADERA_DRC1_CTRL3				0xE82
1058 #define MADERA_DRC1_CTRL4				0xE83
1059 #define MADERA_DRC1_CTRL5				0xE84
1060 #define MADERA_DRC2_CTRL1				0xE88
1061 #define MADERA_DRC2_CTRL2				0xE89
1062 #define MADERA_DRC2_CTRL3				0xE8A
1063 #define MADERA_DRC2_CTRL4				0xE8B
1064 #define MADERA_DRC2_CTRL5				0xE8C
1065 #define MADERA_HPLPF1_1					0xEC0
1066 #define MADERA_HPLPF1_2					0xEC1
1067 #define MADERA_HPLPF2_1					0xEC4
1068 #define MADERA_HPLPF2_2					0xEC5
1069 #define MADERA_HPLPF3_1					0xEC8
1070 #define MADERA_HPLPF3_2					0xEC9
1071 #define MADERA_HPLPF4_1					0xECC
1072 #define MADERA_HPLPF4_2					0xECD
1073 #define MADERA_ASRC2_ENABLE				0xED0
1074 #define MADERA_ASRC2_STATUS				0xED1
1075 #define MADERA_ASRC2_RATE1				0xED2
1076 #define MADERA_ASRC2_RATE2				0xED3
1077 #define MADERA_ASRC1_ENABLE				0xEE0
1078 #define MADERA_ASRC1_STATUS				0xEE1
1079 #define MADERA_ASRC1_RATE1				0xEE2
1080 #define MADERA_ASRC1_RATE2				0xEE3
1081 #define MADERA_ISRC_1_CTRL_1				0xEF0
1082 #define MADERA_ISRC_1_CTRL_2				0xEF1
1083 #define MADERA_ISRC_1_CTRL_3				0xEF2
1084 #define MADERA_ISRC_2_CTRL_1				0xEF3
1085 #define MADERA_ISRC_2_CTRL_2				0xEF4
1086 #define MADERA_ISRC_2_CTRL_3				0xEF5
1087 #define MADERA_ISRC_3_CTRL_1				0xEF6
1088 #define MADERA_ISRC_3_CTRL_2				0xEF7
1089 #define MADERA_ISRC_3_CTRL_3				0xEF8
1090 #define MADERA_ISRC_4_CTRL_1				0xEF9
1091 #define MADERA_ISRC_4_CTRL_2				0xEFA
1092 #define MADERA_ISRC_4_CTRL_3				0xEFB
1093 #define MADERA_CLOCK_CONTROL				0xF00
1094 #define MADERA_ANC_SRC					0xF01
1095 #define MADERA_DSP_STATUS				0xF02
1096 #define MADERA_ANC_COEFF_START				0xF08
1097 #define MADERA_ANC_COEFF_END				0xF12
1098 #define MADERA_FCL_FILTER_CONTROL			0xF15
1099 #define MADERA_FCL_ADC_REFORMATTER_CONTROL		0xF17
1100 #define MADERA_FCL_COEFF_START				0xF18
1101 #define MADERA_FCL_COEFF_END				0xF69
1102 #define MADERA_FCR_FILTER_CONTROL			0xF71
1103 #define MADERA_FCR_ADC_REFORMATTER_CONTROL		0xF73
1104 #define MADERA_FCR_COEFF_START				0xF74
1105 #define MADERA_FCR_COEFF_END				0xFC5
1106 #define MADERA_DAC_COMP_1				0x1300
1107 #define MADERA_DAC_COMP_2				0x1302
1108 #define MADERA_FRF_COEFFICIENT_1L_1			0x1380
1109 #define MADERA_FRF_COEFFICIENT_1L_2			0x1381
1110 #define MADERA_FRF_COEFFICIENT_1L_3			0x1382
1111 #define MADERA_FRF_COEFFICIENT_1L_4			0x1383
1112 #define MADERA_FRF_COEFFICIENT_1R_1			0x1390
1113 #define MADERA_FRF_COEFFICIENT_1R_2			0x1391
1114 #define MADERA_FRF_COEFFICIENT_1R_3			0x1392
1115 #define MADERA_FRF_COEFFICIENT_1R_4			0x1393
1116 #define MADERA_FRF_COEFFICIENT_2L_1			0x13A0
1117 #define MADERA_FRF_COEFFICIENT_2L_2			0x13A1
1118 #define MADERA_FRF_COEFFICIENT_2L_3			0x13A2
1119 #define MADERA_FRF_COEFFICIENT_2L_4			0x13A3
1120 #define MADERA_FRF_COEFFICIENT_2R_1			0x13B0
1121 #define MADERA_FRF_COEFFICIENT_2R_2			0x13B1
1122 #define MADERA_FRF_COEFFICIENT_2R_3			0x13B2
1123 #define MADERA_FRF_COEFFICIENT_2R_4			0x13B3
1124 #define MADERA_FRF_COEFFICIENT_3L_1			0x13C0
1125 #define MADERA_FRF_COEFFICIENT_3L_2			0x13C1
1126 #define MADERA_FRF_COEFFICIENT_3L_3			0x13C2
1127 #define MADERA_FRF_COEFFICIENT_3L_4			0x13C3
1128 #define MADERA_FRF_COEFFICIENT_3R_1			0x13D0
1129 #define MADERA_FRF_COEFFICIENT_3R_2			0x13D1
1130 #define MADERA_FRF_COEFFICIENT_3R_3			0x13D2
1131 #define MADERA_FRF_COEFFICIENT_3R_4			0x13D3
1132 #define MADERA_FRF_COEFFICIENT_4L_1			0x13E0
1133 #define MADERA_FRF_COEFFICIENT_4L_2			0x13E1
1134 #define MADERA_FRF_COEFFICIENT_4L_3			0x13E2
1135 #define MADERA_FRF_COEFFICIENT_4L_4			0x13E3
1136 #define MADERA_FRF_COEFFICIENT_4R_1			0x13F0
1137 #define MADERA_FRF_COEFFICIENT_4R_2			0x13F1
1138 #define MADERA_FRF_COEFFICIENT_4R_3			0x13F2
1139 #define MADERA_FRF_COEFFICIENT_4R_4			0x13F3
1140 #define CS47L35_FRF_COEFFICIENT_4L_1			0x13A0
1141 #define CS47L35_FRF_COEFFICIENT_4L_2			0x13A1
1142 #define CS47L35_FRF_COEFFICIENT_4L_3			0x13A2
1143 #define CS47L35_FRF_COEFFICIENT_4L_4			0x13A3
1144 #define CS47L35_FRF_COEFFICIENT_5L_1			0x13B0
1145 #define CS47L35_FRF_COEFFICIENT_5L_2			0x13B1
1146 #define CS47L35_FRF_COEFFICIENT_5L_3			0x13B2
1147 #define CS47L35_FRF_COEFFICIENT_5L_4			0x13B3
1148 #define CS47L35_FRF_COEFFICIENT_5R_1			0x13C0
1149 #define CS47L35_FRF_COEFFICIENT_5R_2			0x13C1
1150 #define CS47L35_FRF_COEFFICIENT_5R_3			0x13C2
1151 #define CS47L35_FRF_COEFFICIENT_5R_4			0x13C3
1152 #define MADERA_FRF_COEFFICIENT_5L_1			0x1400
1153 #define MADERA_FRF_COEFFICIENT_5L_2			0x1401
1154 #define MADERA_FRF_COEFFICIENT_5L_3			0x1402
1155 #define MADERA_FRF_COEFFICIENT_5L_4			0x1403
1156 #define MADERA_FRF_COEFFICIENT_5R_1			0x1410
1157 #define MADERA_FRF_COEFFICIENT_5R_2			0x1411
1158 #define MADERA_FRF_COEFFICIENT_5R_3			0x1412
1159 #define MADERA_FRF_COEFFICIENT_5R_4			0x1413
1160 #define MADERA_FRF_COEFFICIENT_6L_1			0x1420
1161 #define MADERA_FRF_COEFFICIENT_6L_2			0x1421
1162 #define MADERA_FRF_COEFFICIENT_6L_3			0x1422
1163 #define MADERA_FRF_COEFFICIENT_6L_4			0x1423
1164 #define MADERA_FRF_COEFFICIENT_6R_1			0x1430
1165 #define MADERA_FRF_COEFFICIENT_6R_2			0x1431
1166 #define MADERA_FRF_COEFFICIENT_6R_3			0x1432
1167 #define MADERA_FRF_COEFFICIENT_6R_4			0x1433
1168 #define MADERA_DFC1_CTRL				0x1480
1169 #define MADERA_DFC1_RX					0x1482
1170 #define MADERA_DFC1_TX					0x1484
1171 #define MADERA_DFC2_CTRL				0x1486
1172 #define MADERA_DFC2_RX					0x1488
1173 #define MADERA_DFC2_TX					0x148A
1174 #define MADERA_DFC3_CTRL				0x148C
1175 #define MADERA_DFC3_RX					0x148E
1176 #define MADERA_DFC3_TX					0x1490
1177 #define MADERA_DFC4_CTRL				0x1492
1178 #define MADERA_DFC4_RX					0x1494
1179 #define MADERA_DFC4_TX					0x1496
1180 #define MADERA_DFC5_CTRL				0x1498
1181 #define MADERA_DFC5_RX					0x149A
1182 #define MADERA_DFC5_TX					0x149C
1183 #define MADERA_DFC6_CTRL				0x149E
1184 #define MADERA_DFC6_RX					0x14A0
1185 #define MADERA_DFC6_TX					0x14A2
1186 #define MADERA_DFC7_CTRL				0x14A4
1187 #define MADERA_DFC7_RX					0x14A6
1188 #define MADERA_DFC7_TX					0x14A8
1189 #define MADERA_DFC8_CTRL				0x14AA
1190 #define MADERA_DFC8_RX					0x14AC
1191 #define MADERA_DFC8_TX					0x14AE
1192 #define MADERA_DFC_STATUS				0x14B6
1193 #define MADERA_ADSP2_IRQ0				0x1600
1194 #define MADERA_ADSP2_IRQ1				0x1601
1195 #define MADERA_ADSP2_IRQ2				0x1602
1196 #define MADERA_ADSP2_IRQ3				0x1603
1197 #define MADERA_ADSP2_IRQ4				0x1604
1198 #define MADERA_ADSP2_IRQ5				0x1605
1199 #define MADERA_ADSP2_IRQ6				0x1606
1200 #define MADERA_ADSP2_IRQ7				0x1607
1201 #define MADERA_GPIO1_CTRL_1				0x1700
1202 #define MADERA_GPIO1_CTRL_2				0x1701
1203 #define MADERA_GPIO2_CTRL_1				0x1702
1204 #define MADERA_GPIO2_CTRL_2				0x1703
1205 #define MADERA_GPIO16_CTRL_1				0x171E
1206 #define MADERA_GPIO16_CTRL_2				0x171F
1207 #define MADERA_GPIO38_CTRL_1				0x174A
1208 #define MADERA_GPIO38_CTRL_2				0x174B
1209 #define MADERA_GPIO40_CTRL_1				0x174E
1210 #define MADERA_GPIO40_CTRL_2				0x174F
1211 #define MADERA_IRQ1_STATUS_1				0x1800
1212 #define MADERA_IRQ1_STATUS_2				0x1801
1213 #define MADERA_IRQ1_STATUS_6				0x1805
1214 #define MADERA_IRQ1_STATUS_7				0x1806
1215 #define MADERA_IRQ1_STATUS_9				0x1808
1216 #define MADERA_IRQ1_STATUS_11				0x180A
1217 #define MADERA_IRQ1_STATUS_12				0x180B
1218 #define MADERA_IRQ1_STATUS_15				0x180E
1219 #define MADERA_IRQ1_STATUS_33				0x1820
1220 #define MADERA_IRQ1_MASK_1				0x1840
1221 #define MADERA_IRQ1_MASK_2				0x1841
1222 #define MADERA_IRQ1_MASK_6				0x1845
1223 #define MADERA_IRQ1_MASK_33				0x1860
1224 #define MADERA_IRQ1_RAW_STATUS_1			0x1880
1225 #define MADERA_IRQ1_RAW_STATUS_2			0x1881
1226 #define MADERA_IRQ1_RAW_STATUS_7			0x1886
1227 #define MADERA_IRQ1_RAW_STATUS_15			0x188E
1228 #define MADERA_IRQ1_RAW_STATUS_33			0x18A0
1229 #define MADERA_INTERRUPT_DEBOUNCE_7			0x1A06
1230 #define MADERA_INTERRUPT_DEBOUNCE_15			0x1A0E
1231 #define MADERA_IRQ1_CTRL				0x1A80
1232 #define MADERA_IRQ2_CTRL				0x1A82
1233 #define MADERA_INTERRUPT_RAW_STATUS_1			0x1AA0
1234 #define MADERA_WSEQ_SEQUENCE_1				0x3000
1235 #define MADERA_WSEQ_SEQUENCE_252			0x31F6
1236 #define CS47L35_OTP_HPDET_CAL_1				0x31F8
1237 #define CS47L35_OTP_HPDET_CAL_2				0x31FA
1238 #define MADERA_WSEQ_SEQUENCE_508			0x33F6
1239 #define CS47L85_OTP_HPDET_CAL_1				0x33F8
1240 #define CS47L85_OTP_HPDET_CAL_2				0x33FA
1241 #define MADERA_OTP_HPDET_CAL_1				0x20004
1242 #define MADERA_OTP_HPDET_CAL_2				0x20006
1243 #define MADERA_DSP1_CONFIG_1				0x0FFE00
1244 #define MADERA_DSP1_CONFIG_2				0x0FFE02
1245 #define MADERA_DSP1_SCRATCH_1				0x0FFE40
1246 #define MADERA_DSP1_SCRATCH_2				0x0FFE42
1247 #define MADERA_DSP1_PMEM_ERR_ADDR___XMEM_ERR_ADDR	0xFFE7C
1248 #define MADERA_DSP2_CONFIG_1				0x17FE00
1249 #define MADERA_DSP2_CONFIG_2				0x17FE02
1250 #define MADERA_DSP2_SCRATCH_1				0x17FE40
1251 #define MADERA_DSP2_SCRATCH_2				0x17FE42
1252 #define MADERA_DSP2_PMEM_ERR_ADDR___XMEM_ERR_ADDR	0x17FE7C
1253 #define MADERA_DSP3_CONFIG_1				0x1FFE00
1254 #define MADERA_DSP3_CONFIG_2				0x1FFE02
1255 #define MADERA_DSP3_SCRATCH_1				0x1FFE40
1256 #define MADERA_DSP3_SCRATCH_2				0x1FFE42
1257 #define MADERA_DSP3_PMEM_ERR_ADDR___XMEM_ERR_ADDR	0x1FFE7C
1258 #define MADERA_DSP4_CONFIG_1				0x27FE00
1259 #define MADERA_DSP4_CONFIG_2				0x27FE02
1260 #define MADERA_DSP4_SCRATCH_1				0x27FE40
1261 #define MADERA_DSP4_SCRATCH_2				0x27FE42
1262 #define MADERA_DSP4_PMEM_ERR_ADDR___XMEM_ERR_ADDR	0x27FE7C
1263 #define MADERA_DSP5_CONFIG_1				0x2FFE00
1264 #define MADERA_DSP5_CONFIG_2				0x2FFE02
1265 #define MADERA_DSP5_SCRATCH_1				0x2FFE40
1266 #define MADERA_DSP5_SCRATCH_2				0x2FFE42
1267 #define MADERA_DSP5_PMEM_ERR_ADDR___XMEM_ERR_ADDR	0x2FFE7C
1268 #define MADERA_DSP6_CONFIG_1				0x37FE00
1269 #define MADERA_DSP6_CONFIG_2				0x37FE02
1270 #define MADERA_DSP6_SCRATCH_1				0x37FE40
1271 #define MADERA_DSP6_SCRATCH_2				0x37FE42
1272 #define MADERA_DSP6_PMEM_ERR_ADDR___XMEM_ERR_ADDR	0x37FE7C
1273 #define MADERA_DSP7_CONFIG_1				0x3FFE00
1274 #define MADERA_DSP7_CONFIG_2				0x3FFE02
1275 #define MADERA_DSP7_SCRATCH_1				0x3FFE40
1276 #define MADERA_DSP7_SCRATCH_2				0x3FFE42
1277 #define MADERA_DSP7_PMEM_ERR_ADDR___XMEM_ERR_ADDR	0x3FFE7C
1278 
1279 /* (0x0000)  Software_Reset */
1280 #define MADERA_SW_RST_DEV_ID1_MASK			0xFFFF
1281 #define MADERA_SW_RST_DEV_ID1_SHIFT			     0
1282 #define MADERA_SW_RST_DEV_ID1_WIDTH			    16
1283 
1284 /* (0x0001)  Hardware_Revision */
1285 #define MADERA_HW_REVISION_MASK				0x00FF
1286 #define MADERA_HW_REVISION_SHIFT			     0
1287 #define MADERA_HW_REVISION_WIDTH			     8
1288 
1289 /* (0x0020)  Tone_Generator_1 */
1290 #define MADERA_TONE2_ENA				0x0002
1291 #define MADERA_TONE2_ENA_MASK				0x0002
1292 #define MADERA_TONE2_ENA_SHIFT				     1
1293 #define MADERA_TONE2_ENA_WIDTH				     1
1294 #define MADERA_TONE1_ENA				0x0001
1295 #define MADERA_TONE1_ENA_MASK				0x0001
1296 #define MADERA_TONE1_ENA_SHIFT				     0
1297 #define MADERA_TONE1_ENA_WIDTH				     1
1298 
1299 /* (0x0021)  Tone_Generator_2 */
1300 #define MADERA_TONE1_LVL_0_MASK				0xFFFF
1301 #define MADERA_TONE1_LVL_0_SHIFT			     0
1302 #define MADERA_TONE1_LVL_0_WIDTH			    16
1303 
1304 /* (0x0022)  Tone_Generator_3 */
1305 #define MADERA_TONE1_LVL_MASK				0x00FF
1306 #define MADERA_TONE1_LVL_SHIFT				     0
1307 #define MADERA_TONE1_LVL_WIDTH				     8
1308 
1309 /* (0x0023)  Tone_Generator_4 */
1310 #define MADERA_TONE2_LVL_0_MASK				0xFFFF
1311 #define MADERA_TONE2_LVL_0_SHIFT			     0
1312 #define MADERA_TONE2_LVL_0_WIDTH			    16
1313 
1314 /* (0x0024)  Tone_Generator_5 */
1315 #define MADERA_TONE2_LVL_MASK				0x00FF
1316 #define MADERA_TONE2_LVL_SHIFT				     0
1317 #define MADERA_TONE2_LVL_WIDTH				     8
1318 
1319 /* (0x0030)  PWM_Drive_1 */
1320 #define MADERA_PWM2_ENA					0x0002
1321 #define MADERA_PWM2_ENA_MASK				0x0002
1322 #define MADERA_PWM2_ENA_SHIFT				     1
1323 #define MADERA_PWM2_ENA_WIDTH				     1
1324 #define MADERA_PWM1_ENA					0x0001
1325 #define MADERA_PWM1_ENA_MASK				0x0001
1326 #define MADERA_PWM1_ENA_SHIFT				     0
1327 #define MADERA_PWM1_ENA_WIDTH				     1
1328 
1329 /* (0x00A0)  Comfort_Noise_Generator */
1330 #define MADERA_NOISE_GEN_ENA				0x0020
1331 #define MADERA_NOISE_GEN_ENA_MASK			0x0020
1332 #define MADERA_NOISE_GEN_ENA_SHIFT			     5
1333 #define MADERA_NOISE_GEN_ENA_WIDTH			     1
1334 #define MADERA_NOISE_GEN_GAIN_MASK			0x001F
1335 #define MADERA_NOISE_GEN_GAIN_SHIFT			     0
1336 #define MADERA_NOISE_GEN_GAIN_WIDTH			     5
1337 
1338 /* (0x0100)  Clock_32k_1 */
1339 #define MADERA_CLK_32K_ENA				0x0040
1340 #define MADERA_CLK_32K_ENA_MASK				0x0040
1341 #define MADERA_CLK_32K_ENA_SHIFT			     6
1342 #define MADERA_CLK_32K_ENA_WIDTH			     1
1343 #define MADERA_CLK_32K_SRC_MASK				0x0003
1344 #define MADERA_CLK_32K_SRC_SHIFT			     0
1345 #define MADERA_CLK_32K_SRC_WIDTH			     2
1346 
1347 /* (0x0101)  System_Clock_1 */
1348 #define MADERA_SYSCLK_FRAC				0x8000
1349 #define MADERA_SYSCLK_FRAC_MASK				0x8000
1350 #define MADERA_SYSCLK_FRAC_SHIFT			    15
1351 #define MADERA_SYSCLK_FRAC_WIDTH			     1
1352 #define MADERA_SYSCLK_FREQ_MASK				0x0700
1353 #define MADERA_SYSCLK_FREQ_SHIFT			     8
1354 #define MADERA_SYSCLK_FREQ_WIDTH			     3
1355 #define MADERA_SYSCLK_ENA				0x0040
1356 #define MADERA_SYSCLK_ENA_MASK				0x0040
1357 #define MADERA_SYSCLK_ENA_SHIFT				     6
1358 #define MADERA_SYSCLK_ENA_WIDTH				     1
1359 #define MADERA_SYSCLK_SRC_MASK				0x000F
1360 #define MADERA_SYSCLK_SRC_SHIFT				     0
1361 #define MADERA_SYSCLK_SRC_WIDTH				     4
1362 
1363 /* (0x0102)  Sample_rate_1 */
1364 #define MADERA_SAMPLE_RATE_1_MASK			0x001F
1365 #define MADERA_SAMPLE_RATE_1_SHIFT			     0
1366 #define MADERA_SAMPLE_RATE_1_WIDTH			     5
1367 
1368 /* (0x0103)  Sample_rate_2 */
1369 #define MADERA_SAMPLE_RATE_2_MASK			0x001F
1370 #define MADERA_SAMPLE_RATE_2_SHIFT			     0
1371 #define MADERA_SAMPLE_RATE_2_WIDTH			     5
1372 
1373 /* (0x0104)  Sample_rate_3 */
1374 #define MADERA_SAMPLE_RATE_3_MASK			0x001F
1375 #define MADERA_SAMPLE_RATE_3_SHIFT			     0
1376 #define MADERA_SAMPLE_RATE_3_WIDTH			     5
1377 
1378 /* (0x0112)  Async_clock_1 */
1379 #define MADERA_ASYNC_CLK_FREQ_MASK			0x0700
1380 #define MADERA_ASYNC_CLK_FREQ_SHIFT			     8
1381 #define MADERA_ASYNC_CLK_FREQ_WIDTH			     3
1382 #define MADERA_ASYNC_CLK_ENA				0x0040
1383 #define MADERA_ASYNC_CLK_ENA_MASK			0x0040
1384 #define MADERA_ASYNC_CLK_ENA_SHIFT			     6
1385 #define MADERA_ASYNC_CLK_ENA_WIDTH			     1
1386 #define MADERA_ASYNC_CLK_SRC_MASK			0x000F
1387 #define MADERA_ASYNC_CLK_SRC_SHIFT			     0
1388 #define MADERA_ASYNC_CLK_SRC_WIDTH			     4
1389 
1390 /* (0x0113)  Async_sample_rate_1 */
1391 #define MADERA_ASYNC_SAMPLE_RATE_1_MASK			0x001F
1392 #define MADERA_ASYNC_SAMPLE_RATE_1_SHIFT		     0
1393 #define MADERA_ASYNC_SAMPLE_RATE_1_WIDTH		     5
1394 
1395 /* (0x0114)  Async_sample_rate_2 */
1396 #define MADERA_ASYNC_SAMPLE_RATE_2_MASK			0x001F
1397 #define MADERA_ASYNC_SAMPLE_RATE_2_SHIFT		     0
1398 #define MADERA_ASYNC_SAMPLE_RATE_2_WIDTH		     5
1399 
1400 /* (0x0120)  DSP_Clock_1 */
1401 #define MADERA_DSP_CLK_FREQ_LEGACY			0x0700
1402 #define MADERA_DSP_CLK_FREQ_LEGACY_MASK			0x0700
1403 #define MADERA_DSP_CLK_FREQ_LEGACY_SHIFT		     8
1404 #define MADERA_DSP_CLK_FREQ_LEGACY_WIDTH		     3
1405 #define MADERA_DSP_CLK_ENA				0x0040
1406 #define MADERA_DSP_CLK_ENA_MASK				0x0040
1407 #define MADERA_DSP_CLK_ENA_SHIFT			     6
1408 #define MADERA_DSP_CLK_ENA_WIDTH			     1
1409 #define MADERA_DSP_CLK_SRC				0x000F
1410 #define MADERA_DSP_CLK_SRC_MASK				0x000F
1411 #define MADERA_DSP_CLK_SRC_SHIFT			     0
1412 #define MADERA_DSP_CLK_SRC_WIDTH			     4
1413 
1414 /* (0x0122)  DSP_Clock_2 */
1415 #define MADERA_DSP_CLK_FREQ_MASK			0x03FF
1416 #define MADERA_DSP_CLK_FREQ_SHIFT			     0
1417 #define MADERA_DSP_CLK_FREQ_WIDTH			    10
1418 
1419 /* (0x0149)  Output_system_clock */
1420 #define MADERA_OPCLK_ENA				0x8000
1421 #define MADERA_OPCLK_ENA_MASK				0x8000
1422 #define MADERA_OPCLK_ENA_SHIFT				    15
1423 #define MADERA_OPCLK_ENA_WIDTH				     1
1424 #define MADERA_OPCLK_DIV_MASK				0x00F8
1425 #define MADERA_OPCLK_DIV_SHIFT				     3
1426 #define MADERA_OPCLK_DIV_WIDTH				     5
1427 #define MADERA_OPCLK_SEL_MASK				0x0007
1428 #define MADERA_OPCLK_SEL_SHIFT				     0
1429 #define MADERA_OPCLK_SEL_WIDTH				     3
1430 
1431 /* (0x014A)  Output_async_clock */
1432 #define MADERA_OPCLK_ASYNC_ENA				0x8000
1433 #define MADERA_OPCLK_ASYNC_ENA_MASK			0x8000
1434 #define MADERA_OPCLK_ASYNC_ENA_SHIFT			    15
1435 #define MADERA_OPCLK_ASYNC_ENA_WIDTH			     1
1436 #define MADERA_OPCLK_ASYNC_DIV_MASK			0x00F8
1437 #define MADERA_OPCLK_ASYNC_DIV_SHIFT			     3
1438 #define MADERA_OPCLK_ASYNC_DIV_WIDTH			     5
1439 #define MADERA_OPCLK_ASYNC_SEL_MASK			0x0007
1440 #define MADERA_OPCLK_ASYNC_SEL_SHIFT			     0
1441 #define MADERA_OPCLK_ASYNC_SEL_WIDTH			     3
1442 
1443 /* (0x0171)  FLL1_Control_1 */
1444 #define MADERA_FLL1_FREERUN				0x0002
1445 #define MADERA_FLL1_FREERUN_MASK			0x0002
1446 #define MADERA_FLL1_FREERUN_SHIFT			     1
1447 #define MADERA_FLL1_FREERUN_WIDTH			     1
1448 #define MADERA_FLL1_ENA					0x0001
1449 #define MADERA_FLL1_ENA_MASK				0x0001
1450 #define MADERA_FLL1_ENA_SHIFT				     0
1451 #define MADERA_FLL1_ENA_WIDTH				     1
1452 
1453 /* (0x0172)  FLL1_Control_2 */
1454 #define MADERA_FLL1_CTRL_UPD				0x8000
1455 #define MADERA_FLL1_CTRL_UPD_MASK			0x8000
1456 #define MADERA_FLL1_CTRL_UPD_SHIFT			    15
1457 #define MADERA_FLL1_CTRL_UPD_WIDTH			     1
1458 #define MADERA_FLL1_N_MASK				0x03FF
1459 #define MADERA_FLL1_N_SHIFT				     0
1460 #define MADERA_FLL1_N_WIDTH				    10
1461 
1462 /* (0x0173)  FLL1_Control_3 */
1463 #define MADERA_FLL1_THETA_MASK				0xFFFF
1464 #define MADERA_FLL1_THETA_SHIFT				     0
1465 #define MADERA_FLL1_THETA_WIDTH				    16
1466 
1467 /* (0x0174)  FLL1_Control_4 */
1468 #define MADERA_FLL1_LAMBDA_MASK				0xFFFF
1469 #define MADERA_FLL1_LAMBDA_SHIFT			     0
1470 #define MADERA_FLL1_LAMBDA_WIDTH			    16
1471 
1472 /* (0x0175)  FLL1_Control_5 */
1473 #define MADERA_FLL1_FRATIO_MASK				0x0F00
1474 #define MADERA_FLL1_FRATIO_SHIFT			     8
1475 #define MADERA_FLL1_FRATIO_WIDTH			     4
1476 
1477 /* (0x0176)  FLL1_Control_6 */
1478 #define MADERA_FLL1_REFCLK_DIV_MASK			0x00C0
1479 #define MADERA_FLL1_REFCLK_DIV_SHIFT			     6
1480 #define MADERA_FLL1_REFCLK_DIV_WIDTH			     2
1481 #define MADERA_FLL1_REFCLK_SRC_MASK			0x000F
1482 #define MADERA_FLL1_REFCLK_SRC_SHIFT			     0
1483 #define MADERA_FLL1_REFCLK_SRC_WIDTH			     4
1484 
1485 /* (0x0177)  FLL1_Loop_Filter_Test_1 */
1486 #define MADERA_FLL1_FRC_INTEG_UPD			0x8000
1487 #define MADERA_FLL1_FRC_INTEG_UPD_MASK			0x8000
1488 #define MADERA_FLL1_FRC_INTEG_UPD_SHIFT			    15
1489 #define MADERA_FLL1_FRC_INTEG_UPD_WIDTH			     1
1490 #define MADERA_FLL1_FRC_INTEG_VAL_MASK			0x0FFF
1491 #define MADERA_FLL1_FRC_INTEG_VAL_SHIFT			     0
1492 #define MADERA_FLL1_FRC_INTEG_VAL_WIDTH			    12
1493 
1494 /* (0x0179)  FLL1_Control_7 */
1495 #define MADERA_FLL1_GAIN_MASK				0x003c
1496 #define MADERA_FLL1_GAIN_SHIFT				     2
1497 #define MADERA_FLL1_GAIN_WIDTH				     4
1498 
1499 /* (0x017A)  FLL1_EFS_2 */
1500 #define MADERA_FLL1_PHASE_GAIN_MASK			0xF000
1501 #define MADERA_FLL1_PHASE_GAIN_SHIFT			    12
1502 #define MADERA_FLL1_PHASE_GAIN_WIDTH			     4
1503 #define MADERA_FLL1_PHASE_ENA_MASK			0x0800
1504 #define MADERA_FLL1_PHASE_ENA_SHIFT			    11
1505 #define MADERA_FLL1_PHASE_ENA_WIDTH			     1
1506 
1507 /* (0x0181)  FLL1_Synchroniser_1 */
1508 #define MADERA_FLL1_SYNC_ENA				0x0001
1509 #define MADERA_FLL1_SYNC_ENA_MASK			0x0001
1510 #define MADERA_FLL1_SYNC_ENA_SHIFT			     0
1511 #define MADERA_FLL1_SYNC_ENA_WIDTH			     1
1512 
1513 /* (0x0182)  FLL1_Synchroniser_2 */
1514 #define MADERA_FLL1_SYNC_N_MASK				0x03FF
1515 #define MADERA_FLL1_SYNC_N_SHIFT			     0
1516 #define MADERA_FLL1_SYNC_N_WIDTH			    10
1517 
1518 /* (0x0183)  FLL1_Synchroniser_3 */
1519 #define MADERA_FLL1_SYNC_THETA_MASK			0xFFFF
1520 #define MADERA_FLL1_SYNC_THETA_SHIFT			     0
1521 #define MADERA_FLL1_SYNC_THETA_WIDTH			    16
1522 
1523 /* (0x0184)  FLL1_Synchroniser_4 */
1524 #define MADERA_FLL1_SYNC_LAMBDA_MASK			0xFFFF
1525 #define MADERA_FLL1_SYNC_LAMBDA_SHIFT			     0
1526 #define MADERA_FLL1_SYNC_LAMBDA_WIDTH			    16
1527 
1528 /* (0x0185)  FLL1_Synchroniser_5 */
1529 #define MADERA_FLL1_SYNC_FRATIO_MASK			0x0700
1530 #define MADERA_FLL1_SYNC_FRATIO_SHIFT			     8
1531 #define MADERA_FLL1_SYNC_FRATIO_WIDTH			     3
1532 
1533 /* (0x0186)  FLL1_Synchroniser_6 */
1534 #define MADERA_FLL1_SYNCCLK_DIV_MASK			0x00C0
1535 #define MADERA_FLL1_SYNCCLK_DIV_SHIFT			     6
1536 #define MADERA_FLL1_SYNCCLK_DIV_WIDTH			     2
1537 #define MADERA_FLL1_SYNCCLK_SRC_MASK			0x000F
1538 #define MADERA_FLL1_SYNCCLK_SRC_SHIFT			     0
1539 #define MADERA_FLL1_SYNCCLK_SRC_WIDTH			     4
1540 
1541 /* (0x0187)  FLL1_Synchroniser_7 */
1542 #define MADERA_FLL1_SYNC_GAIN_MASK			0x003c
1543 #define MADERA_FLL1_SYNC_GAIN_SHIFT			     2
1544 #define MADERA_FLL1_SYNC_GAIN_WIDTH			     4
1545 #define MADERA_FLL1_SYNC_DFSAT				0x0001
1546 #define MADERA_FLL1_SYNC_DFSAT_MASK			0x0001
1547 #define MADERA_FLL1_SYNC_DFSAT_SHIFT			     0
1548 #define MADERA_FLL1_SYNC_DFSAT_WIDTH			     1
1549 
1550 /* (0x01D1)  FLL_AO_Control_1 */
1551 #define MADERA_FLL_AO_HOLD				0x0004
1552 #define MADERA_FLL_AO_HOLD_MASK				0x0004
1553 #define MADERA_FLL_AO_HOLD_SHIFT			     2
1554 #define MADERA_FLL_AO_HOLD_WIDTH			     1
1555 #define MADERA_FLL_AO_FREERUN				0x0002
1556 #define MADERA_FLL_AO_FREERUN_MASK			0x0002
1557 #define MADERA_FLL_AO_FREERUN_SHIFT			     1
1558 #define MADERA_FLL_AO_FREERUN_WIDTH			     1
1559 #define MADERA_FLL_AO_ENA				0x0001
1560 #define MADERA_FLL_AO_ENA_MASK				0x0001
1561 #define MADERA_FLL_AO_ENA_SHIFT				     0
1562 #define MADERA_FLL_AO_ENA_WIDTH				     1
1563 
1564 /* (0x01D2)  FLL_AO_Control_2 */
1565 #define MADERA_FLL_AO_CTRL_UPD				0x8000
1566 #define MADERA_FLL_AO_CTRL_UPD_MASK			0x8000
1567 #define MADERA_FLL_AO_CTRL_UPD_SHIFT			    15
1568 #define MADERA_FLL_AO_CTRL_UPD_WIDTH			     1
1569 
1570 /* (0x01D6)  FLL_AO_Control_6 */
1571 #define MADERA_FLL_AO_REFCLK_SRC_MASK			0x000F
1572 #define MADERA_FLL_AO_REFCLK_SRC_SHIFT			     0
1573 #define MADERA_FLL_AO_REFCLK_SRC_WIDTH			     4
1574 
1575 /* (0x0200)  Mic_Charge_Pump_1 */
1576 #define MADERA_CPMIC_BYPASS				0x0002
1577 #define MADERA_CPMIC_BYPASS_MASK			0x0002
1578 #define MADERA_CPMIC_BYPASS_SHIFT			     1
1579 #define MADERA_CPMIC_BYPASS_WIDTH			     1
1580 #define MADERA_CPMIC_ENA				0x0001
1581 #define MADERA_CPMIC_ENA_MASK				0x0001
1582 #define MADERA_CPMIC_ENA_SHIFT				     0
1583 #define MADERA_CPMIC_ENA_WIDTH				     1
1584 
1585 /* (0x0210)  LDO1_Control_1 */
1586 #define MADERA_LDO1_VSEL_MASK				0x07E0
1587 #define MADERA_LDO1_VSEL_SHIFT				     5
1588 #define MADERA_LDO1_VSEL_WIDTH				     6
1589 #define MADERA_LDO1_FAST				0x0010
1590 #define MADERA_LDO1_FAST_MASK				0x0010
1591 #define MADERA_LDO1_FAST_SHIFT				     4
1592 #define MADERA_LDO1_FAST_WIDTH				     1
1593 #define MADERA_LDO1_DISCH				0x0004
1594 #define MADERA_LDO1_DISCH_MASK				0x0004
1595 #define MADERA_LDO1_DISCH_SHIFT				     2
1596 #define MADERA_LDO1_DISCH_WIDTH				     1
1597 #define MADERA_LDO1_BYPASS				0x0002
1598 #define MADERA_LDO1_BYPASS_MASK				0x0002
1599 #define MADERA_LDO1_BYPASS_SHIFT			     1
1600 #define MADERA_LDO1_BYPASS_WIDTH			     1
1601 #define MADERA_LDO1_ENA					0x0001
1602 #define MADERA_LDO1_ENA_MASK				0x0001
1603 #define MADERA_LDO1_ENA_SHIFT				     0
1604 #define MADERA_LDO1_ENA_WIDTH				     1
1605 
1606 /* (0x0213)  LDO2_Control_1 */
1607 #define MADERA_LDO2_VSEL_MASK				0x07E0
1608 #define MADERA_LDO2_VSEL_SHIFT				     5
1609 #define MADERA_LDO2_VSEL_WIDTH				     6
1610 #define MADERA_LDO2_FAST				0x0010
1611 #define MADERA_LDO2_FAST_MASK				0x0010
1612 #define MADERA_LDO2_FAST_SHIFT				     4
1613 #define MADERA_LDO2_FAST_WIDTH				     1
1614 #define MADERA_LDO2_DISCH				0x0004
1615 #define MADERA_LDO2_DISCH_MASK				0x0004
1616 #define MADERA_LDO2_DISCH_SHIFT				     2
1617 #define MADERA_LDO2_DISCH_WIDTH				     1
1618 #define MADERA_LDO2_BYPASS				0x0002
1619 #define MADERA_LDO2_BYPASS_MASK				0x0002
1620 #define MADERA_LDO2_BYPASS_SHIFT			     1
1621 #define MADERA_LDO2_BYPASS_WIDTH			     1
1622 #define MADERA_LDO2_ENA					0x0001
1623 #define MADERA_LDO2_ENA_MASK				0x0001
1624 #define MADERA_LDO2_ENA_SHIFT				     0
1625 #define MADERA_LDO2_ENA_WIDTH				     1
1626 
1627 /* (0x0218)  Mic_Bias_Ctrl_1 */
1628 #define MADERA_MICB1_ENA				0x0001
1629 #define MADERA_MICB1_ENA_MASK				0x0001
1630 #define MADERA_MICB1_ENA_SHIFT				     0
1631 #define MADERA_MICB1_ENA_WIDTH				     1
1632 
1633 /* (0x021C)  Mic_Bias_Ctrl_5 */
1634 #define MADERA_MICB1D_ENA				0x1000
1635 #define MADERA_MICB1D_ENA_MASK				0x1000
1636 #define MADERA_MICB1D_ENA_SHIFT				    12
1637 #define MADERA_MICB1D_ENA_WIDTH				     1
1638 #define MADERA_MICB1C_ENA				0x0100
1639 #define MADERA_MICB1C_ENA_MASK				0x0100
1640 #define MADERA_MICB1C_ENA_SHIFT				     8
1641 #define MADERA_MICB1C_ENA_WIDTH				     1
1642 #define MADERA_MICB1B_ENA				0x0010
1643 #define MADERA_MICB1B_ENA_MASK				0x0010
1644 #define MADERA_MICB1B_ENA_SHIFT				     4
1645 #define MADERA_MICB1B_ENA_WIDTH				     1
1646 #define MADERA_MICB1A_ENA				0x0001
1647 #define MADERA_MICB1A_ENA_MASK				0x0001
1648 #define MADERA_MICB1A_ENA_SHIFT				     0
1649 #define MADERA_MICB1A_ENA_WIDTH				     1
1650 
1651 /* (0x021E)  Mic_Bias_Ctrl_6 */
1652 #define MADERA_MICB2D_ENA				0x1000
1653 #define MADERA_MICB2D_ENA_MASK				0x1000
1654 #define MADERA_MICB2D_ENA_SHIFT				    12
1655 #define MADERA_MICB2D_ENA_WIDTH				     1
1656 #define MADERA_MICB2C_ENA				0x0100
1657 #define MADERA_MICB2C_ENA_MASK				0x0100
1658 #define MADERA_MICB2C_ENA_SHIFT				     8
1659 #define MADERA_MICB2C_ENA_WIDTH				     1
1660 #define MADERA_MICB2B_ENA				0x0010
1661 #define MADERA_MICB2B_ENA_MASK				0x0010
1662 #define MADERA_MICB2B_ENA_SHIFT				     4
1663 #define MADERA_MICB2B_ENA_WIDTH				     1
1664 #define MADERA_MICB2A_ENA				0x0001
1665 #define MADERA_MICB2A_ENA_MASK				0x0001
1666 #define MADERA_MICB2A_ENA_SHIFT				     0
1667 #define MADERA_MICB2A_ENA_WIDTH				     1
1668 
1669 /* (0x0225) - HP Ctrl 1L */
1670 #define MADERA_RMV_SHRT_HP1L				0x4000
1671 #define MADERA_RMV_SHRT_HP1L_MASK			0x4000
1672 #define MADERA_RMV_SHRT_HP1L_SHIFT			    14
1673 #define MADERA_RMV_SHRT_HP1L_WIDTH			     1
1674 #define MADERA_HP1L_FLWR				0x0004
1675 #define MADERA_HP1L_FLWR_MASK				0x0004
1676 #define MADERA_HP1L_FLWR_SHIFT				     2
1677 #define MADERA_HP1L_FLWR_WIDTH				     1
1678 #define MADERA_HP1L_SHRTI				0x0002
1679 #define MADERA_HP1L_SHRTI_MASK				0x0002
1680 #define MADERA_HP1L_SHRTI_SHIFT				     1
1681 #define MADERA_HP1L_SHRTI_WIDTH				     1
1682 #define MADERA_HP1L_SHRTO				0x0001
1683 #define MADERA_HP1L_SHRTO_MASK				0x0001
1684 #define MADERA_HP1L_SHRTO_SHIFT				     0
1685 #define MADERA_HP1L_SHRTO_WIDTH				     1
1686 
1687 /* (0x0226) - HP Ctrl 1R */
1688 #define MADERA_RMV_SHRT_HP1R				0x4000
1689 #define MADERA_RMV_SHRT_HP1R_MASK			0x4000
1690 #define MADERA_RMV_SHRT_HP1R_SHIFT			    14
1691 #define MADERA_RMV_SHRT_HP1R_WIDTH			     1
1692 #define MADERA_HP1R_FLWR				0x0004
1693 #define MADERA_HP1R_FLWR_MASK				0x0004
1694 #define MADERA_HP1R_FLWR_SHIFT				     2
1695 #define MADERA_HP1R_FLWR_WIDTH				     1
1696 #define MADERA_HP1R_SHRTI				0x0002
1697 #define MADERA_HP1R_SHRTI_MASK				0x0002
1698 #define MADERA_HP1R_SHRTI_SHIFT				     1
1699 #define MADERA_HP1R_SHRTI_WIDTH				     1
1700 #define MADERA_HP1R_SHRTO				0x0001
1701 #define MADERA_HP1R_SHRTO_MASK				0x0001
1702 #define MADERA_HP1R_SHRTO_SHIFT				     0
1703 #define MADERA_HP1R_SHRTO_WIDTH				     1
1704 
1705 /* (0x0293)  Accessory_Detect_Mode_1 */
1706 #define MADERA_ACCDET_SRC				0x2000
1707 #define MADERA_ACCDET_SRC_MASK				0x2000
1708 #define MADERA_ACCDET_SRC_SHIFT				    13
1709 #define MADERA_ACCDET_SRC_WIDTH				     1
1710 #define MADERA_ACCDET_POLARITY_INV_ENA			0x0080
1711 #define MADERA_ACCDET_POLARITY_INV_ENA_MASK		0x0080
1712 #define MADERA_ACCDET_POLARITY_INV_ENA_SHIFT		     7
1713 #define MADERA_ACCDET_POLARITY_INV_ENA_WIDTH		     1
1714 #define MADERA_ACCDET_MODE_MASK				0x0007
1715 #define MADERA_ACCDET_MODE_SHIFT			     0
1716 #define MADERA_ACCDET_MODE_WIDTH			     3
1717 
1718 /* (0x0299)  Headphone_Detect_0 */
1719 #define MADERA_HPD_GND_SEL				0x0007
1720 #define MADERA_HPD_GND_SEL_MASK				0x0007
1721 #define MADERA_HPD_GND_SEL_SHIFT			     0
1722 #define MADERA_HPD_GND_SEL_WIDTH			     3
1723 #define MADERA_HPD_SENSE_SEL				0x00F0
1724 #define MADERA_HPD_SENSE_SEL_MASK			0x00F0
1725 #define MADERA_HPD_SENSE_SEL_SHIFT			     4
1726 #define MADERA_HPD_SENSE_SEL_WIDTH			     4
1727 #define MADERA_HPD_FRC_SEL				0x0F00
1728 #define MADERA_HPD_FRC_SEL_MASK				0x0F00
1729 #define MADERA_HPD_FRC_SEL_SHIFT			     8
1730 #define MADERA_HPD_FRC_SEL_WIDTH			     4
1731 #define MADERA_HPD_OUT_SEL				0x7000
1732 #define MADERA_HPD_OUT_SEL_MASK				0x7000
1733 #define MADERA_HPD_OUT_SEL_SHIFT			    12
1734 #define MADERA_HPD_OUT_SEL_WIDTH			     3
1735 #define MADERA_HPD_OVD_ENA_SEL				0x8000
1736 #define MADERA_HPD_OVD_ENA_SEL_MASK			0x8000
1737 #define MADERA_HPD_OVD_ENA_SEL_SHIFT			    15
1738 #define MADERA_HPD_OVD_ENA_SEL_WIDTH			     1
1739 
1740 /* (0x029B)  Headphone_Detect_1 */
1741 #define MADERA_HP_IMPEDANCE_RANGE_MASK			0x0600
1742 #define MADERA_HP_IMPEDANCE_RANGE_SHIFT			     9
1743 #define MADERA_HP_IMPEDANCE_RANGE_WIDTH			     2
1744 #define MADERA_HP_STEP_SIZE				0x0100
1745 #define MADERA_HP_STEP_SIZE_MASK			0x0100
1746 #define MADERA_HP_STEP_SIZE_SHIFT			     8
1747 #define MADERA_HP_STEP_SIZE_WIDTH			     1
1748 #define MADERA_HP_CLK_DIV_MASK				0x0018
1749 #define MADERA_HP_CLK_DIV_SHIFT				     3
1750 #define MADERA_HP_CLK_DIV_WIDTH				     2
1751 #define MADERA_HP_RATE_MASK				0x0006
1752 #define MADERA_HP_RATE_SHIFT				     1
1753 #define MADERA_HP_RATE_WIDTH				     2
1754 #define MADERA_HP_POLL					0x0001
1755 #define MADERA_HP_POLL_MASK				0x0001
1756 #define MADERA_HP_POLL_SHIFT				     0
1757 #define MADERA_HP_POLL_WIDTH				     1
1758 
1759 /* (0x029C)  Headphone_Detect_2 */
1760 #define MADERA_HP_DONE_MASK				0x8000
1761 #define MADERA_HP_DONE_SHIFT				    15
1762 #define MADERA_HP_DONE_WIDTH				     1
1763 #define MADERA_HP_LVL_MASK				0x7FFF
1764 #define MADERA_HP_LVL_SHIFT				     0
1765 #define MADERA_HP_LVL_WIDTH				    15
1766 
1767 /* (0x029D)  Headphone_Detect_3 */
1768 #define MADERA_HP_DACVAL_MASK				0x03FF
1769 #define MADERA_HP_DACVAL_SHIFT				     0
1770 #define MADERA_HP_DACVAL_WIDTH				    10
1771 
1772 /* (0x029F) - Headphone Detect 5 */
1773 #define MADERA_HP_DACVAL_DOWN_MASK			0x03FF
1774 #define MADERA_HP_DACVAL_DOWN_SHIFT			     0
1775 #define MADERA_HP_DACVAL_DOWN_WIDTH			    10
1776 
1777 /* (0x02A2)  Mic_Detect_1_Control_0 */
1778 #define MADERA_MICD1_GND_MASK				0x0007
1779 #define MADERA_MICD1_GND_SHIFT				     0
1780 #define MADERA_MICD1_GND_WIDTH				     3
1781 #define MADERA_MICD1_SENSE_MASK				0x00F0
1782 #define MADERA_MICD1_SENSE_SHIFT			     4
1783 #define MADERA_MICD1_SENSE_WIDTH			     4
1784 #define MADERA_MICD1_ADC_MODE_MASK			0x8000
1785 #define MADERA_MICD1_ADC_MODE_SHIFT			    15
1786 #define MADERA_MICD1_ADC_MODE_WIDTH			     1
1787 
1788 /* (0x02A3)  Mic_Detect_1_Control_1 */
1789 #define MADERA_MICD_BIAS_STARTTIME_MASK			0xF000
1790 #define MADERA_MICD_BIAS_STARTTIME_SHIFT		    12
1791 #define MADERA_MICD_BIAS_STARTTIME_WIDTH		     4
1792 #define MADERA_MICD_RATE_MASK				0x0F00
1793 #define MADERA_MICD_RATE_SHIFT				     8
1794 #define MADERA_MICD_RATE_WIDTH				     4
1795 #define MADERA_MICD_BIAS_SRC_MASK			0x00F0
1796 #define MADERA_MICD_BIAS_SRC_SHIFT			     4
1797 #define MADERA_MICD_BIAS_SRC_WIDTH			     4
1798 #define MADERA_MICD_DBTIME				0x0002
1799 #define MADERA_MICD_DBTIME_MASK				0x0002
1800 #define MADERA_MICD_DBTIME_SHIFT			     1
1801 #define MADERA_MICD_DBTIME_WIDTH			     1
1802 #define MADERA_MICD_ENA					0x0001
1803 #define MADERA_MICD_ENA_MASK				0x0001
1804 #define MADERA_MICD_ENA_SHIFT				     0
1805 #define MADERA_MICD_ENA_WIDTH				     1
1806 
1807 /* (0x02A4)  Mic_Detect_1_Control_2 */
1808 #define MADERA_MICD_LVL_SEL_MASK			0x00FF
1809 #define MADERA_MICD_LVL_SEL_SHIFT			     0
1810 #define MADERA_MICD_LVL_SEL_WIDTH			     8
1811 
1812 /* (0x02A5)  Mic_Detect_1_Control_3 */
1813 #define MADERA_MICD_LVL_0				0x0004
1814 #define MADERA_MICD_LVL_1				0x0008
1815 #define MADERA_MICD_LVL_2				0x0010
1816 #define MADERA_MICD_LVL_3				0x0020
1817 #define MADERA_MICD_LVL_4				0x0040
1818 #define MADERA_MICD_LVL_5				0x0080
1819 #define MADERA_MICD_LVL_6				0x0100
1820 #define MADERA_MICD_LVL_7				0x0200
1821 #define MADERA_MICD_LVL_8				0x0400
1822 #define MADERA_MICD_LVL_MASK				0x07FC
1823 #define MADERA_MICD_LVL_SHIFT				     2
1824 #define MADERA_MICD_LVL_WIDTH				     9
1825 #define MADERA_MICD_VALID				0x0002
1826 #define MADERA_MICD_VALID_MASK				0x0002
1827 #define MADERA_MICD_VALID_SHIFT				     1
1828 #define MADERA_MICD_VALID_WIDTH				     1
1829 #define MADERA_MICD_STS					0x0001
1830 #define MADERA_MICD_STS_MASK				0x0001
1831 #define MADERA_MICD_STS_SHIFT				     0
1832 #define MADERA_MICD_STS_WIDTH				     1
1833 
1834 /* (0x02AB)  Mic_Detect_1_Control_4 */
1835 #define MADERA_MICDET_ADCVAL_DIFF_MASK			0xFF00
1836 #define MADERA_MICDET_ADCVAL_DIFF_SHIFT			     8
1837 #define MADERA_MICDET_ADCVAL_DIFF_WIDTH			     8
1838 #define MADERA_MICDET_ADCVAL_MASK			0x007F
1839 #define MADERA_MICDET_ADCVAL_SHIFT			     0
1840 #define MADERA_MICDET_ADCVAL_WIDTH			     7
1841 
1842 /* (0x02C6)  Micd_Clamp_control */
1843 #define MADERA_MICD_CLAMP_OVD				0x0010
1844 #define MADERA_MICD_CLAMP_OVD_MASK			0x0010
1845 #define MADERA_MICD_CLAMP_OVD_SHIFT			     4
1846 #define MADERA_MICD_CLAMP_OVD_WIDTH			     1
1847 #define MADERA_MICD_CLAMP_MODE_MASK			0x000F
1848 #define MADERA_MICD_CLAMP_MODE_SHIFT			     0
1849 #define MADERA_MICD_CLAMP_MODE_WIDTH			     4
1850 
1851 /* (0x02C8)  GP_Switch_1 */
1852 #define MADERA_SW2_MODE_MASK				0x000C
1853 #define MADERA_SW2_MODE_SHIFT				     2
1854 #define MADERA_SW2_MODE_WIDTH				     2
1855 #define MADERA_SW1_MODE_MASK				0x0003
1856 #define MADERA_SW1_MODE_SHIFT				     0
1857 #define MADERA_SW1_MODE_WIDTH				     2
1858 
1859 /* (0x02D3)  Jack_detect_analogue */
1860 #define MADERA_JD2_ENA					0x0002
1861 #define MADERA_JD2_ENA_MASK				0x0002
1862 #define MADERA_JD2_ENA_SHIFT				     1
1863 #define MADERA_JD2_ENA_WIDTH				     1
1864 #define MADERA_JD1_ENA					0x0001
1865 #define MADERA_JD1_ENA_MASK				0x0001
1866 #define MADERA_JD1_ENA_SHIFT				     0
1867 #define MADERA_JD1_ENA_WIDTH				     1
1868 
1869 /* (0x0300)  Input_Enables */
1870 #define MADERA_IN6L_ENA					0x0800
1871 #define MADERA_IN6L_ENA_MASK				0x0800
1872 #define MADERA_IN6L_ENA_SHIFT				    11
1873 #define MADERA_IN6L_ENA_WIDTH				     1
1874 #define MADERA_IN6R_ENA					0x0400
1875 #define MADERA_IN6R_ENA_MASK				0x0400
1876 #define MADERA_IN6R_ENA_SHIFT				    10
1877 #define MADERA_IN6R_ENA_WIDTH				     1
1878 #define MADERA_IN5L_ENA					0x0200
1879 #define MADERA_IN5L_ENA_MASK				0x0200
1880 #define MADERA_IN5L_ENA_SHIFT				     9
1881 #define MADERA_IN5L_ENA_WIDTH				     1
1882 #define MADERA_IN5R_ENA					0x0100
1883 #define MADERA_IN5R_ENA_MASK				0x0100
1884 #define MADERA_IN5R_ENA_SHIFT				     8
1885 #define MADERA_IN5R_ENA_WIDTH				     1
1886 #define MADERA_IN4L_ENA					0x0080
1887 #define MADERA_IN4L_ENA_MASK				0x0080
1888 #define MADERA_IN4L_ENA_SHIFT				     7
1889 #define MADERA_IN4L_ENA_WIDTH				     1
1890 #define MADERA_IN4R_ENA					0x0040
1891 #define MADERA_IN4R_ENA_MASK				0x0040
1892 #define MADERA_IN4R_ENA_SHIFT				     6
1893 #define MADERA_IN4R_ENA_WIDTH				     1
1894 #define MADERA_IN3L_ENA					0x0020
1895 #define MADERA_IN3L_ENA_MASK				0x0020
1896 #define MADERA_IN3L_ENA_SHIFT				     5
1897 #define MADERA_IN3L_ENA_WIDTH				     1
1898 #define MADERA_IN3R_ENA					0x0010
1899 #define MADERA_IN3R_ENA_MASK				0x0010
1900 #define MADERA_IN3R_ENA_SHIFT				     4
1901 #define MADERA_IN3R_ENA_WIDTH				     1
1902 #define MADERA_IN2L_ENA					0x0008
1903 #define MADERA_IN2L_ENA_MASK				0x0008
1904 #define MADERA_IN2L_ENA_SHIFT				     3
1905 #define MADERA_IN2L_ENA_WIDTH				     1
1906 #define MADERA_IN2R_ENA					0x0004
1907 #define MADERA_IN2R_ENA_MASK				0x0004
1908 #define MADERA_IN2R_ENA_SHIFT				     2
1909 #define MADERA_IN2R_ENA_WIDTH				     1
1910 #define MADERA_IN1L_ENA					0x0002
1911 #define MADERA_IN1L_ENA_MASK				0x0002
1912 #define MADERA_IN1L_ENA_SHIFT				     1
1913 #define MADERA_IN1L_ENA_WIDTH				     1
1914 #define MADERA_IN1R_ENA					0x0001
1915 #define MADERA_IN1R_ENA_MASK				0x0001
1916 #define MADERA_IN1R_ENA_SHIFT				     0
1917 #define MADERA_IN1R_ENA_WIDTH				     1
1918 
1919 /* (0x0308)  Input_Rate */
1920 #define MADERA_IN_RATE_MASK				0xF800
1921 #define MADERA_IN_RATE_SHIFT				    11
1922 #define MADERA_IN_RATE_WIDTH				     5
1923 #define MADERA_IN_MODE_MASK				0x0400
1924 #define MADERA_IN_MODE_SHIFT				    10
1925 #define MADERA_IN_MODE_WIDTH				     1
1926 
1927 /* (0x0309)  Input_Volume_Ramp */
1928 #define MADERA_IN_VD_RAMP_MASK				0x0070
1929 #define MADERA_IN_VD_RAMP_SHIFT				     4
1930 #define MADERA_IN_VD_RAMP_WIDTH				     3
1931 #define MADERA_IN_VI_RAMP_MASK				0x0007
1932 #define MADERA_IN_VI_RAMP_SHIFT				     0
1933 #define MADERA_IN_VI_RAMP_WIDTH				     3
1934 
1935 /* (0x030C)  HPF_Control */
1936 #define MADERA_IN_HPF_CUT_MASK				0x0007
1937 #define MADERA_IN_HPF_CUT_SHIFT				     0
1938 #define MADERA_IN_HPF_CUT_WIDTH				     3
1939 
1940 /* (0x0310)  IN1L_Control */
1941 #define MADERA_IN1L_HPF_MASK				0x8000
1942 #define MADERA_IN1L_HPF_SHIFT				    15
1943 #define MADERA_IN1L_HPF_WIDTH				     1
1944 #define MADERA_IN1_DMIC_SUP_MASK			0x1800
1945 #define MADERA_IN1_DMIC_SUP_SHIFT			    11
1946 #define MADERA_IN1_DMIC_SUP_WIDTH			     2
1947 #define MADERA_IN1_MODE_MASK				0x0400
1948 #define MADERA_IN1_MODE_SHIFT				    10
1949 #define MADERA_IN1_MODE_WIDTH				     1
1950 #define MADERA_IN1L_PGA_VOL_MASK			0x00FE
1951 #define MADERA_IN1L_PGA_VOL_SHIFT			     1
1952 #define MADERA_IN1L_PGA_VOL_WIDTH			     7
1953 
1954 /* (0x0311)  ADC_Digital_Volume_1L */
1955 #define MADERA_IN1L_SRC_MASK				0x4000
1956 #define MADERA_IN1L_SRC_SHIFT				    14
1957 #define MADERA_IN1L_SRC_WIDTH				     1
1958 #define MADERA_IN1L_SRC_SE_MASK				0x2000
1959 #define MADERA_IN1L_SRC_SE_SHIFT			    13
1960 #define MADERA_IN1L_SRC_SE_WIDTH			     1
1961 #define MADERA_IN1L_LP_MODE				0x0800
1962 #define MADERA_IN1L_LP_MODE_MASK			0x0800
1963 #define MADERA_IN1L_LP_MODE_SHIFT			    11
1964 #define MADERA_IN1L_LP_MODE_WIDTH			     1
1965 #define MADERA_IN_VU					0x0200
1966 #define MADERA_IN_VU_MASK				0x0200
1967 #define MADERA_IN_VU_SHIFT				     9
1968 #define MADERA_IN_VU_WIDTH				     1
1969 #define MADERA_IN1L_MUTE				0x0100
1970 #define MADERA_IN1L_MUTE_MASK				0x0100
1971 #define MADERA_IN1L_MUTE_SHIFT				     8
1972 #define MADERA_IN1L_MUTE_WIDTH				     1
1973 #define MADERA_IN1L_DIG_VOL_MASK			0x00FF
1974 #define MADERA_IN1L_DIG_VOL_SHIFT			     0
1975 #define MADERA_IN1L_DIG_VOL_WIDTH			     8
1976 
1977 /* (0x0312)  DMIC1L_Control */
1978 #define MADERA_IN1_OSR_MASK				0x0700
1979 #define MADERA_IN1_OSR_SHIFT				     8
1980 #define MADERA_IN1_OSR_WIDTH				     3
1981 
1982 /* (0x0313)  IN1L_Rate_Control */
1983 #define MADERA_IN1L_RATE_MASK				0xF800
1984 #define MADERA_IN1L_RATE_SHIFT				    11
1985 #define MADERA_IN1L_RATE_WIDTH				     5
1986 
1987 /* (0x0314)  IN1R_Control */
1988 #define MADERA_IN1R_HPF_MASK				0x8000
1989 #define MADERA_IN1R_HPF_SHIFT				    15
1990 #define MADERA_IN1R_HPF_WIDTH				     1
1991 #define MADERA_IN1R_PGA_VOL_MASK			0x00FE
1992 #define MADERA_IN1R_PGA_VOL_SHIFT			     1
1993 #define MADERA_IN1R_PGA_VOL_WIDTH			     7
1994 #define MADERA_IN1_DMICCLK_SRC_MASK			0x1800
1995 #define MADERA_IN1_DMICCLK_SRC_SHIFT			    11
1996 #define MADERA_IN1_DMICCLK_SRC_WIDTH			     2
1997 
1998 /* (0x0315)  ADC_Digital_Volume_1R */
1999 #define MADERA_IN1R_SRC_MASK				0x4000
2000 #define MADERA_IN1R_SRC_SHIFT				    14
2001 #define MADERA_IN1R_SRC_WIDTH				     1
2002 #define MADERA_IN1R_SRC_SE_MASK				0x2000
2003 #define MADERA_IN1R_SRC_SE_SHIFT			    13
2004 #define MADERA_IN1R_SRC_SE_WIDTH			     1
2005 #define MADERA_IN1R_LP_MODE				0x0800
2006 #define MADERA_IN1R_LP_MODE_MASK			0x0800
2007 #define MADERA_IN1R_LP_MODE_SHIFT			    11
2008 #define MADERA_IN1R_LP_MODE_WIDTH			     1
2009 #define MADERA_IN1R_MUTE				0x0100
2010 #define MADERA_IN1R_MUTE_MASK				0x0100
2011 #define MADERA_IN1R_MUTE_SHIFT				     8
2012 #define MADERA_IN1R_MUTE_WIDTH				     1
2013 #define MADERA_IN1R_DIG_VOL_MASK			0x00FF
2014 #define MADERA_IN1R_DIG_VOL_SHIFT			     0
2015 #define MADERA_IN1R_DIG_VOL_WIDTH			     8
2016 
2017 /* (0x0317)  IN1R_Rate_Control */
2018 #define MADERA_IN1R_RATE_MASK				0xF800
2019 #define MADERA_IN1R_RATE_SHIFT				    11
2020 #define MADERA_IN1R_RATE_WIDTH				     5
2021 
2022 /* (0x0318)  IN2L_Control */
2023 #define MADERA_IN2L_HPF_MASK				0x8000
2024 #define MADERA_IN2L_HPF_SHIFT				    15
2025 #define MADERA_IN2L_HPF_WIDTH				     1
2026 #define MADERA_IN2_DMIC_SUP_MASK			0x1800
2027 #define MADERA_IN2_DMIC_SUP_SHIFT			    11
2028 #define MADERA_IN2_DMIC_SUP_WIDTH			     2
2029 #define MADERA_IN2_MODE_MASK				0x0400
2030 #define MADERA_IN2_MODE_SHIFT				    10
2031 #define MADERA_IN2_MODE_WIDTH				     1
2032 #define MADERA_IN2L_PGA_VOL_MASK			0x00FE
2033 #define MADERA_IN2L_PGA_VOL_SHIFT			     1
2034 #define MADERA_IN2L_PGA_VOL_WIDTH			     7
2035 
2036 /* (0x0319)  ADC_Digital_Volume_2L */
2037 #define MADERA_IN2L_SRC_MASK				0x4000
2038 #define MADERA_IN2L_SRC_SHIFT				    14
2039 #define MADERA_IN2L_SRC_WIDTH				     1
2040 #define MADERA_IN2L_SRC_SE_MASK				0x2000
2041 #define MADERA_IN2L_SRC_SE_SHIFT			    13
2042 #define MADERA_IN2L_SRC_SE_WIDTH			     1
2043 #define MADERA_IN2L_LP_MODE				0x0800
2044 #define MADERA_IN2L_LP_MODE_MASK			0x0800
2045 #define MADERA_IN2L_LP_MODE_SHIFT			    11
2046 #define MADERA_IN2L_LP_MODE_WIDTH			     1
2047 #define MADERA_IN2L_MUTE				0x0100
2048 #define MADERA_IN2L_MUTE_MASK				0x0100
2049 #define MADERA_IN2L_MUTE_SHIFT				     8
2050 #define MADERA_IN2L_MUTE_WIDTH				     1
2051 #define MADERA_IN2L_DIG_VOL_MASK			0x00FF
2052 #define MADERA_IN2L_DIG_VOL_SHIFT			     0
2053 #define MADERA_IN2L_DIG_VOL_WIDTH			     8
2054 
2055 /* (0x031A)  DMIC2L_Control */
2056 #define MADERA_IN2_OSR_MASK				0x0700
2057 #define MADERA_IN2_OSR_SHIFT				     8
2058 #define MADERA_IN2_OSR_WIDTH				     3
2059 
2060 /* (0x031C)  IN2R_Control */
2061 #define MADERA_IN2R_HPF_MASK				0x8000
2062 #define MADERA_IN2R_HPF_SHIFT				    15
2063 #define MADERA_IN2R_HPF_WIDTH				     1
2064 #define MADERA_IN2R_PGA_VOL_MASK			0x00FE
2065 #define MADERA_IN2R_PGA_VOL_SHIFT			     1
2066 #define MADERA_IN2R_PGA_VOL_WIDTH			     7
2067 #define MADERA_IN2_DMICCLK_SRC_MASK			0x1800
2068 #define MADERA_IN2_DMICCLK_SRC_SHIFT			    11
2069 #define MADERA_IN2_DMICCLK_SRC_WIDTH			     2
2070 
2071 /* (0x031D)  ADC_Digital_Volume_2R */
2072 #define MADERA_IN2R_SRC_MASK				0x4000
2073 #define MADERA_IN2R_SRC_SHIFT				    14
2074 #define MADERA_IN2R_SRC_WIDTH				     1
2075 #define MADERA_IN2R_SRC_SE_MASK				0x2000
2076 #define MADERA_IN2R_SRC_SE_SHIFT			    13
2077 #define MADERA_IN2R_SRC_SE_WIDTH			     1
2078 #define MADERA_IN2R_LP_MODE				0x0800
2079 #define MADERA_IN2R_LP_MODE_MASK			0x0800
2080 #define MADERA_IN2R_LP_MODE_SHIFT			    11
2081 #define MADERA_IN2R_LP_MODE_WIDTH			     1
2082 #define MADERA_IN2R_MUTE				0x0100
2083 #define MADERA_IN2R_MUTE_MASK				0x0100
2084 #define MADERA_IN2R_MUTE_SHIFT				     8
2085 #define MADERA_IN2R_MUTE_WIDTH				     1
2086 #define MADERA_IN2R_DIG_VOL_MASK			0x00FF
2087 #define MADERA_IN2R_DIG_VOL_SHIFT			     0
2088 #define MADERA_IN2R_DIG_VOL_WIDTH			     8
2089 
2090 /* (0x0320)  IN3L_Control */
2091 #define MADERA_IN3L_HPF_MASK				0x8000
2092 #define MADERA_IN3L_HPF_SHIFT				    15
2093 #define MADERA_IN3L_HPF_WIDTH				     1
2094 #define MADERA_IN3_DMIC_SUP_MASK			0x1800
2095 #define MADERA_IN3_DMIC_SUP_SHIFT			    11
2096 #define MADERA_IN3_DMIC_SUP_WIDTH			     2
2097 #define MADERA_IN3_MODE_MASK				0x0400
2098 #define MADERA_IN3_MODE_SHIFT				    10
2099 #define MADERA_IN3_MODE_WIDTH				     1
2100 #define MADERA_IN3L_PGA_VOL_MASK			0x00FE
2101 #define MADERA_IN3L_PGA_VOL_SHIFT			     1
2102 #define MADERA_IN3L_PGA_VOL_WIDTH			     7
2103 
2104 /* (0x0321)  ADC_Digital_Volume_3L */
2105 #define MADERA_IN3L_MUTE				0x0100
2106 #define MADERA_IN3L_MUTE_MASK				0x0100
2107 #define MADERA_IN3L_MUTE_SHIFT				     8
2108 #define MADERA_IN3L_MUTE_WIDTH				     1
2109 #define MADERA_IN3L_DIG_VOL_MASK			0x00FF
2110 #define MADERA_IN3L_DIG_VOL_SHIFT			     0
2111 #define MADERA_IN3L_DIG_VOL_WIDTH			     8
2112 
2113 /* (0x0322)  DMIC3L_Control */
2114 #define MADERA_IN3_OSR_MASK				0x0700
2115 #define MADERA_IN3_OSR_SHIFT				     8
2116 #define MADERA_IN3_OSR_WIDTH				     3
2117 
2118 /* (0x0324)  IN3R_Control */
2119 #define MADERA_IN3R_HPF_MASK				0x8000
2120 #define MADERA_IN3R_HPF_SHIFT				    15
2121 #define MADERA_IN3R_HPF_WIDTH				     1
2122 #define MADERA_IN3R_PGA_VOL_MASK			0x00FE
2123 #define MADERA_IN3R_PGA_VOL_SHIFT			     1
2124 #define MADERA_IN3R_PGA_VOL_WIDTH			     7
2125 #define MADERA_IN3_DMICCLK_SRC_MASK			0x1800
2126 #define MADERA_IN3_DMICCLK_SRC_SHIFT			    11
2127 #define MADERA_IN3_DMICCLK_SRC_WIDTH			     2
2128 
2129 /* (0x0325)  ADC_Digital_Volume_3R */
2130 #define MADERA_IN3R_MUTE				0x0100
2131 #define MADERA_IN3R_MUTE_MASK				0x0100
2132 #define MADERA_IN3R_MUTE_SHIFT				     8
2133 #define MADERA_IN3R_MUTE_WIDTH				     1
2134 #define MADERA_IN3R_DIG_VOL_MASK			0x00FF
2135 #define MADERA_IN3R_DIG_VOL_SHIFT			     0
2136 #define MADERA_IN3R_DIG_VOL_WIDTH			     8
2137 
2138 /* (0x0328)  IN4L_Control */
2139 #define MADERA_IN4L_HPF_MASK				0x8000
2140 #define MADERA_IN4L_HPF_SHIFT				    15
2141 #define MADERA_IN4L_HPF_WIDTH				     1
2142 #define MADERA_IN4_DMIC_SUP_MASK			0x1800
2143 #define MADERA_IN4_DMIC_SUP_SHIFT			    11
2144 #define MADERA_IN4_DMIC_SUP_WIDTH			     2
2145 
2146 /* (0x0329)  ADC_Digital_Volume_4L */
2147 #define MADERA_IN4L_MUTE				0x0100
2148 #define MADERA_IN4L_MUTE_MASK				0x0100
2149 #define MADERA_IN4L_MUTE_SHIFT				     8
2150 #define MADERA_IN4L_MUTE_WIDTH				     1
2151 #define MADERA_IN4L_DIG_VOL_MASK			0x00FF
2152 #define MADERA_IN4L_DIG_VOL_SHIFT			     0
2153 #define MADERA_IN4L_DIG_VOL_WIDTH			     8
2154 
2155 /* (0x032A)  DMIC4L_Control */
2156 #define MADERA_IN4_OSR_MASK				0x0700
2157 #define MADERA_IN4_OSR_SHIFT				     8
2158 #define MADERA_IN4_OSR_WIDTH				     3
2159 
2160 /* (0x032C)  IN4R_Control */
2161 #define MADERA_IN4R_HPF_MASK				0x8000
2162 #define MADERA_IN4R_HPF_SHIFT				    15
2163 #define MADERA_IN4R_HPF_WIDTH				     1
2164 #define MADERA_IN4_DMICCLK_SRC_MASK			0x1800
2165 #define MADERA_IN4_DMICCLK_SRC_SHIFT			    11
2166 #define MADERA_IN4_DMICCLK_SRC_WIDTH			     2
2167 
2168 /* (0x032D)  ADC_Digital_Volume_4R */
2169 #define MADERA_IN4R_MUTE				0x0100
2170 #define MADERA_IN4R_MUTE_MASK				0x0100
2171 #define MADERA_IN4R_MUTE_SHIFT				     8
2172 #define MADERA_IN4R_MUTE_WIDTH				     1
2173 #define MADERA_IN4R_DIG_VOL_MASK			0x00FF
2174 #define MADERA_IN4R_DIG_VOL_SHIFT			     0
2175 #define MADERA_IN4R_DIG_VOL_WIDTH			     8
2176 
2177 /* (0x0330)  IN5L_Control */
2178 #define MADERA_IN5L_HPF_MASK				0x8000
2179 #define MADERA_IN5L_HPF_SHIFT				    15
2180 #define MADERA_IN5L_HPF_WIDTH				     1
2181 #define MADERA_IN5_DMIC_SUP_MASK			0x1800
2182 #define MADERA_IN5_DMIC_SUP_SHIFT			    11
2183 #define MADERA_IN5_DMIC_SUP_WIDTH			     2
2184 
2185 /* (0x0331)  ADC_Digital_Volume_5L */
2186 #define MADERA_IN5L_MUTE				0x0100
2187 #define MADERA_IN5L_MUTE_MASK				0x0100
2188 #define MADERA_IN5L_MUTE_SHIFT				     8
2189 #define MADERA_IN5L_MUTE_WIDTH				     1
2190 #define MADERA_IN5L_DIG_VOL_MASK			0x00FF
2191 #define MADERA_IN5L_DIG_VOL_SHIFT			     0
2192 #define MADERA_IN5L_DIG_VOL_WIDTH			     8
2193 
2194 /* (0x0332)  DMIC5L_Control */
2195 #define MADERA_IN5_OSR_MASK				0x0700
2196 #define MADERA_IN5_OSR_SHIFT				     8
2197 #define MADERA_IN5_OSR_WIDTH				     3
2198 
2199 /* (0x0334)  IN5R_Control */
2200 #define MADERA_IN5R_HPF_MASK				0x8000
2201 #define MADERA_IN5R_HPF_SHIFT				    15
2202 #define MADERA_IN5R_HPF_WIDTH				     1
2203 #define MADERA_IN5_DMICCLK_SRC_MASK			0x1800
2204 #define MADERA_IN5_DMICCLK_SRC_SHIFT			    11
2205 #define MADERA_IN5_DMICCLK_SRC_WIDTH			     2
2206 
2207 /* (0x0335)  ADC_Digital_Volume_5R */
2208 #define MADERA_IN5R_MUTE				0x0100
2209 #define MADERA_IN5R_MUTE_MASK				0x0100
2210 #define MADERA_IN5R_MUTE_SHIFT				     8
2211 #define MADERA_IN5R_MUTE_WIDTH				     1
2212 #define MADERA_IN5R_DIG_VOL_MASK			0x00FF
2213 #define MADERA_IN5R_DIG_VOL_SHIFT			     0
2214 #define MADERA_IN5R_DIG_VOL_WIDTH			     8
2215 
2216 /* (0x0338)  IN6L_Control */
2217 #define MADERA_IN6L_HPF_MASK				0x8000
2218 #define MADERA_IN6L_HPF_SHIFT				    15
2219 #define MADERA_IN6L_HPF_WIDTH				     1
2220 #define MADERA_IN6_DMIC_SUP_MASK			0x1800
2221 #define MADERA_IN6_DMIC_SUP_SHIFT			    11
2222 #define MADERA_IN6_DMIC_SUP_WIDTH			     2
2223 
2224 /* (0x0339)  ADC_Digital_Volume_6L */
2225 #define MADERA_IN6L_MUTE				0x0100
2226 #define MADERA_IN6L_MUTE_MASK				0x0100
2227 #define MADERA_IN6L_MUTE_SHIFT				     8
2228 #define MADERA_IN6L_MUTE_WIDTH				     1
2229 #define MADERA_IN6L_DIG_VOL_MASK			0x00FF
2230 #define MADERA_IN6L_DIG_VOL_SHIFT			     0
2231 #define MADERA_IN6L_DIG_VOL_WIDTH			     8
2232 
2233 /* (0x033A)  DMIC6L_Control */
2234 #define MADERA_IN6_OSR_MASK				0x0700
2235 #define MADERA_IN6_OSR_SHIFT				     8
2236 #define MADERA_IN6_OSR_WIDTH				     3
2237 
2238 /* (0x033C)  IN6R_Control */
2239 #define MADERA_IN6R_HPF_MASK				0x8000
2240 #define MADERA_IN6R_HPF_SHIFT				    15
2241 #define MADERA_IN6R_HPF_WIDTH				     1
2242 
2243 /* (0x033D)  ADC_Digital_Volume_6R */
2244 #define MADERA_IN6R_MUTE				0x0100
2245 #define MADERA_IN6R_MUTE_MASK				0x0100
2246 #define MADERA_IN6R_MUTE_SHIFT				     8
2247 #define MADERA_IN6R_MUTE_WIDTH				     1
2248 #define MADERA_IN6R_DIG_VOL_MASK			0x00FF
2249 #define MADERA_IN6R_DIG_VOL_SHIFT			     0
2250 #define MADERA_IN6R_DIG_VOL_WIDTH			     8
2251 
2252 /* (0x033E)  DMIC6R_Control */
2253 #define MADERA_IN6_DMICCLK_SRC_MASK			0x1800
2254 #define MADERA_IN6_DMICCLK_SRC_SHIFT			    11
2255 #define MADERA_IN6_DMICCLK_SRC_WIDTH			     2
2256 
2257 /* (0x0400)  Output_Enables_1 */
2258 #define MADERA_EP_SEL					0x8000
2259 #define MADERA_EP_SEL_MASK				0x8000
2260 #define MADERA_EP_SEL_SHIFT				    15
2261 #define MADERA_EP_SEL_WIDTH				     1
2262 #define MADERA_OUT6L_ENA				0x0800
2263 #define MADERA_OUT6L_ENA_MASK				0x0800
2264 #define MADERA_OUT6L_ENA_SHIFT				    11
2265 #define MADERA_OUT6L_ENA_WIDTH				     1
2266 #define MADERA_OUT6R_ENA				0x0400
2267 #define MADERA_OUT6R_ENA_MASK				0x0400
2268 #define MADERA_OUT6R_ENA_SHIFT				    10
2269 #define MADERA_OUT6R_ENA_WIDTH				     1
2270 #define MADERA_OUT5L_ENA				0x0200
2271 #define MADERA_OUT5L_ENA_MASK				0x0200
2272 #define MADERA_OUT5L_ENA_SHIFT				     9
2273 #define MADERA_OUT5L_ENA_WIDTH				     1
2274 #define MADERA_OUT5R_ENA				0x0100
2275 #define MADERA_OUT5R_ENA_MASK				0x0100
2276 #define MADERA_OUT5R_ENA_SHIFT				     8
2277 #define MADERA_OUT5R_ENA_WIDTH				     1
2278 #define MADERA_OUT4L_ENA				0x0080
2279 #define MADERA_OUT4L_ENA_MASK				0x0080
2280 #define MADERA_OUT4L_ENA_SHIFT				     7
2281 #define MADERA_OUT4L_ENA_WIDTH				     1
2282 #define MADERA_OUT4R_ENA				0x0040
2283 #define MADERA_OUT4R_ENA_MASK				0x0040
2284 #define MADERA_OUT4R_ENA_SHIFT				     6
2285 #define MADERA_OUT4R_ENA_WIDTH				     1
2286 #define MADERA_OUT3L_ENA				0x0020
2287 #define MADERA_OUT3L_ENA_MASK				0x0020
2288 #define MADERA_OUT3L_ENA_SHIFT				     5
2289 #define MADERA_OUT3L_ENA_WIDTH				     1
2290 #define MADERA_OUT3R_ENA				0x0010
2291 #define MADERA_OUT3R_ENA_MASK				0x0010
2292 #define MADERA_OUT3R_ENA_SHIFT				     4
2293 #define MADERA_OUT3R_ENA_WIDTH				     1
2294 #define MADERA_OUT2L_ENA				0x0008
2295 #define MADERA_OUT2L_ENA_MASK				0x0008
2296 #define MADERA_OUT2L_ENA_SHIFT				     3
2297 #define MADERA_OUT2L_ENA_WIDTH				     1
2298 #define MADERA_OUT2R_ENA				0x0004
2299 #define MADERA_OUT2R_ENA_MASK				0x0004
2300 #define MADERA_OUT2R_ENA_SHIFT				     2
2301 #define MADERA_OUT2R_ENA_WIDTH				     1
2302 #define MADERA_OUT1L_ENA				0x0002
2303 #define MADERA_OUT1L_ENA_MASK				0x0002
2304 #define MADERA_OUT1L_ENA_SHIFT				     1
2305 #define MADERA_OUT1L_ENA_WIDTH				     1
2306 #define MADERA_OUT1R_ENA				0x0001
2307 #define MADERA_OUT1R_ENA_MASK				0x0001
2308 #define MADERA_OUT1R_ENA_SHIFT				     0
2309 #define MADERA_OUT1R_ENA_WIDTH				     1
2310 
2311 /* (0x0409)  Output_Volume_Ramp */
2312 #define MADERA_OUT_VD_RAMP_MASK				0x0070
2313 #define MADERA_OUT_VD_RAMP_SHIFT			     4
2314 #define MADERA_OUT_VD_RAMP_WIDTH			     3
2315 #define MADERA_OUT_VI_RAMP_MASK				0x0007
2316 #define MADERA_OUT_VI_RAMP_SHIFT			     0
2317 #define MADERA_OUT_VI_RAMP_WIDTH			     3
2318 
2319 /* (0x0410)  Output_Path_Config_1L */
2320 #define MADERA_OUT1_MONO				0x1000
2321 #define MADERA_OUT1_MONO_MASK				0x1000
2322 #define MADERA_OUT1_MONO_SHIFT				    12
2323 #define MADERA_OUT1_MONO_WIDTH				     1
2324 #define MADERA_OUT1L_ANC_SRC_MASK			0x0C00
2325 #define MADERA_OUT1L_ANC_SRC_SHIFT			    10
2326 #define MADERA_OUT1L_ANC_SRC_WIDTH			     2
2327 
2328 /* (0x0411)  DAC_Digital_Volume_1L */
2329 #define MADERA_OUT1L_VU					0x0200
2330 #define MADERA_OUT1L_VU_MASK				0x0200
2331 #define MADERA_OUT1L_VU_SHIFT				     9
2332 #define MADERA_OUT1L_VU_WIDTH				     1
2333 #define MADERA_OUT1L_MUTE				0x0100
2334 #define MADERA_OUT1L_MUTE_MASK				0x0100
2335 #define MADERA_OUT1L_MUTE_SHIFT				     8
2336 #define MADERA_OUT1L_MUTE_WIDTH				     1
2337 #define MADERA_OUT1L_VOL_MASK				0x00FF
2338 #define MADERA_OUT1L_VOL_SHIFT				     0
2339 #define MADERA_OUT1L_VOL_WIDTH				     8
2340 
2341 /* (0x0412)  Output_Path_Config_1 */
2342 #define MADERA_HP1_GND_SEL_MASK				0x0007
2343 #define MADERA_HP1_GND_SEL_SHIFT			     0
2344 #define MADERA_HP1_GND_SEL_WIDTH			     3
2345 
2346 /* (0x0414)  Output_Path_Config_1R */
2347 #define MADERA_OUT1R_ANC_SRC_MASK			0x0C00
2348 #define MADERA_OUT1R_ANC_SRC_SHIFT			    10
2349 #define MADERA_OUT1R_ANC_SRC_WIDTH			     2
2350 
2351 /* (0x0415)  DAC_Digital_Volume_1R */
2352 #define MADERA_OUT1R_MUTE				0x0100
2353 #define MADERA_OUT1R_MUTE_MASK				0x0100
2354 #define MADERA_OUT1R_MUTE_SHIFT				     8
2355 #define MADERA_OUT1R_MUTE_WIDTH				     1
2356 #define MADERA_OUT1R_VOL_MASK				0x00FF
2357 #define MADERA_OUT1R_VOL_SHIFT				     0
2358 #define MADERA_OUT1R_VOL_WIDTH				     8
2359 
2360 /* (0x0418)  Output_Path_Config_2L */
2361 #define MADERA_OUT2L_ANC_SRC_MASK			0x0C00
2362 #define MADERA_OUT2L_ANC_SRC_SHIFT			    10
2363 #define MADERA_OUT2L_ANC_SRC_WIDTH			     2
2364 
2365 /* (0x0419)  DAC_Digital_Volume_2L */
2366 #define MADERA_OUT2L_MUTE				0x0100
2367 #define MADERA_OUT2L_MUTE_MASK				0x0100
2368 #define MADERA_OUT2L_MUTE_SHIFT				     8
2369 #define MADERA_OUT2L_MUTE_WIDTH				     1
2370 #define MADERA_OUT2L_VOL_MASK				0x00FF
2371 #define MADERA_OUT2L_VOL_SHIFT				     0
2372 #define MADERA_OUT2L_VOL_WIDTH				     8
2373 
2374 /* (0x041A)  Output_Path_Config_2 */
2375 #define MADERA_HP2_GND_SEL_MASK				0x0007
2376 #define MADERA_HP2_GND_SEL_SHIFT			     0
2377 #define MADERA_HP2_GND_SEL_WIDTH			     3
2378 
2379 /* (0x041C)  Output_Path_Config_2R */
2380 #define MADERA_OUT2R_ANC_SRC_MASK			0x0C00
2381 #define MADERA_OUT2R_ANC_SRC_SHIFT			    10
2382 #define MADERA_OUT2R_ANC_SRC_WIDTH			     2
2383 
2384 /* (0x041D)  DAC_Digital_Volume_2R */
2385 #define MADERA_OUT2R_MUTE				0x0100
2386 #define MADERA_OUT2R_MUTE_MASK				0x0100
2387 #define MADERA_OUT2R_MUTE_SHIFT				     8
2388 #define MADERA_OUT2R_MUTE_WIDTH				     1
2389 #define MADERA_OUT2R_VOL_MASK				0x00FF
2390 #define MADERA_OUT2R_VOL_SHIFT				     0
2391 #define MADERA_OUT2R_VOL_WIDTH				     8
2392 
2393 /* (0x0420)  Output_Path_Config_3L */
2394 #define MADERA_OUT3L_ANC_SRC_MASK			0x0C00
2395 #define MADERA_OUT3L_ANC_SRC_SHIFT			    10
2396 #define MADERA_OUT3L_ANC_SRC_WIDTH			     2
2397 
2398 /* (0x0421)  DAC_Digital_Volume_3L */
2399 #define MADERA_OUT3L_MUTE				0x0100
2400 #define MADERA_OUT3L_MUTE_MASK				0x0100
2401 #define MADERA_OUT3L_MUTE_SHIFT				     8
2402 #define MADERA_OUT3L_MUTE_WIDTH				     1
2403 #define MADERA_OUT3L_VOL_MASK				0x00FF
2404 #define MADERA_OUT3L_VOL_SHIFT				     0
2405 #define MADERA_OUT3L_VOL_WIDTH				     8
2406 
2407 /* (0x0424)  Output_Path_Config_3R */
2408 #define MADERA_OUT3R_ANC_SRC_MASK			0x0C00
2409 #define MADERA_OUT3R_ANC_SRC_SHIFT			    10
2410 #define MADERA_OUT3R_ANC_SRC_WIDTH			     2
2411 
2412 /* (0x0425)  DAC_Digital_Volume_3R */
2413 #define MADERA_OUT3R_MUTE				0x0100
2414 #define MADERA_OUT3R_MUTE_MASK				0x0100
2415 #define MADERA_OUT3R_MUTE_SHIFT				     8
2416 #define MADERA_OUT3R_MUTE_WIDTH				     1
2417 #define MADERA_OUT3R_VOL_MASK				0x00FF
2418 #define MADERA_OUT3R_VOL_SHIFT				     0
2419 #define MADERA_OUT3R_VOL_WIDTH				     8
2420 
2421 /* (0x0428)  Output_Path_Config_4L */
2422 #define MADERA_OUT4L_ANC_SRC_MASK			0x0C00
2423 #define MADERA_OUT4L_ANC_SRC_SHIFT			    10
2424 #define MADERA_OUT4L_ANC_SRC_WIDTH			     2
2425 
2426 /* (0x0429)  DAC_Digital_Volume_4L */
2427 #define MADERA_OUT4L_MUTE				0x0100
2428 #define MADERA_OUT4L_MUTE_MASK				0x0100
2429 #define MADERA_OUT4L_MUTE_SHIFT				     8
2430 #define MADERA_OUT4L_MUTE_WIDTH				     1
2431 #define MADERA_OUT4L_VOL_MASK				0x00FF
2432 #define MADERA_OUT4L_VOL_SHIFT				     0
2433 #define MADERA_OUT4L_VOL_WIDTH				     8
2434 
2435 /* (0x042C)  Output_Path_Config_4R */
2436 #define MADERA_OUT4R_ANC_SRC_MASK			0x0C00
2437 #define MADERA_OUT4R_ANC_SRC_SHIFT			    10
2438 #define MADERA_OUT4R_ANC_SRC_WIDTH			     2
2439 
2440 /* (0x042D)  DAC_Digital_Volume_4R */
2441 #define MADERA_OUT4R_MUTE				0x0100
2442 #define MADERA_OUT4R_MUTE_MASK				0x0100
2443 #define MADERA_OUT4R_MUTE_SHIFT				     8
2444 #define MADERA_OUT4R_MUTE_WIDTH				     1
2445 #define MADERA_OUT4R_VOL_MASK				0x00FF
2446 #define MADERA_OUT4R_VOL_SHIFT				     0
2447 #define MADERA_OUT4R_VOL_WIDTH				     8
2448 
2449 /* (0x0430)  Output_Path_Config_5L */
2450 #define MADERA_OUT5_OSR					0x2000
2451 #define MADERA_OUT5_OSR_MASK				0x2000
2452 #define MADERA_OUT5_OSR_SHIFT				    13
2453 #define MADERA_OUT5_OSR_WIDTH				     1
2454 #define MADERA_OUT5L_ANC_SRC_MASK			0x0C00
2455 #define MADERA_OUT5L_ANC_SRC_SHIFT			    10
2456 #define MADERA_OUT5L_ANC_SRC_WIDTH			     2
2457 
2458 /* (0x0431)  DAC_Digital_Volume_5L */
2459 #define MADERA_OUT5L_MUTE				0x0100
2460 #define MADERA_OUT5L_MUTE_MASK				0x0100
2461 #define MADERA_OUT5L_MUTE_SHIFT				     8
2462 #define MADERA_OUT5L_MUTE_WIDTH				     1
2463 #define MADERA_OUT5L_VOL_MASK				0x00FF
2464 #define MADERA_OUT5L_VOL_SHIFT				     0
2465 #define MADERA_OUT5L_VOL_WIDTH				     8
2466 
2467 /* (0x0434)  Output_Path_Config_5R */
2468 #define MADERA_OUT5R_ANC_SRC_MASK			0x0C00
2469 #define MADERA_OUT5R_ANC_SRC_SHIFT			    10
2470 #define MADERA_OUT5R_ANC_SRC_WIDTH			     2
2471 
2472 /* (0x0435)  DAC_Digital_Volume_5R */
2473 #define MADERA_OUT5R_MUTE				0x0100
2474 #define MADERA_OUT5R_MUTE_MASK				0x0100
2475 #define MADERA_OUT5R_MUTE_SHIFT				     8
2476 #define MADERA_OUT5R_MUTE_WIDTH				     1
2477 #define MADERA_OUT5R_VOL_MASK				0x00FF
2478 #define MADERA_OUT5R_VOL_SHIFT				     0
2479 #define MADERA_OUT5R_VOL_WIDTH				     8
2480 
2481 /* (0x0438)  Output_Path_Config_6L */
2482 #define MADERA_OUT6_OSR					0x2000
2483 #define MADERA_OUT6_OSR_MASK				0x2000
2484 #define MADERA_OUT6_OSR_SHIFT				    13
2485 #define MADERA_OUT6_OSR_WIDTH				     1
2486 #define MADERA_OUT6L_ANC_SRC_MASK			0x0C00
2487 #define MADERA_OUT6L_ANC_SRC_SHIFT			    10
2488 #define MADERA_OUT6L_ANC_SRC_WIDTH			     2
2489 
2490 /* (0x0439)  DAC_Digital_Volume_6L */
2491 #define MADERA_OUT6L_MUTE				0x0100
2492 #define MADERA_OUT6L_MUTE_MASK				0x0100
2493 #define MADERA_OUT6L_MUTE_SHIFT				     8
2494 #define MADERA_OUT6L_MUTE_WIDTH				     1
2495 #define MADERA_OUT6L_VOL_MASK				0x00FF
2496 #define MADERA_OUT6L_VOL_SHIFT				     0
2497 #define MADERA_OUT6L_VOL_WIDTH				     8
2498 
2499 /* (0x043C)  Output_Path_Config_6R */
2500 #define MADERA_OUT6R_ANC_SRC_MASK			0x0C00
2501 #define MADERA_OUT6R_ANC_SRC_SHIFT			    10
2502 #define MADERA_OUT6R_ANC_SRC_WIDTH			     2
2503 
2504 /* (0x043D)  DAC_Digital_Volume_6R */
2505 #define MADERA_OUT6R_MUTE				0x0100
2506 #define MADERA_OUT6R_MUTE_MASK				0x0100
2507 #define MADERA_OUT6R_MUTE_SHIFT				     8
2508 #define MADERA_OUT6R_MUTE_WIDTH				     1
2509 #define MADERA_OUT6R_VOL_MASK				0x00FF
2510 #define MADERA_OUT6R_VOL_SHIFT				     0
2511 #define MADERA_OUT6R_VOL_WIDTH				     8
2512 
2513 /* (0x0450) - DAC AEC Control 1 */
2514 #define MADERA_AEC1_LOOPBACK_SRC_MASK			0x003C
2515 #define MADERA_AEC1_LOOPBACK_SRC_SHIFT			     2
2516 #define MADERA_AEC1_LOOPBACK_SRC_WIDTH			     4
2517 #define MADERA_AEC1_ENA_STS				0x0002
2518 #define MADERA_AEC1_ENA_STS_MASK			0x0002
2519 #define MADERA_AEC1_ENA_STS_SHIFT			     1
2520 #define MADERA_AEC1_ENA_STS_WIDTH			     1
2521 #define MADERA_AEC1_LOOPBACK_ENA			0x0001
2522 #define MADERA_AEC1_LOOPBACK_ENA_MASK			0x0001
2523 #define MADERA_AEC1_LOOPBACK_ENA_SHIFT			     0
2524 #define MADERA_AEC1_LOOPBACK_ENA_WIDTH			     1
2525 
2526 /* (0x0451)  DAC_AEC_Control_2 */
2527 #define MADERA_AEC2_LOOPBACK_SRC_MASK			0x003C
2528 #define MADERA_AEC2_LOOPBACK_SRC_SHIFT			     2
2529 #define MADERA_AEC2_LOOPBACK_SRC_WIDTH			     4
2530 #define MADERA_AEC2_ENA_STS				0x0002
2531 #define MADERA_AEC2_ENA_STS_MASK			0x0002
2532 #define MADERA_AEC2_ENA_STS_SHIFT			     1
2533 #define MADERA_AEC2_ENA_STS_WIDTH			     1
2534 #define MADERA_AEC2_LOOPBACK_ENA			0x0001
2535 #define MADERA_AEC2_LOOPBACK_ENA_MASK			0x0001
2536 #define MADERA_AEC2_LOOPBACK_ENA_SHIFT			     0
2537 #define MADERA_AEC2_LOOPBACK_ENA_WIDTH			     1
2538 
2539 /* (0x0458)  Noise_Gate_Control */
2540 #define MADERA_NGATE_HOLD_MASK				0x0030
2541 #define MADERA_NGATE_HOLD_SHIFT				     4
2542 #define MADERA_NGATE_HOLD_WIDTH				     2
2543 #define MADERA_NGATE_THR_MASK				0x000E
2544 #define MADERA_NGATE_THR_SHIFT				     1
2545 #define MADERA_NGATE_THR_WIDTH				     3
2546 #define MADERA_NGATE_ENA				0x0001
2547 #define MADERA_NGATE_ENA_MASK				0x0001
2548 #define MADERA_NGATE_ENA_SHIFT				     0
2549 #define MADERA_NGATE_ENA_WIDTH				     1
2550 
2551 /* (0x0490)  PDM_SPK1_CTRL_1 */
2552 #define MADERA_SPK1R_MUTE				0x2000
2553 #define MADERA_SPK1R_MUTE_MASK				0x2000
2554 #define MADERA_SPK1R_MUTE_SHIFT				    13
2555 #define MADERA_SPK1R_MUTE_WIDTH				     1
2556 #define MADERA_SPK1L_MUTE				0x1000
2557 #define MADERA_SPK1L_MUTE_MASK				0x1000
2558 #define MADERA_SPK1L_MUTE_SHIFT				    12
2559 #define MADERA_SPK1L_MUTE_WIDTH				     1
2560 #define MADERA_SPK1_MUTE_ENDIAN				0x0100
2561 #define MADERA_SPK1_MUTE_ENDIAN_MASK			0x0100
2562 #define MADERA_SPK1_MUTE_ENDIAN_SHIFT			     8
2563 #define MADERA_SPK1_MUTE_ENDIAN_WIDTH			     1
2564 #define MADERA_SPK1_MUTE_SEQ1_MASK			0x00FF
2565 #define MADERA_SPK1_MUTE_SEQ1_SHIFT			     0
2566 #define MADERA_SPK1_MUTE_SEQ1_WIDTH			     8
2567 
2568 /* (0x0491)  PDM_SPK1_CTRL_2 */
2569 #define MADERA_SPK1_FMT					0x0001
2570 #define MADERA_SPK1_FMT_MASK				0x0001
2571 #define MADERA_SPK1_FMT_SHIFT				     0
2572 #define MADERA_SPK1_FMT_WIDTH				     1
2573 
2574 /* (0x0492)  PDM_SPK2_CTRL_1 */
2575 #define MADERA_SPK2R_MUTE				0x2000
2576 #define MADERA_SPK2R_MUTE_MASK				0x2000
2577 #define MADERA_SPK2R_MUTE_SHIFT				    13
2578 #define MADERA_SPK2R_MUTE_WIDTH				     1
2579 #define MADERA_SPK2L_MUTE				0x1000
2580 #define MADERA_SPK2L_MUTE_MASK				0x1000
2581 #define MADERA_SPK2L_MUTE_SHIFT				    12
2582 #define MADERA_SPK2L_MUTE_WIDTH				     1
2583 
2584 /* (0x04A0) - HP1 Short Circuit Ctrl */
2585 #define MADERA_HP1_SC_ENA				0x1000
2586 #define MADERA_HP1_SC_ENA_MASK				0x1000
2587 #define MADERA_HP1_SC_ENA_SHIFT				    12
2588 #define MADERA_HP1_SC_ENA_WIDTH				     1
2589 
2590 /* (0x04A1) - HP2 Short Circuit Ctrl */
2591 #define MADERA_HP2_SC_ENA				0x1000
2592 #define MADERA_HP2_SC_ENA_MASK				0x1000
2593 #define MADERA_HP2_SC_ENA_SHIFT				    12
2594 #define MADERA_HP2_SC_ENA_WIDTH				     1
2595 
2596 /* (0x04A2) - HP3 Short Circuit Ctrl */
2597 #define MADERA_HP3_SC_ENA				0x1000
2598 #define MADERA_HP3_SC_ENA_MASK				0x1000
2599 #define MADERA_HP3_SC_ENA_SHIFT				    12
2600 #define MADERA_HP3_SC_ENA_WIDTH				     1
2601 
2602 /* (0x04A8) - HP_Test_Ctrl_5 */
2603 #define MADERA_HP1L_ONEFLT				0x0100
2604 #define MADERA_HP1L_ONEFLT_MASK				0x0100
2605 #define MADERA_HP1L_ONEFLT_SHIFT			     8
2606 #define MADERA_HP1L_ONEFLT_WIDTH			     1
2607 
2608 /* (0x04A9) - HP_Test_Ctrl_6 */
2609 #define MADERA_HP1R_ONEFLT				0x0100
2610 #define MADERA_HP1R_ONEFLT_MASK				0x0100
2611 #define MADERA_HP1R_ONEFLT_SHIFT			     8
2612 #define MADERA_HP1R_ONEFLT_WIDTH			     1
2613 
2614 /* (0x0500)  AIF1_BCLK_Ctrl */
2615 #define MADERA_AIF1_BCLK_INV				0x0080
2616 #define MADERA_AIF1_BCLK_INV_MASK			0x0080
2617 #define MADERA_AIF1_BCLK_INV_SHIFT			     7
2618 #define MADERA_AIF1_BCLK_INV_WIDTH			     1
2619 #define MADERA_AIF1_BCLK_MSTR				0x0020
2620 #define MADERA_AIF1_BCLK_MSTR_MASK			0x0020
2621 #define MADERA_AIF1_BCLK_MSTR_SHIFT			     5
2622 #define MADERA_AIF1_BCLK_MSTR_WIDTH			     1
2623 #define MADERA_AIF1_BCLK_FREQ_MASK			0x001F
2624 #define MADERA_AIF1_BCLK_FREQ_SHIFT			     0
2625 #define MADERA_AIF1_BCLK_FREQ_WIDTH			     5
2626 
2627 /* (0x0501)  AIF1_Tx_Pin_Ctrl */
2628 #define MADERA_AIF1TX_LRCLK_SRC				0x0008
2629 #define MADERA_AIF1TX_LRCLK_SRC_MASK			0x0008
2630 #define MADERA_AIF1TX_LRCLK_SRC_SHIFT			     3
2631 #define MADERA_AIF1TX_LRCLK_SRC_WIDTH			     1
2632 #define MADERA_AIF1TX_LRCLK_INV				0x0004
2633 #define MADERA_AIF1TX_LRCLK_INV_MASK			0x0004
2634 #define MADERA_AIF1TX_LRCLK_INV_SHIFT			     2
2635 #define MADERA_AIF1TX_LRCLK_INV_WIDTH			     1
2636 #define MADERA_AIF1TX_LRCLK_MSTR			0x0001
2637 #define MADERA_AIF1TX_LRCLK_MSTR_MASK			0x0001
2638 #define MADERA_AIF1TX_LRCLK_MSTR_SHIFT			     0
2639 #define MADERA_AIF1TX_LRCLK_MSTR_WIDTH			     1
2640 
2641 /* (0x0502)  AIF1_Rx_Pin_Ctrl */
2642 #define MADERA_AIF1RX_LRCLK_INV				0x0004
2643 #define MADERA_AIF1RX_LRCLK_INV_MASK			0x0004
2644 #define MADERA_AIF1RX_LRCLK_INV_SHIFT			     2
2645 #define MADERA_AIF1RX_LRCLK_INV_WIDTH			     1
2646 #define MADERA_AIF1RX_LRCLK_FRC				0x0002
2647 #define MADERA_AIF1RX_LRCLK_FRC_MASK			0x0002
2648 #define MADERA_AIF1RX_LRCLK_FRC_SHIFT			     1
2649 #define MADERA_AIF1RX_LRCLK_FRC_WIDTH			     1
2650 #define MADERA_AIF1RX_LRCLK_MSTR			0x0001
2651 #define MADERA_AIF1RX_LRCLK_MSTR_MASK			0x0001
2652 #define MADERA_AIF1RX_LRCLK_MSTR_SHIFT			     0
2653 #define MADERA_AIF1RX_LRCLK_MSTR_WIDTH			     1
2654 
2655 /* (0x0503)  AIF1_Rate_Ctrl */
2656 #define MADERA_AIF1_RATE_MASK				0xF800
2657 #define MADERA_AIF1_RATE_SHIFT				    11
2658 #define MADERA_AIF1_RATE_WIDTH				     5
2659 #define MADERA_AIF1_TRI					0x0040
2660 #define MADERA_AIF1_TRI_MASK				0x0040
2661 #define MADERA_AIF1_TRI_SHIFT				     6
2662 #define MADERA_AIF1_TRI_WIDTH				     1
2663 
2664 /* (0x0504)  AIF1_Format */
2665 #define MADERA_AIF1_FMT_MASK				0x0007
2666 #define MADERA_AIF1_FMT_SHIFT				     0
2667 #define MADERA_AIF1_FMT_WIDTH				     3
2668 
2669 /* (0x0506)  AIF1_Rx_BCLK_Rate */
2670 #define MADERA_AIF1RX_BCPF_MASK				0x1FFF
2671 #define MADERA_AIF1RX_BCPF_SHIFT			     0
2672 #define MADERA_AIF1RX_BCPF_WIDTH			    13
2673 
2674 /* (0x0507)  AIF1_Frame_Ctrl_1 */
2675 #define MADERA_AIF1TX_WL_MASK				0x3F00
2676 #define MADERA_AIF1TX_WL_SHIFT				     8
2677 #define MADERA_AIF1TX_WL_WIDTH				     6
2678 #define MADERA_AIF1TX_SLOT_LEN_MASK			0x00FF
2679 #define MADERA_AIF1TX_SLOT_LEN_SHIFT			     0
2680 #define MADERA_AIF1TX_SLOT_LEN_WIDTH			     8
2681 
2682 /* (0x0508)  AIF1_Frame_Ctrl_2 */
2683 #define MADERA_AIF1RX_WL_MASK				0x3F00
2684 #define MADERA_AIF1RX_WL_SHIFT				     8
2685 #define MADERA_AIF1RX_WL_WIDTH				     6
2686 #define MADERA_AIF1RX_SLOT_LEN_MASK			0x00FF
2687 #define MADERA_AIF1RX_SLOT_LEN_SHIFT			     0
2688 #define MADERA_AIF1RX_SLOT_LEN_WIDTH			     8
2689 
2690 /* (0x0509)  AIF1_Frame_Ctrl_3 */
2691 #define MADERA_AIF1TX1_SLOT_MASK			0x003F
2692 #define MADERA_AIF1TX1_SLOT_SHIFT			     0
2693 #define MADERA_AIF1TX1_SLOT_WIDTH			     6
2694 
2695 /* (0x0519)  AIF1_Tx_Enables */
2696 #define MADERA_AIF1TX8_ENA				0x0080
2697 #define MADERA_AIF1TX8_ENA_MASK				0x0080
2698 #define MADERA_AIF1TX8_ENA_SHIFT			     7
2699 #define MADERA_AIF1TX8_ENA_WIDTH			     1
2700 #define MADERA_AIF1TX7_ENA				0x0040
2701 #define MADERA_AIF1TX7_ENA_MASK				0x0040
2702 #define MADERA_AIF1TX7_ENA_SHIFT			     6
2703 #define MADERA_AIF1TX7_ENA_WIDTH			     1
2704 #define MADERA_AIF1TX6_ENA				0x0020
2705 #define MADERA_AIF1TX6_ENA_MASK				0x0020
2706 #define MADERA_AIF1TX6_ENA_SHIFT			     5
2707 #define MADERA_AIF1TX6_ENA_WIDTH			     1
2708 #define MADERA_AIF1TX5_ENA				0x0010
2709 #define MADERA_AIF1TX5_ENA_MASK				0x0010
2710 #define MADERA_AIF1TX5_ENA_SHIFT			     4
2711 #define MADERA_AIF1TX5_ENA_WIDTH			     1
2712 #define MADERA_AIF1TX4_ENA				0x0008
2713 #define MADERA_AIF1TX4_ENA_MASK				0x0008
2714 #define MADERA_AIF1TX4_ENA_SHIFT			     3
2715 #define MADERA_AIF1TX4_ENA_WIDTH			     1
2716 #define MADERA_AIF1TX3_ENA				0x0004
2717 #define MADERA_AIF1TX3_ENA_MASK				0x0004
2718 #define MADERA_AIF1TX3_ENA_SHIFT			     2
2719 #define MADERA_AIF1TX3_ENA_WIDTH			     1
2720 #define MADERA_AIF1TX2_ENA				0x0002
2721 #define MADERA_AIF1TX2_ENA_MASK				0x0002
2722 #define MADERA_AIF1TX2_ENA_SHIFT			     1
2723 #define MADERA_AIF1TX2_ENA_WIDTH			     1
2724 #define MADERA_AIF1TX1_ENA				0x0001
2725 #define MADERA_AIF1TX1_ENA_MASK				0x0001
2726 #define MADERA_AIF1TX1_ENA_SHIFT			     0
2727 #define MADERA_AIF1TX1_ENA_WIDTH			     1
2728 
2729 /* (0x051A)  AIF1_Rx_Enables */
2730 #define MADERA_AIF1RX8_ENA				0x0080
2731 #define MADERA_AIF1RX8_ENA_MASK				0x0080
2732 #define MADERA_AIF1RX8_ENA_SHIFT			     7
2733 #define MADERA_AIF1RX8_ENA_WIDTH			     1
2734 #define MADERA_AIF1RX7_ENA				0x0040
2735 #define MADERA_AIF1RX7_ENA_MASK				0x0040
2736 #define MADERA_AIF1RX7_ENA_SHIFT			     6
2737 #define MADERA_AIF1RX7_ENA_WIDTH			     1
2738 #define MADERA_AIF1RX6_ENA				0x0020
2739 #define MADERA_AIF1RX6_ENA_MASK				0x0020
2740 #define MADERA_AIF1RX6_ENA_SHIFT			     5
2741 #define MADERA_AIF1RX6_ENA_WIDTH			     1
2742 #define MADERA_AIF1RX5_ENA				0x0010
2743 #define MADERA_AIF1RX5_ENA_MASK				0x0010
2744 #define MADERA_AIF1RX5_ENA_SHIFT			     4
2745 #define MADERA_AIF1RX5_ENA_WIDTH			     1
2746 #define MADERA_AIF1RX4_ENA				0x0008
2747 #define MADERA_AIF1RX4_ENA_MASK				0x0008
2748 #define MADERA_AIF1RX4_ENA_SHIFT			     3
2749 #define MADERA_AIF1RX4_ENA_WIDTH			     1
2750 #define MADERA_AIF1RX3_ENA				0x0004
2751 #define MADERA_AIF1RX3_ENA_MASK				0x0004
2752 #define MADERA_AIF1RX3_ENA_SHIFT			     2
2753 #define MADERA_AIF1RX3_ENA_WIDTH			     1
2754 #define MADERA_AIF1RX2_ENA				0x0002
2755 #define MADERA_AIF1RX2_ENA_MASK				0x0002
2756 #define MADERA_AIF1RX2_ENA_SHIFT			     1
2757 #define MADERA_AIF1RX2_ENA_WIDTH			     1
2758 #define MADERA_AIF1RX1_ENA				0x0001
2759 #define MADERA_AIF1RX1_ENA_MASK				0x0001
2760 #define MADERA_AIF1RX1_ENA_SHIFT			     0
2761 #define MADERA_AIF1RX1_ENA_WIDTH			     1
2762 
2763 /* (0x0559)  AIF2_Tx_Enables */
2764 #define MADERA_AIF2TX8_ENA				0x0080
2765 #define MADERA_AIF2TX8_ENA_MASK				0x0080
2766 #define MADERA_AIF2TX8_ENA_SHIFT			     7
2767 #define MADERA_AIF2TX8_ENA_WIDTH			     1
2768 #define MADERA_AIF2TX7_ENA				0x0040
2769 #define MADERA_AIF2TX7_ENA_MASK				0x0040
2770 #define MADERA_AIF2TX7_ENA_SHIFT			     6
2771 #define MADERA_AIF2TX7_ENA_WIDTH			     1
2772 #define MADERA_AIF2TX6_ENA				0x0020
2773 #define MADERA_AIF2TX6_ENA_MASK				0x0020
2774 #define MADERA_AIF2TX6_ENA_SHIFT			     5
2775 #define MADERA_AIF2TX6_ENA_WIDTH			     1
2776 #define MADERA_AIF2TX5_ENA				0x0010
2777 #define MADERA_AIF2TX5_ENA_MASK				0x0010
2778 #define MADERA_AIF2TX5_ENA_SHIFT			     4
2779 #define MADERA_AIF2TX5_ENA_WIDTH			     1
2780 #define MADERA_AIF2TX4_ENA				0x0008
2781 #define MADERA_AIF2TX4_ENA_MASK				0x0008
2782 #define MADERA_AIF2TX4_ENA_SHIFT			     3
2783 #define MADERA_AIF2TX4_ENA_WIDTH			     1
2784 #define MADERA_AIF2TX3_ENA				0x0004
2785 #define MADERA_AIF2TX3_ENA_MASK				0x0004
2786 #define MADERA_AIF2TX3_ENA_SHIFT			     2
2787 #define MADERA_AIF2TX3_ENA_WIDTH			     1
2788 #define MADERA_AIF2TX2_ENA				0x0002
2789 #define MADERA_AIF2TX2_ENA_MASK				0x0002
2790 #define MADERA_AIF2TX2_ENA_SHIFT			     1
2791 #define MADERA_AIF2TX2_ENA_WIDTH			     1
2792 #define MADERA_AIF2TX1_ENA				0x0001
2793 #define MADERA_AIF2TX1_ENA_MASK				0x0001
2794 #define MADERA_AIF2TX1_ENA_SHIFT			     0
2795 #define MADERA_AIF2TX1_ENA_WIDTH			     1
2796 
2797 /* (0x055A)  AIF2_Rx_Enables */
2798 #define MADERA_AIF2RX8_ENA				0x0080
2799 #define MADERA_AIF2RX8_ENA_MASK				0x0080
2800 #define MADERA_AIF2RX8_ENA_SHIFT			     7
2801 #define MADERA_AIF2RX8_ENA_WIDTH			     1
2802 #define MADERA_AIF2RX7_ENA				0x0040
2803 #define MADERA_AIF2RX7_ENA_MASK				0x0040
2804 #define MADERA_AIF2RX7_ENA_SHIFT			     6
2805 #define MADERA_AIF2RX7_ENA_WIDTH			     1
2806 #define MADERA_AIF2RX6_ENA				0x0020
2807 #define MADERA_AIF2RX6_ENA_MASK				0x0020
2808 #define MADERA_AIF2RX6_ENA_SHIFT			     5
2809 #define MADERA_AIF2RX6_ENA_WIDTH			     1
2810 #define MADERA_AIF2RX5_ENA				0x0010
2811 #define MADERA_AIF2RX5_ENA_MASK				0x0010
2812 #define MADERA_AIF2RX5_ENA_SHIFT			     4
2813 #define MADERA_AIF2RX5_ENA_WIDTH			     1
2814 #define MADERA_AIF2RX4_ENA				0x0008
2815 #define MADERA_AIF2RX4_ENA_MASK				0x0008
2816 #define MADERA_AIF2RX4_ENA_SHIFT			     3
2817 #define MADERA_AIF2RX4_ENA_WIDTH			     1
2818 #define MADERA_AIF2RX3_ENA				0x0004
2819 #define MADERA_AIF2RX3_ENA_MASK				0x0004
2820 #define MADERA_AIF2RX3_ENA_SHIFT			     2
2821 #define MADERA_AIF2RX3_ENA_WIDTH			     1
2822 #define MADERA_AIF2RX2_ENA				0x0002
2823 #define MADERA_AIF2RX2_ENA_MASK				0x0002
2824 #define MADERA_AIF2RX2_ENA_SHIFT			     1
2825 #define MADERA_AIF2RX2_ENA_WIDTH			     1
2826 #define MADERA_AIF2RX1_ENA				0x0001
2827 #define MADERA_AIF2RX1_ENA_MASK				0x0001
2828 #define MADERA_AIF2RX1_ENA_SHIFT			     0
2829 #define MADERA_AIF2RX1_ENA_WIDTH			     1
2830 
2831 /* (0x0599)  AIF3_Tx_Enables */
2832 #define MADERA_AIF3TX2_ENA				0x0002
2833 #define MADERA_AIF3TX2_ENA_MASK				0x0002
2834 #define MADERA_AIF3TX2_ENA_SHIFT			     1
2835 #define MADERA_AIF3TX2_ENA_WIDTH			     1
2836 #define MADERA_AIF3TX1_ENA				0x0001
2837 #define MADERA_AIF3TX1_ENA_MASK				0x0001
2838 #define MADERA_AIF3TX1_ENA_SHIFT			     0
2839 #define MADERA_AIF3TX1_ENA_WIDTH			     1
2840 
2841 /* (0x059A)  AIF3_Rx_Enables */
2842 #define MADERA_AIF3RX2_ENA				0x0002
2843 #define MADERA_AIF3RX2_ENA_MASK				0x0002
2844 #define MADERA_AIF3RX2_ENA_SHIFT			     1
2845 #define MADERA_AIF3RX2_ENA_WIDTH			     1
2846 #define MADERA_AIF3RX1_ENA				0x0001
2847 #define MADERA_AIF3RX1_ENA_MASK				0x0001
2848 #define MADERA_AIF3RX1_ENA_SHIFT			     0
2849 #define MADERA_AIF3RX1_ENA_WIDTH			     1
2850 
2851 /* (0x05B9)  AIF4_Tx_Enables */
2852 #define MADERA_AIF4TX2_ENA				0x0002
2853 #define MADERA_AIF4TX2_ENA_MASK				0x0002
2854 #define MADERA_AIF4TX2_ENA_SHIFT			     1
2855 #define MADERA_AIF4TX2_ENA_WIDTH			     1
2856 #define MADERA_AIF4TX1_ENA				0x0001
2857 #define MADERA_AIF4TX1_ENA_MASK				0x0001
2858 #define MADERA_AIF4TX1_ENA_SHIFT			     0
2859 #define MADERA_AIF4TX1_ENA_WIDTH			     1
2860 
2861 /* (0x05BA)  AIF4_Rx_Enables */
2862 #define MADERA_AIF4RX2_ENA				0x0002
2863 #define MADERA_AIF4RX2_ENA_MASK				0x0002
2864 #define MADERA_AIF4RX2_ENA_SHIFT			     1
2865 #define MADERA_AIF4RX2_ENA_WIDTH			     1
2866 #define MADERA_AIF4RX1_ENA				0x0001
2867 #define MADERA_AIF4RX1_ENA_MASK				0x0001
2868 #define MADERA_AIF4RX1_ENA_SHIFT			     0
2869 #define MADERA_AIF4RX1_ENA_WIDTH			     1
2870 
2871 /* (0x05C2)  SPD1_TX_Control */
2872 #define MADERA_SPD1_VAL2				0x2000
2873 #define MADERA_SPD1_VAL2_MASK				0x2000
2874 #define MADERA_SPD1_VAL2_SHIFT				    13
2875 #define MADERA_SPD1_VAL2_WIDTH				     1
2876 #define MADERA_SPD1_VAL1				0x1000
2877 #define MADERA_SPD1_VAL1_MASK				0x1000
2878 #define MADERA_SPD1_VAL1_SHIFT				    12
2879 #define MADERA_SPD1_VAL1_WIDTH				     1
2880 #define MADERA_SPD1_RATE_MASK				0x00F0
2881 #define MADERA_SPD1_RATE_SHIFT				     4
2882 #define MADERA_SPD1_RATE_WIDTH				     4
2883 #define MADERA_SPD1_ENA					0x0001
2884 #define MADERA_SPD1_ENA_MASK				0x0001
2885 #define MADERA_SPD1_ENA_SHIFT				     0
2886 #define MADERA_SPD1_ENA_WIDTH				     1
2887 
2888 /* (0x05F5)  SLIMbus_RX_Channel_Enable */
2889 #define MADERA_SLIMRX8_ENA				0x0080
2890 #define MADERA_SLIMRX8_ENA_MASK				0x0080
2891 #define MADERA_SLIMRX8_ENA_SHIFT			     7
2892 #define MADERA_SLIMRX8_ENA_WIDTH			     1
2893 #define MADERA_SLIMRX7_ENA				0x0040
2894 #define MADERA_SLIMRX7_ENA_MASK				0x0040
2895 #define MADERA_SLIMRX7_ENA_SHIFT			     6
2896 #define MADERA_SLIMRX7_ENA_WIDTH			     1
2897 #define MADERA_SLIMRX6_ENA				0x0020
2898 #define MADERA_SLIMRX6_ENA_MASK				0x0020
2899 #define MADERA_SLIMRX6_ENA_SHIFT			     5
2900 #define MADERA_SLIMRX6_ENA_WIDTH			     1
2901 #define MADERA_SLIMRX5_ENA				0x0010
2902 #define MADERA_SLIMRX5_ENA_MASK				0x0010
2903 #define MADERA_SLIMRX5_ENA_SHIFT			     4
2904 #define MADERA_SLIMRX5_ENA_WIDTH			     1
2905 #define MADERA_SLIMRX4_ENA				0x0008
2906 #define MADERA_SLIMRX4_ENA_MASK				0x0008
2907 #define MADERA_SLIMRX4_ENA_SHIFT			     3
2908 #define MADERA_SLIMRX4_ENA_WIDTH			     1
2909 #define MADERA_SLIMRX3_ENA				0x0004
2910 #define MADERA_SLIMRX3_ENA_MASK				0x0004
2911 #define MADERA_SLIMRX3_ENA_SHIFT			     2
2912 #define MADERA_SLIMRX3_ENA_WIDTH			     1
2913 #define MADERA_SLIMRX2_ENA				0x0002
2914 #define MADERA_SLIMRX2_ENA_MASK				0x0002
2915 #define MADERA_SLIMRX2_ENA_SHIFT			     1
2916 #define MADERA_SLIMRX2_ENA_WIDTH			     1
2917 #define MADERA_SLIMRX1_ENA				0x0001
2918 #define MADERA_SLIMRX1_ENA_MASK				0x0001
2919 #define MADERA_SLIMRX1_ENA_SHIFT			     0
2920 #define MADERA_SLIMRX1_ENA_WIDTH			     1
2921 
2922 /* (0x05F6)  SLIMbus_TX_Channel_Enable */
2923 #define MADERA_SLIMTX8_ENA				0x0080
2924 #define MADERA_SLIMTX8_ENA_MASK				0x0080
2925 #define MADERA_SLIMTX8_ENA_SHIFT			     7
2926 #define MADERA_SLIMTX8_ENA_WIDTH			     1
2927 #define MADERA_SLIMTX7_ENA				0x0040
2928 #define MADERA_SLIMTX7_ENA_MASK				0x0040
2929 #define MADERA_SLIMTX7_ENA_SHIFT			     6
2930 #define MADERA_SLIMTX7_ENA_WIDTH			     1
2931 #define MADERA_SLIMTX6_ENA				0x0020
2932 #define MADERA_SLIMTX6_ENA_MASK				0x0020
2933 #define MADERA_SLIMTX6_ENA_SHIFT			     5
2934 #define MADERA_SLIMTX6_ENA_WIDTH			     1
2935 #define MADERA_SLIMTX5_ENA				0x0010
2936 #define MADERA_SLIMTX5_ENA_MASK				0x0010
2937 #define MADERA_SLIMTX5_ENA_SHIFT			     4
2938 #define MADERA_SLIMTX5_ENA_WIDTH			     1
2939 #define MADERA_SLIMTX4_ENA				0x0008
2940 #define MADERA_SLIMTX4_ENA_MASK				0x0008
2941 #define MADERA_SLIMTX4_ENA_SHIFT			     3
2942 #define MADERA_SLIMTX4_ENA_WIDTH			     1
2943 #define MADERA_SLIMTX3_ENA				0x0004
2944 #define MADERA_SLIMTX3_ENA_MASK				0x0004
2945 #define MADERA_SLIMTX3_ENA_SHIFT			     2
2946 #define MADERA_SLIMTX3_ENA_WIDTH			     1
2947 #define MADERA_SLIMTX2_ENA				0x0002
2948 #define MADERA_SLIMTX2_ENA_MASK				0x0002
2949 #define MADERA_SLIMTX2_ENA_SHIFT			     1
2950 #define MADERA_SLIMTX2_ENA_WIDTH			     1
2951 #define MADERA_SLIMTX1_ENA				0x0001
2952 #define MADERA_SLIMTX1_ENA_MASK				0x0001
2953 #define MADERA_SLIMTX1_ENA_SHIFT			     0
2954 #define MADERA_SLIMTX1_ENA_WIDTH			     1
2955 
2956 /* (0x0E10)  EQ1_1 */
2957 #define MADERA_EQ1_B1_GAIN_MASK				0xF800
2958 #define MADERA_EQ1_B1_GAIN_SHIFT			    11
2959 #define MADERA_EQ1_B1_GAIN_WIDTH			     5
2960 #define MADERA_EQ1_B2_GAIN_MASK				0x07C0
2961 #define MADERA_EQ1_B2_GAIN_SHIFT			     6
2962 #define MADERA_EQ1_B2_GAIN_WIDTH			     5
2963 #define MADERA_EQ1_B3_GAIN_MASK				0x003E
2964 #define MADERA_EQ1_B3_GAIN_SHIFT			     1
2965 #define MADERA_EQ1_B3_GAIN_WIDTH			     5
2966 #define MADERA_EQ1_ENA					0x0001
2967 #define MADERA_EQ1_ENA_MASK				0x0001
2968 #define MADERA_EQ1_ENA_SHIFT				     0
2969 #define MADERA_EQ1_ENA_WIDTH				     1
2970 
2971 /* (0x0E11)  EQ1_2 */
2972 #define MADERA_EQ1_B4_GAIN_MASK				0xF800
2973 #define MADERA_EQ1_B4_GAIN_SHIFT			    11
2974 #define MADERA_EQ1_B4_GAIN_WIDTH			     5
2975 #define MADERA_EQ1_B5_GAIN_MASK				0x07C0
2976 #define MADERA_EQ1_B5_GAIN_SHIFT			     6
2977 #define MADERA_EQ1_B5_GAIN_WIDTH			     5
2978 #define MADERA_EQ1_B1_MODE				0x0001
2979 #define MADERA_EQ1_B1_MODE_MASK				0x0001
2980 #define MADERA_EQ1_B1_MODE_SHIFT			     0
2981 #define MADERA_EQ1_B1_MODE_WIDTH			     1
2982 
2983 /* (0x0E26)  EQ2_1 */
2984 #define MADERA_EQ2_B1_GAIN_MASK				0xF800
2985 #define MADERA_EQ2_B1_GAIN_SHIFT			    11
2986 #define MADERA_EQ2_B1_GAIN_WIDTH			     5
2987 #define MADERA_EQ2_B2_GAIN_MASK				0x07C0
2988 #define MADERA_EQ2_B2_GAIN_SHIFT			     6
2989 #define MADERA_EQ2_B2_GAIN_WIDTH			     5
2990 #define MADERA_EQ2_B3_GAIN_MASK				0x003E
2991 #define MADERA_EQ2_B3_GAIN_SHIFT			     1
2992 #define MADERA_EQ2_B3_GAIN_WIDTH			     5
2993 #define MADERA_EQ2_ENA					0x0001
2994 #define MADERA_EQ2_ENA_MASK				0x0001
2995 #define MADERA_EQ2_ENA_SHIFT				     0
2996 #define MADERA_EQ2_ENA_WIDTH				     1
2997 
2998 /* (0x0E27)  EQ2_2 */
2999 #define MADERA_EQ2_B4_GAIN_MASK				0xF800
3000 #define MADERA_EQ2_B4_GAIN_SHIFT			    11
3001 #define MADERA_EQ2_B4_GAIN_WIDTH			     5
3002 #define MADERA_EQ2_B5_GAIN_MASK				0x07C0
3003 #define MADERA_EQ2_B5_GAIN_SHIFT			     6
3004 #define MADERA_EQ2_B5_GAIN_WIDTH			     5
3005 #define MADERA_EQ2_B1_MODE				0x0001
3006 #define MADERA_EQ2_B1_MODE_MASK				0x0001
3007 #define MADERA_EQ2_B1_MODE_SHIFT			     0
3008 #define MADERA_EQ2_B1_MODE_WIDTH			     1
3009 
3010 /* (0x0E3C)  EQ3_1 */
3011 #define MADERA_EQ3_B1_GAIN_MASK				0xF800
3012 #define MADERA_EQ3_B1_GAIN_SHIFT			    11
3013 #define MADERA_EQ3_B1_GAIN_WIDTH			     5
3014 #define MADERA_EQ3_B2_GAIN_MASK				0x07C0
3015 #define MADERA_EQ3_B2_GAIN_SHIFT			     6
3016 #define MADERA_EQ3_B2_GAIN_WIDTH			     5
3017 #define MADERA_EQ3_B3_GAIN_MASK				0x003E
3018 #define MADERA_EQ3_B3_GAIN_SHIFT			     1
3019 #define MADERA_EQ3_B3_GAIN_WIDTH			     5
3020 #define MADERA_EQ3_ENA					0x0001
3021 #define MADERA_EQ3_ENA_MASK				0x0001
3022 #define MADERA_EQ3_ENA_SHIFT				     0
3023 #define MADERA_EQ3_ENA_WIDTH				     1
3024 
3025 /* (0x0E3D)  EQ3_2 */
3026 #define MADERA_EQ3_B4_GAIN_MASK				0xF800
3027 #define MADERA_EQ3_B4_GAIN_SHIFT			    11
3028 #define MADERA_EQ3_B4_GAIN_WIDTH			     5
3029 #define MADERA_EQ3_B5_GAIN_MASK				0x07C0
3030 #define MADERA_EQ3_B5_GAIN_SHIFT			     6
3031 #define MADERA_EQ3_B5_GAIN_WIDTH			     5
3032 #define MADERA_EQ3_B1_MODE				0x0001
3033 #define MADERA_EQ3_B1_MODE_MASK				0x0001
3034 #define MADERA_EQ3_B1_MODE_SHIFT			     0
3035 #define MADERA_EQ3_B1_MODE_WIDTH			     1
3036 
3037 /* (0x0E52)  EQ4_1 */
3038 #define MADERA_EQ4_B1_GAIN_MASK				0xF800
3039 #define MADERA_EQ4_B1_GAIN_SHIFT			    11
3040 #define MADERA_EQ4_B1_GAIN_WIDTH			     5
3041 #define MADERA_EQ4_B2_GAIN_MASK				0x07C0
3042 #define MADERA_EQ4_B2_GAIN_SHIFT			     6
3043 #define MADERA_EQ4_B2_GAIN_WIDTH			     5
3044 #define MADERA_EQ4_B3_GAIN_MASK				0x003E
3045 #define MADERA_EQ4_B3_GAIN_SHIFT			     1
3046 #define MADERA_EQ4_B3_GAIN_WIDTH			     5
3047 #define MADERA_EQ4_ENA					0x0001
3048 #define MADERA_EQ4_ENA_MASK				0x0001
3049 #define MADERA_EQ4_ENA_SHIFT				     0
3050 #define MADERA_EQ4_ENA_WIDTH				     1
3051 
3052 /* (0x0E53)  EQ4_2 */
3053 #define MADERA_EQ4_B4_GAIN_MASK				0xF800
3054 #define MADERA_EQ4_B4_GAIN_SHIFT			    11
3055 #define MADERA_EQ4_B4_GAIN_WIDTH			     5
3056 #define MADERA_EQ4_B5_GAIN_MASK				0x07C0
3057 #define MADERA_EQ4_B5_GAIN_SHIFT			     6
3058 #define MADERA_EQ4_B5_GAIN_WIDTH			     5
3059 #define MADERA_EQ4_B1_MODE				0x0001
3060 #define MADERA_EQ4_B1_MODE_MASK				0x0001
3061 #define MADERA_EQ4_B1_MODE_SHIFT			     0
3062 #define MADERA_EQ4_B1_MODE_WIDTH			     1
3063 
3064 /* (0x0E80)  DRC1_ctrl1 */
3065 #define MADERA_DRC1L_ENA				0x0002
3066 #define MADERA_DRC1L_ENA_MASK				0x0002
3067 #define MADERA_DRC1L_ENA_SHIFT				     1
3068 #define MADERA_DRC1L_ENA_WIDTH				     1
3069 #define MADERA_DRC1R_ENA				0x0001
3070 #define MADERA_DRC1R_ENA_MASK				0x0001
3071 #define MADERA_DRC1R_ENA_SHIFT				     0
3072 #define MADERA_DRC1R_ENA_WIDTH				     1
3073 
3074 /* (0x0E88)  DRC2_ctrl1 */
3075 #define MADERA_DRC2L_ENA				0x0002
3076 #define MADERA_DRC2L_ENA_MASK				0x0002
3077 #define MADERA_DRC2L_ENA_SHIFT				     1
3078 #define MADERA_DRC2L_ENA_WIDTH				     1
3079 #define MADERA_DRC2R_ENA				0x0001
3080 #define MADERA_DRC2R_ENA_MASK				0x0001
3081 #define MADERA_DRC2R_ENA_SHIFT				     0
3082 #define MADERA_DRC2R_ENA_WIDTH				     1
3083 
3084 /* (0x0EC0)  HPLPF1_1 */
3085 #define MADERA_LHPF1_MODE				0x0002
3086 #define MADERA_LHPF1_MODE_MASK				0x0002
3087 #define MADERA_LHPF1_MODE_SHIFT				     1
3088 #define MADERA_LHPF1_MODE_WIDTH				     1
3089 #define MADERA_LHPF1_ENA				0x0001
3090 #define MADERA_LHPF1_ENA_MASK				0x0001
3091 #define MADERA_LHPF1_ENA_SHIFT				     0
3092 #define MADERA_LHPF1_ENA_WIDTH				     1
3093 
3094 /* (0x0EC1)  HPLPF1_2 */
3095 #define MADERA_LHPF1_COEFF_MASK				0xFFFF
3096 #define MADERA_LHPF1_COEFF_SHIFT			     0
3097 #define MADERA_LHPF1_COEFF_WIDTH			    16
3098 
3099 /* (0x0EC4)  HPLPF2_1 */
3100 #define MADERA_LHPF2_MODE				0x0002
3101 #define MADERA_LHPF2_MODE_MASK				0x0002
3102 #define MADERA_LHPF2_MODE_SHIFT				     1
3103 #define MADERA_LHPF2_MODE_WIDTH				     1
3104 #define MADERA_LHPF2_ENA				0x0001
3105 #define MADERA_LHPF2_ENA_MASK				0x0001
3106 #define MADERA_LHPF2_ENA_SHIFT				     0
3107 #define MADERA_LHPF2_ENA_WIDTH				     1
3108 
3109 /* (0x0EC5)  HPLPF2_2 */
3110 #define MADERA_LHPF2_COEFF_MASK				0xFFFF
3111 #define MADERA_LHPF2_COEFF_SHIFT			     0
3112 #define MADERA_LHPF2_COEFF_WIDTH			    16
3113 
3114 /* (0x0EC8)  HPLPF3_1 */
3115 #define MADERA_LHPF3_MODE				0x0002
3116 #define MADERA_LHPF3_MODE_MASK				0x0002
3117 #define MADERA_LHPF3_MODE_SHIFT				     1
3118 #define MADERA_LHPF3_MODE_WIDTH				     1
3119 #define MADERA_LHPF3_ENA				0x0001
3120 #define MADERA_LHPF3_ENA_MASK				0x0001
3121 #define MADERA_LHPF3_ENA_SHIFT				     0
3122 #define MADERA_LHPF3_ENA_WIDTH				     1
3123 
3124 /* (0x0EC9)  HPLPF3_2 */
3125 #define MADERA_LHPF3_COEFF_MASK				0xFFFF
3126 #define MADERA_LHPF3_COEFF_SHIFT			     0
3127 #define MADERA_LHPF3_COEFF_WIDTH			    16
3128 
3129 /* (0x0ECC)  HPLPF4_1 */
3130 #define MADERA_LHPF4_MODE				0x0002
3131 #define MADERA_LHPF4_MODE_MASK				0x0002
3132 #define MADERA_LHPF4_MODE_SHIFT				     1
3133 #define MADERA_LHPF4_MODE_WIDTH				     1
3134 #define MADERA_LHPF4_ENA				0x0001
3135 #define MADERA_LHPF4_ENA_MASK				0x0001
3136 #define MADERA_LHPF4_ENA_SHIFT				     0
3137 #define MADERA_LHPF4_ENA_WIDTH				     1
3138 
3139 /* (0x0ECD)  HPLPF4_2 */
3140 #define MADERA_LHPF4_COEFF_MASK				0xFFFF
3141 #define MADERA_LHPF4_COEFF_SHIFT			     0
3142 #define MADERA_LHPF4_COEFF_WIDTH			    16
3143 
3144 /* (0x0ED0)  ASRC2_ENABLE */
3145 #define MADERA_ASRC2_IN2L_ENA				0x0008
3146 #define MADERA_ASRC2_IN2L_ENA_MASK			0x0008
3147 #define MADERA_ASRC2_IN2L_ENA_SHIFT			     3
3148 #define MADERA_ASRC2_IN2L_ENA_WIDTH			     1
3149 #define MADERA_ASRC2_IN2R_ENA				0x0004
3150 #define MADERA_ASRC2_IN2R_ENA_MASK			0x0004
3151 #define MADERA_ASRC2_IN2R_ENA_SHIFT			     2
3152 #define MADERA_ASRC2_IN2R_ENA_WIDTH			     1
3153 #define MADERA_ASRC2_IN1L_ENA				0x0002
3154 #define MADERA_ASRC2_IN1L_ENA_MASK			0x0002
3155 #define MADERA_ASRC2_IN1L_ENA_SHIFT			     1
3156 #define MADERA_ASRC2_IN1L_ENA_WIDTH			     1
3157 #define MADERA_ASRC2_IN1R_ENA				0x0001
3158 #define MADERA_ASRC2_IN1R_ENA_MASK			0x0001
3159 #define MADERA_ASRC2_IN1R_ENA_SHIFT			     0
3160 #define MADERA_ASRC2_IN1R_ENA_WIDTH			     1
3161 
3162 /* (0x0ED2)  ASRC2_RATE1 */
3163 #define MADERA_ASRC2_RATE1_MASK				0xF800
3164 #define MADERA_ASRC2_RATE1_SHIFT			    11
3165 #define MADERA_ASRC2_RATE1_WIDTH			     5
3166 
3167 /* (0x0ED3)  ASRC2_RATE2 */
3168 #define MADERA_ASRC2_RATE2_MASK				0xF800
3169 #define MADERA_ASRC2_RATE2_SHIFT			    11
3170 #define MADERA_ASRC2_RATE2_WIDTH			     5
3171 
3172 /* (0x0EE0)  ASRC1_ENABLE */
3173 #define MADERA_ASRC1_IN2L_ENA				0x0008
3174 #define MADERA_ASRC1_IN2L_ENA_MASK			0x0008
3175 #define MADERA_ASRC1_IN2L_ENA_SHIFT			     3
3176 #define MADERA_ASRC1_IN2L_ENA_WIDTH			     1
3177 #define MADERA_ASRC1_IN2R_ENA				0x0004
3178 #define MADERA_ASRC1_IN2R_ENA_MASK			0x0004
3179 #define MADERA_ASRC1_IN2R_ENA_SHIFT			     2
3180 #define MADERA_ASRC1_IN2R_ENA_WIDTH			     1
3181 #define MADERA_ASRC1_IN1L_ENA				0x0002
3182 #define MADERA_ASRC1_IN1L_ENA_MASK			0x0002
3183 #define MADERA_ASRC1_IN1L_ENA_SHIFT			     1
3184 #define MADERA_ASRC1_IN1L_ENA_WIDTH			     1
3185 #define MADERA_ASRC1_IN1R_ENA				0x0001
3186 #define MADERA_ASRC1_IN1R_ENA_MASK			0x0001
3187 #define MADERA_ASRC1_IN1R_ENA_SHIFT			     0
3188 #define MADERA_ASRC1_IN1R_ENA_WIDTH			     1
3189 
3190 /* (0x0EE2)  ASRC1_RATE1 */
3191 #define MADERA_ASRC1_RATE1_MASK				0xF800
3192 #define MADERA_ASRC1_RATE1_SHIFT			    11
3193 #define MADERA_ASRC1_RATE1_WIDTH			     5
3194 
3195 /* (0x0EE3)  ASRC1_RATE2 */
3196 #define MADERA_ASRC1_RATE2_MASK				0xF800
3197 #define MADERA_ASRC1_RATE2_SHIFT			    11
3198 #define MADERA_ASRC1_RATE2_WIDTH			     5
3199 
3200 /* (0x0EF0) - ISRC1 CTRL 1 */
3201 #define MADERA_ISRC1_FSH_MASK				0xF800
3202 #define MADERA_ISRC1_FSH_SHIFT				    11
3203 #define MADERA_ISRC1_FSH_WIDTH				     5
3204 #define MADERA_ISRC1_CLK_SEL_MASK			0x0700
3205 #define MADERA_ISRC1_CLK_SEL_SHIFT			     8
3206 #define MADERA_ISRC1_CLK_SEL_WIDTH			     3
3207 
3208 /* (0x0EF1)  ISRC1_CTRL_2 */
3209 #define MADERA_ISRC1_FSL_MASK				0xF800
3210 #define MADERA_ISRC1_FSL_SHIFT				    11
3211 #define MADERA_ISRC1_FSL_WIDTH				     5
3212 
3213 /* (0x0EF2)  ISRC1_CTRL_3 */
3214 #define MADERA_ISRC1_INT1_ENA				0x8000
3215 #define MADERA_ISRC1_INT1_ENA_MASK			0x8000
3216 #define MADERA_ISRC1_INT1_ENA_SHIFT			    15
3217 #define MADERA_ISRC1_INT1_ENA_WIDTH			     1
3218 #define MADERA_ISRC1_INT2_ENA				0x4000
3219 #define MADERA_ISRC1_INT2_ENA_MASK			0x4000
3220 #define MADERA_ISRC1_INT2_ENA_SHIFT			    14
3221 #define MADERA_ISRC1_INT2_ENA_WIDTH			     1
3222 #define MADERA_ISRC1_INT3_ENA				0x2000
3223 #define MADERA_ISRC1_INT3_ENA_MASK			0x2000
3224 #define MADERA_ISRC1_INT3_ENA_SHIFT			    13
3225 #define MADERA_ISRC1_INT3_ENA_WIDTH			     1
3226 #define MADERA_ISRC1_INT4_ENA				0x1000
3227 #define MADERA_ISRC1_INT4_ENA_MASK			0x1000
3228 #define MADERA_ISRC1_INT4_ENA_SHIFT			    12
3229 #define MADERA_ISRC1_INT4_ENA_WIDTH			     1
3230 #define MADERA_ISRC1_DEC1_ENA				0x0200
3231 #define MADERA_ISRC1_DEC1_ENA_MASK			0x0200
3232 #define MADERA_ISRC1_DEC1_ENA_SHIFT			     9
3233 #define MADERA_ISRC1_DEC1_ENA_WIDTH			     1
3234 #define MADERA_ISRC1_DEC2_ENA				0x0100
3235 #define MADERA_ISRC1_DEC2_ENA_MASK			0x0100
3236 #define MADERA_ISRC1_DEC2_ENA_SHIFT			     8
3237 #define MADERA_ISRC1_DEC2_ENA_WIDTH			     1
3238 #define MADERA_ISRC1_DEC3_ENA				0x0080
3239 #define MADERA_ISRC1_DEC3_ENA_MASK			0x0080
3240 #define MADERA_ISRC1_DEC3_ENA_SHIFT			     7
3241 #define MADERA_ISRC1_DEC3_ENA_WIDTH			     1
3242 #define MADERA_ISRC1_DEC4_ENA				0x0040
3243 #define MADERA_ISRC1_DEC4_ENA_MASK			0x0040
3244 #define MADERA_ISRC1_DEC4_ENA_SHIFT			     6
3245 #define MADERA_ISRC1_DEC4_ENA_WIDTH			     1
3246 #define MADERA_ISRC1_NOTCH_ENA				0x0001
3247 #define MADERA_ISRC1_NOTCH_ENA_MASK			0x0001
3248 #define MADERA_ISRC1_NOTCH_ENA_SHIFT			     0
3249 #define MADERA_ISRC1_NOTCH_ENA_WIDTH			     1
3250 
3251 /* (0x0EF3)  ISRC2_CTRL_1 */
3252 #define MADERA_ISRC2_FSH_MASK				0xF800
3253 #define MADERA_ISRC2_FSH_SHIFT				    11
3254 #define MADERA_ISRC2_FSH_WIDTH				     5
3255 #define MADERA_ISRC2_CLK_SEL_MASK			0x0700
3256 #define MADERA_ISRC2_CLK_SEL_SHIFT			     8
3257 #define MADERA_ISRC2_CLK_SEL_WIDTH			     3
3258 
3259 /* (0x0EF4)  ISRC2_CTRL_2 */
3260 #define MADERA_ISRC2_FSL_MASK				0xF800
3261 #define MADERA_ISRC2_FSL_SHIFT				    11
3262 #define MADERA_ISRC2_FSL_WIDTH				     5
3263 
3264 /* (0x0EF5)  ISRC2_CTRL_3 */
3265 #define MADERA_ISRC2_INT1_ENA				0x8000
3266 #define MADERA_ISRC2_INT1_ENA_MASK			0x8000
3267 #define MADERA_ISRC2_INT1_ENA_SHIFT			    15
3268 #define MADERA_ISRC2_INT1_ENA_WIDTH			     1
3269 #define MADERA_ISRC2_INT2_ENA				0x4000
3270 #define MADERA_ISRC2_INT2_ENA_MASK			0x4000
3271 #define MADERA_ISRC2_INT2_ENA_SHIFT			    14
3272 #define MADERA_ISRC2_INT2_ENA_WIDTH			     1
3273 #define MADERA_ISRC2_INT3_ENA				0x2000
3274 #define MADERA_ISRC2_INT3_ENA_MASK			0x2000
3275 #define MADERA_ISRC2_INT3_ENA_SHIFT			    13
3276 #define MADERA_ISRC2_INT3_ENA_WIDTH			     1
3277 #define MADERA_ISRC2_INT4_ENA				0x1000
3278 #define MADERA_ISRC2_INT4_ENA_MASK			0x1000
3279 #define MADERA_ISRC2_INT4_ENA_SHIFT			    12
3280 #define MADERA_ISRC2_INT4_ENA_WIDTH			     1
3281 #define MADERA_ISRC2_DEC1_ENA				0x0200
3282 #define MADERA_ISRC2_DEC1_ENA_MASK			0x0200
3283 #define MADERA_ISRC2_DEC1_ENA_SHIFT			     9
3284 #define MADERA_ISRC2_DEC1_ENA_WIDTH			     1
3285 #define MADERA_ISRC2_DEC2_ENA				0x0100
3286 #define MADERA_ISRC2_DEC2_ENA_MASK			0x0100
3287 #define MADERA_ISRC2_DEC2_ENA_SHIFT			     8
3288 #define MADERA_ISRC2_DEC2_ENA_WIDTH			     1
3289 #define MADERA_ISRC2_DEC3_ENA				0x0080
3290 #define MADERA_ISRC2_DEC3_ENA_MASK			0x0080
3291 #define MADERA_ISRC2_DEC3_ENA_SHIFT			     7
3292 #define MADERA_ISRC2_DEC3_ENA_WIDTH			     1
3293 #define MADERA_ISRC2_DEC4_ENA				0x0040
3294 #define MADERA_ISRC2_DEC4_ENA_MASK			0x0040
3295 #define MADERA_ISRC2_DEC4_ENA_SHIFT			     6
3296 #define MADERA_ISRC2_DEC4_ENA_WIDTH			     1
3297 #define MADERA_ISRC2_NOTCH_ENA				0x0001
3298 #define MADERA_ISRC2_NOTCH_ENA_MASK			0x0001
3299 #define MADERA_ISRC2_NOTCH_ENA_SHIFT			     0
3300 #define MADERA_ISRC2_NOTCH_ENA_WIDTH			     1
3301 
3302 /* (0x0EF6)  ISRC3_CTRL_1 */
3303 #define MADERA_ISRC3_FSH_MASK				0xF800
3304 #define MADERA_ISRC3_FSH_SHIFT				    11
3305 #define MADERA_ISRC3_FSH_WIDTH				     5
3306 #define MADERA_ISRC3_CLK_SEL_MASK			0x0700
3307 #define MADERA_ISRC3_CLK_SEL_SHIFT			     8
3308 #define MADERA_ISRC3_CLK_SEL_WIDTH			     3
3309 
3310 /* (0x0EF7)  ISRC3_CTRL_2 */
3311 #define MADERA_ISRC3_FSL_MASK				0xF800
3312 #define MADERA_ISRC3_FSL_SHIFT				    11
3313 #define MADERA_ISRC3_FSL_WIDTH				     5
3314 
3315 /* (0x0EF8)  ISRC3_CTRL_3 */
3316 #define MADERA_ISRC3_INT1_ENA				0x8000
3317 #define MADERA_ISRC3_INT1_ENA_MASK			0x8000
3318 #define MADERA_ISRC3_INT1_ENA_SHIFT			    15
3319 #define MADERA_ISRC3_INT1_ENA_WIDTH			     1
3320 #define MADERA_ISRC3_INT2_ENA				0x4000
3321 #define MADERA_ISRC3_INT2_ENA_MASK			0x4000
3322 #define MADERA_ISRC3_INT2_ENA_SHIFT			    14
3323 #define MADERA_ISRC3_INT2_ENA_WIDTH			     1
3324 #define MADERA_ISRC3_INT3_ENA				0x2000
3325 #define MADERA_ISRC3_INT3_ENA_MASK			0x2000
3326 #define MADERA_ISRC3_INT3_ENA_SHIFT			    13
3327 #define MADERA_ISRC3_INT3_ENA_WIDTH			     1
3328 #define MADERA_ISRC3_INT4_ENA				0x1000
3329 #define MADERA_ISRC3_INT4_ENA_MASK			0x1000
3330 #define MADERA_ISRC3_INT4_ENA_SHIFT			    12
3331 #define MADERA_ISRC3_INT4_ENA_WIDTH			     1
3332 #define MADERA_ISRC3_DEC1_ENA				0x0200
3333 #define MADERA_ISRC3_DEC1_ENA_MASK			0x0200
3334 #define MADERA_ISRC3_DEC1_ENA_SHIFT			     9
3335 #define MADERA_ISRC3_DEC1_ENA_WIDTH			     1
3336 #define MADERA_ISRC3_DEC2_ENA				0x0100
3337 #define MADERA_ISRC3_DEC2_ENA_MASK			0x0100
3338 #define MADERA_ISRC3_DEC2_ENA_SHIFT			     8
3339 #define MADERA_ISRC3_DEC2_ENA_WIDTH			     1
3340 #define MADERA_ISRC3_DEC3_ENA				0x0080
3341 #define MADERA_ISRC3_DEC3_ENA_MASK			0x0080
3342 #define MADERA_ISRC3_DEC3_ENA_SHIFT			     7
3343 #define MADERA_ISRC3_DEC3_ENA_WIDTH			     1
3344 #define MADERA_ISRC3_DEC4_ENA				0x0040
3345 #define MADERA_ISRC3_DEC4_ENA_MASK			0x0040
3346 #define MADERA_ISRC3_DEC4_ENA_SHIFT			     6
3347 #define MADERA_ISRC3_DEC4_ENA_WIDTH			     1
3348 #define MADERA_ISRC3_NOTCH_ENA				0x0001
3349 #define MADERA_ISRC3_NOTCH_ENA_MASK			0x0001
3350 #define MADERA_ISRC3_NOTCH_ENA_SHIFT			     0
3351 #define MADERA_ISRC3_NOTCH_ENA_WIDTH			     1
3352 
3353 /* (0x0EF9)  ISRC4_CTRL_1 */
3354 #define MADERA_ISRC4_FSH_MASK				0xF800
3355 #define MADERA_ISRC4_FSH_SHIFT				    11
3356 #define MADERA_ISRC4_FSH_WIDTH				     5
3357 #define MADERA_ISRC4_CLK_SEL_MASK			0x0700
3358 #define MADERA_ISRC4_CLK_SEL_SHIFT			     8
3359 #define MADERA_ISRC4_CLK_SEL_WIDTH			     3
3360 
3361 /* (0x0EFA)  ISRC4_CTRL_2 */
3362 #define MADERA_ISRC4_FSL_MASK				0xF800
3363 #define MADERA_ISRC4_FSL_SHIFT				    11
3364 #define MADERA_ISRC4_FSL_WIDTH				     5
3365 
3366 /* (0x0EFB)  ISRC4_CTRL_3 */
3367 #define MADERA_ISRC4_INT1_ENA				0x8000
3368 #define MADERA_ISRC4_INT1_ENA_MASK			0x8000
3369 #define MADERA_ISRC4_INT1_ENA_SHIFT			    15
3370 #define MADERA_ISRC4_INT1_ENA_WIDTH			     1
3371 #define MADERA_ISRC4_INT2_ENA				0x4000
3372 #define MADERA_ISRC4_INT2_ENA_MASK			0x4000
3373 #define MADERA_ISRC4_INT2_ENA_SHIFT			    14
3374 #define MADERA_ISRC4_INT2_ENA_WIDTH			     1
3375 #define MADERA_ISRC4_INT3_ENA				0x2000
3376 #define MADERA_ISRC4_INT3_ENA_MASK			0x2000
3377 #define MADERA_ISRC4_INT3_ENA_SHIFT			    13
3378 #define MADERA_ISRC4_INT3_ENA_WIDTH			     1
3379 #define MADERA_ISRC4_INT4_ENA				0x1000
3380 #define MADERA_ISRC4_INT4_ENA_MASK			0x1000
3381 #define MADERA_ISRC4_INT4_ENA_SHIFT			    12
3382 #define MADERA_ISRC4_INT4_ENA_WIDTH			     1
3383 #define MADERA_ISRC4_DEC1_ENA				0x0200
3384 #define MADERA_ISRC4_DEC1_ENA_MASK			0x0200
3385 #define MADERA_ISRC4_DEC1_ENA_SHIFT			     9
3386 #define MADERA_ISRC4_DEC1_ENA_WIDTH			     1
3387 #define MADERA_ISRC4_DEC2_ENA				0x0100
3388 #define MADERA_ISRC4_DEC2_ENA_MASK			0x0100
3389 #define MADERA_ISRC4_DEC2_ENA_SHIFT			     8
3390 #define MADERA_ISRC4_DEC2_ENA_WIDTH			     1
3391 #define MADERA_ISRC4_DEC3_ENA				0x0080
3392 #define MADERA_ISRC4_DEC3_ENA_MASK			0x0080
3393 #define MADERA_ISRC4_DEC3_ENA_SHIFT			     7
3394 #define MADERA_ISRC4_DEC3_ENA_WIDTH			     1
3395 #define MADERA_ISRC4_DEC4_ENA				0x0040
3396 #define MADERA_ISRC4_DEC4_ENA_MASK			0x0040
3397 #define MADERA_ISRC4_DEC4_ENA_SHIFT			     6
3398 #define MADERA_ISRC4_DEC4_ENA_WIDTH			     1
3399 #define MADERA_ISRC4_NOTCH_ENA				0x0001
3400 #define MADERA_ISRC4_NOTCH_ENA_MASK			0x0001
3401 #define MADERA_ISRC4_NOTCH_ENA_SHIFT			     0
3402 #define MADERA_ISRC4_NOTCH_ENA_WIDTH			     1
3403 
3404 /* (0x0F00)  Clock_Control */
3405 #define MADERA_EXT_NG_SEL_CLR				0x0080
3406 #define MADERA_EXT_NG_SEL_CLR_MASK			0x0080
3407 #define MADERA_EXT_NG_SEL_CLR_SHIFT			     7
3408 #define MADERA_EXT_NG_SEL_CLR_WIDTH			     1
3409 #define MADERA_EXT_NG_SEL_SET				0x0040
3410 #define MADERA_EXT_NG_SEL_SET_MASK			0x0040
3411 #define MADERA_EXT_NG_SEL_SET_SHIFT			     6
3412 #define MADERA_EXT_NG_SEL_SET_WIDTH			     1
3413 #define MADERA_CLK_R_ENA_CLR				0x0020
3414 #define MADERA_CLK_R_ENA_CLR_MASK			0x0020
3415 #define MADERA_CLK_R_ENA_CLR_SHIFT			     5
3416 #define MADERA_CLK_R_ENA_CLR_WIDTH			     1
3417 #define MADERA_CLK_R_ENA_SET				0x0010
3418 #define MADERA_CLK_R_ENA_SET_MASK			0x0010
3419 #define MADERA_CLK_R_ENA_SET_SHIFT			     4
3420 #define MADERA_CLK_R_ENA_SET_WIDTH			     1
3421 #define MADERA_CLK_NG_ENA_CLR				0x0008
3422 #define MADERA_CLK_NG_ENA_CLR_MASK			0x0008
3423 #define MADERA_CLK_NG_ENA_CLR_SHIFT			     3
3424 #define MADERA_CLK_NG_ENA_CLR_WIDTH			     1
3425 #define MADERA_CLK_NG_ENA_SET				0x0004
3426 #define MADERA_CLK_NG_ENA_SET_MASK			0x0004
3427 #define MADERA_CLK_NG_ENA_SET_SHIFT			     2
3428 #define MADERA_CLK_NG_ENA_SET_WIDTH			     1
3429 #define MADERA_CLK_L_ENA_CLR				0x0002
3430 #define MADERA_CLK_L_ENA_CLR_MASK			0x0002
3431 #define MADERA_CLK_L_ENA_CLR_SHIFT			     1
3432 #define MADERA_CLK_L_ENA_CLR_WIDTH			     1
3433 #define MADERA_CLK_L_ENA_SET				0x0001
3434 #define MADERA_CLK_L_ENA_SET_MASK			0x0001
3435 #define MADERA_CLK_L_ENA_SET_SHIFT			     0
3436 #define MADERA_CLK_L_ENA_SET_WIDTH			     1
3437 
3438 /* (0x0F01)  ANC_SRC */
3439 #define MADERA_IN_RXANCR_SEL_MASK			0x0070
3440 #define MADERA_IN_RXANCR_SEL_SHIFT			     4
3441 #define MADERA_IN_RXANCR_SEL_WIDTH			     3
3442 #define MADERA_IN_RXANCL_SEL_MASK			0x0007
3443 #define MADERA_IN_RXANCL_SEL_SHIFT			     0
3444 #define MADERA_IN_RXANCL_SEL_WIDTH			     3
3445 
3446 /* (0x0F17)  FCL_ADC_reformatter_control */
3447 #define MADERA_FCL_MIC_MODE_SEL				0x000C
3448 #define MADERA_FCL_MIC_MODE_SEL_SHIFT			     2
3449 #define MADERA_FCL_MIC_MODE_SEL_WIDTH			     2
3450 
3451 /* (0x0F73)  FCR_ADC_reformatter_control */
3452 #define MADERA_FCR_MIC_MODE_SEL				0x000C
3453 #define MADERA_FCR_MIC_MODE_SEL_SHIFT			     2
3454 #define MADERA_FCR_MIC_MODE_SEL_WIDTH			     2
3455 
3456 /* (0x1480)  DFC1_CTRL_W0 */
3457 #define MADERA_DFC1_RATE_MASK				0x007C
3458 #define MADERA_DFC1_RATE_SHIFT				     2
3459 #define MADERA_DFC1_RATE_WIDTH				     5
3460 #define MADERA_DFC1_DITH_ENA				0x0002
3461 #define MADERA_DFC1_DITH_ENA_MASK			0x0002
3462 #define MADERA_DFC1_DITH_ENA_SHIFT			     1
3463 #define MADERA_DFC1_DITH_ENA_WIDTH			     1
3464 #define MADERA_DFC1_ENA					0x0001
3465 #define MADERA_DFC1_ENA_MASK				0x0001
3466 #define MADERA_DFC1_ENA_SHIFT				     0
3467 #define MADERA_DFC1_ENA_WIDTH				     1
3468 
3469 /* (0x1482)  DFC1_RX_W0 */
3470 #define MADERA_DFC1_RX_DATA_WIDTH_MASK			0x1F00
3471 #define MADERA_DFC1_RX_DATA_WIDTH_SHIFT			     8
3472 #define MADERA_DFC1_RX_DATA_WIDTH_WIDTH			     5
3473 
3474 #define MADERA_DFC1_RX_DATA_TYPE_MASK			0x0007
3475 #define MADERA_DFC1_RX_DATA_TYPE_SHIFT			     0
3476 #define MADERA_DFC1_RX_DATA_TYPE_WIDTH			     3
3477 
3478 /* (0x1484)  DFC1_TX_W0 */
3479 #define MADERA_DFC1_TX_DATA_WIDTH_MASK			0x1F00
3480 #define MADERA_DFC1_TX_DATA_WIDTH_SHIFT			     8
3481 #define MADERA_DFC1_TX_DATA_WIDTH_WIDTH			     5
3482 
3483 #define MADERA_DFC1_TX_DATA_TYPE_MASK			0x0007
3484 #define MADERA_DFC1_TX_DATA_TYPE_SHIFT			     0
3485 #define MADERA_DFC1_TX_DATA_TYPE_WIDTH			     3
3486 
3487 /* (0x1600)  ADSP2_IRQ0 */
3488 #define MADERA_DSP_IRQ2					0x0002
3489 #define MADERA_DSP_IRQ1					0x0001
3490 
3491 /* (0x1601)  ADSP2_IRQ1 */
3492 #define MADERA_DSP_IRQ4					0x0002
3493 #define MADERA_DSP_IRQ3					0x0001
3494 
3495 /* (0x1602)  ADSP2_IRQ2 */
3496 #define MADERA_DSP_IRQ6					0x0002
3497 #define MADERA_DSP_IRQ5					0x0001
3498 
3499 /* (0x1603)  ADSP2_IRQ3 */
3500 #define MADERA_DSP_IRQ8					0x0002
3501 #define MADERA_DSP_IRQ7					0x0001
3502 
3503 /* (0x1604)  ADSP2_IRQ4 */
3504 #define MADERA_DSP_IRQ10				0x0002
3505 #define MADERA_DSP_IRQ9					0x0001
3506 
3507 /* (0x1605)  ADSP2_IRQ5 */
3508 #define MADERA_DSP_IRQ12				0x0002
3509 #define MADERA_DSP_IRQ11				0x0001
3510 
3511 /* (0x1606)  ADSP2_IRQ6 */
3512 #define MADERA_DSP_IRQ14				0x0002
3513 #define MADERA_DSP_IRQ13				0x0001
3514 
3515 /* (0x1607)  ADSP2_IRQ7 */
3516 #define MADERA_DSP_IRQ16				0x0002
3517 #define MADERA_DSP_IRQ15				0x0001
3518 
3519 /* (0x1700)  GPIO1_CTRL_1 */
3520 #define MADERA_GP1_LVL					0x8000
3521 #define MADERA_GP1_LVL_MASK				0x8000
3522 #define MADERA_GP1_LVL_SHIFT				    15
3523 #define MADERA_GP1_LVL_WIDTH				     1
3524 #define MADERA_GP1_OP_CFG				0x4000
3525 #define MADERA_GP1_OP_CFG_MASK				0x4000
3526 #define MADERA_GP1_OP_CFG_SHIFT				    14
3527 #define MADERA_GP1_OP_CFG_WIDTH				     1
3528 #define MADERA_GP1_DB					0x2000
3529 #define MADERA_GP1_DB_MASK				0x2000
3530 #define MADERA_GP1_DB_SHIFT				    13
3531 #define MADERA_GP1_DB_WIDTH				     1
3532 #define MADERA_GP1_POL					0x1000
3533 #define MADERA_GP1_POL_MASK				0x1000
3534 #define MADERA_GP1_POL_SHIFT				    12
3535 #define MADERA_GP1_POL_WIDTH				     1
3536 #define MADERA_GP1_IP_CFG				0x0800
3537 #define MADERA_GP1_IP_CFG_MASK				0x0800
3538 #define MADERA_GP1_IP_CFG_SHIFT				    11
3539 #define MADERA_GP1_IP_CFG_WIDTH				     1
3540 #define MADERA_GP1_FN_MASK				0x03FF
3541 #define MADERA_GP1_FN_SHIFT				     0
3542 #define MADERA_GP1_FN_WIDTH				    10
3543 
3544 /* (0x1701)  GPIO1_CTRL_2 */
3545 #define MADERA_GP1_DIR					0x8000
3546 #define MADERA_GP1_DIR_MASK				0x8000
3547 #define MADERA_GP1_DIR_SHIFT				    15
3548 #define MADERA_GP1_DIR_WIDTH				     1
3549 #define MADERA_GP1_PU					0x4000
3550 #define MADERA_GP1_PU_MASK				0x4000
3551 #define MADERA_GP1_PU_SHIFT				    14
3552 #define MADERA_GP1_PU_WIDTH				     1
3553 #define MADERA_GP1_PD					0x2000
3554 #define MADERA_GP1_PD_MASK				0x2000
3555 #define MADERA_GP1_PD_SHIFT				    13
3556 #define MADERA_GP1_PD_WIDTH				     1
3557 #define MADERA_GP1_DRV_STR_MASK				0x1800
3558 #define MADERA_GP1_DRV_STR_SHIFT			    11
3559 #define MADERA_GP1_DRV_STR_WIDTH			     2
3560 
3561 /* (0x1800)  IRQ1_Status_1 */
3562 #define MADERA_CTRLIF_ERR_EINT1				0x1000
3563 #define MADERA_CTRLIF_ERR_EINT1_MASK			0x1000
3564 #define MADERA_CTRLIF_ERR_EINT1_SHIFT			    12
3565 #define MADERA_CTRLIF_ERR_EINT1_WIDTH			     1
3566 #define MADERA_SYSCLK_FAIL_EINT1			0x0200
3567 #define MADERA_SYSCLK_FAIL_EINT1_MASK			0x0200
3568 #define MADERA_SYSCLK_FAIL_EINT1_SHIFT			     9
3569 #define MADERA_SYSCLK_FAIL_EINT1_WIDTH			     1
3570 #define MADERA_CLOCK_DETECT_EINT1			0x0100
3571 #define MADERA_CLOCK_DETECT_EINT1_MASK			0x0100
3572 #define MADERA_CLOCK_DETECT_EINT1_SHIFT			     8
3573 #define MADERA_CLOCK_DETECT_EINT1_WIDTH			     1
3574 #define MADERA_BOOT_DONE_EINT1				0x0080
3575 #define MADERA_BOOT_DONE_EINT1_MASK			0x0080
3576 #define MADERA_BOOT_DONE_EINT1_SHIFT			     7
3577 #define MADERA_BOOT_DONE_EINT1_WIDTH			     1
3578 
3579 /* (0x1801)  IRQ1_Status_2 */
3580 #define MADERA_FLLAO_LOCK_EINT1				0x0800
3581 #define MADERA_FLLAO_LOCK_EINT1_MASK			0x0800
3582 #define MADERA_FLLAO_LOCK_EINT1_SHIFT			    11
3583 #define MADERA_FLLAO_LOCK_EINT1_WIDTH			     1
3584 #define MADERA_FLL3_LOCK_EINT1				0x0400
3585 #define MADERA_FLL3_LOCK_EINT1_MASK			0x0400
3586 #define MADERA_FLL3_LOCK_EINT1_SHIFT			    10
3587 #define MADERA_FLL3_LOCK_EINT1_WIDTH			     1
3588 #define MADERA_FLL2_LOCK_EINT1				0x0200
3589 #define MADERA_FLL2_LOCK_EINT1_MASK			0x0200
3590 #define MADERA_FLL2_LOCK_EINT1_SHIFT			     9
3591 #define MADERA_FLL2_LOCK_EINT1_WIDTH			     1
3592 #define MADERA_FLL1_LOCK_EINT1				0x0100
3593 #define MADERA_FLL1_LOCK_EINT1_MASK			0x0100
3594 #define MADERA_FLL1_LOCK_EINT1_SHIFT			     8
3595 #define MADERA_FLL1_LOCK_EINT1_WIDTH			     1
3596 
3597 /* (0x1805)  IRQ1_Status_6 */
3598 #define MADERA_MICDET2_EINT1				0x0200
3599 #define MADERA_MICDET2_EINT1_MASK			0x0200
3600 #define MADERA_MICDET2_EINT1_SHIFT			     9
3601 #define MADERA_MICDET2_EINT1_WIDTH			     1
3602 #define MADERA_MICDET1_EINT1				0x0100
3603 #define MADERA_MICDET1_EINT1_MASK			0x0100
3604 #define MADERA_MICDET1_EINT1_SHIFT			     8
3605 #define MADERA_MICDET1_EINT1_WIDTH			     1
3606 #define MADERA_HPDET_EINT1				0x0001
3607 #define MADERA_HPDET_EINT1_MASK				0x0001
3608 #define MADERA_HPDET_EINT1_SHIFT			     0
3609 #define MADERA_HPDET_EINT1_WIDTH			     1
3610 
3611 /* (0x1806)  IRQ1_Status_7 */
3612 #define MADERA_MICD_CLAMP_FALL_EINT1			0x0020
3613 #define MADERA_MICD_CLAMP_FALL_EINT1_MASK		0x0020
3614 #define MADERA_MICD_CLAMP_FALL_EINT1_SHIFT		     5
3615 #define MADERA_MICD_CLAMP_FALL_EINT1_WIDTH		     1
3616 #define MADERA_MICD_CLAMP_RISE_EINT1			0x0010
3617 #define MADERA_MICD_CLAMP_RISE_EINT1_MASK		0x0010
3618 #define MADERA_MICD_CLAMP_RISE_EINT1_SHIFT		     4
3619 #define MADERA_MICD_CLAMP_RISE_EINT1_WIDTH		     1
3620 #define MADERA_JD2_FALL_EINT1				0x0008
3621 #define MADERA_JD2_FALL_EINT1_MASK			0x0008
3622 #define MADERA_JD2_FALL_EINT1_SHIFT			     3
3623 #define MADERA_JD2_FALL_EINT1_WIDTH			     1
3624 #define MADERA_JD2_RISE_EINT1				0x0004
3625 #define MADERA_JD2_RISE_EINT1_MASK			0x0004
3626 #define MADERA_JD2_RISE_EINT1_SHIFT			     2
3627 #define MADERA_JD2_RISE_EINT1_WIDTH			     1
3628 #define MADERA_JD1_FALL_EINT1				0x0002
3629 #define MADERA_JD1_FALL_EINT1_MASK			0x0002
3630 #define MADERA_JD1_FALL_EINT1_SHIFT			     1
3631 #define MADERA_JD1_FALL_EINT1_WIDTH			     1
3632 #define MADERA_JD1_RISE_EINT1				0x0001
3633 #define MADERA_JD1_RISE_EINT1_MASK			0x0001
3634 #define MADERA_JD1_RISE_EINT1_SHIFT			     0
3635 #define MADERA_JD1_RISE_EINT1_WIDTH			     1
3636 
3637 /* (0x1808)  IRQ1_Status_9 */
3638 #define MADERA_ASRC2_IN2_LOCK_EINT1			0x0800
3639 #define MADERA_ASRC2_IN2_LOCK_EINT1_MASK		0x0800
3640 #define MADERA_ASRC2_IN2_LOCK_EINT1_SHIFT		    11
3641 #define MADERA_ASRC2_IN2_LOCK_EINT1_WIDTH		     1
3642 #define MADERA_ASRC2_IN1_LOCK_EINT1			0x0400
3643 #define MADERA_ASRC2_IN1_LOCK_EINT1_MASK		0x0400
3644 #define MADERA_ASRC2_IN1_LOCK_EINT1_SHIFT		    10
3645 #define MADERA_ASRC2_IN1_LOCK_EINT1_WIDTH		     1
3646 #define MADERA_ASRC1_IN2_LOCK_EINT1			0x0200
3647 #define MADERA_ASRC1_IN2_LOCK_EINT1_MASK		0x0200
3648 #define MADERA_ASRC1_IN2_LOCK_EINT1_SHIFT		     9
3649 #define MADERA_ASRC1_IN2_LOCK_EINT1_WIDTH		     1
3650 #define MADERA_ASRC1_IN1_LOCK_EINT1			0x0100
3651 #define MADERA_ASRC1_IN1_LOCK_EINT1_MASK		0x0100
3652 #define MADERA_ASRC1_IN1_LOCK_EINT1_SHIFT		     8
3653 #define MADERA_ASRC1_IN1_LOCK_EINT1_WIDTH		     1
3654 #define MADERA_DRC2_SIG_DET_EINT1			0x0002
3655 #define MADERA_DRC2_SIG_DET_EINT1_MASK			0x0002
3656 #define MADERA_DRC2_SIG_DET_EINT1_SHIFT			     1
3657 #define MADERA_DRC2_SIG_DET_EINT1_WIDTH			     1
3658 #define MADERA_DRC1_SIG_DET_EINT1			0x0001
3659 #define MADERA_DRC1_SIG_DET_EINT1_MASK			0x0001
3660 #define MADERA_DRC1_SIG_DET_EINT1_SHIFT			     0
3661 #define MADERA_DRC1_SIG_DET_EINT1_WIDTH			     1
3662 
3663 /* (0x180A)  IRQ1_Status_11 */
3664 #define MADERA_DSP_IRQ16_EINT1				0x8000
3665 #define MADERA_DSP_IRQ16_EINT1_MASK			0x8000
3666 #define MADERA_DSP_IRQ16_EINT1_SHIFT			    15
3667 #define MADERA_DSP_IRQ16_EINT1_WIDTH			     1
3668 #define MADERA_DSP_IRQ15_EINT1				0x4000
3669 #define MADERA_DSP_IRQ15_EINT1_MASK			0x4000
3670 #define MADERA_DSP_IRQ15_EINT1_SHIFT			    14
3671 #define MADERA_DSP_IRQ15_EINT1_WIDTH			     1
3672 #define MADERA_DSP_IRQ14_EINT1				0x2000
3673 #define MADERA_DSP_IRQ14_EINT1_MASK			0x2000
3674 #define MADERA_DSP_IRQ14_EINT1_SHIFT			    13
3675 #define MADERA_DSP_IRQ14_EINT1_WIDTH			     1
3676 #define MADERA_DSP_IRQ13_EINT1				0x1000
3677 #define MADERA_DSP_IRQ13_EINT1_MASK			0x1000
3678 #define MADERA_DSP_IRQ13_EINT1_SHIFT			    12
3679 #define MADERA_DSP_IRQ13_EINT1_WIDTH			     1
3680 #define MADERA_DSP_IRQ12_EINT1				0x0800
3681 #define MADERA_DSP_IRQ12_EINT1_MASK			0x0800
3682 #define MADERA_DSP_IRQ12_EINT1_SHIFT			    11
3683 #define MADERA_DSP_IRQ12_EINT1_WIDTH			     1
3684 #define MADERA_DSP_IRQ11_EINT1				0x0400
3685 #define MADERA_DSP_IRQ11_EINT1_MASK			0x0400
3686 #define MADERA_DSP_IRQ11_EINT1_SHIFT			    10
3687 #define MADERA_DSP_IRQ11_EINT1_WIDTH			     1
3688 #define MADERA_DSP_IRQ10_EINT1				0x0200
3689 #define MADERA_DSP_IRQ10_EINT1_MASK			0x0200
3690 #define MADERA_DSP_IRQ10_EINT1_SHIFT			     9
3691 #define MADERA_DSP_IRQ10_EINT1_WIDTH			     1
3692 #define MADERA_DSP_IRQ9_EINT1				0x0100
3693 #define MADERA_DSP_IRQ9_EINT1_MASK			0x0100
3694 #define MADERA_DSP_IRQ9_EINT1_SHIFT			     8
3695 #define MADERA_DSP_IRQ9_EINT1_WIDTH			     1
3696 #define MADERA_DSP_IRQ8_EINT1				0x0080
3697 #define MADERA_DSP_IRQ8_EINT1_MASK			0x0080
3698 #define MADERA_DSP_IRQ8_EINT1_SHIFT			     7
3699 #define MADERA_DSP_IRQ8_EINT1_WIDTH			     1
3700 #define MADERA_DSP_IRQ7_EINT1				0x0040
3701 #define MADERA_DSP_IRQ7_EINT1_MASK			0x0040
3702 #define MADERA_DSP_IRQ7_EINT1_SHIFT			     6
3703 #define MADERA_DSP_IRQ7_EINT1_WIDTH			     1
3704 #define MADERA_DSP_IRQ6_EINT1				0x0020
3705 #define MADERA_DSP_IRQ6_EINT1_MASK			0x0020
3706 #define MADERA_DSP_IRQ6_EINT1_SHIFT			     5
3707 #define MADERA_DSP_IRQ6_EINT1_WIDTH			     1
3708 #define MADERA_DSP_IRQ5_EINT1				0x0010
3709 #define MADERA_DSP_IRQ5_EINT1_MASK			0x0010
3710 #define MADERA_DSP_IRQ5_EINT1_SHIFT			     4
3711 #define MADERA_DSP_IRQ5_EINT1_WIDTH			     1
3712 #define MADERA_DSP_IRQ4_EINT1				0x0008
3713 #define MADERA_DSP_IRQ4_EINT1_MASK			0x0008
3714 #define MADERA_DSP_IRQ4_EINT1_SHIFT			     3
3715 #define MADERA_DSP_IRQ4_EINT1_WIDTH			     1
3716 #define MADERA_DSP_IRQ3_EINT1				0x0004
3717 #define MADERA_DSP_IRQ3_EINT1_MASK			0x0004
3718 #define MADERA_DSP_IRQ3_EINT1_SHIFT			     2
3719 #define MADERA_DSP_IRQ3_EINT1_WIDTH			     1
3720 #define MADERA_DSP_IRQ2_EINT1				0x0002
3721 #define MADERA_DSP_IRQ2_EINT1_MASK			0x0002
3722 #define MADERA_DSP_IRQ2_EINT1_SHIFT			     1
3723 #define MADERA_DSP_IRQ2_EINT1_WIDTH			     1
3724 #define MADERA_DSP_IRQ1_EINT1				0x0001
3725 #define MADERA_DSP_IRQ1_EINT1_MASK			0x0001
3726 #define MADERA_DSP_IRQ1_EINT1_SHIFT			     0
3727 #define MADERA_DSP_IRQ1_EINT1_WIDTH			     1
3728 
3729 /* (0x180B)  IRQ1_Status_12 */
3730 #define MADERA_SPKOUTR_SC_EINT1				0x0080
3731 #define MADERA_SPKOUTR_SC_EINT1_MASK			0x0080
3732 #define MADERA_SPKOUTR_SC_EINT1_SHIFT			     7
3733 #define MADERA_SPKOUTR_SC_EINT1_WIDTH			     1
3734 #define MADERA_SPKOUTL_SC_EINT1				0x0040
3735 #define MADERA_SPKOUTL_SC_EINT1_MASK			0x0040
3736 #define MADERA_SPKOUTL_SC_EINT1_SHIFT			     6
3737 #define MADERA_SPKOUTL_SC_EINT1_WIDTH			     1
3738 #define MADERA_HP3R_SC_EINT1				0x0020
3739 #define MADERA_HP3R_SC_EINT1_MASK			0x0020
3740 #define MADERA_HP3R_SC_EINT1_SHIFT			     5
3741 #define MADERA_HP3R_SC_EINT1_WIDTH			     1
3742 #define MADERA_HP3L_SC_EINT1				0x0010
3743 #define MADERA_HP3L_SC_EINT1_MASK			0x0010
3744 #define MADERA_HP3L_SC_EINT1_SHIFT			     4
3745 #define MADERA_HP3L_SC_EINT1_WIDTH			     1
3746 #define MADERA_HP2R_SC_EINT1				0x0008
3747 #define MADERA_HP2R_SC_EINT1_MASK			0x0008
3748 #define MADERA_HP2R_SC_EINT1_SHIFT			     3
3749 #define MADERA_HP2R_SC_EINT1_WIDTH			     1
3750 #define MADERA_HP2L_SC_EINT1				0x0004
3751 #define MADERA_HP2L_SC_EINT1_MASK			0x0004
3752 #define MADERA_HP2L_SC_EINT1_SHIFT			     2
3753 #define MADERA_HP2L_SC_EINT1_WIDTH			     1
3754 #define MADERA_HP1R_SC_EINT1				0x0002
3755 #define MADERA_HP1R_SC_EINT1_MASK			0x0002
3756 #define MADERA_HP1R_SC_EINT1_SHIFT			     1
3757 #define MADERA_HP1R_SC_EINT1_WIDTH			     1
3758 #define MADERA_HP1L_SC_EINT1				0x0001
3759 #define MADERA_HP1L_SC_EINT1_MASK			0x0001
3760 #define MADERA_HP1L_SC_EINT1_SHIFT			     0
3761 #define MADERA_HP1L_SC_EINT1_WIDTH			     1
3762 
3763 /* (0x180E)  IRQ1_Status_15 */
3764 #define MADERA_SPK_OVERHEAT_WARN_EINT1			0x0004
3765 #define MADERA_SPK_OVERHEAT_WARN_EINT1_MASK		0x0004
3766 #define MADERA_SPK_OVERHEAT_WARN_EINT1_SHIFT		     2
3767 #define MADERA_SPK_OVERHEAT_WARN_EINT1_WIDTH		     1
3768 #define MADERA_SPK_OVERHEAT_EINT1			0x0002
3769 #define MADERA_SPK_OVERHEAT_EINT1_MASK			0x0002
3770 #define MADERA_SPK_OVERHEAT_EINT1_SHIFT			     1
3771 #define MADERA_SPK_OVERHEAT_EINT1_WIDTH			     1
3772 #define MADERA_SPK_SHUTDOWN_EINT1			0x0001
3773 #define MADERA_SPK_SHUTDOWN_EINT1_MASK			0x0001
3774 #define MADERA_SPK_SHUTDOWN_EINT1_SHIFT			     0
3775 #define MADERA_SPK_SHUTDOWN_EINT1_WIDTH			     1
3776 
3777 /* (0x1820) - IRQ1 Status 33 */
3778 #define MADERA_DSP7_BUS_ERR_EINT1			0x0040
3779 #define MADERA_DSP7_BUS_ERR_EINT1_MASK			0x0040
3780 #define MADERA_DSP7_BUS_ERR_EINT1_SHIFT			     6
3781 #define MADERA_DSP7_BUS_ERR_EINT1_WIDTH			     1
3782 #define MADERA_DSP6_BUS_ERR_EINT1			0x0020
3783 #define MADERA_DSP6_BUS_ERR_EINT1_MASK			0x0020
3784 #define MADERA_DSP6_BUS_ERR_EINT1_SHIFT			     5
3785 #define MADERA_DSP6_BUS_ERR_EINT1_WIDTH			     1
3786 #define MADERA_DSP5_BUS_ERR_EINT1			0x0010
3787 #define MADERA_DSP5_BUS_ERR_EINT1_MASK			0x0010
3788 #define MADERA_DSP5_BUS_ERR_EINT1_SHIFT			     4
3789 #define MADERA_DSP5_BUS_ERR_EINT1_WIDTH			     1
3790 #define MADERA_DSP4_BUS_ERR_EINT1			0x0008
3791 #define MADERA_DSP4_BUS_ERR_EINT1_MASK			0x0008
3792 #define MADERA_DSP4_BUS_ERR_EINT1_SHIFT			     3
3793 #define MADERA_DSP4_BUS_ERR_EINT1_WIDTH			     1
3794 #define MADERA_DSP3_BUS_ERR_EINT1			0x0004
3795 #define MADERA_DSP3_BUS_ERR_EINT1_MASK			0x0004
3796 #define MADERA_DSP3_BUS_ERR_EINT1_SHIFT			     2
3797 #define MADERA_DSP3_BUS_ERR_EINT1_WIDTH			     1
3798 #define MADERA_DSP2_BUS_ERR_EINT1			0x0002
3799 #define MADERA_DSP2_BUS_ERR_EINT1_MASK			0x0002
3800 #define MADERA_DSP2_BUS_ERR_EINT1_SHIFT			     1
3801 #define MADERA_DSP2_BUS_ERR_EINT1_WIDTH			     1
3802 #define MADERA_DSP1_BUS_ERR_EINT1			0x0001
3803 #define MADERA_DSP1_BUS_ERR_EINT1_MASK			0x0001
3804 #define MADERA_DSP1_BUS_ERR_EINT1_SHIFT			     0
3805 #define MADERA_DSP1_BUS_ERR_EINT1_WIDTH			     1
3806 
3807 /* (0x1845)  IRQ1_Mask_6 */
3808 #define MADERA_IM_MICDET2_EINT1				0x0200
3809 #define MADERA_IM_MICDET2_EINT1_MASK			0x0200
3810 #define MADERA_IM_MICDET2_EINT1_SHIFT			     9
3811 #define MADERA_IM_MICDET2_EINT1_WIDTH			     1
3812 #define MADERA_IM_MICDET1_EINT1				0x0100
3813 #define MADERA_IM_MICDET1_EINT1_MASK			0x0100
3814 #define MADERA_IM_MICDET1_EINT1_SHIFT			     8
3815 #define MADERA_IM_MICDET1_EINT1_WIDTH			     1
3816 #define MADERA_IM_HPDET_EINT1				0x0001
3817 #define MADERA_IM_HPDET_EINT1_MASK			0x0001
3818 #define MADERA_IM_HPDET_EINT1_SHIFT			     0
3819 #define MADERA_IM_HPDET_EINT1_WIDTH			     1
3820 /* (0x184E)  IRQ1_Mask_15 */
3821 #define MADERA_IM_SPK_OVERHEAT_WARN_EINT1		0x0004
3822 #define MADERA_IM_SPK_OVERHEAT_WARN_EINT1_MASK		0x0004
3823 #define MADERA_IM_SPK_OVERHEAT_WARN_EINT1_SHIFT		     2
3824 #define MADERA_IM_SPK_OVERHEAT_WARN_EINT1_WIDTH		     1
3825 #define MADERA_IM_SPK_OVERHEAT_EINT1			0x0002
3826 #define MADERA_IM_SPK_OVERHEAT_EINT1_MASK		0x0002
3827 #define MADERA_IM_SPK_OVERHEAT_EINT1_SHIFT		     1
3828 #define MADERA_IM_SPK_OVERHEAT_EINT1_WIDTH		     1
3829 #define MADERA_IM_SPK_SHUTDOWN_EINT1			0x0001
3830 #define MADERA_IM_SPK_SHUTDOWN_EINT1_MASK		0x0001
3831 #define MADERA_IM_SPK_SHUTDOWN_EINT1_SHIFT		     0
3832 #define MADERA_IM_SPK_SHUTDOWN_EINT1_WIDTH		     1
3833 
3834 /* (0x1880) - IRQ1 Raw Status 1 */
3835 #define MADERA_CTRLIF_ERR_STS1				0x1000
3836 #define MADERA_CTRLIF_ERR_STS1_MASK			0x1000
3837 #define MADERA_CTRLIF_ERR_STS1_SHIFT			    12
3838 #define MADERA_CTRLIF_ERR_STS1_WIDTH			     1
3839 #define MADERA_SYSCLK_FAIL_STS1				0x0200
3840 #define MADERA_SYSCLK_FAIL_STS1_MASK			0x0200
3841 #define MADERA_SYSCLK_FAIL_STS1_SHIFT			     9
3842 #define MADERA_SYSCLK_FAIL_STS1_WIDTH			     1
3843 #define MADERA_CLOCK_DETECT_STS1			0x0100
3844 #define MADERA_CLOCK_DETECT_STS1_MASK			0x0100
3845 #define MADERA_CLOCK_DETECT_STS1_SHIFT			     8
3846 #define MADERA_CLOCK_DETECT_STS1_WIDTH			     1
3847 #define MADERA_BOOT_DONE_STS1				0x0080
3848 #define MADERA_BOOT_DONE_STS1_MASK			0x0080
3849 #define MADERA_BOOT_DONE_STS1_SHIFT			     7
3850 #define MADERA_BOOT_DONE_STS1_WIDTH			     1
3851 
3852 /* (0x1881) - IRQ1 Raw Status 2 */
3853 #define MADERA_FLL3_LOCK_STS1				0x0400
3854 #define MADERA_FLL3_LOCK_STS1_MASK			0x0400
3855 #define MADERA_FLL3_LOCK_STS1_SHIFT			    10
3856 #define MADERA_FLL3_LOCK_STS1_WIDTH			     1
3857 #define MADERA_FLL2_LOCK_STS1				0x0200
3858 #define MADERA_FLL2_LOCK_STS1_MASK			0x0200
3859 #define MADERA_FLL2_LOCK_STS1_SHIFT			     9
3860 #define MADERA_FLL2_LOCK_STS1_WIDTH			     1
3861 #define MADERA_FLL1_LOCK_STS1				0x0100
3862 #define MADERA_FLL1_LOCK_STS1_MASK			0x0100
3863 #define MADERA_FLL1_LOCK_STS1_SHIFT			     8
3864 #define MADERA_FLL1_LOCK_STS1_WIDTH			     1
3865 
3866 /* (0x1886) - IRQ1 Raw Status 7 */
3867 #define MADERA_MICD_CLAMP_FALL_STS1			0x0020
3868 #define MADERA_MICD_CLAMP_FALL_STS1_MASK		0x0020
3869 #define MADERA_MICD_CLAMP_FALL_STS1_SHIFT		     5
3870 #define MADERA_MICD_CLAMP_FALL_STS1_WIDTH		     1
3871 #define MADERA_MICD_CLAMP_RISE_STS1			0x0010
3872 #define MADERA_MICD_CLAMP_RISE_STS1_MASK		0x0010
3873 #define MADERA_MICD_CLAMP_RISE_STS1_SHIFT		     4
3874 #define MADERA_MICD_CLAMP_RISE_STS1_WIDTH		     1
3875 #define MADERA_JD2_FALL_STS1				0x0008
3876 #define MADERA_JD2_FALL_STS1_MASK			0x0008
3877 #define MADERA_JD2_FALL_STS1_SHIFT			     3
3878 #define MADERA_JD2_FALL_STS1_WIDTH			     1
3879 #define MADERA_JD2_RISE_STS1				0x0004
3880 #define MADERA_JD2_RISE_STS1_MASK			0x0004
3881 #define MADERA_JD2_RISE_STS1_SHIFT			     2
3882 #define MADERA_JD2_RISE_STS1_WIDTH			     1
3883 #define MADERA_JD1_FALL_STS1				0x0002
3884 #define MADERA_JD1_FALL_STS1_MASK			0x0002
3885 #define MADERA_JD1_FALL_STS1_SHIFT			     1
3886 #define MADERA_JD1_FALL_STS1_WIDTH			     1
3887 #define MADERA_JD1_RISE_STS1				0x0001
3888 #define MADERA_JD1_RISE_STS1_MASK			0x0001
3889 #define MADERA_JD1_RISE_STS1_SHIFT			     0
3890 #define MADERA_JD1_RISE_STS1_WIDTH			     1
3891 
3892 /* (0x188E) - IRQ1 Raw Status 15 */
3893 #define MADERA_SPK_OVERHEAT_WARN_STS1			0x0004
3894 #define MADERA_SPK_OVERHEAT_WARN_STS1_MASK		0x0004
3895 #define MADERA_SPK_OVERHEAT_WARN_STS1_SHIFT		     2
3896 #define MADERA_SPK_OVERHEAT_WARN_STS1_WIDTH		     1
3897 #define MADERA_SPK_OVERHEAT_STS1			0x0002
3898 #define MADERA_SPK_OVERHEAT_STS1_MASK			0x0002
3899 #define MADERA_SPK_OVERHEAT_STS1_SHIFT			     1
3900 #define MADERA_SPK_OVERHEAT_STS1_WIDTH			     1
3901 #define MADERA_SPK_SHUTDOWN_STS1			0x0001
3902 #define MADERA_SPK_SHUTDOWN_STS1_MASK			0x0001
3903 #define MADERA_SPK_SHUTDOWN_STS1_SHIFT			     0
3904 #define MADERA_SPK_SHUTDOWN_STS1_WIDTH			     1
3905 
3906 /* (0x1A06)  Interrupt_Debounce_7 */
3907 #define MADERA_MICD_CLAMP_DB				0x0010
3908 #define MADERA_MICD_CLAMP_DB_MASK			0x0010
3909 #define MADERA_MICD_CLAMP_DB_SHIFT			     4
3910 #define MADERA_MICD_CLAMP_DB_WIDTH			     1
3911 #define MADERA_JD2_DB					0x0004
3912 #define MADERA_JD2_DB_MASK				0x0004
3913 #define MADERA_JD2_DB_SHIFT				     2
3914 #define MADERA_JD2_DB_WIDTH				     1
3915 #define MADERA_JD1_DB					0x0001
3916 #define MADERA_JD1_DB_MASK				0x0001
3917 #define MADERA_JD1_DB_SHIFT				     0
3918 #define MADERA_JD1_DB_WIDTH				     1
3919 
3920 /* (0x1A0E)  Interrupt_Debounce_15 */
3921 #define MADERA_SPK_OVERHEAT_WARN_DB			0x0004
3922 #define MADERA_SPK_OVERHEAT_WARN_DB_MASK		0x0004
3923 #define MADERA_SPK_OVERHEAT_WARN_DB_SHIFT		     2
3924 #define MADERA_SPK_OVERHEAT_WARN_DB_WIDTH		     1
3925 #define MADERA_SPK_OVERHEAT_DB				0x0002
3926 #define MADERA_SPK_OVERHEAT_DB_MASK			0x0002
3927 #define MADERA_SPK_OVERHEAT_DB_SHIFT			     1
3928 #define MADERA_SPK_OVERHEAT_DB_WIDTH			     1
3929 
3930 /* (0x1A80)  IRQ1_CTRL */
3931 #define MADERA_IM_IRQ1					0x0800
3932 #define MADERA_IM_IRQ1_MASK				0x0800
3933 #define MADERA_IM_IRQ1_SHIFT				    11
3934 #define MADERA_IM_IRQ1_WIDTH				     1
3935 #define MADERA_IRQ_POL					0x0400
3936 #define MADERA_IRQ_POL_MASK				0x0400
3937 #define MADERA_IRQ_POL_SHIFT				    10
3938 #define MADERA_IRQ_POL_WIDTH				     1
3939 
3940 /* (0x20004)  OTP_HPDET_Cal_1 */
3941 #define MADERA_OTP_HPDET_CALIB_OFFSET_11	    0xFF000000
3942 #define MADERA_OTP_HPDET_CALIB_OFFSET_11_MASK	    0xFF000000
3943 #define MADERA_OTP_HPDET_CALIB_OFFSET_11_SHIFT		    24
3944 #define MADERA_OTP_HPDET_CALIB_OFFSET_11_WIDTH		     8
3945 #define MADERA_OTP_HPDET_CALIB_OFFSET_10	    0x00FF0000
3946 #define MADERA_OTP_HPDET_CALIB_OFFSET_10_MASK	    0x00FF0000
3947 #define MADERA_OTP_HPDET_CALIB_OFFSET_10_SHIFT		    16
3948 #define MADERA_OTP_HPDET_CALIB_OFFSET_10_WIDTH		     8
3949 #define MADERA_OTP_HPDET_CALIB_OFFSET_01	    0x0000FF00
3950 #define MADERA_OTP_HPDET_CALIB_OFFSET_01_MASK	    0x0000FF00
3951 #define MADERA_OTP_HPDET_CALIB_OFFSET_01_SHIFT		     8
3952 #define MADERA_OTP_HPDET_CALIB_OFFSET_01_WIDTH		     8
3953 #define MADERA_OTP_HPDET_CALIB_OFFSET_00	    0x000000FF
3954 #define MADERA_OTP_HPDET_CALIB_OFFSET_00_MASK	    0x000000FF
3955 #define MADERA_OTP_HPDET_CALIB_OFFSET_00_SHIFT		     0
3956 #define MADERA_OTP_HPDET_CALIB_OFFSET_00_WIDTH		     8
3957 
3958 /* (0x20006)  OTP_HPDET_Cal_2 */
3959 #define MADERA_OTP_HPDET_GRADIENT_1X		    0x0000FF00
3960 #define MADERA_OTP_HPDET_GRADIENT_1X_MASK	    0x0000FF00
3961 #define MADERA_OTP_HPDET_GRADIENT_1X_SHIFT		     8
3962 #define MADERA_OTP_HPDET_GRADIENT_1X_WIDTH		     8
3963 #define MADERA_OTP_HPDET_GRADIENT_0X		    0x000000FF
3964 #define MADERA_OTP_HPDET_GRADIENT_0X_MASK	    0x000000FF
3965 #define MADERA_OTP_HPDET_GRADIENT_0X_SHIFT		     0
3966 #define MADERA_OTP_HPDET_GRADIENT_0X_WIDTH		     8
3967 
3968 #endif
3969