wm5102-tables.c 83 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949
  1. /*
  2. * wm5102-tables.c -- WM5102 data tables
  3. *
  4. * Copyright 2012 Wolfson Microelectronics plc
  5. *
  6. * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. #include <linux/device.h>
  13. #include <linux/module.h>
  14. #include <linux/mfd/arizona/core.h>
  15. #include <linux/mfd/arizona/registers.h>
  16. #include "arizona.h"
  17. #define WM5102_NUM_AOD_ISR 2
  18. #define WM5102_NUM_ISR 5
  19. static const struct reg_sequence wm5102_reva_patch[] = {
  20. { 0x80, 0x0003 },
  21. { 0x221, 0x0090 },
  22. { 0x211, 0x0014 },
  23. { 0x212, 0x0000 },
  24. { 0x214, 0x000C },
  25. { 0x171, 0x0002 },
  26. { 0x171, 0x0000 },
  27. { 0x461, 0x8000 },
  28. { 0x463, 0x50F0 },
  29. { 0x465, 0x4820 },
  30. { 0x467, 0x4040 },
  31. { 0x469, 0x3940 },
  32. { 0x46B, 0x3310 },
  33. { 0x46D, 0x2D80 },
  34. { 0x46F, 0x2890 },
  35. { 0x471, 0x1990 },
  36. { 0x473, 0x1450 },
  37. { 0x475, 0x1020 },
  38. { 0x477, 0x0CD0 },
  39. { 0x479, 0x0A30 },
  40. { 0x47B, 0x0810 },
  41. { 0x47D, 0x0510 },
  42. { 0x4D1, 0x017F },
  43. { 0x500, 0x000D },
  44. { 0x507, 0x1820 },
  45. { 0x508, 0x1820 },
  46. { 0x540, 0x000D },
  47. { 0x547, 0x1820 },
  48. { 0x548, 0x1820 },
  49. { 0x580, 0x000D },
  50. { 0x587, 0x1820 },
  51. { 0x588, 0x1820 },
  52. { 0x80, 0x0000 },
  53. };
  54. static const struct reg_sequence wm5102_revb_patch[] = {
  55. { 0x19, 0x0001 },
  56. { 0x80, 0x0003 },
  57. { 0x081, 0xE022 },
  58. { 0x410, 0x6080 },
  59. { 0x418, 0xa080 },
  60. { 0x420, 0xa080 },
  61. { 0x428, 0xe000 },
  62. { 0x442, 0x3F0A },
  63. { 0x443, 0xDC1F },
  64. { 0x4B0, 0x0066 },
  65. { 0x458, 0x000b },
  66. { 0x212, 0x0000 },
  67. { 0x171, 0x0000 },
  68. { 0x35E, 0x000C },
  69. { 0x2D4, 0x0000 },
  70. { 0x4DC, 0x0900 },
  71. { 0x80, 0x0000 },
  72. };
  73. /* We use a function so we can use ARRAY_SIZE() */
  74. int wm5102_patch(struct arizona *arizona)
  75. {
  76. const struct reg_sequence *wm5102_patch;
  77. int patch_size;
  78. switch (arizona->rev) {
  79. case 0:
  80. wm5102_patch = wm5102_reva_patch;
  81. patch_size = ARRAY_SIZE(wm5102_reva_patch);
  82. break;
  83. default:
  84. wm5102_patch = wm5102_revb_patch;
  85. patch_size = ARRAY_SIZE(wm5102_revb_patch);
  86. }
  87. return regmap_multi_reg_write_bypassed(arizona->regmap,
  88. wm5102_patch,
  89. patch_size);
  90. }
  91. static const struct regmap_irq wm5102_aod_irqs[ARIZONA_NUM_IRQ] = {
  92. [ARIZONA_IRQ_MICD_CLAMP_FALL] = {
  93. .mask = ARIZONA_MICD_CLAMP_FALL_EINT1
  94. },
  95. [ARIZONA_IRQ_MICD_CLAMP_RISE] = {
  96. .mask = ARIZONA_MICD_CLAMP_RISE_EINT1
  97. },
  98. [ARIZONA_IRQ_GP5_FALL] = { .mask = ARIZONA_GP5_FALL_EINT1 },
  99. [ARIZONA_IRQ_GP5_RISE] = { .mask = ARIZONA_GP5_RISE_EINT1 },
  100. [ARIZONA_IRQ_JD_FALL] = { .mask = ARIZONA_JD1_FALL_EINT1 },
  101. [ARIZONA_IRQ_JD_RISE] = { .mask = ARIZONA_JD1_RISE_EINT1 },
  102. };
  103. const struct regmap_irq_chip wm5102_aod = {
  104. .name = "wm5102 AOD",
  105. .status_base = ARIZONA_AOD_IRQ1,
  106. .mask_base = ARIZONA_AOD_IRQ_MASK_IRQ1,
  107. .ack_base = ARIZONA_AOD_IRQ1,
  108. .wake_base = ARIZONA_WAKE_CONTROL,
  109. .wake_invert = 1,
  110. .num_regs = 1,
  111. .irqs = wm5102_aod_irqs,
  112. .num_irqs = ARRAY_SIZE(wm5102_aod_irqs),
  113. };
  114. static const struct regmap_irq wm5102_irqs[ARIZONA_NUM_IRQ] = {
  115. [ARIZONA_IRQ_GP4] = { .reg_offset = 0, .mask = ARIZONA_GP4_EINT1 },
  116. [ARIZONA_IRQ_GP3] = { .reg_offset = 0, .mask = ARIZONA_GP3_EINT1 },
  117. [ARIZONA_IRQ_GP2] = { .reg_offset = 0, .mask = ARIZONA_GP2_EINT1 },
  118. [ARIZONA_IRQ_GP1] = { .reg_offset = 0, .mask = ARIZONA_GP1_EINT1 },
  119. [ARIZONA_IRQ_DSP1_RAM_RDY] = {
  120. .reg_offset = 1, .mask = ARIZONA_DSP1_RAM_RDY_EINT1
  121. },
  122. [ARIZONA_IRQ_DSP_IRQ2] = {
  123. .reg_offset = 1, .mask = ARIZONA_DSP_IRQ2_EINT1
  124. },
  125. [ARIZONA_IRQ_DSP_IRQ1] = {
  126. .reg_offset = 1, .mask = ARIZONA_DSP_IRQ1_EINT1
  127. },
  128. [ARIZONA_IRQ_SPK_OVERHEAT_WARN] = {
  129. .reg_offset = 2, .mask = ARIZONA_SPK_OVERHEAT_WARN_EINT1
  130. },
  131. [ARIZONA_IRQ_SPK_OVERHEAT] = {
  132. .reg_offset = 2, .mask = ARIZONA_SPK_OVERHEAT_EINT1
  133. },
  134. [ARIZONA_IRQ_HPDET] = {
  135. .reg_offset = 2, .mask = ARIZONA_HPDET_EINT1
  136. },
  137. [ARIZONA_IRQ_MICDET] = {
  138. .reg_offset = 2, .mask = ARIZONA_MICDET_EINT1
  139. },
  140. [ARIZONA_IRQ_WSEQ_DONE] = {
  141. .reg_offset = 2, .mask = ARIZONA_WSEQ_DONE_EINT1
  142. },
  143. [ARIZONA_IRQ_DRC2_SIG_DET] = {
  144. .reg_offset = 2, .mask = ARIZONA_DRC2_SIG_DET_EINT1
  145. },
  146. [ARIZONA_IRQ_DRC1_SIG_DET] = {
  147. .reg_offset = 2, .mask = ARIZONA_DRC1_SIG_DET_EINT1
  148. },
  149. [ARIZONA_IRQ_ASRC2_LOCK] = {
  150. .reg_offset = 2, .mask = ARIZONA_ASRC2_LOCK_EINT1
  151. },
  152. [ARIZONA_IRQ_ASRC1_LOCK] = {
  153. .reg_offset = 2, .mask = ARIZONA_ASRC1_LOCK_EINT1
  154. },
  155. [ARIZONA_IRQ_UNDERCLOCKED] = {
  156. .reg_offset = 2, .mask = ARIZONA_UNDERCLOCKED_EINT1
  157. },
  158. [ARIZONA_IRQ_OVERCLOCKED] = {
  159. .reg_offset = 2, .mask = ARIZONA_OVERCLOCKED_EINT1
  160. },
  161. [ARIZONA_IRQ_FLL2_LOCK] = {
  162. .reg_offset = 2, .mask = ARIZONA_FLL2_LOCK_EINT1
  163. },
  164. [ARIZONA_IRQ_FLL1_LOCK] = {
  165. .reg_offset = 2, .mask = ARIZONA_FLL1_LOCK_EINT1
  166. },
  167. [ARIZONA_IRQ_CLKGEN_ERR] = {
  168. .reg_offset = 2, .mask = ARIZONA_CLKGEN_ERR_EINT1
  169. },
  170. [ARIZONA_IRQ_CLKGEN_ERR_ASYNC] = {
  171. .reg_offset = 2, .mask = ARIZONA_CLKGEN_ERR_ASYNC_EINT1
  172. },
  173. [ARIZONA_IRQ_ASRC_CFG_ERR] = {
  174. .reg_offset = 3, .mask = ARIZONA_ASRC_CFG_ERR_EINT1
  175. },
  176. [ARIZONA_IRQ_AIF3_ERR] = {
  177. .reg_offset = 3, .mask = ARIZONA_AIF3_ERR_EINT1
  178. },
  179. [ARIZONA_IRQ_AIF2_ERR] = {
  180. .reg_offset = 3, .mask = ARIZONA_AIF2_ERR_EINT1
  181. },
  182. [ARIZONA_IRQ_AIF1_ERR] = {
  183. .reg_offset = 3, .mask = ARIZONA_AIF1_ERR_EINT1
  184. },
  185. [ARIZONA_IRQ_CTRLIF_ERR] = {
  186. .reg_offset = 3, .mask = ARIZONA_CTRLIF_ERR_EINT1
  187. },
  188. [ARIZONA_IRQ_MIXER_DROPPED_SAMPLES] = {
  189. .reg_offset = 3, .mask = ARIZONA_MIXER_DROPPED_SAMPLE_EINT1
  190. },
  191. [ARIZONA_IRQ_ASYNC_CLK_ENA_LOW] = {
  192. .reg_offset = 3, .mask = ARIZONA_ASYNC_CLK_ENA_LOW_EINT1
  193. },
  194. [ARIZONA_IRQ_SYSCLK_ENA_LOW] = {
  195. .reg_offset = 3, .mask = ARIZONA_SYSCLK_ENA_LOW_EINT1
  196. },
  197. [ARIZONA_IRQ_ISRC1_CFG_ERR] = {
  198. .reg_offset = 3, .mask = ARIZONA_ISRC1_CFG_ERR_EINT1
  199. },
  200. [ARIZONA_IRQ_ISRC2_CFG_ERR] = {
  201. .reg_offset = 3, .mask = ARIZONA_ISRC2_CFG_ERR_EINT1
  202. },
  203. [ARIZONA_IRQ_BOOT_DONE] = {
  204. .reg_offset = 4, .mask = ARIZONA_BOOT_DONE_EINT1
  205. },
  206. [ARIZONA_IRQ_DCS_DAC_DONE] = {
  207. .reg_offset = 4, .mask = ARIZONA_DCS_DAC_DONE_EINT1
  208. },
  209. [ARIZONA_IRQ_DCS_HP_DONE] = {
  210. .reg_offset = 4, .mask = ARIZONA_DCS_HP_DONE_EINT1
  211. },
  212. [ARIZONA_IRQ_FLL2_CLOCK_OK] = {
  213. .reg_offset = 4, .mask = ARIZONA_FLL2_CLOCK_OK_EINT1
  214. },
  215. [ARIZONA_IRQ_FLL1_CLOCK_OK] = {
  216. .reg_offset = 4, .mask = ARIZONA_FLL1_CLOCK_OK_EINT1
  217. },
  218. };
  219. const struct regmap_irq_chip wm5102_irq = {
  220. .name = "wm5102 IRQ",
  221. .status_base = ARIZONA_INTERRUPT_STATUS_1,
  222. .mask_base = ARIZONA_INTERRUPT_STATUS_1_MASK,
  223. .ack_base = ARIZONA_INTERRUPT_STATUS_1,
  224. .num_regs = 5,
  225. .irqs = wm5102_irqs,
  226. .num_irqs = ARRAY_SIZE(wm5102_irqs),
  227. };
  228. static const struct reg_default wm5102_reg_default[] = {
  229. { 0x00000008, 0x0019 }, /* R8 - Ctrl IF SPI CFG 1 */
  230. { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
  231. { 0x00000020, 0x0000 }, /* R32 - Tone Generator 1 */
  232. { 0x00000021, 0x1000 }, /* R33 - Tone Generator 2 */
  233. { 0x00000022, 0x0000 }, /* R34 - Tone Generator 3 */
  234. { 0x00000023, 0x1000 }, /* R35 - Tone Generator 4 */
  235. { 0x00000024, 0x0000 }, /* R36 - Tone Generator 5 */
  236. { 0x00000030, 0x0000 }, /* R48 - PWM Drive 1 */
  237. { 0x00000031, 0x0100 }, /* R49 - PWM Drive 2 */
  238. { 0x00000032, 0x0100 }, /* R50 - PWM Drive 3 */
  239. { 0x00000040, 0x0000 }, /* R64 - Wake control */
  240. { 0x00000041, 0x0000 }, /* R65 - Sequence control */
  241. { 0x00000061, 0x01FF }, /* R97 - Sample Rate Sequence Select 1 */
  242. { 0x00000062, 0x01FF }, /* R98 - Sample Rate Sequence Select 2 */
  243. { 0x00000063, 0x01FF }, /* R99 - Sample Rate Sequence Select 3 */
  244. { 0x00000064, 0x01FF }, /* R100 - Sample Rate Sequence Select 4 */
  245. { 0x00000066, 0x01FF }, /* R102 - Always On Triggers Sequence Select 1 */
  246. { 0x00000067, 0x01FF }, /* R103 - Always On Triggers Sequence Select 2 */
  247. { 0x00000068, 0x01FF }, /* R104 - Always On Triggers Sequence Select 3 */
  248. { 0x00000069, 0x01FF }, /* R105 - Always On Triggers Sequence Select 4 */
  249. { 0x0000006A, 0x01FF }, /* R106 - Always On Triggers Sequence Select 5 */
  250. { 0x0000006B, 0x01FF }, /* R107 - Always On Triggers Sequence Select 6 */
  251. { 0x00000070, 0x0000 }, /* R112 - Comfort Noise Generator */
  252. { 0x00000090, 0x0000 }, /* R144 - Haptics Control 1 */
  253. { 0x00000091, 0x7FFF }, /* R145 - Haptics Control 2 */
  254. { 0x00000092, 0x0000 }, /* R146 - Haptics phase 1 intensity */
  255. { 0x00000093, 0x0000 }, /* R147 - Haptics phase 1 duration */
  256. { 0x00000094, 0x0000 }, /* R148 - Haptics phase 2 intensity */
  257. { 0x00000095, 0x0000 }, /* R149 - Haptics phase 2 duration */
  258. { 0x00000096, 0x0000 }, /* R150 - Haptics phase 3 intensity */
  259. { 0x00000097, 0x0000 }, /* R151 - Haptics phase 3 duration */
  260. { 0x00000100, 0x0002 }, /* R256 - Clock 32k 1 */
  261. { 0x00000101, 0x0304 }, /* R257 - System Clock 1 */
  262. { 0x00000102, 0x0011 }, /* R258 - Sample rate 1 */
  263. { 0x00000103, 0x0011 }, /* R259 - Sample rate 2 */
  264. { 0x00000104, 0x0011 }, /* R260 - Sample rate 3 */
  265. { 0x00000112, 0x0305 }, /* R274 - Async clock 1 */
  266. { 0x00000113, 0x0011 }, /* R275 - Async sample rate 1 */
  267. { 0x00000114, 0x0011 }, /* R276 - Async sample rate 2 */
  268. { 0x00000149, 0x0000 }, /* R329 - Output system clock */
  269. { 0x0000014A, 0x0000 }, /* R330 - Output async clock */
  270. { 0x00000152, 0x0000 }, /* R338 - Rate Estimator 1 */
  271. { 0x00000153, 0x0000 }, /* R339 - Rate Estimator 2 */
  272. { 0x00000154, 0x0000 }, /* R340 - Rate Estimator 3 */
  273. { 0x00000155, 0x0000 }, /* R341 - Rate Estimator 4 */
  274. { 0x00000156, 0x0000 }, /* R342 - Rate Estimator 5 */
  275. { 0x00000161, 0x0000 }, /* R353 - Dynamic Frequency Scaling 1 */
  276. { 0x00000171, 0x0000 }, /* R369 - FLL1 Control 1 */
  277. { 0x00000172, 0x0008 }, /* R370 - FLL1 Control 2 */
  278. { 0x00000173, 0x0018 }, /* R371 - FLL1 Control 3 */
  279. { 0x00000174, 0x007D }, /* R372 - FLL1 Control 4 */
  280. { 0x00000175, 0x0004 }, /* R373 - FLL1 Control 5 */
  281. { 0x00000176, 0x0000 }, /* R374 - FLL1 Control 6 */
  282. { 0x00000179, 0x0000 }, /* R377 - FLL1 Control 7 */
  283. { 0x00000181, 0x0000 }, /* R385 - FLL1 Synchroniser 1 */
  284. { 0x00000182, 0x0000 }, /* R386 - FLL1 Synchroniser 2 */
  285. { 0x00000183, 0x0000 }, /* R387 - FLL1 Synchroniser 3 */
  286. { 0x00000184, 0x0000 }, /* R388 - FLL1 Synchroniser 4 */
  287. { 0x00000185, 0x0000 }, /* R389 - FLL1 Synchroniser 5 */
  288. { 0x00000186, 0x0000 }, /* R390 - FLL1 Synchroniser 6 */
  289. { 0x00000187, 0x0001 }, /* R391 - FLL1 Synchroniser 7 */
  290. { 0x00000189, 0x0000 }, /* R393 - FLL1 Spread Spectrum */
  291. { 0x0000018A, 0x0004 }, /* R394 - FLL1 GPIO Clock */
  292. { 0x00000191, 0x0000 }, /* R401 - FLL2 Control 1 */
  293. { 0x00000192, 0x0008 }, /* R402 - FLL2 Control 2 */
  294. { 0x00000193, 0x0018 }, /* R403 - FLL2 Control 3 */
  295. { 0x00000194, 0x007D }, /* R404 - FLL2 Control 4 */
  296. { 0x00000195, 0x0004 }, /* R405 - FLL2 Control 5 */
  297. { 0x00000196, 0x0000 }, /* R406 - FLL2 Control 6 */
  298. { 0x00000199, 0x0000 }, /* R409 - FLL2 Control 7 */
  299. { 0x000001A1, 0x0000 }, /* R417 - FLL2 Synchroniser 1 */
  300. { 0x000001A2, 0x0000 }, /* R418 - FLL2 Synchroniser 2 */
  301. { 0x000001A3, 0x0000 }, /* R419 - FLL2 Synchroniser 3 */
  302. { 0x000001A4, 0x0000 }, /* R420 - FLL2 Synchroniser 4 */
  303. { 0x000001A5, 0x0000 }, /* R421 - FLL2 Synchroniser 5 */
  304. { 0x000001A6, 0x0000 }, /* R422 - FLL2 Synchroniser 6 */
  305. { 0x000001A7, 0x0001 }, /* R423 - FLL2 Synchroniser 7 */
  306. { 0x000001A9, 0x0000 }, /* R425 - FLL2 Spread Spectrum */
  307. { 0x000001AA, 0x0004 }, /* R426 - FLL2 GPIO Clock */
  308. { 0x00000200, 0x0006 }, /* R512 - Mic Charge Pump 1 */
  309. { 0x00000210, 0x00D4 }, /* R528 - LDO1 Control 1 */
  310. { 0x00000212, 0x0000 }, /* R530 - LDO1 Control 2 */
  311. { 0x00000213, 0x0344 }, /* R531 - LDO2 Control 1 */
  312. { 0x00000218, 0x01A6 }, /* R536 - Mic Bias Ctrl 1 */
  313. { 0x00000219, 0x01A6 }, /* R537 - Mic Bias Ctrl 2 */
  314. { 0x0000021A, 0x01A6 }, /* R538 - Mic Bias Ctrl 3 */
  315. { 0x00000293, 0x0000 }, /* R659 - Accessory Detect Mode 1 */
  316. { 0x0000029B, 0x0020 }, /* R667 - Headphone Detect 1 */
  317. { 0x000002A2, 0x0000 }, /* R674 - Micd clamp control */
  318. { 0x000002A3, 0x1102 }, /* R675 - Mic Detect 1 */
  319. { 0x000002A4, 0x009F }, /* R676 - Mic Detect 2 */
  320. { 0x000002A6, 0x3737 }, /* R678 - Mic Detect Level 1 */
  321. { 0x000002A7, 0x2C37 }, /* R679 - Mic Detect Level 2 */
  322. { 0x000002A8, 0x1422 }, /* R680 - Mic Detect Level 3 */
  323. { 0x000002A9, 0x030A }, /* R681 - Mic Detect Level 4 */
  324. { 0x000002C3, 0x0000 }, /* R707 - Mic noise mix control 1 */
  325. { 0x000002CB, 0x0000 }, /* R715 - Isolation control */
  326. { 0x000002D3, 0x0000 }, /* R723 - Jack detect analogue */
  327. { 0x00000300, 0x0000 }, /* R768 - Input Enables */
  328. { 0x00000308, 0x0000 }, /* R776 - Input Rate */
  329. { 0x00000309, 0x0022 }, /* R777 - Input Volume Ramp */
  330. { 0x00000310, 0x2080 }, /* R784 - IN1L Control */
  331. { 0x00000311, 0x0180 }, /* R785 - ADC Digital Volume 1L */
  332. { 0x00000312, 0x0000 }, /* R786 - DMIC1L Control */
  333. { 0x00000314, 0x0080 }, /* R788 - IN1R Control */
  334. { 0x00000315, 0x0180 }, /* R789 - ADC Digital Volume 1R */
  335. { 0x00000316, 0x0000 }, /* R790 - DMIC1R Control */
  336. { 0x00000318, 0x2080 }, /* R792 - IN2L Control */
  337. { 0x00000319, 0x0180 }, /* R793 - ADC Digital Volume 2L */
  338. { 0x0000031A, 0x0000 }, /* R794 - DMIC2L Control */
  339. { 0x0000031C, 0x0080 }, /* R796 - IN2R Control */
  340. { 0x0000031D, 0x0180 }, /* R797 - ADC Digital Volume 2R */
  341. { 0x0000031E, 0x0000 }, /* R798 - DMIC2R Control */
  342. { 0x00000320, 0x2080 }, /* R800 - IN3L Control */
  343. { 0x00000321, 0x0180 }, /* R801 - ADC Digital Volume 3L */
  344. { 0x00000322, 0x0000 }, /* R802 - DMIC3L Control */
  345. { 0x00000324, 0x0080 }, /* R804 - IN3R Control */
  346. { 0x00000325, 0x0180 }, /* R805 - ADC Digital Volume 3R */
  347. { 0x00000326, 0x0000 }, /* R806 - DMIC3R Control */
  348. { 0x00000400, 0x0000 }, /* R1024 - Output Enables 1 */
  349. { 0x00000408, 0x0000 }, /* R1032 - Output Rate 1 */
  350. { 0x00000409, 0x0022 }, /* R1033 - Output Volume Ramp */
  351. { 0x00000410, 0x6080 }, /* R1040 - Output Path Config 1L */
  352. { 0x00000411, 0x0180 }, /* R1041 - DAC Digital Volume 1L */
  353. { 0x00000412, 0x0081 }, /* R1042 - DAC Volume Limit 1L */
  354. { 0x00000413, 0x0001 }, /* R1043 - Noise Gate Select 1L */
  355. { 0x00000414, 0x0080 }, /* R1044 - Output Path Config 1R */
  356. { 0x00000415, 0x0180 }, /* R1045 - DAC Digital Volume 1R */
  357. { 0x00000416, 0x0081 }, /* R1046 - DAC Volume Limit 1R */
  358. { 0x00000417, 0x0002 }, /* R1047 - Noise Gate Select 1R */
  359. { 0x00000418, 0xA080 }, /* R1048 - Output Path Config 2L */
  360. { 0x00000419, 0x0180 }, /* R1049 - DAC Digital Volume 2L */
  361. { 0x0000041A, 0x0081 }, /* R1050 - DAC Volume Limit 2L */
  362. { 0x0000041B, 0x0004 }, /* R1051 - Noise Gate Select 2L */
  363. { 0x0000041C, 0x0080 }, /* R1052 - Output Path Config 2R */
  364. { 0x0000041D, 0x0180 }, /* R1053 - DAC Digital Volume 2R */
  365. { 0x0000041E, 0x0081 }, /* R1054 - DAC Volume Limit 2R */
  366. { 0x0000041F, 0x0008 }, /* R1055 - Noise Gate Select 2R */
  367. { 0x00000420, 0xA080 }, /* R1056 - Output Path Config 3L */
  368. { 0x00000421, 0x0180 }, /* R1057 - DAC Digital Volume 3L */
  369. { 0x00000422, 0x0081 }, /* R1058 - DAC Volume Limit 3L */
  370. { 0x00000423, 0x0010 }, /* R1059 - Noise Gate Select 3L */
  371. { 0x00000428, 0xE000 }, /* R1064 - Output Path Config 4L */
  372. { 0x00000429, 0x0180 }, /* R1065 - DAC Digital Volume 4L */
  373. { 0x0000042A, 0x0081 }, /* R1066 - Out Volume 4L */
  374. { 0x0000042B, 0x0040 }, /* R1067 - Noise Gate Select 4L */
  375. { 0x0000042D, 0x0180 }, /* R1069 - DAC Digital Volume 4R */
  376. { 0x0000042E, 0x0081 }, /* R1070 - Out Volume 4R */
  377. { 0x0000042F, 0x0080 }, /* R1071 - Noise Gate Select 4R */
  378. { 0x00000430, 0x0000 }, /* R1072 - Output Path Config 5L */
  379. { 0x00000431, 0x0180 }, /* R1073 - DAC Digital Volume 5L */
  380. { 0x00000432, 0x0081 }, /* R1074 - DAC Volume Limit 5L */
  381. { 0x00000433, 0x0100 }, /* R1075 - Noise Gate Select 5L */
  382. { 0x00000435, 0x0180 }, /* R1077 - DAC Digital Volume 5R */
  383. { 0x00000436, 0x0081 }, /* R1078 - DAC Volume Limit 5R */
  384. { 0x00000437, 0x0200 }, /* R1079 - Noise Gate Select 5R */
  385. { 0x00000440, 0x0FFF }, /* R1088 - DRE Enable */
  386. { 0x00000442, 0x3F0A }, /* R1090 - DRE Control 2 */
  387. { 0x00000443, 0xDC1F }, /* R1090 - DRE Control 3 */
  388. { 0x00000450, 0x0000 }, /* R1104 - DAC AEC Control 1 */
  389. { 0x00000458, 0x000B }, /* R1112 - Noise Gate Control */
  390. { 0x00000490, 0x0069 }, /* R1168 - PDM SPK1 CTRL 1 */
  391. { 0x00000491, 0x0000 }, /* R1169 - PDM SPK1 CTRL 2 */
  392. { 0x00000500, 0x000C }, /* R1280 - AIF1 BCLK Ctrl */
  393. { 0x00000501, 0x0008 }, /* R1281 - AIF1 Tx Pin Ctrl */
  394. { 0x00000502, 0x0000 }, /* R1282 - AIF1 Rx Pin Ctrl */
  395. { 0x00000503, 0x0000 }, /* R1283 - AIF1 Rate Ctrl */
  396. { 0x00000504, 0x0000 }, /* R1284 - AIF1 Format */
  397. { 0x00000505, 0x0040 }, /* R1285 - AIF1 Tx BCLK Rate */
  398. { 0x00000506, 0x0040 }, /* R1286 - AIF1 Rx BCLK Rate */
  399. { 0x00000507, 0x1818 }, /* R1287 - AIF1 Frame Ctrl 1 */
  400. { 0x00000508, 0x1818 }, /* R1288 - AIF1 Frame Ctrl 2 */
  401. { 0x00000509, 0x0000 }, /* R1289 - AIF1 Frame Ctrl 3 */
  402. { 0x0000050A, 0x0001 }, /* R1290 - AIF1 Frame Ctrl 4 */
  403. { 0x0000050B, 0x0002 }, /* R1291 - AIF1 Frame Ctrl 5 */
  404. { 0x0000050C, 0x0003 }, /* R1292 - AIF1 Frame Ctrl 6 */
  405. { 0x0000050D, 0x0004 }, /* R1293 - AIF1 Frame Ctrl 7 */
  406. { 0x0000050E, 0x0005 }, /* R1294 - AIF1 Frame Ctrl 8 */
  407. { 0x0000050F, 0x0006 }, /* R1295 - AIF1 Frame Ctrl 9 */
  408. { 0x00000510, 0x0007 }, /* R1296 - AIF1 Frame Ctrl 10 */
  409. { 0x00000511, 0x0000 }, /* R1297 - AIF1 Frame Ctrl 11 */
  410. { 0x00000512, 0x0001 }, /* R1298 - AIF1 Frame Ctrl 12 */
  411. { 0x00000513, 0x0002 }, /* R1299 - AIF1 Frame Ctrl 13 */
  412. { 0x00000514, 0x0003 }, /* R1300 - AIF1 Frame Ctrl 14 */
  413. { 0x00000515, 0x0004 }, /* R1301 - AIF1 Frame Ctrl 15 */
  414. { 0x00000516, 0x0005 }, /* R1302 - AIF1 Frame Ctrl 16 */
  415. { 0x00000517, 0x0006 }, /* R1303 - AIF1 Frame Ctrl 17 */
  416. { 0x00000518, 0x0007 }, /* R1304 - AIF1 Frame Ctrl 18 */
  417. { 0x00000519, 0x0000 }, /* R1305 - AIF1 Tx Enables */
  418. { 0x0000051A, 0x0000 }, /* R1306 - AIF1 Rx Enables */
  419. { 0x00000540, 0x000C }, /* R1344 - AIF2 BCLK Ctrl */
  420. { 0x00000541, 0x0008 }, /* R1345 - AIF2 Tx Pin Ctrl */
  421. { 0x00000542, 0x0000 }, /* R1346 - AIF2 Rx Pin Ctrl */
  422. { 0x00000543, 0x0000 }, /* R1347 - AIF2 Rate Ctrl */
  423. { 0x00000544, 0x0000 }, /* R1348 - AIF2 Format */
  424. { 0x00000545, 0x0040 }, /* R1349 - AIF2 Tx BCLK Rate */
  425. { 0x00000546, 0x0040 }, /* R1350 - AIF2 Rx BCLK Rate */
  426. { 0x00000547, 0x1818 }, /* R1351 - AIF2 Frame Ctrl 1 */
  427. { 0x00000548, 0x1818 }, /* R1352 - AIF2 Frame Ctrl 2 */
  428. { 0x00000549, 0x0000 }, /* R1353 - AIF2 Frame Ctrl 3 */
  429. { 0x0000054A, 0x0001 }, /* R1354 - AIF2 Frame Ctrl 4 */
  430. { 0x00000551, 0x0000 }, /* R1361 - AIF2 Frame Ctrl 11 */
  431. { 0x00000552, 0x0001 }, /* R1362 - AIF2 Frame Ctrl 12 */
  432. { 0x00000559, 0x0000 }, /* R1369 - AIF2 Tx Enables */
  433. { 0x0000055A, 0x0000 }, /* R1370 - AIF2 Rx Enables */
  434. { 0x00000580, 0x000C }, /* R1408 - AIF3 BCLK Ctrl */
  435. { 0x00000581, 0x0008 }, /* R1409 - AIF3 Tx Pin Ctrl */
  436. { 0x00000582, 0x0000 }, /* R1410 - AIF3 Rx Pin Ctrl */
  437. { 0x00000583, 0x0000 }, /* R1411 - AIF3 Rate Ctrl */
  438. { 0x00000584, 0x0000 }, /* R1412 - AIF3 Format */
  439. { 0x00000585, 0x0040 }, /* R1413 - AIF3 Tx BCLK Rate */
  440. { 0x00000586, 0x0040 }, /* R1414 - AIF3 Rx BCLK Rate */
  441. { 0x00000587, 0x1818 }, /* R1415 - AIF3 Frame Ctrl 1 */
  442. { 0x00000588, 0x1818 }, /* R1416 - AIF3 Frame Ctrl 2 */
  443. { 0x00000589, 0x0000 }, /* R1417 - AIF3 Frame Ctrl 3 */
  444. { 0x0000058A, 0x0001 }, /* R1418 - AIF3 Frame Ctrl 4 */
  445. { 0x00000591, 0x0000 }, /* R1425 - AIF3 Frame Ctrl 11 */
  446. { 0x00000592, 0x0001 }, /* R1426 - AIF3 Frame Ctrl 12 */
  447. { 0x00000599, 0x0000 }, /* R1433 - AIF3 Tx Enables */
  448. { 0x0000059A, 0x0000 }, /* R1434 - AIF3 Rx Enables */
  449. { 0x000005E3, 0x0004 }, /* R1507 - SLIMbus Framer Ref Gear */
  450. { 0x000005E5, 0x0000 }, /* R1509 - SLIMbus Rates 1 */
  451. { 0x000005E6, 0x0000 }, /* R1510 - SLIMbus Rates 2 */
  452. { 0x000005E7, 0x0000 }, /* R1511 - SLIMbus Rates 3 */
  453. { 0x000005E8, 0x0000 }, /* R1512 - SLIMbus Rates 4 */
  454. { 0x000005E9, 0x0000 }, /* R1513 - SLIMbus Rates 5 */
  455. { 0x000005EA, 0x0000 }, /* R1514 - SLIMbus Rates 6 */
  456. { 0x000005EB, 0x0000 }, /* R1515 - SLIMbus Rates 7 */
  457. { 0x000005EC, 0x0000 }, /* R1516 - SLIMbus Rates 8 */
  458. { 0x000005F5, 0x0000 }, /* R1525 - SLIMbus RX Channel Enable */
  459. { 0x000005F6, 0x0000 }, /* R1526 - SLIMbus TX Channel Enable */
  460. { 0x00000640, 0x0000 }, /* R1600 - PWM1MIX Input 1 Source */
  461. { 0x00000641, 0x0080 }, /* R1601 - PWM1MIX Input 1 Volume */
  462. { 0x00000642, 0x0000 }, /* R1602 - PWM1MIX Input 2 Source */
  463. { 0x00000643, 0x0080 }, /* R1603 - PWM1MIX Input 2 Volume */
  464. { 0x00000644, 0x0000 }, /* R1604 - PWM1MIX Input 3 Source */
  465. { 0x00000645, 0x0080 }, /* R1605 - PWM1MIX Input 3 Volume */
  466. { 0x00000646, 0x0000 }, /* R1606 - PWM1MIX Input 4 Source */
  467. { 0x00000647, 0x0080 }, /* R1607 - PWM1MIX Input 4 Volume */
  468. { 0x00000648, 0x0000 }, /* R1608 - PWM2MIX Input 1 Source */
  469. { 0x00000649, 0x0080 }, /* R1609 - PWM2MIX Input 1 Volume */
  470. { 0x0000064A, 0x0000 }, /* R1610 - PWM2MIX Input 2 Source */
  471. { 0x0000064B, 0x0080 }, /* R1611 - PWM2MIX Input 2 Volume */
  472. { 0x0000064C, 0x0000 }, /* R1612 - PWM2MIX Input 3 Source */
  473. { 0x0000064D, 0x0080 }, /* R1613 - PWM2MIX Input 3 Volume */
  474. { 0x0000064E, 0x0000 }, /* R1614 - PWM2MIX Input 4 Source */
  475. { 0x0000064F, 0x0080 }, /* R1615 - PWM2MIX Input 4 Volume */
  476. { 0x00000660, 0x0000 }, /* R1632 - MICMIX Input 1 Source */
  477. { 0x00000661, 0x0080 }, /* R1633 - MICMIX Input 1 Volume */
  478. { 0x00000662, 0x0000 }, /* R1634 - MICMIX Input 2 Source */
  479. { 0x00000663, 0x0080 }, /* R1635 - MICMIX Input 2 Volume */
  480. { 0x00000664, 0x0000 }, /* R1636 - MICMIX Input 3 Source */
  481. { 0x00000665, 0x0080 }, /* R1637 - MICMIX Input 3 Volume */
  482. { 0x00000666, 0x0000 }, /* R1638 - MICMIX Input 4 Source */
  483. { 0x00000667, 0x0080 }, /* R1639 - MICMIX Input 4 Volume */
  484. { 0x00000668, 0x0000 }, /* R1640 - NOISEMIX Input 1 Source */
  485. { 0x00000669, 0x0080 }, /* R1641 - NOISEMIX Input 1 Volume */
  486. { 0x0000066A, 0x0000 }, /* R1642 - NOISEMIX Input 2 Source */
  487. { 0x0000066B, 0x0080 }, /* R1643 - NOISEMIX Input 2 Volume */
  488. { 0x0000066C, 0x0000 }, /* R1644 - NOISEMIX Input 3 Source */
  489. { 0x0000066D, 0x0080 }, /* R1645 - NOISEMIX Input 3 Volume */
  490. { 0x0000066E, 0x0000 }, /* R1646 - NOISEMIX Input 4 Source */
  491. { 0x0000066F, 0x0080 }, /* R1647 - NOISEMIX Input 4 Volume */
  492. { 0x00000680, 0x0000 }, /* R1664 - OUT1LMIX Input 1 Source */
  493. { 0x00000681, 0x0080 }, /* R1665 - OUT1LMIX Input 1 Volume */
  494. { 0x00000682, 0x0000 }, /* R1666 - OUT1LMIX Input 2 Source */
  495. { 0x00000683, 0x0080 }, /* R1667 - OUT1LMIX Input 2 Volume */
  496. { 0x00000684, 0x0000 }, /* R1668 - OUT1LMIX Input 3 Source */
  497. { 0x00000685, 0x0080 }, /* R1669 - OUT1LMIX Input 3 Volume */
  498. { 0x00000686, 0x0000 }, /* R1670 - OUT1LMIX Input 4 Source */
  499. { 0x00000687, 0x0080 }, /* R1671 - OUT1LMIX Input 4 Volume */
  500. { 0x00000688, 0x0000 }, /* R1672 - OUT1RMIX Input 1 Source */
  501. { 0x00000689, 0x0080 }, /* R1673 - OUT1RMIX Input 1 Volume */
  502. { 0x0000068A, 0x0000 }, /* R1674 - OUT1RMIX Input 2 Source */
  503. { 0x0000068B, 0x0080 }, /* R1675 - OUT1RMIX Input 2 Volume */
  504. { 0x0000068C, 0x0000 }, /* R1676 - OUT1RMIX Input 3 Source */
  505. { 0x0000068D, 0x0080 }, /* R1677 - OUT1RMIX Input 3 Volume */
  506. { 0x0000068E, 0x0000 }, /* R1678 - OUT1RMIX Input 4 Source */
  507. { 0x0000068F, 0x0080 }, /* R1679 - OUT1RMIX Input 4 Volume */
  508. { 0x00000690, 0x0000 }, /* R1680 - OUT2LMIX Input 1 Source */
  509. { 0x00000691, 0x0080 }, /* R1681 - OUT2LMIX Input 1 Volume */
  510. { 0x00000692, 0x0000 }, /* R1682 - OUT2LMIX Input 2 Source */
  511. { 0x00000693, 0x0080 }, /* R1683 - OUT2LMIX Input 2 Volume */
  512. { 0x00000694, 0x0000 }, /* R1684 - OUT2LMIX Input 3 Source */
  513. { 0x00000695, 0x0080 }, /* R1685 - OUT2LMIX Input 3 Volume */
  514. { 0x00000696, 0x0000 }, /* R1686 - OUT2LMIX Input 4 Source */
  515. { 0x00000697, 0x0080 }, /* R1687 - OUT2LMIX Input 4 Volume */
  516. { 0x00000698, 0x0000 }, /* R1688 - OUT2RMIX Input 1 Source */
  517. { 0x00000699, 0x0080 }, /* R1689 - OUT2RMIX Input 1 Volume */
  518. { 0x0000069A, 0x0000 }, /* R1690 - OUT2RMIX Input 2 Source */
  519. { 0x0000069B, 0x0080 }, /* R1691 - OUT2RMIX Input 2 Volume */
  520. { 0x0000069C, 0x0000 }, /* R1692 - OUT2RMIX Input 3 Source */
  521. { 0x0000069D, 0x0080 }, /* R1693 - OUT2RMIX Input 3 Volume */
  522. { 0x0000069E, 0x0000 }, /* R1694 - OUT2RMIX Input 4 Source */
  523. { 0x0000069F, 0x0080 }, /* R1695 - OUT2RMIX Input 4 Volume */
  524. { 0x000006A0, 0x0000 }, /* R1696 - OUT3LMIX Input 1 Source */
  525. { 0x000006A1, 0x0080 }, /* R1697 - OUT3LMIX Input 1 Volume */
  526. { 0x000006A2, 0x0000 }, /* R1698 - OUT3LMIX Input 2 Source */
  527. { 0x000006A3, 0x0080 }, /* R1699 - OUT3LMIX Input 2 Volume */
  528. { 0x000006A4, 0x0000 }, /* R1700 - OUT3LMIX Input 3 Source */
  529. { 0x000006A5, 0x0080 }, /* R1701 - OUT3LMIX Input 3 Volume */
  530. { 0x000006A6, 0x0000 }, /* R1702 - OUT3LMIX Input 4 Source */
  531. { 0x000006A7, 0x0080 }, /* R1703 - OUT3LMIX Input 4 Volume */
  532. { 0x000006B0, 0x0000 }, /* R1712 - OUT4LMIX Input 1 Source */
  533. { 0x000006B1, 0x0080 }, /* R1713 - OUT4LMIX Input 1 Volume */
  534. { 0x000006B2, 0x0000 }, /* R1714 - OUT4LMIX Input 2 Source */
  535. { 0x000006B3, 0x0080 }, /* R1715 - OUT4LMIX Input 2 Volume */
  536. { 0x000006B4, 0x0000 }, /* R1716 - OUT4LMIX Input 3 Source */
  537. { 0x000006B5, 0x0080 }, /* R1717 - OUT4LMIX Input 3 Volume */
  538. { 0x000006B6, 0x0000 }, /* R1718 - OUT4LMIX Input 4 Source */
  539. { 0x000006B7, 0x0080 }, /* R1719 - OUT4LMIX Input 4 Volume */
  540. { 0x000006B8, 0x0000 }, /* R1720 - OUT4RMIX Input 1 Source */
  541. { 0x000006B9, 0x0080 }, /* R1721 - OUT4RMIX Input 1 Volume */
  542. { 0x000006BA, 0x0000 }, /* R1722 - OUT4RMIX Input 2 Source */
  543. { 0x000006BB, 0x0080 }, /* R1723 - OUT4RMIX Input 2 Volume */
  544. { 0x000006BC, 0x0000 }, /* R1724 - OUT4RMIX Input 3 Source */
  545. { 0x000006BD, 0x0080 }, /* R1725 - OUT4RMIX Input 3 Volume */
  546. { 0x000006BE, 0x0000 }, /* R1726 - OUT4RMIX Input 4 Source */
  547. { 0x000006BF, 0x0080 }, /* R1727 - OUT4RMIX Input 4 Volume */
  548. { 0x000006C0, 0x0000 }, /* R1728 - OUT5LMIX Input 1 Source */
  549. { 0x000006C1, 0x0080 }, /* R1729 - OUT5LMIX Input 1 Volume */
  550. { 0x000006C2, 0x0000 }, /* R1730 - OUT5LMIX Input 2 Source */
  551. { 0x000006C3, 0x0080 }, /* R1731 - OUT5LMIX Input 2 Volume */
  552. { 0x000006C4, 0x0000 }, /* R1732 - OUT5LMIX Input 3 Source */
  553. { 0x000006C5, 0x0080 }, /* R1733 - OUT5LMIX Input 3 Volume */
  554. { 0x000006C6, 0x0000 }, /* R1734 - OUT5LMIX Input 4 Source */
  555. { 0x000006C7, 0x0080 }, /* R1735 - OUT5LMIX Input 4 Volume */
  556. { 0x000006C8, 0x0000 }, /* R1736 - OUT5RMIX Input 1 Source */
  557. { 0x000006C9, 0x0080 }, /* R1737 - OUT5RMIX Input 1 Volume */
  558. { 0x000006CA, 0x0000 }, /* R1738 - OUT5RMIX Input 2 Source */
  559. { 0x000006CB, 0x0080 }, /* R1739 - OUT5RMIX Input 2 Volume */
  560. { 0x000006CC, 0x0000 }, /* R1740 - OUT5RMIX Input 3 Source */
  561. { 0x000006CD, 0x0080 }, /* R1741 - OUT5RMIX Input 3 Volume */
  562. { 0x000006CE, 0x0000 }, /* R1742 - OUT5RMIX Input 4 Source */
  563. { 0x000006CF, 0x0080 }, /* R1743 - OUT5RMIX Input 4 Volume */
  564. { 0x00000700, 0x0000 }, /* R1792 - AIF1TX1MIX Input 1 Source */
  565. { 0x00000701, 0x0080 }, /* R1793 - AIF1TX1MIX Input 1 Volume */
  566. { 0x00000702, 0x0000 }, /* R1794 - AIF1TX1MIX Input 2 Source */
  567. { 0x00000703, 0x0080 }, /* R1795 - AIF1TX1MIX Input 2 Volume */
  568. { 0x00000704, 0x0000 }, /* R1796 - AIF1TX1MIX Input 3 Source */
  569. { 0x00000705, 0x0080 }, /* R1797 - AIF1TX1MIX Input 3 Volume */
  570. { 0x00000706, 0x0000 }, /* R1798 - AIF1TX1MIX Input 4 Source */
  571. { 0x00000707, 0x0080 }, /* R1799 - AIF1TX1MIX Input 4 Volume */
  572. { 0x00000708, 0x0000 }, /* R1800 - AIF1TX2MIX Input 1 Source */
  573. { 0x00000709, 0x0080 }, /* R1801 - AIF1TX2MIX Input 1 Volume */
  574. { 0x0000070A, 0x0000 }, /* R1802 - AIF1TX2MIX Input 2 Source */
  575. { 0x0000070B, 0x0080 }, /* R1803 - AIF1TX2MIX Input 2 Volume */
  576. { 0x0000070C, 0x0000 }, /* R1804 - AIF1TX2MIX Input 3 Source */
  577. { 0x0000070D, 0x0080 }, /* R1805 - AIF1TX2MIX Input 3 Volume */
  578. { 0x0000070E, 0x0000 }, /* R1806 - AIF1TX2MIX Input 4 Source */
  579. { 0x0000070F, 0x0080 }, /* R1807 - AIF1TX2MIX Input 4 Volume */
  580. { 0x00000710, 0x0000 }, /* R1808 - AIF1TX3MIX Input 1 Source */
  581. { 0x00000711, 0x0080 }, /* R1809 - AIF1TX3MIX Input 1 Volume */
  582. { 0x00000712, 0x0000 }, /* R1810 - AIF1TX3MIX Input 2 Source */
  583. { 0x00000713, 0x0080 }, /* R1811 - AIF1TX3MIX Input 2 Volume */
  584. { 0x00000714, 0x0000 }, /* R1812 - AIF1TX3MIX Input 3 Source */
  585. { 0x00000715, 0x0080 }, /* R1813 - AIF1TX3MIX Input 3 Volume */
  586. { 0x00000716, 0x0000 }, /* R1814 - AIF1TX3MIX Input 4 Source */
  587. { 0x00000717, 0x0080 }, /* R1815 - AIF1TX3MIX Input 4 Volume */
  588. { 0x00000718, 0x0000 }, /* R1816 - AIF1TX4MIX Input 1 Source */
  589. { 0x00000719, 0x0080 }, /* R1817 - AIF1TX4MIX Input 1 Volume */
  590. { 0x0000071A, 0x0000 }, /* R1818 - AIF1TX4MIX Input 2 Source */
  591. { 0x0000071B, 0x0080 }, /* R1819 - AIF1TX4MIX Input 2 Volume */
  592. { 0x0000071C, 0x0000 }, /* R1820 - AIF1TX4MIX Input 3 Source */
  593. { 0x0000071D, 0x0080 }, /* R1821 - AIF1TX4MIX Input 3 Volume */
  594. { 0x0000071E, 0x0000 }, /* R1822 - AIF1TX4MIX Input 4 Source */
  595. { 0x0000071F, 0x0080 }, /* R1823 - AIF1TX4MIX Input 4 Volume */
  596. { 0x00000720, 0x0000 }, /* R1824 - AIF1TX5MIX Input 1 Source */
  597. { 0x00000721, 0x0080 }, /* R1825 - AIF1TX5MIX Input 1 Volume */
  598. { 0x00000722, 0x0000 }, /* R1826 - AIF1TX5MIX Input 2 Source */
  599. { 0x00000723, 0x0080 }, /* R1827 - AIF1TX5MIX Input 2 Volume */
  600. { 0x00000724, 0x0000 }, /* R1828 - AIF1TX5MIX Input 3 Source */
  601. { 0x00000725, 0x0080 }, /* R1829 - AIF1TX5MIX Input 3 Volume */
  602. { 0x00000726, 0x0000 }, /* R1830 - AIF1TX5MIX Input 4 Source */
  603. { 0x00000727, 0x0080 }, /* R1831 - AIF1TX5MIX Input 4 Volume */
  604. { 0x00000728, 0x0000 }, /* R1832 - AIF1TX6MIX Input 1 Source */
  605. { 0x00000729, 0x0080 }, /* R1833 - AIF1TX6MIX Input 1 Volume */
  606. { 0x0000072A, 0x0000 }, /* R1834 - AIF1TX6MIX Input 2 Source */
  607. { 0x0000072B, 0x0080 }, /* R1835 - AIF1TX6MIX Input 2 Volume */
  608. { 0x0000072C, 0x0000 }, /* R1836 - AIF1TX6MIX Input 3 Source */
  609. { 0x0000072D, 0x0080 }, /* R1837 - AIF1TX6MIX Input 3 Volume */
  610. { 0x0000072E, 0x0000 }, /* R1838 - AIF1TX6MIX Input 4 Source */
  611. { 0x0000072F, 0x0080 }, /* R1839 - AIF1TX6MIX Input 4 Volume */
  612. { 0x00000730, 0x0000 }, /* R1840 - AIF1TX7MIX Input 1 Source */
  613. { 0x00000731, 0x0080 }, /* R1841 - AIF1TX7MIX Input 1 Volume */
  614. { 0x00000732, 0x0000 }, /* R1842 - AIF1TX7MIX Input 2 Source */
  615. { 0x00000733, 0x0080 }, /* R1843 - AIF1TX7MIX Input 2 Volume */
  616. { 0x00000734, 0x0000 }, /* R1844 - AIF1TX7MIX Input 3 Source */
  617. { 0x00000735, 0x0080 }, /* R1845 - AIF1TX7MIX Input 3 Volume */
  618. { 0x00000736, 0x0000 }, /* R1846 - AIF1TX7MIX Input 4 Source */
  619. { 0x00000737, 0x0080 }, /* R1847 - AIF1TX7MIX Input 4 Volume */
  620. { 0x00000738, 0x0000 }, /* R1848 - AIF1TX8MIX Input 1 Source */
  621. { 0x00000739, 0x0080 }, /* R1849 - AIF1TX8MIX Input 1 Volume */
  622. { 0x0000073A, 0x0000 }, /* R1850 - AIF1TX8MIX Input 2 Source */
  623. { 0x0000073B, 0x0080 }, /* R1851 - AIF1TX8MIX Input 2 Volume */
  624. { 0x0000073C, 0x0000 }, /* R1852 - AIF1TX8MIX Input 3 Source */
  625. { 0x0000073D, 0x0080 }, /* R1853 - AIF1TX8MIX Input 3 Volume */
  626. { 0x0000073E, 0x0000 }, /* R1854 - AIF1TX8MIX Input 4 Source */
  627. { 0x0000073F, 0x0080 }, /* R1855 - AIF1TX8MIX Input 4 Volume */
  628. { 0x00000740, 0x0000 }, /* R1856 - AIF2TX1MIX Input 1 Source */
  629. { 0x00000741, 0x0080 }, /* R1857 - AIF2TX1MIX Input 1 Volume */
  630. { 0x00000742, 0x0000 }, /* R1858 - AIF2TX1MIX Input 2 Source */
  631. { 0x00000743, 0x0080 }, /* R1859 - AIF2TX1MIX Input 2 Volume */
  632. { 0x00000744, 0x0000 }, /* R1860 - AIF2TX1MIX Input 3 Source */
  633. { 0x00000745, 0x0080 }, /* R1861 - AIF2TX1MIX Input 3 Volume */
  634. { 0x00000746, 0x0000 }, /* R1862 - AIF2TX1MIX Input 4 Source */
  635. { 0x00000747, 0x0080 }, /* R1863 - AIF2TX1MIX Input 4 Volume */
  636. { 0x00000748, 0x0000 }, /* R1864 - AIF2TX2MIX Input 1 Source */
  637. { 0x00000749, 0x0080 }, /* R1865 - AIF2TX2MIX Input 1 Volume */
  638. { 0x0000074A, 0x0000 }, /* R1866 - AIF2TX2MIX Input 2 Source */
  639. { 0x0000074B, 0x0080 }, /* R1867 - AIF2TX2MIX Input 2 Volume */
  640. { 0x0000074C, 0x0000 }, /* R1868 - AIF2TX2MIX Input 3 Source */
  641. { 0x0000074D, 0x0080 }, /* R1869 - AIF2TX2MIX Input 3 Volume */
  642. { 0x0000074E, 0x0000 }, /* R1870 - AIF2TX2MIX Input 4 Source */
  643. { 0x0000074F, 0x0080 }, /* R1871 - AIF2TX2MIX Input 4 Volume */
  644. { 0x00000780, 0x0000 }, /* R1920 - AIF3TX1MIX Input 1 Source */
  645. { 0x00000781, 0x0080 }, /* R1921 - AIF3TX1MIX Input 1 Volume */
  646. { 0x00000782, 0x0000 }, /* R1922 - AIF3TX1MIX Input 2 Source */
  647. { 0x00000783, 0x0080 }, /* R1923 - AIF3TX1MIX Input 2 Volume */
  648. { 0x00000784, 0x0000 }, /* R1924 - AIF3TX1MIX Input 3 Source */
  649. { 0x00000785, 0x0080 }, /* R1925 - AIF3TX1MIX Input 3 Volume */
  650. { 0x00000786, 0x0000 }, /* R1926 - AIF3TX1MIX Input 4 Source */
  651. { 0x00000787, 0x0080 }, /* R1927 - AIF3TX1MIX Input 4 Volume */
  652. { 0x00000788, 0x0000 }, /* R1928 - AIF3TX2MIX Input 1 Source */
  653. { 0x00000789, 0x0080 }, /* R1929 - AIF3TX2MIX Input 1 Volume */
  654. { 0x0000078A, 0x0000 }, /* R1930 - AIF3TX2MIX Input 2 Source */
  655. { 0x0000078B, 0x0080 }, /* R1931 - AIF3TX2MIX Input 2 Volume */
  656. { 0x0000078C, 0x0000 }, /* R1932 - AIF3TX2MIX Input 3 Source */
  657. { 0x0000078D, 0x0080 }, /* R1933 - AIF3TX2MIX Input 3 Volume */
  658. { 0x0000078E, 0x0000 }, /* R1934 - AIF3TX2MIX Input 4 Source */
  659. { 0x0000078F, 0x0080 }, /* R1935 - AIF3TX2MIX Input 4 Volume */
  660. { 0x000007C0, 0x0000 }, /* R1984 - SLIMTX1MIX Input 1 Source */
  661. { 0x000007C1, 0x0080 }, /* R1985 - SLIMTX1MIX Input 1 Volume */
  662. { 0x000007C2, 0x0000 }, /* R1986 - SLIMTX1MIX Input 2 Source */
  663. { 0x000007C3, 0x0080 }, /* R1987 - SLIMTX1MIX Input 2 Volume */
  664. { 0x000007C4, 0x0000 }, /* R1988 - SLIMTX1MIX Input 3 Source */
  665. { 0x000007C5, 0x0080 }, /* R1989 - SLIMTX1MIX Input 3 Volume */
  666. { 0x000007C6, 0x0000 }, /* R1990 - SLIMTX1MIX Input 4 Source */
  667. { 0x000007C7, 0x0080 }, /* R1991 - SLIMTX1MIX Input 4 Volume */
  668. { 0x000007C8, 0x0000 }, /* R1992 - SLIMTX2MIX Input 1 Source */
  669. { 0x000007C9, 0x0080 }, /* R1993 - SLIMTX2MIX Input 1 Volume */
  670. { 0x000007CA, 0x0000 }, /* R1994 - SLIMTX2MIX Input 2 Source */
  671. { 0x000007CB, 0x0080 }, /* R1995 - SLIMTX2MIX Input 2 Volume */
  672. { 0x000007CC, 0x0000 }, /* R1996 - SLIMTX2MIX Input 3 Source */
  673. { 0x000007CD, 0x0080 }, /* R1997 - SLIMTX2MIX Input 3 Volume */
  674. { 0x000007CE, 0x0000 }, /* R1998 - SLIMTX2MIX Input 4 Source */
  675. { 0x000007CF, 0x0080 }, /* R1999 - SLIMTX2MIX Input 4 Volume */
  676. { 0x000007D0, 0x0000 }, /* R2000 - SLIMTX3MIX Input 1 Source */
  677. { 0x000007D1, 0x0080 }, /* R2001 - SLIMTX3MIX Input 1 Volume */
  678. { 0x000007D2, 0x0000 }, /* R2002 - SLIMTX3MIX Input 2 Source */
  679. { 0x000007D3, 0x0080 }, /* R2003 - SLIMTX3MIX Input 2 Volume */
  680. { 0x000007D4, 0x0000 }, /* R2004 - SLIMTX3MIX Input 3 Source */
  681. { 0x000007D5, 0x0080 }, /* R2005 - SLIMTX3MIX Input 3 Volume */
  682. { 0x000007D6, 0x0000 }, /* R2006 - SLIMTX3MIX Input 4 Source */
  683. { 0x000007D7, 0x0080 }, /* R2007 - SLIMTX3MIX Input 4 Volume */
  684. { 0x000007D8, 0x0000 }, /* R2008 - SLIMTX4MIX Input 1 Source */
  685. { 0x000007D9, 0x0080 }, /* R2009 - SLIMTX4MIX Input 1 Volume */
  686. { 0x000007DA, 0x0000 }, /* R2010 - SLIMTX4MIX Input 2 Source */
  687. { 0x000007DB, 0x0080 }, /* R2011 - SLIMTX4MIX Input 2 Volume */
  688. { 0x000007DC, 0x0000 }, /* R2012 - SLIMTX4MIX Input 3 Source */
  689. { 0x000007DD, 0x0080 }, /* R2013 - SLIMTX4MIX Input 3 Volume */
  690. { 0x000007DE, 0x0000 }, /* R2014 - SLIMTX4MIX Input 4 Source */
  691. { 0x000007DF, 0x0080 }, /* R2015 - SLIMTX4MIX Input 4 Volume */
  692. { 0x000007E0, 0x0000 }, /* R2016 - SLIMTX5MIX Input 1 Source */
  693. { 0x000007E1, 0x0080 }, /* R2017 - SLIMTX5MIX Input 1 Volume */
  694. { 0x000007E2, 0x0000 }, /* R2018 - SLIMTX5MIX Input 2 Source */
  695. { 0x000007E3, 0x0080 }, /* R2019 - SLIMTX5MIX Input 2 Volume */
  696. { 0x000007E4, 0x0000 }, /* R2020 - SLIMTX5MIX Input 3 Source */
  697. { 0x000007E5, 0x0080 }, /* R2021 - SLIMTX5MIX Input 3 Volume */
  698. { 0x000007E6, 0x0000 }, /* R2022 - SLIMTX5MIX Input 4 Source */
  699. { 0x000007E7, 0x0080 }, /* R2023 - SLIMTX5MIX Input 4 Volume */
  700. { 0x000007E8, 0x0000 }, /* R2024 - SLIMTX6MIX Input 1 Source */
  701. { 0x000007E9, 0x0080 }, /* R2025 - SLIMTX6MIX Input 1 Volume */
  702. { 0x000007EA, 0x0000 }, /* R2026 - SLIMTX6MIX Input 2 Source */
  703. { 0x000007EB, 0x0080 }, /* R2027 - SLIMTX6MIX Input 2 Volume */
  704. { 0x000007EC, 0x0000 }, /* R2028 - SLIMTX6MIX Input 3 Source */
  705. { 0x000007ED, 0x0080 }, /* R2029 - SLIMTX6MIX Input 3 Volume */
  706. { 0x000007EE, 0x0000 }, /* R2030 - SLIMTX6MIX Input 4 Source */
  707. { 0x000007EF, 0x0080 }, /* R2031 - SLIMTX6MIX Input 4 Volume */
  708. { 0x000007F0, 0x0000 }, /* R2032 - SLIMTX7MIX Input 1 Source */
  709. { 0x000007F1, 0x0080 }, /* R2033 - SLIMTX7MIX Input 1 Volume */
  710. { 0x000007F2, 0x0000 }, /* R2034 - SLIMTX7MIX Input 2 Source */
  711. { 0x000007F3, 0x0080 }, /* R2035 - SLIMTX7MIX Input 2 Volume */
  712. { 0x000007F4, 0x0000 }, /* R2036 - SLIMTX7MIX Input 3 Source */
  713. { 0x000007F5, 0x0080 }, /* R2037 - SLIMTX7MIX Input 3 Volume */
  714. { 0x000007F6, 0x0000 }, /* R2038 - SLIMTX7MIX Input 4 Source */
  715. { 0x000007F7, 0x0080 }, /* R2039 - SLIMTX7MIX Input 4 Volume */
  716. { 0x000007F8, 0x0000 }, /* R2040 - SLIMTX8MIX Input 1 Source */
  717. { 0x000007F9, 0x0080 }, /* R2041 - SLIMTX8MIX Input 1 Volume */
  718. { 0x000007FA, 0x0000 }, /* R2042 - SLIMTX8MIX Input 2 Source */
  719. { 0x000007FB, 0x0080 }, /* R2043 - SLIMTX8MIX Input 2 Volume */
  720. { 0x000007FC, 0x0000 }, /* R2044 - SLIMTX8MIX Input 3 Source */
  721. { 0x000007FD, 0x0080 }, /* R2045 - SLIMTX8MIX Input 3 Volume */
  722. { 0x000007FE, 0x0000 }, /* R2046 - SLIMTX8MIX Input 4 Source */
  723. { 0x000007FF, 0x0080 }, /* R2047 - SLIMTX8MIX Input 4 Volume */
  724. { 0x00000880, 0x0000 }, /* R2176 - EQ1MIX Input 1 Source */
  725. { 0x00000881, 0x0080 }, /* R2177 - EQ1MIX Input 1 Volume */
  726. { 0x00000882, 0x0000 }, /* R2178 - EQ1MIX Input 2 Source */
  727. { 0x00000883, 0x0080 }, /* R2179 - EQ1MIX Input 2 Volume */
  728. { 0x00000884, 0x0000 }, /* R2180 - EQ1MIX Input 3 Source */
  729. { 0x00000885, 0x0080 }, /* R2181 - EQ1MIX Input 3 Volume */
  730. { 0x00000886, 0x0000 }, /* R2182 - EQ1MIX Input 4 Source */
  731. { 0x00000887, 0x0080 }, /* R2183 - EQ1MIX Input 4 Volume */
  732. { 0x00000888, 0x0000 }, /* R2184 - EQ2MIX Input 1 Source */
  733. { 0x00000889, 0x0080 }, /* R2185 - EQ2MIX Input 1 Volume */
  734. { 0x0000088A, 0x0000 }, /* R2186 - EQ2MIX Input 2 Source */
  735. { 0x0000088B, 0x0080 }, /* R2187 - EQ2MIX Input 2 Volume */
  736. { 0x0000088C, 0x0000 }, /* R2188 - EQ2MIX Input 3 Source */
  737. { 0x0000088D, 0x0080 }, /* R2189 - EQ2MIX Input 3 Volume */
  738. { 0x0000088E, 0x0000 }, /* R2190 - EQ2MIX Input 4 Source */
  739. { 0x0000088F, 0x0080 }, /* R2191 - EQ2MIX Input 4 Volume */
  740. { 0x00000890, 0x0000 }, /* R2192 - EQ3MIX Input 1 Source */
  741. { 0x00000891, 0x0080 }, /* R2193 - EQ3MIX Input 1 Volume */
  742. { 0x00000892, 0x0000 }, /* R2194 - EQ3MIX Input 2 Source */
  743. { 0x00000893, 0x0080 }, /* R2195 - EQ3MIX Input 2 Volume */
  744. { 0x00000894, 0x0000 }, /* R2196 - EQ3MIX Input 3 Source */
  745. { 0x00000895, 0x0080 }, /* R2197 - EQ3MIX Input 3 Volume */
  746. { 0x00000896, 0x0000 }, /* R2198 - EQ3MIX Input 4 Source */
  747. { 0x00000897, 0x0080 }, /* R2199 - EQ3MIX Input 4 Volume */
  748. { 0x00000898, 0x0000 }, /* R2200 - EQ4MIX Input 1 Source */
  749. { 0x00000899, 0x0080 }, /* R2201 - EQ4MIX Input 1 Volume */
  750. { 0x0000089A, 0x0000 }, /* R2202 - EQ4MIX Input 2 Source */
  751. { 0x0000089B, 0x0080 }, /* R2203 - EQ4MIX Input 2 Volume */
  752. { 0x0000089C, 0x0000 }, /* R2204 - EQ4MIX Input 3 Source */
  753. { 0x0000089D, 0x0080 }, /* R2205 - EQ4MIX Input 3 Volume */
  754. { 0x0000089E, 0x0000 }, /* R2206 - EQ4MIX Input 4 Source */
  755. { 0x0000089F, 0x0080 }, /* R2207 - EQ4MIX Input 4 Volume */
  756. { 0x000008C0, 0x0000 }, /* R2240 - DRC1LMIX Input 1 Source */
  757. { 0x000008C1, 0x0080 }, /* R2241 - DRC1LMIX Input 1 Volume */
  758. { 0x000008C2, 0x0000 }, /* R2242 - DRC1LMIX Input 2 Source */
  759. { 0x000008C3, 0x0080 }, /* R2243 - DRC1LMIX Input 2 Volume */
  760. { 0x000008C4, 0x0000 }, /* R2244 - DRC1LMIX Input 3 Source */
  761. { 0x000008C5, 0x0080 }, /* R2245 - DRC1LMIX Input 3 Volume */
  762. { 0x000008C6, 0x0000 }, /* R2246 - DRC1LMIX Input 4 Source */
  763. { 0x000008C7, 0x0080 }, /* R2247 - DRC1LMIX Input 4 Volume */
  764. { 0x000008C8, 0x0000 }, /* R2248 - DRC1RMIX Input 1 Source */
  765. { 0x000008C9, 0x0080 }, /* R2249 - DRC1RMIX Input 1 Volume */
  766. { 0x000008CA, 0x0000 }, /* R2250 - DRC1RMIX Input 2 Source */
  767. { 0x000008CB, 0x0080 }, /* R2251 - DRC1RMIX Input 2 Volume */
  768. { 0x000008CC, 0x0000 }, /* R2252 - DRC1RMIX Input 3 Source */
  769. { 0x000008CD, 0x0080 }, /* R2253 - DRC1RMIX Input 3 Volume */
  770. { 0x000008CE, 0x0000 }, /* R2254 - DRC1RMIX Input 4 Source */
  771. { 0x000008CF, 0x0080 }, /* R2255 - DRC1RMIX Input 4 Volume */
  772. { 0x00000900, 0x0000 }, /* R2304 - HPLP1MIX Input 1 Source */
  773. { 0x00000901, 0x0080 }, /* R2305 - HPLP1MIX Input 1 Volume */
  774. { 0x00000902, 0x0000 }, /* R2306 - HPLP1MIX Input 2 Source */
  775. { 0x00000903, 0x0080 }, /* R2307 - HPLP1MIX Input 2 Volume */
  776. { 0x00000904, 0x0000 }, /* R2308 - HPLP1MIX Input 3 Source */
  777. { 0x00000905, 0x0080 }, /* R2309 - HPLP1MIX Input 3 Volume */
  778. { 0x00000906, 0x0000 }, /* R2310 - HPLP1MIX Input 4 Source */
  779. { 0x00000907, 0x0080 }, /* R2311 - HPLP1MIX Input 4 Volume */
  780. { 0x00000908, 0x0000 }, /* R2312 - HPLP2MIX Input 1 Source */
  781. { 0x00000909, 0x0080 }, /* R2313 - HPLP2MIX Input 1 Volume */
  782. { 0x0000090A, 0x0000 }, /* R2314 - HPLP2MIX Input 2 Source */
  783. { 0x0000090B, 0x0080 }, /* R2315 - HPLP2MIX Input 2 Volume */
  784. { 0x0000090C, 0x0000 }, /* R2316 - HPLP2MIX Input 3 Source */
  785. { 0x0000090D, 0x0080 }, /* R2317 - HPLP2MIX Input 3 Volume */
  786. { 0x0000090E, 0x0000 }, /* R2318 - HPLP2MIX Input 4 Source */
  787. { 0x0000090F, 0x0080 }, /* R2319 - HPLP2MIX Input 4 Volume */
  788. { 0x00000910, 0x0000 }, /* R2320 - HPLP3MIX Input 1 Source */
  789. { 0x00000911, 0x0080 }, /* R2321 - HPLP3MIX Input 1 Volume */
  790. { 0x00000912, 0x0000 }, /* R2322 - HPLP3MIX Input 2 Source */
  791. { 0x00000913, 0x0080 }, /* R2323 - HPLP3MIX Input 2 Volume */
  792. { 0x00000914, 0x0000 }, /* R2324 - HPLP3MIX Input 3 Source */
  793. { 0x00000915, 0x0080 }, /* R2325 - HPLP3MIX Input 3 Volume */
  794. { 0x00000916, 0x0000 }, /* R2326 - HPLP3MIX Input 4 Source */
  795. { 0x00000917, 0x0080 }, /* R2327 - HPLP3MIX Input 4 Volume */
  796. { 0x00000918, 0x0000 }, /* R2328 - HPLP4MIX Input 1 Source */
  797. { 0x00000919, 0x0080 }, /* R2329 - HPLP4MIX Input 1 Volume */
  798. { 0x0000091A, 0x0000 }, /* R2330 - HPLP4MIX Input 2 Source */
  799. { 0x0000091B, 0x0080 }, /* R2331 - HPLP4MIX Input 2 Volume */
  800. { 0x0000091C, 0x0000 }, /* R2332 - HPLP4MIX Input 3 Source */
  801. { 0x0000091D, 0x0080 }, /* R2333 - HPLP4MIX Input 3 Volume */
  802. { 0x0000091E, 0x0000 }, /* R2334 - HPLP4MIX Input 4 Source */
  803. { 0x0000091F, 0x0080 }, /* R2335 - HPLP4MIX Input 4 Volume */
  804. { 0x00000940, 0x0000 }, /* R2368 - DSP1LMIX Input 1 Source */
  805. { 0x00000941, 0x0080 }, /* R2369 - DSP1LMIX Input 1 Volume */
  806. { 0x00000942, 0x0000 }, /* R2370 - DSP1LMIX Input 2 Source */
  807. { 0x00000943, 0x0080 }, /* R2371 - DSP1LMIX Input 2 Volume */
  808. { 0x00000944, 0x0000 }, /* R2372 - DSP1LMIX Input 3 Source */
  809. { 0x00000945, 0x0080 }, /* R2373 - DSP1LMIX Input 3 Volume */
  810. { 0x00000946, 0x0000 }, /* R2374 - DSP1LMIX Input 4 Source */
  811. { 0x00000947, 0x0080 }, /* R2375 - DSP1LMIX Input 4 Volume */
  812. { 0x00000948, 0x0000 }, /* R2376 - DSP1RMIX Input 1 Source */
  813. { 0x00000949, 0x0080 }, /* R2377 - DSP1RMIX Input 1 Volume */
  814. { 0x0000094A, 0x0000 }, /* R2378 - DSP1RMIX Input 2 Source */
  815. { 0x0000094B, 0x0080 }, /* R2379 - DSP1RMIX Input 2 Volume */
  816. { 0x0000094C, 0x0000 }, /* R2380 - DSP1RMIX Input 3 Source */
  817. { 0x0000094D, 0x0080 }, /* R2381 - DSP1RMIX Input 3 Volume */
  818. { 0x0000094E, 0x0000 }, /* R2382 - DSP1RMIX Input 4 Source */
  819. { 0x0000094F, 0x0080 }, /* R2383 - DSP1RMIX Input 4 Volume */
  820. { 0x00000950, 0x0000 }, /* R2384 - DSP1AUX1MIX Input 1 Source */
  821. { 0x00000958, 0x0000 }, /* R2392 - DSP1AUX2MIX Input 1 Source */
  822. { 0x00000960, 0x0000 }, /* R2400 - DSP1AUX3MIX Input 1 Source */
  823. { 0x00000968, 0x0000 }, /* R2408 - DSP1AUX4MIX Input 1 Source */
  824. { 0x00000970, 0x0000 }, /* R2416 - DSP1AUX5MIX Input 1 Source */
  825. { 0x00000978, 0x0000 }, /* R2424 - DSP1AUX6MIX Input 1 Source */
  826. { 0x00000A80, 0x0000 }, /* R2688 - ASRC1LMIX Input 1 Source */
  827. { 0x00000A88, 0x0000 }, /* R2696 - ASRC1RMIX Input 1 Source */
  828. { 0x00000A90, 0x0000 }, /* R2704 - ASRC2LMIX Input 1 Source */
  829. { 0x00000A98, 0x0000 }, /* R2712 - ASRC2RMIX Input 1 Source */
  830. { 0x00000B00, 0x0000 }, /* R2816 - ISRC1DEC1MIX Input 1 Source */
  831. { 0x00000B08, 0x0000 }, /* R2824 - ISRC1DEC2MIX Input 1 Source */
  832. { 0x00000B20, 0x0000 }, /* R2848 - ISRC1INT1MIX Input 1 Source */
  833. { 0x00000B28, 0x0000 }, /* R2856 - ISRC1INT2MIX Input 1 Source */
  834. { 0x00000B40, 0x0000 }, /* R2880 - ISRC2DEC1MIX Input 1 Source */
  835. { 0x00000B48, 0x0000 }, /* R2888 - ISRC2DEC2MIX Input 1 Source */
  836. { 0x00000B60, 0x0000 }, /* R2912 - ISRC2INT1MIX Input 1 Source */
  837. { 0x00000B68, 0x0000 }, /* R2920 - ISRC2INT2MIX Input 1 Source */
  838. { 0x00000C00, 0xA101 }, /* R3072 - GPIO1 CTRL */
  839. { 0x00000C01, 0xA101 }, /* R3073 - GPIO2 CTRL */
  840. { 0x00000C02, 0xA101 }, /* R3074 - GPIO3 CTRL */
  841. { 0x00000C03, 0xA101 }, /* R3075 - GPIO4 CTRL */
  842. { 0x00000C04, 0xA101 }, /* R3076 - GPIO5 CTRL */
  843. { 0x00000C0F, 0x0400 }, /* R3087 - IRQ CTRL 1 */
  844. { 0x00000C10, 0x1000 }, /* R3088 - GPIO Debounce Config */
  845. { 0x00000C20, 0x8002 }, /* R3104 - Misc Pad Ctrl 1 */
  846. { 0x00000C21, 0x0001 }, /* R3105 - Misc Pad Ctrl 2 */
  847. { 0x00000C22, 0x0000 }, /* R3106 - Misc Pad Ctrl 3 */
  848. { 0x00000C23, 0x0000 }, /* R3107 - Misc Pad Ctrl 4 */
  849. { 0x00000C24, 0x0000 }, /* R3108 - Misc Pad Ctrl 5 */
  850. { 0x00000C25, 0x0000 }, /* R3109 - Misc Pad Ctrl 6 */
  851. { 0x00000D08, 0xFFFF }, /* R3336 - Interrupt Status 1 Mask */
  852. { 0x00000D09, 0xFFFF }, /* R3337 - Interrupt Status 2 Mask */
  853. { 0x00000D0A, 0xFFFF }, /* R3338 - Interrupt Status 3 Mask */
  854. { 0x00000D0B, 0xFFFF }, /* R3339 - Interrupt Status 4 Mask */
  855. { 0x00000D0C, 0xFEFF }, /* R3340 - Interrupt Status 5 Mask */
  856. { 0x00000D0F, 0x0000 }, /* R3343 - Interrupt Control */
  857. { 0x00000D18, 0xFFFF }, /* R3352 - IRQ2 Status 1 Mask */
  858. { 0x00000D19, 0xFFFF }, /* R3353 - IRQ2 Status 2 Mask */
  859. { 0x00000D1A, 0xFFFF }, /* R3354 - IRQ2 Status 3 Mask */
  860. { 0x00000D1B, 0xFFFF }, /* R3355 - IRQ2 Status 4 Mask */
  861. { 0x00000D1C, 0xFFFF }, /* R3356 - IRQ2 Status 5 Mask */
  862. { 0x00000D1F, 0x0000 }, /* R3359 - IRQ2 Control */
  863. { 0x00000D41, 0x0000 }, /* R3393 - ADSP2 IRQ0 */
  864. { 0x00000D53, 0xFFFF }, /* R3411 - AOD IRQ Mask IRQ1 */
  865. { 0x00000D54, 0xFFFF }, /* R3412 - AOD IRQ Mask IRQ2 */
  866. { 0x00000D56, 0x0000 }, /* R3414 - Jack detect debounce */
  867. { 0x00000E00, 0x0000 }, /* R3584 - FX_Ctrl1 */
  868. { 0x00000E10, 0x6318 }, /* R3600 - EQ1_1 */
  869. { 0x00000E11, 0x6300 }, /* R3601 - EQ1_2 */
  870. { 0x00000E12, 0x0FC8 }, /* R3602 - EQ1_3 */
  871. { 0x00000E13, 0x03FE }, /* R3603 - EQ1_4 */
  872. { 0x00000E14, 0x00E0 }, /* R3604 - EQ1_5 */
  873. { 0x00000E15, 0x1EC4 }, /* R3605 - EQ1_6 */
  874. { 0x00000E16, 0xF136 }, /* R3606 - EQ1_7 */
  875. { 0x00000E17, 0x0409 }, /* R3607 - EQ1_8 */
  876. { 0x00000E18, 0x04CC }, /* R3608 - EQ1_9 */
  877. { 0x00000E19, 0x1C9B }, /* R3609 - EQ1_10 */
  878. { 0x00000E1A, 0xF337 }, /* R3610 - EQ1_11 */
  879. { 0x00000E1B, 0x040B }, /* R3611 - EQ1_12 */
  880. { 0x00000E1C, 0x0CBB }, /* R3612 - EQ1_13 */
  881. { 0x00000E1D, 0x16F8 }, /* R3613 - EQ1_14 */
  882. { 0x00000E1E, 0xF7D9 }, /* R3614 - EQ1_15 */
  883. { 0x00000E1F, 0x040A }, /* R3615 - EQ1_16 */
  884. { 0x00000E20, 0x1F14 }, /* R3616 - EQ1_17 */
  885. { 0x00000E21, 0x058C }, /* R3617 - EQ1_18 */
  886. { 0x00000E22, 0x0563 }, /* R3618 - EQ1_19 */
  887. { 0x00000E23, 0x4000 }, /* R3619 - EQ1_20 */
  888. { 0x00000E24, 0x0B75 }, /* R3620 - EQ1_21 */
  889. { 0x00000E26, 0x6318 }, /* R3622 - EQ2_1 */
  890. { 0x00000E27, 0x6300 }, /* R3623 - EQ2_2 */
  891. { 0x00000E28, 0x0FC8 }, /* R3624 - EQ2_3 */
  892. { 0x00000E29, 0x03FE }, /* R3625 - EQ2_4 */
  893. { 0x00000E2A, 0x00E0 }, /* R3626 - EQ2_5 */
  894. { 0x00000E2B, 0x1EC4 }, /* R3627 - EQ2_6 */
  895. { 0x00000E2C, 0xF136 }, /* R3628 - EQ2_7 */
  896. { 0x00000E2D, 0x0409 }, /* R3629 - EQ2_8 */
  897. { 0x00000E2E, 0x04CC }, /* R3630 - EQ2_9 */
  898. { 0x00000E2F, 0x1C9B }, /* R3631 - EQ2_10 */
  899. { 0x00000E30, 0xF337 }, /* R3632 - EQ2_11 */
  900. { 0x00000E31, 0x040B }, /* R3633 - EQ2_12 */
  901. { 0x00000E32, 0x0CBB }, /* R3634 - EQ2_13 */
  902. { 0x00000E33, 0x16F8 }, /* R3635 - EQ2_14 */
  903. { 0x00000E34, 0xF7D9 }, /* R3636 - EQ2_15 */
  904. { 0x00000E35, 0x040A }, /* R3637 - EQ2_16 */
  905. { 0x00000E36, 0x1F14 }, /* R3638 - EQ2_17 */
  906. { 0x00000E37, 0x058C }, /* R3639 - EQ2_18 */
  907. { 0x00000E38, 0x0563 }, /* R3640 - EQ2_19 */
  908. { 0x00000E39, 0x4000 }, /* R3641 - EQ2_20 */
  909. { 0x00000E3A, 0x0B75 }, /* R3642 - EQ2_21 */
  910. { 0x00000E3C, 0x6318 }, /* R3644 - EQ3_1 */
  911. { 0x00000E3D, 0x6300 }, /* R3645 - EQ3_2 */
  912. { 0x00000E3E, 0x0FC8 }, /* R3646 - EQ3_3 */
  913. { 0x00000E3F, 0x03FE }, /* R3647 - EQ3_4 */
  914. { 0x00000E40, 0x00E0 }, /* R3648 - EQ3_5 */
  915. { 0x00000E41, 0x1EC4 }, /* R3649 - EQ3_6 */
  916. { 0x00000E42, 0xF136 }, /* R3650 - EQ3_7 */
  917. { 0x00000E43, 0x0409 }, /* R3651 - EQ3_8 */
  918. { 0x00000E44, 0x04CC }, /* R3652 - EQ3_9 */
  919. { 0x00000E45, 0x1C9B }, /* R3653 - EQ3_10 */
  920. { 0x00000E46, 0xF337 }, /* R3654 - EQ3_11 */
  921. { 0x00000E47, 0x040B }, /* R3655 - EQ3_12 */
  922. { 0x00000E48, 0x0CBB }, /* R3656 - EQ3_13 */
  923. { 0x00000E49, 0x16F8 }, /* R3657 - EQ3_14 */
  924. { 0x00000E4A, 0xF7D9 }, /* R3658 - EQ3_15 */
  925. { 0x00000E4B, 0x040A }, /* R3659 - EQ3_16 */
  926. { 0x00000E4C, 0x1F14 }, /* R3660 - EQ3_17 */
  927. { 0x00000E4D, 0x058C }, /* R3661 - EQ3_18 */
  928. { 0x00000E4E, 0x0563 }, /* R3662 - EQ3_19 */
  929. { 0x00000E4F, 0x4000 }, /* R3663 - EQ3_20 */
  930. { 0x00000E50, 0x0B75 }, /* R3664 - EQ3_21 */
  931. { 0x00000E52, 0x6318 }, /* R3666 - EQ4_1 */
  932. { 0x00000E53, 0x6300 }, /* R3667 - EQ4_2 */
  933. { 0x00000E54, 0x0FC8 }, /* R3668 - EQ4_3 */
  934. { 0x00000E55, 0x03FE }, /* R3669 - EQ4_4 */
  935. { 0x00000E56, 0x00E0 }, /* R3670 - EQ4_5 */
  936. { 0x00000E57, 0x1EC4 }, /* R3671 - EQ4_6 */
  937. { 0x00000E58, 0xF136 }, /* R3672 - EQ4_7 */
  938. { 0x00000E59, 0x0409 }, /* R3673 - EQ4_8 */
  939. { 0x00000E5A, 0x04CC }, /* R3674 - EQ4_9 */
  940. { 0x00000E5B, 0x1C9B }, /* R3675 - EQ4_10 */
  941. { 0x00000E5C, 0xF337 }, /* R3676 - EQ4_11 */
  942. { 0x00000E5D, 0x040B }, /* R3677 - EQ4_12 */
  943. { 0x00000E5E, 0x0CBB }, /* R3678 - EQ4_13 */
  944. { 0x00000E5F, 0x16F8 }, /* R3679 - EQ4_14 */
  945. { 0x00000E60, 0xF7D9 }, /* R3680 - EQ4_15 */
  946. { 0x00000E61, 0x040A }, /* R3681 - EQ4_16 */
  947. { 0x00000E62, 0x1F14 }, /* R3682 - EQ4_17 */
  948. { 0x00000E63, 0x058C }, /* R3683 - EQ4_18 */
  949. { 0x00000E64, 0x0563 }, /* R3684 - EQ4_19 */
  950. { 0x00000E65, 0x4000 }, /* R3685 - EQ4_20 */
  951. { 0x00000E66, 0x0B75 }, /* R3686 - EQ4_21 */
  952. { 0x00000E80, 0x0018 }, /* R3712 - DRC1 ctrl1 */
  953. { 0x00000E81, 0x0933 }, /* R3713 - DRC1 ctrl2 */
  954. { 0x00000E82, 0x0018 }, /* R3714 - DRC1 ctrl3 */
  955. { 0x00000E83, 0x0000 }, /* R3715 - DRC1 ctrl4 */
  956. { 0x00000E84, 0x0000 }, /* R3716 - DRC1 ctrl5 */
  957. { 0x00000EC0, 0x0000 }, /* R3776 - HPLPF1_1 */
  958. { 0x00000EC1, 0x0000 }, /* R3777 - HPLPF1_2 */
  959. { 0x00000EC4, 0x0000 }, /* R3780 - HPLPF2_1 */
  960. { 0x00000EC5, 0x0000 }, /* R3781 - HPLPF2_2 */
  961. { 0x00000EC8, 0x0000 }, /* R3784 - HPLPF3_1 */
  962. { 0x00000EC9, 0x0000 }, /* R3785 - HPLPF3_2 */
  963. { 0x00000ECC, 0x0000 }, /* R3788 - HPLPF4_1 */
  964. { 0x00000ECD, 0x0000 }, /* R3789 - HPLPF4_2 */
  965. { 0x00000EE0, 0x0000 }, /* R3808 - ASRC_ENABLE */
  966. { 0x00000EE2, 0x0000 }, /* R3810 - ASRC_RATE1 */
  967. { 0x00000EE3, 0x4000 }, /* R3811 - ASRC_RATE2 */
  968. { 0x00000EF0, 0x0000 }, /* R3824 - ISRC 1 CTRL 1 */
  969. { 0x00000EF1, 0x0000 }, /* R3825 - ISRC 1 CTRL 2 */
  970. { 0x00000EF2, 0x0000 }, /* R3826 - ISRC 1 CTRL 3 */
  971. { 0x00000EF3, 0x0000 }, /* R3827 - ISRC 2 CTRL 1 */
  972. { 0x00000EF4, 0x0000 }, /* R3828 - ISRC 2 CTRL 2 */
  973. { 0x00000EF5, 0x0000 }, /* R3829 - ISRC 2 CTRL 3 */
  974. { 0x00001100, 0x0010 }, /* R4352 - DSP1 Control 1 */
  975. };
  976. static bool wm5102_readable_register(struct device *dev, unsigned int reg)
  977. {
  978. switch (reg) {
  979. case ARIZONA_SOFTWARE_RESET:
  980. case ARIZONA_DEVICE_REVISION:
  981. case ARIZONA_CTRL_IF_SPI_CFG_1:
  982. case ARIZONA_CTRL_IF_I2C1_CFG_1:
  983. case ARIZONA_WRITE_SEQUENCER_CTRL_0:
  984. case ARIZONA_WRITE_SEQUENCER_CTRL_1:
  985. case ARIZONA_WRITE_SEQUENCER_CTRL_2:
  986. case ARIZONA_WRITE_SEQUENCER_CTRL_3:
  987. case ARIZONA_TONE_GENERATOR_1:
  988. case ARIZONA_TONE_GENERATOR_2:
  989. case ARIZONA_TONE_GENERATOR_3:
  990. case ARIZONA_TONE_GENERATOR_4:
  991. case ARIZONA_TONE_GENERATOR_5:
  992. case ARIZONA_PWM_DRIVE_1:
  993. case ARIZONA_PWM_DRIVE_2:
  994. case ARIZONA_PWM_DRIVE_3:
  995. case ARIZONA_WAKE_CONTROL:
  996. case ARIZONA_SEQUENCE_CONTROL:
  997. case ARIZONA_SAMPLE_RATE_SEQUENCE_SELECT_1:
  998. case ARIZONA_SAMPLE_RATE_SEQUENCE_SELECT_2:
  999. case ARIZONA_SAMPLE_RATE_SEQUENCE_SELECT_3:
  1000. case ARIZONA_SAMPLE_RATE_SEQUENCE_SELECT_4:
  1001. case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_1:
  1002. case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_2:
  1003. case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_3:
  1004. case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_4:
  1005. case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_5:
  1006. case ARIZONA_ALWAYS_ON_TRIGGERS_SEQUENCE_SELECT_6:
  1007. case ARIZONA_COMFORT_NOISE_GENERATOR:
  1008. case ARIZONA_HAPTICS_CONTROL_1:
  1009. case ARIZONA_HAPTICS_CONTROL_2:
  1010. case ARIZONA_HAPTICS_PHASE_1_INTENSITY:
  1011. case ARIZONA_HAPTICS_PHASE_1_DURATION:
  1012. case ARIZONA_HAPTICS_PHASE_2_INTENSITY:
  1013. case ARIZONA_HAPTICS_PHASE_2_DURATION:
  1014. case ARIZONA_HAPTICS_PHASE_3_INTENSITY:
  1015. case ARIZONA_HAPTICS_PHASE_3_DURATION:
  1016. case ARIZONA_HAPTICS_STATUS:
  1017. case ARIZONA_CLOCK_32K_1:
  1018. case ARIZONA_SYSTEM_CLOCK_1:
  1019. case ARIZONA_SAMPLE_RATE_1:
  1020. case ARIZONA_SAMPLE_RATE_2:
  1021. case ARIZONA_SAMPLE_RATE_3:
  1022. case ARIZONA_SAMPLE_RATE_1_STATUS:
  1023. case ARIZONA_SAMPLE_RATE_2_STATUS:
  1024. case ARIZONA_SAMPLE_RATE_3_STATUS:
  1025. case ARIZONA_ASYNC_CLOCK_1:
  1026. case ARIZONA_ASYNC_SAMPLE_RATE_1:
  1027. case ARIZONA_ASYNC_SAMPLE_RATE_1_STATUS:
  1028. case ARIZONA_ASYNC_SAMPLE_RATE_2:
  1029. case ARIZONA_ASYNC_SAMPLE_RATE_2_STATUS:
  1030. case ARIZONA_OUTPUT_SYSTEM_CLOCK:
  1031. case ARIZONA_OUTPUT_ASYNC_CLOCK:
  1032. case ARIZONA_RATE_ESTIMATOR_1:
  1033. case ARIZONA_RATE_ESTIMATOR_2:
  1034. case ARIZONA_RATE_ESTIMATOR_3:
  1035. case ARIZONA_RATE_ESTIMATOR_4:
  1036. case ARIZONA_RATE_ESTIMATOR_5:
  1037. case ARIZONA_DYNAMIC_FREQUENCY_SCALING_1:
  1038. case ARIZONA_FLL1_CONTROL_1:
  1039. case ARIZONA_FLL1_CONTROL_2:
  1040. case ARIZONA_FLL1_CONTROL_3:
  1041. case ARIZONA_FLL1_CONTROL_4:
  1042. case ARIZONA_FLL1_CONTROL_5:
  1043. case ARIZONA_FLL1_CONTROL_6:
  1044. case ARIZONA_FLL1_CONTROL_7:
  1045. case ARIZONA_FLL1_SYNCHRONISER_1:
  1046. case ARIZONA_FLL1_SYNCHRONISER_2:
  1047. case ARIZONA_FLL1_SYNCHRONISER_3:
  1048. case ARIZONA_FLL1_SYNCHRONISER_4:
  1049. case ARIZONA_FLL1_SYNCHRONISER_5:
  1050. case ARIZONA_FLL1_SYNCHRONISER_6:
  1051. case ARIZONA_FLL1_SYNCHRONISER_7:
  1052. case ARIZONA_FLL1_SPREAD_SPECTRUM:
  1053. case ARIZONA_FLL1_GPIO_CLOCK:
  1054. case ARIZONA_FLL2_CONTROL_1:
  1055. case ARIZONA_FLL2_CONTROL_2:
  1056. case ARIZONA_FLL2_CONTROL_3:
  1057. case ARIZONA_FLL2_CONTROL_4:
  1058. case ARIZONA_FLL2_CONTROL_5:
  1059. case ARIZONA_FLL2_CONTROL_6:
  1060. case ARIZONA_FLL2_CONTROL_7:
  1061. case ARIZONA_FLL2_SYNCHRONISER_1:
  1062. case ARIZONA_FLL2_SYNCHRONISER_2:
  1063. case ARIZONA_FLL2_SYNCHRONISER_3:
  1064. case ARIZONA_FLL2_SYNCHRONISER_4:
  1065. case ARIZONA_FLL2_SYNCHRONISER_5:
  1066. case ARIZONA_FLL2_SYNCHRONISER_6:
  1067. case ARIZONA_FLL2_SYNCHRONISER_7:
  1068. case ARIZONA_FLL2_SPREAD_SPECTRUM:
  1069. case ARIZONA_FLL2_GPIO_CLOCK:
  1070. case ARIZONA_MIC_CHARGE_PUMP_1:
  1071. case ARIZONA_LDO1_CONTROL_1:
  1072. case ARIZONA_LDO1_CONTROL_2:
  1073. case ARIZONA_LDO2_CONTROL_1:
  1074. case ARIZONA_MIC_BIAS_CTRL_1:
  1075. case ARIZONA_MIC_BIAS_CTRL_2:
  1076. case ARIZONA_MIC_BIAS_CTRL_3:
  1077. case ARIZONA_HP_CTRL_1L:
  1078. case ARIZONA_HP_CTRL_1R:
  1079. case ARIZONA_ACCESSORY_DETECT_MODE_1:
  1080. case ARIZONA_HEADPHONE_DETECT_1:
  1081. case ARIZONA_HEADPHONE_DETECT_2:
  1082. case ARIZONA_HP_DACVAL:
  1083. case ARIZONA_MICD_CLAMP_CONTROL:
  1084. case ARIZONA_MIC_DETECT_1:
  1085. case ARIZONA_MIC_DETECT_2:
  1086. case ARIZONA_MIC_DETECT_3:
  1087. case ARIZONA_MIC_DETECT_LEVEL_1:
  1088. case ARIZONA_MIC_DETECT_LEVEL_2:
  1089. case ARIZONA_MIC_DETECT_LEVEL_3:
  1090. case ARIZONA_MIC_DETECT_LEVEL_4:
  1091. case ARIZONA_MIC_NOISE_MIX_CONTROL_1:
  1092. case ARIZONA_ISOLATION_CONTROL:
  1093. case ARIZONA_JACK_DETECT_ANALOGUE:
  1094. case ARIZONA_INPUT_ENABLES:
  1095. case ARIZONA_INPUT_RATE:
  1096. case ARIZONA_INPUT_VOLUME_RAMP:
  1097. case ARIZONA_IN1L_CONTROL:
  1098. case ARIZONA_ADC_DIGITAL_VOLUME_1L:
  1099. case ARIZONA_DMIC1L_CONTROL:
  1100. case ARIZONA_IN1R_CONTROL:
  1101. case ARIZONA_ADC_DIGITAL_VOLUME_1R:
  1102. case ARIZONA_DMIC1R_CONTROL:
  1103. case ARIZONA_IN2L_CONTROL:
  1104. case ARIZONA_ADC_DIGITAL_VOLUME_2L:
  1105. case ARIZONA_DMIC2L_CONTROL:
  1106. case ARIZONA_IN2R_CONTROL:
  1107. case ARIZONA_ADC_DIGITAL_VOLUME_2R:
  1108. case ARIZONA_DMIC2R_CONTROL:
  1109. case ARIZONA_IN3L_CONTROL:
  1110. case ARIZONA_ADC_DIGITAL_VOLUME_3L:
  1111. case ARIZONA_DMIC3L_CONTROL:
  1112. case ARIZONA_IN3R_CONTROL:
  1113. case ARIZONA_ADC_DIGITAL_VOLUME_3R:
  1114. case ARIZONA_DMIC3R_CONTROL:
  1115. case ARIZONA_OUTPUT_ENABLES_1:
  1116. case ARIZONA_OUTPUT_STATUS_1:
  1117. case ARIZONA_OUTPUT_RATE_1:
  1118. case ARIZONA_OUTPUT_VOLUME_RAMP:
  1119. case ARIZONA_OUTPUT_PATH_CONFIG_1L:
  1120. case ARIZONA_DAC_DIGITAL_VOLUME_1L:
  1121. case ARIZONA_DAC_VOLUME_LIMIT_1L:
  1122. case ARIZONA_NOISE_GATE_SELECT_1L:
  1123. case ARIZONA_OUTPUT_PATH_CONFIG_1R:
  1124. case ARIZONA_DAC_DIGITAL_VOLUME_1R:
  1125. case ARIZONA_DAC_VOLUME_LIMIT_1R:
  1126. case ARIZONA_NOISE_GATE_SELECT_1R:
  1127. case ARIZONA_OUTPUT_PATH_CONFIG_2L:
  1128. case ARIZONA_DAC_DIGITAL_VOLUME_2L:
  1129. case ARIZONA_DAC_VOLUME_LIMIT_2L:
  1130. case ARIZONA_NOISE_GATE_SELECT_2L:
  1131. case ARIZONA_OUTPUT_PATH_CONFIG_2R:
  1132. case ARIZONA_DAC_DIGITAL_VOLUME_2R:
  1133. case ARIZONA_DAC_VOLUME_LIMIT_2R:
  1134. case ARIZONA_NOISE_GATE_SELECT_2R:
  1135. case ARIZONA_OUTPUT_PATH_CONFIG_3L:
  1136. case ARIZONA_DAC_DIGITAL_VOLUME_3L:
  1137. case ARIZONA_DAC_VOLUME_LIMIT_3L:
  1138. case ARIZONA_NOISE_GATE_SELECT_3L:
  1139. case ARIZONA_OUTPUT_PATH_CONFIG_4L:
  1140. case ARIZONA_DAC_DIGITAL_VOLUME_4L:
  1141. case ARIZONA_OUT_VOLUME_4L:
  1142. case ARIZONA_NOISE_GATE_SELECT_4L:
  1143. case ARIZONA_DAC_DIGITAL_VOLUME_4R:
  1144. case ARIZONA_OUT_VOLUME_4R:
  1145. case ARIZONA_NOISE_GATE_SELECT_4R:
  1146. case ARIZONA_OUTPUT_PATH_CONFIG_5L:
  1147. case ARIZONA_DAC_DIGITAL_VOLUME_5L:
  1148. case ARIZONA_DAC_VOLUME_LIMIT_5L:
  1149. case ARIZONA_NOISE_GATE_SELECT_5L:
  1150. case ARIZONA_DAC_DIGITAL_VOLUME_5R:
  1151. case ARIZONA_DAC_VOLUME_LIMIT_5R:
  1152. case ARIZONA_NOISE_GATE_SELECT_5R:
  1153. case ARIZONA_DRE_ENABLE:
  1154. case ARIZONA_DRE_CONTROL_2:
  1155. case ARIZONA_DRE_CONTROL_3:
  1156. case ARIZONA_DAC_AEC_CONTROL_1:
  1157. case ARIZONA_NOISE_GATE_CONTROL:
  1158. case ARIZONA_PDM_SPK1_CTRL_1:
  1159. case ARIZONA_PDM_SPK1_CTRL_2:
  1160. case ARIZONA_DAC_COMP_1:
  1161. case ARIZONA_DAC_COMP_2:
  1162. case ARIZONA_DAC_COMP_3:
  1163. case ARIZONA_DAC_COMP_4:
  1164. case ARIZONA_AIF1_BCLK_CTRL:
  1165. case ARIZONA_AIF1_TX_PIN_CTRL:
  1166. case ARIZONA_AIF1_RX_PIN_CTRL:
  1167. case ARIZONA_AIF1_RATE_CTRL:
  1168. case ARIZONA_AIF1_FORMAT:
  1169. case ARIZONA_AIF1_TX_BCLK_RATE:
  1170. case ARIZONA_AIF1_RX_BCLK_RATE:
  1171. case ARIZONA_AIF1_FRAME_CTRL_1:
  1172. case ARIZONA_AIF1_FRAME_CTRL_2:
  1173. case ARIZONA_AIF1_FRAME_CTRL_3:
  1174. case ARIZONA_AIF1_FRAME_CTRL_4:
  1175. case ARIZONA_AIF1_FRAME_CTRL_5:
  1176. case ARIZONA_AIF1_FRAME_CTRL_6:
  1177. case ARIZONA_AIF1_FRAME_CTRL_7:
  1178. case ARIZONA_AIF1_FRAME_CTRL_8:
  1179. case ARIZONA_AIF1_FRAME_CTRL_9:
  1180. case ARIZONA_AIF1_FRAME_CTRL_10:
  1181. case ARIZONA_AIF1_FRAME_CTRL_11:
  1182. case ARIZONA_AIF1_FRAME_CTRL_12:
  1183. case ARIZONA_AIF1_FRAME_CTRL_13:
  1184. case ARIZONA_AIF1_FRAME_CTRL_14:
  1185. case ARIZONA_AIF1_FRAME_CTRL_15:
  1186. case ARIZONA_AIF1_FRAME_CTRL_16:
  1187. case ARIZONA_AIF1_FRAME_CTRL_17:
  1188. case ARIZONA_AIF1_FRAME_CTRL_18:
  1189. case ARIZONA_AIF1_TX_ENABLES:
  1190. case ARIZONA_AIF1_RX_ENABLES:
  1191. case ARIZONA_AIF2_BCLK_CTRL:
  1192. case ARIZONA_AIF2_TX_PIN_CTRL:
  1193. case ARIZONA_AIF2_RX_PIN_CTRL:
  1194. case ARIZONA_AIF2_RATE_CTRL:
  1195. case ARIZONA_AIF2_FORMAT:
  1196. case ARIZONA_AIF2_TX_BCLK_RATE:
  1197. case ARIZONA_AIF2_RX_BCLK_RATE:
  1198. case ARIZONA_AIF2_FRAME_CTRL_1:
  1199. case ARIZONA_AIF2_FRAME_CTRL_2:
  1200. case ARIZONA_AIF2_FRAME_CTRL_3:
  1201. case ARIZONA_AIF2_FRAME_CTRL_4:
  1202. case ARIZONA_AIF2_FRAME_CTRL_11:
  1203. case ARIZONA_AIF2_FRAME_CTRL_12:
  1204. case ARIZONA_AIF2_TX_ENABLES:
  1205. case ARIZONA_AIF2_RX_ENABLES:
  1206. case ARIZONA_AIF3_BCLK_CTRL:
  1207. case ARIZONA_AIF3_TX_PIN_CTRL:
  1208. case ARIZONA_AIF3_RX_PIN_CTRL:
  1209. case ARIZONA_AIF3_RATE_CTRL:
  1210. case ARIZONA_AIF3_FORMAT:
  1211. case ARIZONA_AIF3_TX_BCLK_RATE:
  1212. case ARIZONA_AIF3_RX_BCLK_RATE:
  1213. case ARIZONA_AIF3_FRAME_CTRL_1:
  1214. case ARIZONA_AIF3_FRAME_CTRL_2:
  1215. case ARIZONA_AIF3_FRAME_CTRL_3:
  1216. case ARIZONA_AIF3_FRAME_CTRL_4:
  1217. case ARIZONA_AIF3_FRAME_CTRL_11:
  1218. case ARIZONA_AIF3_FRAME_CTRL_12:
  1219. case ARIZONA_AIF3_TX_ENABLES:
  1220. case ARIZONA_AIF3_RX_ENABLES:
  1221. case ARIZONA_SLIMBUS_FRAMER_REF_GEAR:
  1222. case ARIZONA_SLIMBUS_RATES_1:
  1223. case ARIZONA_SLIMBUS_RATES_2:
  1224. case ARIZONA_SLIMBUS_RATES_3:
  1225. case ARIZONA_SLIMBUS_RATES_4:
  1226. case ARIZONA_SLIMBUS_RATES_5:
  1227. case ARIZONA_SLIMBUS_RATES_6:
  1228. case ARIZONA_SLIMBUS_RATES_7:
  1229. case ARIZONA_SLIMBUS_RATES_8:
  1230. case ARIZONA_SLIMBUS_RX_CHANNEL_ENABLE:
  1231. case ARIZONA_SLIMBUS_TX_CHANNEL_ENABLE:
  1232. case ARIZONA_SLIMBUS_RX_PORT_STATUS:
  1233. case ARIZONA_SLIMBUS_TX_PORT_STATUS:
  1234. case ARIZONA_PWM1MIX_INPUT_1_SOURCE:
  1235. case ARIZONA_PWM1MIX_INPUT_1_VOLUME:
  1236. case ARIZONA_PWM1MIX_INPUT_2_SOURCE:
  1237. case ARIZONA_PWM1MIX_INPUT_2_VOLUME:
  1238. case ARIZONA_PWM1MIX_INPUT_3_SOURCE:
  1239. case ARIZONA_PWM1MIX_INPUT_3_VOLUME:
  1240. case ARIZONA_PWM1MIX_INPUT_4_SOURCE:
  1241. case ARIZONA_PWM1MIX_INPUT_4_VOLUME:
  1242. case ARIZONA_PWM2MIX_INPUT_1_SOURCE:
  1243. case ARIZONA_PWM2MIX_INPUT_1_VOLUME:
  1244. case ARIZONA_PWM2MIX_INPUT_2_SOURCE:
  1245. case ARIZONA_PWM2MIX_INPUT_2_VOLUME:
  1246. case ARIZONA_PWM2MIX_INPUT_3_SOURCE:
  1247. case ARIZONA_PWM2MIX_INPUT_3_VOLUME:
  1248. case ARIZONA_PWM2MIX_INPUT_4_SOURCE:
  1249. case ARIZONA_PWM2MIX_INPUT_4_VOLUME:
  1250. case ARIZONA_MICMIX_INPUT_1_SOURCE:
  1251. case ARIZONA_MICMIX_INPUT_1_VOLUME:
  1252. case ARIZONA_MICMIX_INPUT_2_SOURCE:
  1253. case ARIZONA_MICMIX_INPUT_2_VOLUME:
  1254. case ARIZONA_MICMIX_INPUT_3_SOURCE:
  1255. case ARIZONA_MICMIX_INPUT_3_VOLUME:
  1256. case ARIZONA_MICMIX_INPUT_4_SOURCE:
  1257. case ARIZONA_MICMIX_INPUT_4_VOLUME:
  1258. case ARIZONA_NOISEMIX_INPUT_1_SOURCE:
  1259. case ARIZONA_NOISEMIX_INPUT_1_VOLUME:
  1260. case ARIZONA_NOISEMIX_INPUT_2_SOURCE:
  1261. case ARIZONA_NOISEMIX_INPUT_2_VOLUME:
  1262. case ARIZONA_NOISEMIX_INPUT_3_SOURCE:
  1263. case ARIZONA_NOISEMIX_INPUT_3_VOLUME:
  1264. case ARIZONA_NOISEMIX_INPUT_4_SOURCE:
  1265. case ARIZONA_NOISEMIX_INPUT_4_VOLUME:
  1266. case ARIZONA_OUT1LMIX_INPUT_1_SOURCE:
  1267. case ARIZONA_OUT1LMIX_INPUT_1_VOLUME:
  1268. case ARIZONA_OUT1LMIX_INPUT_2_SOURCE:
  1269. case ARIZONA_OUT1LMIX_INPUT_2_VOLUME:
  1270. case ARIZONA_OUT1LMIX_INPUT_3_SOURCE:
  1271. case ARIZONA_OUT1LMIX_INPUT_3_VOLUME:
  1272. case ARIZONA_OUT1LMIX_INPUT_4_SOURCE:
  1273. case ARIZONA_OUT1LMIX_INPUT_4_VOLUME:
  1274. case ARIZONA_OUT1RMIX_INPUT_1_SOURCE:
  1275. case ARIZONA_OUT1RMIX_INPUT_1_VOLUME:
  1276. case ARIZONA_OUT1RMIX_INPUT_2_SOURCE:
  1277. case ARIZONA_OUT1RMIX_INPUT_2_VOLUME:
  1278. case ARIZONA_OUT1RMIX_INPUT_3_SOURCE:
  1279. case ARIZONA_OUT1RMIX_INPUT_3_VOLUME:
  1280. case ARIZONA_OUT1RMIX_INPUT_4_SOURCE:
  1281. case ARIZONA_OUT1RMIX_INPUT_4_VOLUME:
  1282. case ARIZONA_OUT2LMIX_INPUT_1_SOURCE:
  1283. case ARIZONA_OUT2LMIX_INPUT_1_VOLUME:
  1284. case ARIZONA_OUT2LMIX_INPUT_2_SOURCE:
  1285. case ARIZONA_OUT2LMIX_INPUT_2_VOLUME:
  1286. case ARIZONA_OUT2LMIX_INPUT_3_SOURCE:
  1287. case ARIZONA_OUT2LMIX_INPUT_3_VOLUME:
  1288. case ARIZONA_OUT2LMIX_INPUT_4_SOURCE:
  1289. case ARIZONA_OUT2LMIX_INPUT_4_VOLUME:
  1290. case ARIZONA_OUT2RMIX_INPUT_1_SOURCE:
  1291. case ARIZONA_OUT2RMIX_INPUT_1_VOLUME:
  1292. case ARIZONA_OUT2RMIX_INPUT_2_SOURCE:
  1293. case ARIZONA_OUT2RMIX_INPUT_2_VOLUME:
  1294. case ARIZONA_OUT2RMIX_INPUT_3_SOURCE:
  1295. case ARIZONA_OUT2RMIX_INPUT_3_VOLUME:
  1296. case ARIZONA_OUT2RMIX_INPUT_4_SOURCE:
  1297. case ARIZONA_OUT2RMIX_INPUT_4_VOLUME:
  1298. case ARIZONA_OUT3LMIX_INPUT_1_SOURCE:
  1299. case ARIZONA_OUT3LMIX_INPUT_1_VOLUME:
  1300. case ARIZONA_OUT3LMIX_INPUT_2_SOURCE:
  1301. case ARIZONA_OUT3LMIX_INPUT_2_VOLUME:
  1302. case ARIZONA_OUT3LMIX_INPUT_3_SOURCE:
  1303. case ARIZONA_OUT3LMIX_INPUT_3_VOLUME:
  1304. case ARIZONA_OUT3LMIX_INPUT_4_SOURCE:
  1305. case ARIZONA_OUT3LMIX_INPUT_4_VOLUME:
  1306. case ARIZONA_OUT4LMIX_INPUT_1_SOURCE:
  1307. case ARIZONA_OUT4LMIX_INPUT_1_VOLUME:
  1308. case ARIZONA_OUT4LMIX_INPUT_2_SOURCE:
  1309. case ARIZONA_OUT4LMIX_INPUT_2_VOLUME:
  1310. case ARIZONA_OUT4LMIX_INPUT_3_SOURCE:
  1311. case ARIZONA_OUT4LMIX_INPUT_3_VOLUME:
  1312. case ARIZONA_OUT4LMIX_INPUT_4_SOURCE:
  1313. case ARIZONA_OUT4LMIX_INPUT_4_VOLUME:
  1314. case ARIZONA_OUT4RMIX_INPUT_1_SOURCE:
  1315. case ARIZONA_OUT4RMIX_INPUT_1_VOLUME:
  1316. case ARIZONA_OUT4RMIX_INPUT_2_SOURCE:
  1317. case ARIZONA_OUT4RMIX_INPUT_2_VOLUME:
  1318. case ARIZONA_OUT4RMIX_INPUT_3_SOURCE:
  1319. case ARIZONA_OUT4RMIX_INPUT_3_VOLUME:
  1320. case ARIZONA_OUT4RMIX_INPUT_4_SOURCE:
  1321. case ARIZONA_OUT4RMIX_INPUT_4_VOLUME:
  1322. case ARIZONA_OUT5LMIX_INPUT_1_SOURCE:
  1323. case ARIZONA_OUT5LMIX_INPUT_1_VOLUME:
  1324. case ARIZONA_OUT5LMIX_INPUT_2_SOURCE:
  1325. case ARIZONA_OUT5LMIX_INPUT_2_VOLUME:
  1326. case ARIZONA_OUT5LMIX_INPUT_3_SOURCE:
  1327. case ARIZONA_OUT5LMIX_INPUT_3_VOLUME:
  1328. case ARIZONA_OUT5LMIX_INPUT_4_SOURCE:
  1329. case ARIZONA_OUT5LMIX_INPUT_4_VOLUME:
  1330. case ARIZONA_OUT5RMIX_INPUT_1_SOURCE:
  1331. case ARIZONA_OUT5RMIX_INPUT_1_VOLUME:
  1332. case ARIZONA_OUT5RMIX_INPUT_2_SOURCE:
  1333. case ARIZONA_OUT5RMIX_INPUT_2_VOLUME:
  1334. case ARIZONA_OUT5RMIX_INPUT_3_SOURCE:
  1335. case ARIZONA_OUT5RMIX_INPUT_3_VOLUME:
  1336. case ARIZONA_OUT5RMIX_INPUT_4_SOURCE:
  1337. case ARIZONA_OUT5RMIX_INPUT_4_VOLUME:
  1338. case ARIZONA_AIF1TX1MIX_INPUT_1_SOURCE:
  1339. case ARIZONA_AIF1TX1MIX_INPUT_1_VOLUME:
  1340. case ARIZONA_AIF1TX1MIX_INPUT_2_SOURCE:
  1341. case ARIZONA_AIF1TX1MIX_INPUT_2_VOLUME:
  1342. case ARIZONA_AIF1TX1MIX_INPUT_3_SOURCE:
  1343. case ARIZONA_AIF1TX1MIX_INPUT_3_VOLUME:
  1344. case ARIZONA_AIF1TX1MIX_INPUT_4_SOURCE:
  1345. case ARIZONA_AIF1TX1MIX_INPUT_4_VOLUME:
  1346. case ARIZONA_AIF1TX2MIX_INPUT_1_SOURCE:
  1347. case ARIZONA_AIF1TX2MIX_INPUT_1_VOLUME:
  1348. case ARIZONA_AIF1TX2MIX_INPUT_2_SOURCE:
  1349. case ARIZONA_AIF1TX2MIX_INPUT_2_VOLUME:
  1350. case ARIZONA_AIF1TX2MIX_INPUT_3_SOURCE:
  1351. case ARIZONA_AIF1TX2MIX_INPUT_3_VOLUME:
  1352. case ARIZONA_AIF1TX2MIX_INPUT_4_SOURCE:
  1353. case ARIZONA_AIF1TX2MIX_INPUT_4_VOLUME:
  1354. case ARIZONA_AIF1TX3MIX_INPUT_1_SOURCE:
  1355. case ARIZONA_AIF1TX3MIX_INPUT_1_VOLUME:
  1356. case ARIZONA_AIF1TX3MIX_INPUT_2_SOURCE:
  1357. case ARIZONA_AIF1TX3MIX_INPUT_2_VOLUME:
  1358. case ARIZONA_AIF1TX3MIX_INPUT_3_SOURCE:
  1359. case ARIZONA_AIF1TX3MIX_INPUT_3_VOLUME:
  1360. case ARIZONA_AIF1TX3MIX_INPUT_4_SOURCE:
  1361. case ARIZONA_AIF1TX3MIX_INPUT_4_VOLUME:
  1362. case ARIZONA_AIF1TX4MIX_INPUT_1_SOURCE:
  1363. case ARIZONA_AIF1TX4MIX_INPUT_1_VOLUME:
  1364. case ARIZONA_AIF1TX4MIX_INPUT_2_SOURCE:
  1365. case ARIZONA_AIF1TX4MIX_INPUT_2_VOLUME:
  1366. case ARIZONA_AIF1TX4MIX_INPUT_3_SOURCE:
  1367. case ARIZONA_AIF1TX4MIX_INPUT_3_VOLUME:
  1368. case ARIZONA_AIF1TX4MIX_INPUT_4_SOURCE:
  1369. case ARIZONA_AIF1TX4MIX_INPUT_4_VOLUME:
  1370. case ARIZONA_AIF1TX5MIX_INPUT_1_SOURCE:
  1371. case ARIZONA_AIF1TX5MIX_INPUT_1_VOLUME:
  1372. case ARIZONA_AIF1TX5MIX_INPUT_2_SOURCE:
  1373. case ARIZONA_AIF1TX5MIX_INPUT_2_VOLUME:
  1374. case ARIZONA_AIF1TX5MIX_INPUT_3_SOURCE:
  1375. case ARIZONA_AIF1TX5MIX_INPUT_3_VOLUME:
  1376. case ARIZONA_AIF1TX5MIX_INPUT_4_SOURCE:
  1377. case ARIZONA_AIF1TX5MIX_INPUT_4_VOLUME:
  1378. case ARIZONA_AIF1TX6MIX_INPUT_1_SOURCE:
  1379. case ARIZONA_AIF1TX6MIX_INPUT_1_VOLUME:
  1380. case ARIZONA_AIF1TX6MIX_INPUT_2_SOURCE:
  1381. case ARIZONA_AIF1TX6MIX_INPUT_2_VOLUME:
  1382. case ARIZONA_AIF1TX6MIX_INPUT_3_SOURCE:
  1383. case ARIZONA_AIF1TX6MIX_INPUT_3_VOLUME:
  1384. case ARIZONA_AIF1TX6MIX_INPUT_4_SOURCE:
  1385. case ARIZONA_AIF1TX6MIX_INPUT_4_VOLUME:
  1386. case ARIZONA_AIF1TX7MIX_INPUT_1_SOURCE:
  1387. case ARIZONA_AIF1TX7MIX_INPUT_1_VOLUME:
  1388. case ARIZONA_AIF1TX7MIX_INPUT_2_SOURCE:
  1389. case ARIZONA_AIF1TX7MIX_INPUT_2_VOLUME:
  1390. case ARIZONA_AIF1TX7MIX_INPUT_3_SOURCE:
  1391. case ARIZONA_AIF1TX7MIX_INPUT_3_VOLUME:
  1392. case ARIZONA_AIF1TX7MIX_INPUT_4_SOURCE:
  1393. case ARIZONA_AIF1TX7MIX_INPUT_4_VOLUME:
  1394. case ARIZONA_AIF1TX8MIX_INPUT_1_SOURCE:
  1395. case ARIZONA_AIF1TX8MIX_INPUT_1_VOLUME:
  1396. case ARIZONA_AIF1TX8MIX_INPUT_2_SOURCE:
  1397. case ARIZONA_AIF1TX8MIX_INPUT_2_VOLUME:
  1398. case ARIZONA_AIF1TX8MIX_INPUT_3_SOURCE:
  1399. case ARIZONA_AIF1TX8MIX_INPUT_3_VOLUME:
  1400. case ARIZONA_AIF1TX8MIX_INPUT_4_SOURCE:
  1401. case ARIZONA_AIF1TX8MIX_INPUT_4_VOLUME:
  1402. case ARIZONA_AIF2TX1MIX_INPUT_1_SOURCE:
  1403. case ARIZONA_AIF2TX1MIX_INPUT_1_VOLUME:
  1404. case ARIZONA_AIF2TX1MIX_INPUT_2_SOURCE:
  1405. case ARIZONA_AIF2TX1MIX_INPUT_2_VOLUME:
  1406. case ARIZONA_AIF2TX1MIX_INPUT_3_SOURCE:
  1407. case ARIZONA_AIF2TX1MIX_INPUT_3_VOLUME:
  1408. case ARIZONA_AIF2TX1MIX_INPUT_4_SOURCE:
  1409. case ARIZONA_AIF2TX1MIX_INPUT_4_VOLUME:
  1410. case ARIZONA_AIF2TX2MIX_INPUT_1_SOURCE:
  1411. case ARIZONA_AIF2TX2MIX_INPUT_1_VOLUME:
  1412. case ARIZONA_AIF2TX2MIX_INPUT_2_SOURCE:
  1413. case ARIZONA_AIF2TX2MIX_INPUT_2_VOLUME:
  1414. case ARIZONA_AIF2TX2MIX_INPUT_3_SOURCE:
  1415. case ARIZONA_AIF2TX2MIX_INPUT_3_VOLUME:
  1416. case ARIZONA_AIF2TX2MIX_INPUT_4_SOURCE:
  1417. case ARIZONA_AIF2TX2MIX_INPUT_4_VOLUME:
  1418. case ARIZONA_AIF3TX1MIX_INPUT_1_SOURCE:
  1419. case ARIZONA_AIF3TX1MIX_INPUT_1_VOLUME:
  1420. case ARIZONA_AIF3TX1MIX_INPUT_2_SOURCE:
  1421. case ARIZONA_AIF3TX1MIX_INPUT_2_VOLUME:
  1422. case ARIZONA_AIF3TX1MIX_INPUT_3_SOURCE:
  1423. case ARIZONA_AIF3TX1MIX_INPUT_3_VOLUME:
  1424. case ARIZONA_AIF3TX1MIX_INPUT_4_SOURCE:
  1425. case ARIZONA_AIF3TX1MIX_INPUT_4_VOLUME:
  1426. case ARIZONA_AIF3TX2MIX_INPUT_1_SOURCE:
  1427. case ARIZONA_AIF3TX2MIX_INPUT_1_VOLUME:
  1428. case ARIZONA_AIF3TX2MIX_INPUT_2_SOURCE:
  1429. case ARIZONA_AIF3TX2MIX_INPUT_2_VOLUME:
  1430. case ARIZONA_AIF3TX2MIX_INPUT_3_SOURCE:
  1431. case ARIZONA_AIF3TX2MIX_INPUT_3_VOLUME:
  1432. case ARIZONA_AIF3TX2MIX_INPUT_4_SOURCE:
  1433. case ARIZONA_AIF3TX2MIX_INPUT_4_VOLUME:
  1434. case ARIZONA_SLIMTX1MIX_INPUT_1_SOURCE:
  1435. case ARIZONA_SLIMTX1MIX_INPUT_1_VOLUME:
  1436. case ARIZONA_SLIMTX1MIX_INPUT_2_SOURCE:
  1437. case ARIZONA_SLIMTX1MIX_INPUT_2_VOLUME:
  1438. case ARIZONA_SLIMTX1MIX_INPUT_3_SOURCE:
  1439. case ARIZONA_SLIMTX1MIX_INPUT_3_VOLUME:
  1440. case ARIZONA_SLIMTX1MIX_INPUT_4_SOURCE:
  1441. case ARIZONA_SLIMTX1MIX_INPUT_4_VOLUME:
  1442. case ARIZONA_SLIMTX2MIX_INPUT_1_SOURCE:
  1443. case ARIZONA_SLIMTX2MIX_INPUT_1_VOLUME:
  1444. case ARIZONA_SLIMTX2MIX_INPUT_2_SOURCE:
  1445. case ARIZONA_SLIMTX2MIX_INPUT_2_VOLUME:
  1446. case ARIZONA_SLIMTX2MIX_INPUT_3_SOURCE:
  1447. case ARIZONA_SLIMTX2MIX_INPUT_3_VOLUME:
  1448. case ARIZONA_SLIMTX2MIX_INPUT_4_SOURCE:
  1449. case ARIZONA_SLIMTX2MIX_INPUT_4_VOLUME:
  1450. case ARIZONA_SLIMTX3MIX_INPUT_1_SOURCE:
  1451. case ARIZONA_SLIMTX3MIX_INPUT_1_VOLUME:
  1452. case ARIZONA_SLIMTX3MIX_INPUT_2_SOURCE:
  1453. case ARIZONA_SLIMTX3MIX_INPUT_2_VOLUME:
  1454. case ARIZONA_SLIMTX3MIX_INPUT_3_SOURCE:
  1455. case ARIZONA_SLIMTX3MIX_INPUT_3_VOLUME:
  1456. case ARIZONA_SLIMTX3MIX_INPUT_4_SOURCE:
  1457. case ARIZONA_SLIMTX3MIX_INPUT_4_VOLUME:
  1458. case ARIZONA_SLIMTX4MIX_INPUT_1_SOURCE:
  1459. case ARIZONA_SLIMTX4MIX_INPUT_1_VOLUME:
  1460. case ARIZONA_SLIMTX4MIX_INPUT_2_SOURCE:
  1461. case ARIZONA_SLIMTX4MIX_INPUT_2_VOLUME:
  1462. case ARIZONA_SLIMTX4MIX_INPUT_3_SOURCE:
  1463. case ARIZONA_SLIMTX4MIX_INPUT_3_VOLUME:
  1464. case ARIZONA_SLIMTX4MIX_INPUT_4_SOURCE:
  1465. case ARIZONA_SLIMTX4MIX_INPUT_4_VOLUME:
  1466. case ARIZONA_SLIMTX5MIX_INPUT_1_SOURCE:
  1467. case ARIZONA_SLIMTX5MIX_INPUT_1_VOLUME:
  1468. case ARIZONA_SLIMTX5MIX_INPUT_2_SOURCE:
  1469. case ARIZONA_SLIMTX5MIX_INPUT_2_VOLUME:
  1470. case ARIZONA_SLIMTX5MIX_INPUT_3_SOURCE:
  1471. case ARIZONA_SLIMTX5MIX_INPUT_3_VOLUME:
  1472. case ARIZONA_SLIMTX5MIX_INPUT_4_SOURCE:
  1473. case ARIZONA_SLIMTX5MIX_INPUT_4_VOLUME:
  1474. case ARIZONA_SLIMTX6MIX_INPUT_1_SOURCE:
  1475. case ARIZONA_SLIMTX6MIX_INPUT_1_VOLUME:
  1476. case ARIZONA_SLIMTX6MIX_INPUT_2_SOURCE:
  1477. case ARIZONA_SLIMTX6MIX_INPUT_2_VOLUME:
  1478. case ARIZONA_SLIMTX6MIX_INPUT_3_SOURCE:
  1479. case ARIZONA_SLIMTX6MIX_INPUT_3_VOLUME:
  1480. case ARIZONA_SLIMTX6MIX_INPUT_4_SOURCE:
  1481. case ARIZONA_SLIMTX6MIX_INPUT_4_VOLUME:
  1482. case ARIZONA_SLIMTX7MIX_INPUT_1_SOURCE:
  1483. case ARIZONA_SLIMTX7MIX_INPUT_1_VOLUME:
  1484. case ARIZONA_SLIMTX7MIX_INPUT_2_SOURCE:
  1485. case ARIZONA_SLIMTX7MIX_INPUT_2_VOLUME:
  1486. case ARIZONA_SLIMTX7MIX_INPUT_3_SOURCE:
  1487. case ARIZONA_SLIMTX7MIX_INPUT_3_VOLUME:
  1488. case ARIZONA_SLIMTX7MIX_INPUT_4_SOURCE:
  1489. case ARIZONA_SLIMTX7MIX_INPUT_4_VOLUME:
  1490. case ARIZONA_SLIMTX8MIX_INPUT_1_SOURCE:
  1491. case ARIZONA_SLIMTX8MIX_INPUT_1_VOLUME:
  1492. case ARIZONA_SLIMTX8MIX_INPUT_2_SOURCE:
  1493. case ARIZONA_SLIMTX8MIX_INPUT_2_VOLUME:
  1494. case ARIZONA_SLIMTX8MIX_INPUT_3_SOURCE:
  1495. case ARIZONA_SLIMTX8MIX_INPUT_3_VOLUME:
  1496. case ARIZONA_SLIMTX8MIX_INPUT_4_SOURCE:
  1497. case ARIZONA_SLIMTX8MIX_INPUT_4_VOLUME:
  1498. case ARIZONA_EQ1MIX_INPUT_1_SOURCE:
  1499. case ARIZONA_EQ1MIX_INPUT_1_VOLUME:
  1500. case ARIZONA_EQ1MIX_INPUT_2_SOURCE:
  1501. case ARIZONA_EQ1MIX_INPUT_2_VOLUME:
  1502. case ARIZONA_EQ1MIX_INPUT_3_SOURCE:
  1503. case ARIZONA_EQ1MIX_INPUT_3_VOLUME:
  1504. case ARIZONA_EQ1MIX_INPUT_4_SOURCE:
  1505. case ARIZONA_EQ1MIX_INPUT_4_VOLUME:
  1506. case ARIZONA_EQ2MIX_INPUT_1_SOURCE:
  1507. case ARIZONA_EQ2MIX_INPUT_1_VOLUME:
  1508. case ARIZONA_EQ2MIX_INPUT_2_SOURCE:
  1509. case ARIZONA_EQ2MIX_INPUT_2_VOLUME:
  1510. case ARIZONA_EQ2MIX_INPUT_3_SOURCE:
  1511. case ARIZONA_EQ2MIX_INPUT_3_VOLUME:
  1512. case ARIZONA_EQ2MIX_INPUT_4_SOURCE:
  1513. case ARIZONA_EQ2MIX_INPUT_4_VOLUME:
  1514. case ARIZONA_EQ3MIX_INPUT_1_SOURCE:
  1515. case ARIZONA_EQ3MIX_INPUT_1_VOLUME:
  1516. case ARIZONA_EQ3MIX_INPUT_2_SOURCE:
  1517. case ARIZONA_EQ3MIX_INPUT_2_VOLUME:
  1518. case ARIZONA_EQ3MIX_INPUT_3_SOURCE:
  1519. case ARIZONA_EQ3MIX_INPUT_3_VOLUME:
  1520. case ARIZONA_EQ3MIX_INPUT_4_SOURCE:
  1521. case ARIZONA_EQ3MIX_INPUT_4_VOLUME:
  1522. case ARIZONA_EQ4MIX_INPUT_1_SOURCE:
  1523. case ARIZONA_EQ4MIX_INPUT_1_VOLUME:
  1524. case ARIZONA_EQ4MIX_INPUT_2_SOURCE:
  1525. case ARIZONA_EQ4MIX_INPUT_2_VOLUME:
  1526. case ARIZONA_EQ4MIX_INPUT_3_SOURCE:
  1527. case ARIZONA_EQ4MIX_INPUT_3_VOLUME:
  1528. case ARIZONA_EQ4MIX_INPUT_4_SOURCE:
  1529. case ARIZONA_EQ4MIX_INPUT_4_VOLUME:
  1530. case ARIZONA_DRC1LMIX_INPUT_1_SOURCE:
  1531. case ARIZONA_DRC1LMIX_INPUT_1_VOLUME:
  1532. case ARIZONA_DRC1LMIX_INPUT_2_SOURCE:
  1533. case ARIZONA_DRC1LMIX_INPUT_2_VOLUME:
  1534. case ARIZONA_DRC1LMIX_INPUT_3_SOURCE:
  1535. case ARIZONA_DRC1LMIX_INPUT_3_VOLUME:
  1536. case ARIZONA_DRC1LMIX_INPUT_4_SOURCE:
  1537. case ARIZONA_DRC1LMIX_INPUT_4_VOLUME:
  1538. case ARIZONA_DRC1RMIX_INPUT_1_SOURCE:
  1539. case ARIZONA_DRC1RMIX_INPUT_1_VOLUME:
  1540. case ARIZONA_DRC1RMIX_INPUT_2_SOURCE:
  1541. case ARIZONA_DRC1RMIX_INPUT_2_VOLUME:
  1542. case ARIZONA_DRC1RMIX_INPUT_3_SOURCE:
  1543. case ARIZONA_DRC1RMIX_INPUT_3_VOLUME:
  1544. case ARIZONA_DRC1RMIX_INPUT_4_SOURCE:
  1545. case ARIZONA_DRC1RMIX_INPUT_4_VOLUME:
  1546. case ARIZONA_HPLP1MIX_INPUT_1_SOURCE:
  1547. case ARIZONA_HPLP1MIX_INPUT_1_VOLUME:
  1548. case ARIZONA_HPLP1MIX_INPUT_2_SOURCE:
  1549. case ARIZONA_HPLP1MIX_INPUT_2_VOLUME:
  1550. case ARIZONA_HPLP1MIX_INPUT_3_SOURCE:
  1551. case ARIZONA_HPLP1MIX_INPUT_3_VOLUME:
  1552. case ARIZONA_HPLP1MIX_INPUT_4_SOURCE:
  1553. case ARIZONA_HPLP1MIX_INPUT_4_VOLUME:
  1554. case ARIZONA_HPLP2MIX_INPUT_1_SOURCE:
  1555. case ARIZONA_HPLP2MIX_INPUT_1_VOLUME:
  1556. case ARIZONA_HPLP2MIX_INPUT_2_SOURCE:
  1557. case ARIZONA_HPLP2MIX_INPUT_2_VOLUME:
  1558. case ARIZONA_HPLP2MIX_INPUT_3_SOURCE:
  1559. case ARIZONA_HPLP2MIX_INPUT_3_VOLUME:
  1560. case ARIZONA_HPLP2MIX_INPUT_4_SOURCE:
  1561. case ARIZONA_HPLP2MIX_INPUT_4_VOLUME:
  1562. case ARIZONA_HPLP3MIX_INPUT_1_SOURCE:
  1563. case ARIZONA_HPLP3MIX_INPUT_1_VOLUME:
  1564. case ARIZONA_HPLP3MIX_INPUT_2_SOURCE:
  1565. case ARIZONA_HPLP3MIX_INPUT_2_VOLUME:
  1566. case ARIZONA_HPLP3MIX_INPUT_3_SOURCE:
  1567. case ARIZONA_HPLP3MIX_INPUT_3_VOLUME:
  1568. case ARIZONA_HPLP3MIX_INPUT_4_SOURCE:
  1569. case ARIZONA_HPLP3MIX_INPUT_4_VOLUME:
  1570. case ARIZONA_HPLP4MIX_INPUT_1_SOURCE:
  1571. case ARIZONA_HPLP4MIX_INPUT_1_VOLUME:
  1572. case ARIZONA_HPLP4MIX_INPUT_2_SOURCE:
  1573. case ARIZONA_HPLP4MIX_INPUT_2_VOLUME:
  1574. case ARIZONA_HPLP4MIX_INPUT_3_SOURCE:
  1575. case ARIZONA_HPLP4MIX_INPUT_3_VOLUME:
  1576. case ARIZONA_HPLP4MIX_INPUT_4_SOURCE:
  1577. case ARIZONA_HPLP4MIX_INPUT_4_VOLUME:
  1578. case ARIZONA_DSP1LMIX_INPUT_1_SOURCE:
  1579. case ARIZONA_DSP1LMIX_INPUT_1_VOLUME:
  1580. case ARIZONA_DSP1LMIX_INPUT_2_SOURCE:
  1581. case ARIZONA_DSP1LMIX_INPUT_2_VOLUME:
  1582. case ARIZONA_DSP1LMIX_INPUT_3_SOURCE:
  1583. case ARIZONA_DSP1LMIX_INPUT_3_VOLUME:
  1584. case ARIZONA_DSP1LMIX_INPUT_4_SOURCE:
  1585. case ARIZONA_DSP1LMIX_INPUT_4_VOLUME:
  1586. case ARIZONA_DSP1RMIX_INPUT_1_SOURCE:
  1587. case ARIZONA_DSP1RMIX_INPUT_1_VOLUME:
  1588. case ARIZONA_DSP1RMIX_INPUT_2_SOURCE:
  1589. case ARIZONA_DSP1RMIX_INPUT_2_VOLUME:
  1590. case ARIZONA_DSP1RMIX_INPUT_3_SOURCE:
  1591. case ARIZONA_DSP1RMIX_INPUT_3_VOLUME:
  1592. case ARIZONA_DSP1RMIX_INPUT_4_SOURCE:
  1593. case ARIZONA_DSP1RMIX_INPUT_4_VOLUME:
  1594. case ARIZONA_DSP1AUX1MIX_INPUT_1_SOURCE:
  1595. case ARIZONA_DSP1AUX2MIX_INPUT_1_SOURCE:
  1596. case ARIZONA_DSP1AUX3MIX_INPUT_1_SOURCE:
  1597. case ARIZONA_DSP1AUX4MIX_INPUT_1_SOURCE:
  1598. case ARIZONA_DSP1AUX5MIX_INPUT_1_SOURCE:
  1599. case ARIZONA_DSP1AUX6MIX_INPUT_1_SOURCE:
  1600. case ARIZONA_ASRC1LMIX_INPUT_1_SOURCE:
  1601. case ARIZONA_ASRC1RMIX_INPUT_1_SOURCE:
  1602. case ARIZONA_ASRC2LMIX_INPUT_1_SOURCE:
  1603. case ARIZONA_ASRC2RMIX_INPUT_1_SOURCE:
  1604. case ARIZONA_ISRC1DEC1MIX_INPUT_1_SOURCE:
  1605. case ARIZONA_ISRC1DEC2MIX_INPUT_1_SOURCE:
  1606. case ARIZONA_ISRC1INT1MIX_INPUT_1_SOURCE:
  1607. case ARIZONA_ISRC1INT2MIX_INPUT_1_SOURCE:
  1608. case ARIZONA_ISRC2DEC1MIX_INPUT_1_SOURCE:
  1609. case ARIZONA_ISRC2DEC2MIX_INPUT_1_SOURCE:
  1610. case ARIZONA_ISRC2INT1MIX_INPUT_1_SOURCE:
  1611. case ARIZONA_ISRC2INT2MIX_INPUT_1_SOURCE:
  1612. case ARIZONA_GPIO1_CTRL:
  1613. case ARIZONA_GPIO2_CTRL:
  1614. case ARIZONA_GPIO3_CTRL:
  1615. case ARIZONA_GPIO4_CTRL:
  1616. case ARIZONA_GPIO5_CTRL:
  1617. case ARIZONA_IRQ_CTRL_1:
  1618. case ARIZONA_GPIO_DEBOUNCE_CONFIG:
  1619. case ARIZONA_MISC_PAD_CTRL_1:
  1620. case ARIZONA_MISC_PAD_CTRL_2:
  1621. case ARIZONA_MISC_PAD_CTRL_3:
  1622. case ARIZONA_MISC_PAD_CTRL_4:
  1623. case ARIZONA_MISC_PAD_CTRL_5:
  1624. case ARIZONA_MISC_PAD_CTRL_6:
  1625. case ARIZONA_INTERRUPT_STATUS_1:
  1626. case ARIZONA_INTERRUPT_STATUS_2:
  1627. case ARIZONA_INTERRUPT_STATUS_3:
  1628. case ARIZONA_INTERRUPT_STATUS_4:
  1629. case ARIZONA_INTERRUPT_STATUS_5:
  1630. case ARIZONA_INTERRUPT_STATUS_1_MASK:
  1631. case ARIZONA_INTERRUPT_STATUS_2_MASK:
  1632. case ARIZONA_INTERRUPT_STATUS_3_MASK:
  1633. case ARIZONA_INTERRUPT_STATUS_4_MASK:
  1634. case ARIZONA_INTERRUPT_STATUS_5_MASK:
  1635. case ARIZONA_INTERRUPT_CONTROL:
  1636. case ARIZONA_IRQ2_STATUS_1:
  1637. case ARIZONA_IRQ2_STATUS_2:
  1638. case ARIZONA_IRQ2_STATUS_3:
  1639. case ARIZONA_IRQ2_STATUS_4:
  1640. case ARIZONA_IRQ2_STATUS_5:
  1641. case ARIZONA_IRQ2_STATUS_1_MASK:
  1642. case ARIZONA_IRQ2_STATUS_2_MASK:
  1643. case ARIZONA_IRQ2_STATUS_3_MASK:
  1644. case ARIZONA_IRQ2_STATUS_4_MASK:
  1645. case ARIZONA_IRQ2_STATUS_5_MASK:
  1646. case ARIZONA_IRQ2_CONTROL:
  1647. case ARIZONA_INTERRUPT_RAW_STATUS_2:
  1648. case ARIZONA_INTERRUPT_RAW_STATUS_3:
  1649. case ARIZONA_INTERRUPT_RAW_STATUS_4:
  1650. case ARIZONA_INTERRUPT_RAW_STATUS_5:
  1651. case ARIZONA_INTERRUPT_RAW_STATUS_6:
  1652. case ARIZONA_INTERRUPT_RAW_STATUS_7:
  1653. case ARIZONA_INTERRUPT_RAW_STATUS_8:
  1654. case ARIZONA_IRQ_PIN_STATUS:
  1655. case ARIZONA_ADSP2_IRQ0:
  1656. case ARIZONA_AOD_WKUP_AND_TRIG:
  1657. case ARIZONA_AOD_IRQ1:
  1658. case ARIZONA_AOD_IRQ2:
  1659. case ARIZONA_AOD_IRQ_MASK_IRQ1:
  1660. case ARIZONA_AOD_IRQ_MASK_IRQ2:
  1661. case ARIZONA_AOD_IRQ_RAW_STATUS:
  1662. case ARIZONA_JACK_DETECT_DEBOUNCE:
  1663. case ARIZONA_FX_CTRL1:
  1664. case ARIZONA_FX_CTRL2:
  1665. case ARIZONA_EQ1_1:
  1666. case ARIZONA_EQ1_2:
  1667. case ARIZONA_EQ1_3:
  1668. case ARIZONA_EQ1_4:
  1669. case ARIZONA_EQ1_5:
  1670. case ARIZONA_EQ1_6:
  1671. case ARIZONA_EQ1_7:
  1672. case ARIZONA_EQ1_8:
  1673. case ARIZONA_EQ1_9:
  1674. case ARIZONA_EQ1_10:
  1675. case ARIZONA_EQ1_11:
  1676. case ARIZONA_EQ1_12:
  1677. case ARIZONA_EQ1_13:
  1678. case ARIZONA_EQ1_14:
  1679. case ARIZONA_EQ1_15:
  1680. case ARIZONA_EQ1_16:
  1681. case ARIZONA_EQ1_17:
  1682. case ARIZONA_EQ1_18:
  1683. case ARIZONA_EQ1_19:
  1684. case ARIZONA_EQ1_20:
  1685. case ARIZONA_EQ1_21:
  1686. case ARIZONA_EQ2_1:
  1687. case ARIZONA_EQ2_2:
  1688. case ARIZONA_EQ2_3:
  1689. case ARIZONA_EQ2_4:
  1690. case ARIZONA_EQ2_5:
  1691. case ARIZONA_EQ2_6:
  1692. case ARIZONA_EQ2_7:
  1693. case ARIZONA_EQ2_8:
  1694. case ARIZONA_EQ2_9:
  1695. case ARIZONA_EQ2_10:
  1696. case ARIZONA_EQ2_11:
  1697. case ARIZONA_EQ2_12:
  1698. case ARIZONA_EQ2_13:
  1699. case ARIZONA_EQ2_14:
  1700. case ARIZONA_EQ2_15:
  1701. case ARIZONA_EQ2_16:
  1702. case ARIZONA_EQ2_17:
  1703. case ARIZONA_EQ2_18:
  1704. case ARIZONA_EQ2_19:
  1705. case ARIZONA_EQ2_20:
  1706. case ARIZONA_EQ2_21:
  1707. case ARIZONA_EQ3_1:
  1708. case ARIZONA_EQ3_2:
  1709. case ARIZONA_EQ3_3:
  1710. case ARIZONA_EQ3_4:
  1711. case ARIZONA_EQ3_5:
  1712. case ARIZONA_EQ3_6:
  1713. case ARIZONA_EQ3_7:
  1714. case ARIZONA_EQ3_8:
  1715. case ARIZONA_EQ3_9:
  1716. case ARIZONA_EQ3_10:
  1717. case ARIZONA_EQ3_11:
  1718. case ARIZONA_EQ3_12:
  1719. case ARIZONA_EQ3_13:
  1720. case ARIZONA_EQ3_14:
  1721. case ARIZONA_EQ3_15:
  1722. case ARIZONA_EQ3_16:
  1723. case ARIZONA_EQ3_17:
  1724. case ARIZONA_EQ3_18:
  1725. case ARIZONA_EQ3_19:
  1726. case ARIZONA_EQ3_20:
  1727. case ARIZONA_EQ3_21:
  1728. case ARIZONA_EQ4_1:
  1729. case ARIZONA_EQ4_2:
  1730. case ARIZONA_EQ4_3:
  1731. case ARIZONA_EQ4_4:
  1732. case ARIZONA_EQ4_5:
  1733. case ARIZONA_EQ4_6:
  1734. case ARIZONA_EQ4_7:
  1735. case ARIZONA_EQ4_8:
  1736. case ARIZONA_EQ4_9:
  1737. case ARIZONA_EQ4_10:
  1738. case ARIZONA_EQ4_11:
  1739. case ARIZONA_EQ4_12:
  1740. case ARIZONA_EQ4_13:
  1741. case ARIZONA_EQ4_14:
  1742. case ARIZONA_EQ4_15:
  1743. case ARIZONA_EQ4_16:
  1744. case ARIZONA_EQ4_17:
  1745. case ARIZONA_EQ4_18:
  1746. case ARIZONA_EQ4_19:
  1747. case ARIZONA_EQ4_20:
  1748. case ARIZONA_EQ4_21:
  1749. case ARIZONA_DRC1_CTRL1:
  1750. case ARIZONA_DRC1_CTRL2:
  1751. case ARIZONA_DRC1_CTRL3:
  1752. case ARIZONA_DRC1_CTRL4:
  1753. case ARIZONA_DRC1_CTRL5:
  1754. case ARIZONA_HPLPF1_1:
  1755. case ARIZONA_HPLPF1_2:
  1756. case ARIZONA_HPLPF2_1:
  1757. case ARIZONA_HPLPF2_2:
  1758. case ARIZONA_HPLPF3_1:
  1759. case ARIZONA_HPLPF3_2:
  1760. case ARIZONA_HPLPF4_1:
  1761. case ARIZONA_HPLPF4_2:
  1762. case ARIZONA_ASRC_ENABLE:
  1763. case ARIZONA_ASRC_RATE1:
  1764. case ARIZONA_ASRC_RATE2:
  1765. case ARIZONA_ISRC_1_CTRL_1:
  1766. case ARIZONA_ISRC_1_CTRL_2:
  1767. case ARIZONA_ISRC_1_CTRL_3:
  1768. case ARIZONA_ISRC_2_CTRL_1:
  1769. case ARIZONA_ISRC_2_CTRL_2:
  1770. case ARIZONA_ISRC_2_CTRL_3:
  1771. case ARIZONA_DSP1_CONTROL_1:
  1772. case ARIZONA_DSP1_CLOCKING_1:
  1773. case ARIZONA_DSP1_STATUS_1:
  1774. case ARIZONA_DSP1_STATUS_2:
  1775. case ARIZONA_DSP1_STATUS_3:
  1776. case ARIZONA_DSP1_WDMA_BUFFER_1:
  1777. case ARIZONA_DSP1_WDMA_BUFFER_2:
  1778. case ARIZONA_DSP1_WDMA_BUFFER_3:
  1779. case ARIZONA_DSP1_WDMA_BUFFER_4:
  1780. case ARIZONA_DSP1_WDMA_BUFFER_5:
  1781. case ARIZONA_DSP1_WDMA_BUFFER_6:
  1782. case ARIZONA_DSP1_WDMA_BUFFER_7:
  1783. case ARIZONA_DSP1_WDMA_BUFFER_8:
  1784. case ARIZONA_DSP1_RDMA_BUFFER_1:
  1785. case ARIZONA_DSP1_RDMA_BUFFER_2:
  1786. case ARIZONA_DSP1_RDMA_BUFFER_3:
  1787. case ARIZONA_DSP1_RDMA_BUFFER_4:
  1788. case ARIZONA_DSP1_RDMA_BUFFER_5:
  1789. case ARIZONA_DSP1_RDMA_BUFFER_6:
  1790. case ARIZONA_DSP1_WDMA_CONFIG_1:
  1791. case ARIZONA_DSP1_WDMA_CONFIG_2:
  1792. case ARIZONA_DSP1_RDMA_CONFIG_1:
  1793. case ARIZONA_DSP1_SCRATCH_0:
  1794. case ARIZONA_DSP1_SCRATCH_1:
  1795. case ARIZONA_DSP1_SCRATCH_2:
  1796. case ARIZONA_DSP1_SCRATCH_3:
  1797. return true;
  1798. default:
  1799. if ((reg >= 0x100000 && reg < 0x106000) ||
  1800. (reg >= 0x180000 && reg < 0x180800) ||
  1801. (reg >= 0x190000 && reg < 0x194800) ||
  1802. (reg >= 0x1a8000 && reg < 0x1a9800))
  1803. return true;
  1804. else
  1805. return false;
  1806. }
  1807. }
  1808. static bool wm5102_volatile_register(struct device *dev, unsigned int reg)
  1809. {
  1810. switch (reg) {
  1811. case ARIZONA_SOFTWARE_RESET:
  1812. case ARIZONA_DEVICE_REVISION:
  1813. case ARIZONA_WRITE_SEQUENCER_CTRL_0:
  1814. case ARIZONA_WRITE_SEQUENCER_CTRL_1:
  1815. case ARIZONA_WRITE_SEQUENCER_CTRL_2:
  1816. case ARIZONA_WRITE_SEQUENCER_CTRL_3:
  1817. case ARIZONA_OUTPUT_STATUS_1:
  1818. case ARIZONA_SLIMBUS_RX_PORT_STATUS:
  1819. case ARIZONA_SLIMBUS_TX_PORT_STATUS:
  1820. case ARIZONA_SAMPLE_RATE_1_STATUS:
  1821. case ARIZONA_SAMPLE_RATE_2_STATUS:
  1822. case ARIZONA_SAMPLE_RATE_3_STATUS:
  1823. case ARIZONA_HAPTICS_STATUS:
  1824. case ARIZONA_ASYNC_SAMPLE_RATE_1_STATUS:
  1825. case ARIZONA_ASYNC_SAMPLE_RATE_2_STATUS:
  1826. case ARIZONA_DAC_COMP_1:
  1827. case ARIZONA_DAC_COMP_2:
  1828. case ARIZONA_DAC_COMP_3:
  1829. case ARIZONA_DAC_COMP_4:
  1830. case ARIZONA_FX_CTRL2:
  1831. case ARIZONA_INTERRUPT_STATUS_1:
  1832. case ARIZONA_INTERRUPT_STATUS_2:
  1833. case ARIZONA_INTERRUPT_STATUS_3:
  1834. case ARIZONA_INTERRUPT_STATUS_4:
  1835. case ARIZONA_INTERRUPT_STATUS_5:
  1836. case ARIZONA_IRQ2_STATUS_1:
  1837. case ARIZONA_IRQ2_STATUS_2:
  1838. case ARIZONA_IRQ2_STATUS_3:
  1839. case ARIZONA_IRQ2_STATUS_4:
  1840. case ARIZONA_IRQ2_STATUS_5:
  1841. case ARIZONA_INTERRUPT_RAW_STATUS_2:
  1842. case ARIZONA_INTERRUPT_RAW_STATUS_3:
  1843. case ARIZONA_INTERRUPT_RAW_STATUS_4:
  1844. case ARIZONA_INTERRUPT_RAW_STATUS_5:
  1845. case ARIZONA_INTERRUPT_RAW_STATUS_6:
  1846. case ARIZONA_INTERRUPT_RAW_STATUS_7:
  1847. case ARIZONA_INTERRUPT_RAW_STATUS_8:
  1848. case ARIZONA_IRQ_PIN_STATUS:
  1849. case ARIZONA_AOD_WKUP_AND_TRIG:
  1850. case ARIZONA_AOD_IRQ1:
  1851. case ARIZONA_AOD_IRQ2:
  1852. case ARIZONA_AOD_IRQ_RAW_STATUS:
  1853. case ARIZONA_DSP1_CLOCKING_1:
  1854. case ARIZONA_DSP1_STATUS_1:
  1855. case ARIZONA_DSP1_STATUS_2:
  1856. case ARIZONA_DSP1_STATUS_3:
  1857. case ARIZONA_DSP1_WDMA_BUFFER_1:
  1858. case ARIZONA_DSP1_WDMA_BUFFER_2:
  1859. case ARIZONA_DSP1_WDMA_BUFFER_3:
  1860. case ARIZONA_DSP1_WDMA_BUFFER_4:
  1861. case ARIZONA_DSP1_WDMA_BUFFER_5:
  1862. case ARIZONA_DSP1_WDMA_BUFFER_6:
  1863. case ARIZONA_DSP1_WDMA_BUFFER_7:
  1864. case ARIZONA_DSP1_WDMA_BUFFER_8:
  1865. case ARIZONA_DSP1_RDMA_BUFFER_1:
  1866. case ARIZONA_DSP1_RDMA_BUFFER_2:
  1867. case ARIZONA_DSP1_RDMA_BUFFER_3:
  1868. case ARIZONA_DSP1_RDMA_BUFFER_4:
  1869. case ARIZONA_DSP1_RDMA_BUFFER_5:
  1870. case ARIZONA_DSP1_RDMA_BUFFER_6:
  1871. case ARIZONA_DSP1_WDMA_CONFIG_1:
  1872. case ARIZONA_DSP1_WDMA_CONFIG_2:
  1873. case ARIZONA_DSP1_RDMA_CONFIG_1:
  1874. case ARIZONA_DSP1_SCRATCH_0:
  1875. case ARIZONA_DSP1_SCRATCH_1:
  1876. case ARIZONA_DSP1_SCRATCH_2:
  1877. case ARIZONA_DSP1_SCRATCH_3:
  1878. case ARIZONA_HP_CTRL_1L:
  1879. case ARIZONA_HP_CTRL_1R:
  1880. case ARIZONA_HEADPHONE_DETECT_2:
  1881. case ARIZONA_HP_DACVAL:
  1882. case ARIZONA_MIC_DETECT_3:
  1883. return true;
  1884. default:
  1885. if ((reg >= 0x100000 && reg < 0x106000) ||
  1886. (reg >= 0x180000 && reg < 0x180800) ||
  1887. (reg >= 0x190000 && reg < 0x194800) ||
  1888. (reg >= 0x1a8000 && reg < 0x1a9800))
  1889. return true;
  1890. else
  1891. return false;
  1892. }
  1893. }
  1894. #define WM5102_MAX_REGISTER 0x1a9800
  1895. const struct regmap_config wm5102_spi_regmap = {
  1896. .reg_bits = 32,
  1897. .pad_bits = 16,
  1898. .val_bits = 16,
  1899. .reg_format_endian = REGMAP_ENDIAN_BIG,
  1900. .val_format_endian = REGMAP_ENDIAN_BIG,
  1901. .max_register = WM5102_MAX_REGISTER,
  1902. .readable_reg = wm5102_readable_register,
  1903. .volatile_reg = wm5102_volatile_register,
  1904. .cache_type = REGCACHE_RBTREE,
  1905. .reg_defaults = wm5102_reg_default,
  1906. .num_reg_defaults = ARRAY_SIZE(wm5102_reg_default),
  1907. };
  1908. EXPORT_SYMBOL_GPL(wm5102_spi_regmap);
  1909. const struct regmap_config wm5102_i2c_regmap = {
  1910. .reg_bits = 32,
  1911. .val_bits = 16,
  1912. .reg_format_endian = REGMAP_ENDIAN_BIG,
  1913. .val_format_endian = REGMAP_ENDIAN_BIG,
  1914. .max_register = WM5102_MAX_REGISTER,
  1915. .readable_reg = wm5102_readable_register,
  1916. .volatile_reg = wm5102_volatile_register,
  1917. .cache_type = REGCACHE_RBTREE,
  1918. .reg_defaults = wm5102_reg_default,
  1919. .num_reg_defaults = ARRAY_SIZE(wm5102_reg_default),
  1920. };
  1921. EXPORT_SYMBOL_GPL(wm5102_i2c_regmap);