wcd9360-registers.h 78 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158
  1. /*
  2. * Copyright (c) 2018, The Linux Foundation. All rights reserved.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 and
  6. * only version 2 as published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #ifndef _WCD9360_REGISTERS_H
  14. #define _WCD9360_REGISTERS_H
  15. #define WCD9360_PAGE_SIZE 256
  16. #define WCD9360_NUM_PAGES 256
  17. enum {
  18. WCD9360_PAGE_0 = 0,
  19. WCD9360_PAGE_1,
  20. WCD9360_PAGE_2,
  21. WCD9360_PAGE_4 = 4,
  22. WCD9360_PAGE_6 = 6,
  23. WCD9360_PAGE_7,
  24. WCD9360_PAGE_10 = 10,
  25. WCD9360_PAGE_11,
  26. WCD9360_PAGE_12,
  27. WCD9360_PAGE_13,
  28. WCD9360_PAGE_14,
  29. WCD9360_PAGE_80,
  30. WCD9360_PAGE_128,
  31. WCD9360_PAGE_MAX,
  32. };
  33. enum {
  34. WCD9360_WO = 0,
  35. WCD9360_RO,
  36. WCD9360_RW,
  37. };
  38. extern const u8 * const wcd9360_reg[WCD9360_PAGE_MAX];
  39. /* Page-0 Registers */
  40. #define WCD9360_PAGE0_PAGE_REGISTER (0x00000000)
  41. #define WCD9360_CODEC_RPM_CLK_BYPASS (0x00000001)
  42. #define WCD9360_CODEC_RPM_CLK_GATE (0x00000002)
  43. #define WCD9360_CODEC_RPM_CLK_MCLK_CFG (0x00000003)
  44. #define WCD9360_CODEC_RPM_CLK_MCLK2_CFG (0x00000004)
  45. #define WCD9360_CODEC_RPM_I2S_DSD_CLK_SEL (0x00000005)
  46. #define WCD9360_CODEC_RPM_RST_CTL (0x00000009)
  47. #define WCD9360_CODEC_RPM_PWR_CDC_DIG_HM_CTL (0x00000011)
  48. #define WCD9360_CHIP_TIER_CTRL_CHIP_ID_BYTE0 (0x00000021)
  49. #define WCD9360_CHIP_TIER_CTRL_CHIP_ID_BYTE1 (0x00000022)
  50. #define WCD9360_CHIP_TIER_CTRL_CHIP_ID_BYTE2 (0x00000023)
  51. #define WCD9360_CHIP_TIER_CTRL_CHIP_ID_BYTE3 (0x00000024)
  52. #define WCD9360_CHIP_TIER_CTRL_EFUSE_CTL (0x00000025)
  53. #define WCD9360_CHIP_TIER_CTRL_EFUSE_TEST0 (0x00000026)
  54. #define WCD9360_CHIP_TIER_CTRL_EFUSE_TEST1 (0x00000027)
  55. #define WCD9360_CHIP_TIER_CTRL_EFUSE_STATUS (0x00000039)
  56. #define WCD9360_CHIP_TIER_CTRL_I2C_SLAVE_ID_NONNEGO (0x0000003A)
  57. #define WCD9360_CHIP_TIER_CTRL_I2C_SLAVE_ID_1 (0x0000003B)
  58. #define WCD9360_CHIP_TIER_CTRL_I2C_SLAVE_ID_2 (0x0000003C)
  59. #define WCD9360_CHIP_TIER_CTRL_I2C_SLAVE_ID_3 (0x0000003D)
  60. #define WCD9360_CHIP_TIER_CTRL_ANA_WAIT_STATE_CTL (0x0000003E)
  61. #define WCD9360_CHIP_TIER_CTRL_I2C_ACTIVE (0x00000040)
  62. #define WCD9360_CHIP_TIER_CTRL_ALT_FUNC_EN (0x00000041)
  63. #define WCD9360_CHIP_TIER_CTRL_GPIO_CTL_OE (0x00000042)
  64. #define WCD9360_CHIP_TIER_CTRL_GPIO_CTL_DATA (0x00000043)
  65. #define WCD9360_DATA_HUB_RX0_CFG (0x00000051)
  66. #define WCD9360_DATA_HUB_RX1_CFG (0x00000052)
  67. #define WCD9360_DATA_HUB_RX2_CFG (0x00000053)
  68. #define WCD9360_DATA_HUB_RX3_CFG (0x00000054)
  69. #define WCD9360_DATA_HUB_RX4_CFG (0x00000055)
  70. #define WCD9360_DATA_HUB_RX5_CFG (0x00000056)
  71. #define WCD9360_DATA_HUB_RX6_CFG (0x00000057)
  72. #define WCD9360_DATA_HUB_RX7_CFG (0x00000058)
  73. #define WCD9360_DATA_HUB_SB_TX0_INP_CFG (0x00000061)
  74. #define WCD9360_DATA_HUB_SB_TX1_INP_CFG (0x00000062)
  75. #define WCD9360_DATA_HUB_SB_TX2_INP_CFG (0x00000063)
  76. #define WCD9360_DATA_HUB_SB_TX3_INP_CFG (0x00000064)
  77. #define WCD9360_DATA_HUB_SB_TX4_INP_CFG (0x00000065)
  78. #define WCD9360_DATA_HUB_SB_TX5_INP_CFG (0x00000066)
  79. #define WCD9360_DATA_HUB_SB_TX6_INP_CFG (0x00000067)
  80. #define WCD9360_DATA_HUB_SB_TX7_INP_CFG (0x00000068)
  81. #define WCD9360_DATA_HUB_SB_TX8_INP_CFG (0x00000069)
  82. #define WCD9360_DATA_HUB_SB_TX9_INP_CFG (0x0000006A)
  83. #define WCD9360_DATA_HUB_SB_TX10_INP_CFG (0x0000006B)
  84. #define WCD9360_DATA_HUB_SB_TX11_INP_CFG (0x0000006C)
  85. #define WCD9360_DATA_HUB_SB_TX12_INP_CFG (0x0000006D)
  86. #define WCD9360_DATA_HUB_SB_TX13_INP_CFG (0x0000006E)
  87. #define WCD9360_DATA_HUB_SB_TX14_INP_CFG (0x0000006F)
  88. #define WCD9360_DATA_HUB_SB_TX15_INP_CFG (0x00000070)
  89. #define WCD9360_DATA_HUB_I2S_TX0_CFG (0x00000071)
  90. #define WCD9360_DATA_HUB_I2S_TX0_CFG2 (0x00000072)
  91. #define WCD9360_DATA_HUB_I2S_TX1_0_CFG (0x00000073)
  92. #define WCD9360_DATA_HUB_I2S_TX1_1_CFG (0x00000074)
  93. #define WCD9360_DATA_HUB_DATA_HUB_CFG (0x00000079)
  94. #define WCD9360_DATA_HUB_I2S_0_CTL (0x00000081)
  95. #define WCD9360_DATA_HUB_I2S_1_CTL (0x00000082)
  96. #define WCD9360_DATA_HUB_I2S_0_CTL2 (0x00000083)
  97. #define WCD9360_DATA_HUB_I2S_1_CTL2 (0x00000084)
  98. #define WCD9360_DATA_HUB_I2S_CLKSRC_CTL (0x00000085)
  99. #define WCD9360_DATA_HUB_I2S_COMMON_CTL (0x00000086)
  100. #define WCD9360_DATA_HUB_I2S_0_TDM_CTL (0x00000087)
  101. #define WCD9360_DATA_HUB_I2S_0_TDM_CTL2 (0x00000089)
  102. #define WCD9360_DATA_HUB_I2S_0_TDM_CH_RX (0x0000008A)
  103. #define WCD9360_DATA_HUB_I2S_0_TDM_CH_TX (0x0000008B)
  104. #define WCD9360_DATA_HUB_I2S_0_TDM_CFG (0x0000008C)
  105. #define WCD9360_DATA_HUB_I2S_0_TDM_STRETCH (0x0000008D)
  106. #define WCD9360_DATA_HUB_I2S_RESET_CTL (0x00000090)
  107. #define WCD9360_DMA_RDMA_CTL_0 (0x00000091)
  108. #define WCD9360_DMA_CH_2_3_CFG_RDMA_0 (0x00000092)
  109. #define WCD9360_DMA_CH_0_1_CFG_RDMA_0 (0x00000093)
  110. #define WCD9360_DMA_RDMA_CTL_1 (0x00000094)
  111. #define WCD9360_DMA_CH_2_3_CFG_RDMA_1 (0x00000095)
  112. #define WCD9360_DMA_CH_0_1_CFG_RDMA_1 (0x00000096)
  113. #define WCD9360_DMA_RDMA_CTL_2 (0x00000097)
  114. #define WCD9360_DMA_CH_2_3_CFG_RDMA_2 (0x00000098)
  115. #define WCD9360_DMA_CH_0_1_CFG_RDMA_2 (0x00000099)
  116. #define WCD9360_DMA_RDMA_CTL_3 (0x0000009A)
  117. #define WCD9360_DMA_CH_2_3_CFG_RDMA_3 (0x0000009B)
  118. #define WCD9360_DMA_CH_0_1_CFG_RDMA_3 (0x0000009C)
  119. #define WCD9360_DMA_RDMA_CTL_4 (0x0000009D)
  120. #define WCD9360_DMA_CH_2_3_CFG_RDMA_4 (0x0000009E)
  121. #define WCD9360_DMA_CH_0_1_CFG_RDMA_4 (0x0000009F)
  122. #define WCD9360_DMA_RDMA4_PRT_CFG (0x000000B1)
  123. #define WCD9360_DMA_RDMA_SBTX0_7_CFG (0x000000B9)
  124. #define WCD9360_DMA_RDMA_SBTX8_10_CFG (0x000000BA)
  125. #define WCD9360_DMA_WDMA_CTL_0 (0x000000C1)
  126. #define WCD9360_DMA_WDMA_CTL_1 (0x000000C6)
  127. #define WCD9360_DMA_WDMA_CTL_2 (0x000000CB)
  128. #define WCD9360_DMA_WDMA_CTL_3 (0x000000D0)
  129. #define WCD9360_DMA_WDMA_CTL_4 (0x000000D5)
  130. #define WCD9360_DMA_CH_4_5_CFG_WDMA_0 (0x000000C2)
  131. #define WCD9360_DMA_CH_4_5_CFG_WDMA_1 (0x000000C7)
  132. #define WCD9360_DMA_CH_4_5_CFG_WDMA_2 (0x000000CC)
  133. #define WCD9360_DMA_CH_4_5_CFG_WDMA_3 (0x000000D1)
  134. #define WCD9360_DMA_CH_4_5_CFG_WDMA_4 (0x000000D6)
  135. #define WCD9360_DMA_CH_2_3_CFG_WDMA_0 (0x000000C3)
  136. #define WCD9360_DMA_CH_2_3_CFG_WDMA_1 (0x000000C8)
  137. #define WCD9360_DMA_CH_2_3_CFG_WDMA_2 (0x000000CD)
  138. #define WCD9360_DMA_CH_2_3_CFG_WDMA_3 (0x000000D2)
  139. #define WCD9360_DMA_CH_2_3_CFG_WDMA_4 (0x000000D7)
  140. #define WCD9360_DMA_CH_0_1_CFG_WDMA_0 (0x000000C4)
  141. #define WCD9360_DMA_CH_0_1_CFG_WDMA_1 (0x000000C9)
  142. #define WCD9360_DMA_CH_0_1_CFG_WDMA_2 (0x000000CE)
  143. #define WCD9360_DMA_CH_0_1_CFG_WDMA_3 (0x000000D3)
  144. #define WCD9360_DMA_CH_0_1_CFG_WDMA_4 (0x000000D8)
  145. #define WCD9360_DMA_WDMA0_PRT_CFG (0x000000E1)
  146. #define WCD9360_DMA_WDMA3_PRT_CFG (0x000000E2)
  147. #define WCD9360_DMA_WDMA4_PRT0_3_CFG (0x000000E3)
  148. #define WCD9360_DMA_WDMA4_PRT4_7_CFG (0x000000E4)
  149. #define WCD9360_PAGE1_PAGE_REGISTER (0x00000100)
  150. #define WCD9360_CPE_FLL_USER_CTL_0 (0x00000101)
  151. #define WCD9360_CPE_FLL_USER_CTL_1 (0x00000102)
  152. #define WCD9360_CPE_FLL_USER_CTL_2 (0x00000103)
  153. #define WCD9360_CPE_FLL_USER_CTL_3 (0x00000104)
  154. #define WCD9360_CPE_FLL_USER_CTL_4 (0x00000105)
  155. #define WCD9360_CPE_FLL_USER_CTL_5 (0x00000106)
  156. #define WCD9360_CPE_FLL_USER_CTL_6 (0x00000107)
  157. #define WCD9360_CPE_FLL_USER_CTL_7 (0x00000108)
  158. #define WCD9360_CPE_FLL_USER_CTL_8 (0x00000109)
  159. #define WCD9360_CPE_FLL_USER_CTL_9 (0x0000010A)
  160. #define WCD9360_CPE_FLL_L_VAL_CTL_0 (0x0000010B)
  161. #define WCD9360_CPE_FLL_L_VAL_CTL_1 (0x0000010C)
  162. #define WCD9360_CPE_FLL_DSM_FRAC_CTL_0 (0x0000010D)
  163. #define WCD9360_CPE_FLL_DSM_FRAC_CTL_1 (0x0000010E)
  164. #define WCD9360_CPE_FLL_CONFIG_CTL_0 (0x0000010F)
  165. #define WCD9360_CPE_FLL_CONFIG_CTL_1 (0x00000110)
  166. #define WCD9360_CPE_FLL_CONFIG_CTL_2 (0x00000111)
  167. #define WCD9360_CPE_FLL_CONFIG_CTL_3 (0x00000112)
  168. #define WCD9360_CPE_FLL_CONFIG_CTL_4 (0x00000113)
  169. #define WCD9360_CPE_FLL_TEST_CTL_0 (0x00000114)
  170. #define WCD9360_CPE_FLL_TEST_CTL_1 (0x00000115)
  171. #define WCD9360_CPE_FLL_TEST_CTL_2 (0x00000116)
  172. #define WCD9360_CPE_FLL_TEST_CTL_3 (0x00000117)
  173. #define WCD9360_CPE_FLL_TEST_CTL_4 (0x00000118)
  174. #define WCD9360_CPE_FLL_TEST_CTL_5 (0x00000119)
  175. #define WCD9360_CPE_FLL_TEST_CTL_6 (0x0000011A)
  176. #define WCD9360_CPE_FLL_TEST_CTL_7 (0x0000011B)
  177. #define WCD9360_CPE_FLL_FREQ_CTL_0 (0x0000011C)
  178. #define WCD9360_CPE_FLL_FREQ_CTL_1 (0x0000011D)
  179. #define WCD9360_CPE_FLL_FREQ_CTL_2 (0x0000011E)
  180. #define WCD9360_CPE_FLL_FREQ_CTL_3 (0x0000011F)
  181. #define WCD9360_CPE_FLL_SSC_CTL_0 (0x00000120)
  182. #define WCD9360_CPE_FLL_SSC_CTL_1 (0x00000121)
  183. #define WCD9360_CPE_FLL_SSC_CTL_2 (0x00000122)
  184. #define WCD9360_CPE_FLL_SSC_CTL_3 (0x00000123)
  185. #define WCD9360_CPE_FLL_FLL_MODE (0x00000124)
  186. #define WCD9360_CPE_FLL_STATUS_0 (0x00000125)
  187. #define WCD9360_CPE_FLL_STATUS_1 (0x00000126)
  188. #define WCD9360_CPE_FLL_STATUS_2 (0x00000127)
  189. #define WCD9360_CPE_FLL_STATUS_3 (0x00000128)
  190. #define WCD9360_I2S_FLL_USER_CTL_0 (0x00000141)
  191. #define WCD9360_I2S_FLL_USER_CTL_1 (0x00000142)
  192. #define WCD9360_I2S_FLL_USER_CTL_2 (0x00000143)
  193. #define WCD9360_I2S_FLL_USER_CTL_3 (0x00000144)
  194. #define WCD9360_I2S_FLL_USER_CTL_4 (0x00000145)
  195. #define WCD9360_I2S_FLL_USER_CTL_5 (0x00000146)
  196. #define WCD9360_I2S_FLL_USER_CTL_6 (0x00000147)
  197. #define WCD9360_I2S_FLL_USER_CTL_7 (0x00000148)
  198. #define WCD9360_I2S_FLL_USER_CTL_8 (0x00000149)
  199. #define WCD9360_I2S_FLL_USER_CTL_9 (0x0000014A)
  200. #define WCD9360_I2S_FLL_L_VAL_CTL_0 (0x0000014B)
  201. #define WCD9360_I2S_FLL_L_VAL_CTL_1 (0x0000014C)
  202. #define WCD9360_I2S_FLL_DSM_FRAC_CTL_0 (0x0000014D)
  203. #define WCD9360_I2S_FLL_DSM_FRAC_CTL_1 (0x0000014E)
  204. #define WCD9360_I2S_FLL_CONFIG_CTL_0 (0x0000014F)
  205. #define WCD9360_I2S_FLL_CONFIG_CTL_1 (0x00000150)
  206. #define WCD9360_I2S_FLL_CONFIG_CTL_2 (0x00000151)
  207. #define WCD9360_I2S_FLL_CONFIG_CTL_3 (0x00000152)
  208. #define WCD9360_I2S_FLL_CONFIG_CTL_4 (0x00000153)
  209. #define WCD9360_I2S_FLL_TEST_CTL_0 (0x00000154)
  210. #define WCD9360_I2S_FLL_TEST_CTL_1 (0x00000155)
  211. #define WCD9360_I2S_FLL_TEST_CTL_2 (0x00000156)
  212. #define WCD9360_I2S_FLL_TEST_CTL_3 (0x00000157)
  213. #define WCD9360_I2S_FLL_TEST_CTL_4 (0x00000158)
  214. #define WCD9360_I2S_FLL_TEST_CTL_5 (0x00000159)
  215. #define WCD9360_I2S_FLL_TEST_CTL_6 (0x0000015A)
  216. #define WCD9360_I2S_FLL_TEST_CTL_7 (0x0000015B)
  217. #define WCD9360_I2S_FLL_FREQ_CTL_0 (0x0000015C)
  218. #define WCD9360_I2S_FLL_FREQ_CTL_1 (0x0000015D)
  219. #define WCD9360_I2S_FLL_FREQ_CTL_2 (0x0000015E)
  220. #define WCD9360_I2S_FLL_FREQ_CTL_3 (0x0000015F)
  221. #define WCD9360_I2S_FLL_SSC_CTL_0 (0x00000160)
  222. #define WCD9360_I2S_FLL_SSC_CTL_1 (0x00000161)
  223. #define WCD9360_I2S_FLL_SSC_CTL_2 (0x00000162)
  224. #define WCD9360_I2S_FLL_SSC_CTL_3 (0x00000163)
  225. #define WCD9360_I2S_FLL_FLL_MODE (0x00000164)
  226. #define WCD9360_I2S_FLL_STATUS_0 (0x00000165)
  227. #define WCD9360_I2S_FLL_STATUS_1 (0x00000166)
  228. #define WCD9360_I2S_FLL_STATUS_2 (0x00000167)
  229. #define WCD9360_I2S_FLL_STATUS_3 (0x00000168)
  230. #define WCD9360_PAGE2_PAGE_REGISTER (0x00000200)
  231. #define WCD9360_CPE_SS_CPE_CTL (0x00000201)
  232. #define WCD9360_CPE_SS_PWR_SYS_PSTATE_CTL_0 (0x00000202)
  233. #define WCD9360_CPE_SS_PWR_SYS_PSTATE_CTL_1 (0x00000203)
  234. #define WCD9360_CPE_SS_PWR_CPEFLL_CTL (0x00000204)
  235. #define WCD9360_CPE_SS_PWR_CPE_SYSMEM_DEEPSLP_0 (0x00000205)
  236. #define WCD9360_CPE_SS_PWR_CPE_SYSMEM_DEEPSLP_1 (0x00000206)
  237. #define WCD9360_CPE_SS_PWR_CPE_SYSMEM_SHUTDOWN_0 (0x00000208)
  238. #define WCD9360_CPE_SS_PWR_CPE_SYSMEM_SHUTDOWN_1 (0x00000209)
  239. #define WCD9360_CPE_SS_PWR_CPE_SYSMEM_SHUTDOWN_2 (0x0000020A)
  240. #define WCD9360_CPE_SS_PWR_CPE_SYSMEM_SHUTDOWN_3 (0x0000020B)
  241. #define WCD9360_CPE_SS_PWR_CPE_SYSMEM_SHUTDOWN_4 (0x0000020C)
  242. #define WCD9360_CPE_SS_PWR_CPE_DRAM1_SHUTDOWN (0x0000020E)
  243. #define WCD9360_CPE_SS_US_BUF_INT_PERIOD (0x00000212)
  244. #define WCD9360_CPE_SS_CPARMAD_BUFRDY_INT_PERIOD (0x00000213)
  245. #define WCD9360_CPE_SS_SVA_CFG (0x00000214)
  246. #define WCD9360_CPE_SS_US_CFG (0x00000215)
  247. #define WCD9360_CPE_SS_MAD_CTL (0x00000216)
  248. #define WCD9360_CPE_SS_CPAR_CTL (0x00000217)
  249. #define WCD9360_CPE_SS_DMIC0_CTL (0x00000218)
  250. #define WCD9360_CPE_SS_DMIC1_CTL (0x00000219)
  251. #define WCD9360_CPE_SS_DMIC2_CTL (0x0000021A)
  252. #define WCD9360_CPE_SS_DMIC_CFG (0x0000021B)
  253. #define WCD9360_CPE_SS_CPAR_CFG (0x0000021C)
  254. #define WCD9360_CPE_SS_WDOG_CFG (0x0000021D)
  255. #define WCD9360_CPE_SS_BACKUP_INT (0x0000021E)
  256. #define WCD9360_CPE_SS_STATUS (0x0000021F)
  257. #define WCD9360_CPE_SS_CPE_OCD_CFG (0x00000220)
  258. #define WCD9360_CPE_SS_SS_ERROR_INT_MASK_0A (0x00000221)
  259. #define WCD9360_CPE_SS_SS_ERROR_INT_MASK_0B (0x00000222)
  260. #define WCD9360_CPE_SS_SS_ERROR_INT_MASK_1A (0x00000223)
  261. #define WCD9360_CPE_SS_SS_ERROR_INT_MASK_1B (0x00000224)
  262. #define WCD9360_CPE_SS_SS_ERROR_INT_STATUS_0A (0x00000225)
  263. #define WCD9360_CPE_SS_SS_ERROR_INT_STATUS_0B (0x00000226)
  264. #define WCD9360_CPE_SS_SS_ERROR_INT_STATUS_1A (0x00000227)
  265. #define WCD9360_CPE_SS_SS_ERROR_INT_STATUS_1B (0x00000228)
  266. #define WCD9360_CPE_SS_SS_ERROR_INT_CLEAR_0A (0x00000229)
  267. #define WCD9360_CPE_SS_SS_ERROR_INT_CLEAR_0B (0x0000022A)
  268. #define WCD9360_CPE_SS_SS_ERROR_INT_CLEAR_1A (0x0000022B)
  269. #define WCD9360_CPE_SS_SS_ERROR_INT_CLEAR_1B (0x0000022C)
  270. #define WCD9360_CPE_SS_DMIC3_CTL (0x00000231)
  271. #define WCD9360_CPE_SS_WDOG_RESET (0x00000239)
  272. #define WCD9360_CPE_SS_LPASS_MCLK_PRG (0x00000240)
  273. #define WCD9360_CPE_SS_LPASS_IPC_IN_0 (0x00000241)
  274. #define WCD9360_CPE_SS_LPASS_IPC_IN_1 (0x00000242)
  275. #define WCD9360_CPE_SS_LPASS_IPC_IN_2 (0x00000243)
  276. #define WCD9360_CPE_SS_LPASS_IPC_IN_3 (0x00000244)
  277. #define WCD9360_CPE_SS_LPASS_IPC_IN_4 (0x00000245)
  278. #define WCD9360_CPE_SS_LPASS_IPC_IN_5 (0x00000246)
  279. #define WCD9360_CPE_SS_LPASS_IPC_IN_6 (0x00000247)
  280. #define WCD9360_CPE_SS_LPASS_IPC_IN_7 (0x00000248)
  281. #define WCD9360_CPE_SS_LPASS_IPC_IN_8 (0x00000249)
  282. #define WCD9360_CPE_SS_LPASS_IPC_IN_9 (0x0000024A)
  283. #define WCD9360_CPE_SS_LPASS_IPC_IN_10 (0x0000024B)
  284. #define WCD9360_CPE_SS_LPASS_IPC_IN_11 (0x0000024C)
  285. #define WCD9360_CPE_SS_LPASS_IPC_IN_12 (0x0000024D)
  286. #define WCD9360_CPE_SS_LPASS_IPC_IN_13 (0x0000024E)
  287. #define WCD9360_CPE_SS_LPASS_IPC_IN_14 (0x0000024F)
  288. #define WCD9360_CPE_SS_LPASS_IPC_IN_15 (0x00000250)
  289. #define WCD9360_CPE_SS_LPASS_IPC_OUT_0 (0x00000251)
  290. #define WCD9360_CPE_SS_LPASS_IPC_OUT_1 (0x00000252)
  291. #define WCD9360_CPE_SS_LPASS_IPC_OUT_2 (0x00000253)
  292. #define WCD9360_CPE_SS_LPASS_IPC_OUT_3 (0x00000254)
  293. #define WCD9360_CPE_SS_LPASS_IPC_OUT_4 (0x00000255)
  294. #define WCD9360_CPE_SS_LPASS_IPC_OUT_5 (0x00000256)
  295. #define WCD9360_CPE_SS_LPASS_IPC_OUT_6 (0x00000257)
  296. #define WCD9360_CPE_SS_LPASS_IPC_OUT_7 (0x00000258)
  297. #define WCD9360_CPE_SS_LPASS_IPC_OUT_8 (0x00000259)
  298. #define WCD9360_CPE_SS_LPASS_IPC_OUT_9 (0x0000025A)
  299. #define WCD9360_CPE_SS_LPASS_IPC_OUT_10 (0x0000025B)
  300. #define WCD9360_CPE_SS_LPASS_IPC_OUT_11 (0x0000025C)
  301. #define WCD9360_CPE_SS_LPASS_IPC_OUT_12 (0x0000025D)
  302. #define WCD9360_CPE_SS_LPASS_IPC_OUT_13 (0x0000025E)
  303. #define WCD9360_CPE_SS_LPASS_IPC_OUT_14 (0x0000025F)
  304. #define WCD9360_CPE_SS_LPASS_IPC_OUT_15 (0x00000260)
  305. #define WCD9360_CPE_SS_LPASS_ARB_CTL (0x00000261)
  306. #define WCD9360_CPE_SS_MEM_DEEPSLEEP_RD_0 (0x00000271)
  307. #define WCD9360_CPE_SS_MEM_DEEPSLEEP_RD_1 (0x00000272)
  308. #define WCD9360_CPE_SS_MEM_DEEPSLEEP_BYPASS_0 (0x00000273)
  309. #define WCD9360_CPE_SS_MEM_DEEPSLEEP_BYPASS_1 (0x00000274)
  310. #define WCD9360_SOC_MAD_MAIN_CTL_1 (0x00000281)
  311. #define WCD9360_SOC_MAD_MAIN_CTL_2 (0x00000282)
  312. #define WCD9360_SOC_MAD_AUDIO_CTL_1 (0x00000283)
  313. #define WCD9360_SOC_MAD_AUDIO_CTL_2 (0x00000284)
  314. #define WCD9360_SOC_MAD_AUDIO_CTL_3 (0x00000285)
  315. #define WCD9360_SOC_MAD_AUDIO_CTL_4 (0x00000286)
  316. #define WCD9360_SOC_MAD_AUDIO_CTL_5 (0x00000287)
  317. #define WCD9360_SOC_MAD_AUDIO_CTL_6 (0x00000288)
  318. #define WCD9360_SOC_MAD_AUDIO_CTL_7 (0x00000289)
  319. #define WCD9360_SOC_MAD_AUDIO_CTL_8 (0x0000028A)
  320. #define WCD9360_SOC_MAD_AUDIO_IIR_CTL_PTR (0x0000028B)
  321. #define WCD9360_SOC_MAD_AUDIO_IIR_CTL_VAL (0x0000028C)
  322. #define WCD9360_SOC_MAD_ULTR_CTL_1 (0x0000028D)
  323. #define WCD9360_SOC_MAD_ULTR_CTL_2 (0x0000028E)
  324. #define WCD9360_SOC_MAD_ULTR_CTL_3 (0x0000028F)
  325. #define WCD9360_SOC_MAD_ULTR_CTL_4 (0x00000290)
  326. #define WCD9360_SOC_MAD_ULTR_CTL_5 (0x00000291)
  327. #define WCD9360_SOC_MAD_ULTR_CTL_6 (0x00000292)
  328. #define WCD9360_SOC_MAD_ULTR_CTL_7 (0x00000293)
  329. #define WCD9360_SOC_MAD_BEACON_CTL_1 (0x00000294)
  330. #define WCD9360_SOC_MAD_BEACON_CTL_2 (0x00000295)
  331. #define WCD9360_SOC_MAD_BEACON_CTL_3 (0x00000296)
  332. #define WCD9360_SOC_MAD_BEACON_CTL_4 (0x00000297)
  333. #define WCD9360_SOC_MAD_BEACON_CTL_5 (0x00000298)
  334. #define WCD9360_SOC_MAD_BEACON_CTL_6 (0x00000299)
  335. #define WCD9360_SOC_MAD_BEACON_CTL_7 (0x0000029A)
  336. #define WCD9360_SOC_MAD_BEACON_CTL_8 (0x0000029B)
  337. #define WCD9360_SOC_MAD_BEACON_IIR_CTL_PTR (0x0000029C)
  338. #define WCD9360_SOC_MAD_BEACON_IIR_CTL_VAL (0x0000029D)
  339. #define WCD9360_SOC_MAD_INP_SEL (0x0000029E)
  340. #define WCD9360_SOC_MAD_MAD2_INP_SEL (0x0000029F)
  341. #define WCD9360_SWR_SAMPLE_PACK_SWR_SAMPLE_PACK_CTRL (0x000002B1)
  342. #define WCD9360_SWR_SAMPLE_PACK_SWR_SAMPLE_PACK_STATUS (0x000002B2)
  343. #define WCD9360_SWR_SAMPLE_PACK_SWR_SAMPLE_PACK_FS (0x000002B3)
  344. #define WCD9360_SWR_SAMPLE_PACK_SWR_SAMPLE_PACK_IN_SEL (0x000002B4)
  345. #define WCD9360_EFUSE_VALUE_EFUSE_VAL_OUT0 (0x000002C1)
  346. #define WCD9360_EFUSE_VALUE_EFUSE_VAL_OUT1 (0x000002C2)
  347. #define WCD9360_EFUSE_VALUE_EFUSE_VAL_OUT2 (0x000002C3)
  348. #define WCD9360_EFUSE_VALUE_EFUSE_VAL_OUT3 (0x000002C4)
  349. #define WCD9360_EFUSE_VALUE_EFUSE_VAL_OUT4 (0x000002C5)
  350. #define WCD9360_EFUSE_VALUE_EFUSE_VAL_OUT5 (0x000002C6)
  351. #define WCD9360_EFUSE_VALUE_EFUSE_VAL_OUT6 (0x000002C7)
  352. #define WCD9360_EFUSE_VALUE_EFUSE_VAL_OUT7 (0x000002C8)
  353. #define WCD9360_EFUSE_VALUE_EFUSE_VAL_OUT8 (0x000002C9)
  354. #define WCD9360_EFUSE_VALUE_EFUSE_VAL_OUT9 (0x000002CA)
  355. #define WCD9360_EFUSE_VALUE_EFUSE_VAL_OUT10 (0x000002CB)
  356. #define WCD9360_EFUSE_VALUE_EFUSE_VAL_OUT11 (0x000002CC)
  357. #define WCD9360_EFUSE_VALUE_EFUSE_VAL_OUT12 (0x000002CD)
  358. #define WCD9360_EFUSE_VALUE_EFUSE_VAL_OUT13 (0x000002CE)
  359. #define WCD9360_EFUSE_VALUE_EFUSE_VAL_OUT14 (0x000002CF)
  360. #define WCD9360_EFUSE_VALUE_EFUSE_VAL_OUT15 (0x000002D0)
  361. #define WCD9360_EFUSE_VALUE_EFUSE2_VAL_OUT0 (0x000002D1)
  362. #define WCD9360_EFUSE_VALUE_EFUSE2_VAL_OUT1 (0x000002D2)
  363. #define WCD9360_EFUSE_VALUE_EFUSE2_VAL_OUT2 (0x000002D3)
  364. #define WCD9360_EFUSE_VALUE_EFUSE2_VAL_OUT3 (0x000002D4)
  365. #define WCD9360_EFUSE_VALUE_EFUSE2_VAL_OUT4 (0x000002D5)
  366. #define WCD9360_EFUSE_VALUE_EFUSE2_VAL_OUT5 (0x000002D6)
  367. #define WCD9360_EFUSE_VALUE_EFUSE2_VAL_OUT6 (0x000002D7)
  368. #define WCD9360_EFUSE_VALUE_EFUSE2_VAL_OUT7 (0x000002D8)
  369. #define WCD9360_EFUSE_VALUE_EFUSE2_VAL_OUT8 (0x000002D9)
  370. #define WCD9360_EFUSE_VALUE_EFUSE2_VAL_OUT9 (0x000002DA)
  371. #define WCD9360_EFUSE_VALUE_EFUSE2_VAL_OUT10 (0x000002DB)
  372. #define WCD9360_EFUSE_VALUE_EFUSE2_VAL_OUT11 (0x000002DC)
  373. #define WCD9360_EFUSE_VALUE_EFUSE2_VAL_OUT12 (0x000002DD)
  374. #define WCD9360_EFUSE_VALUE_EFUSE2_VAL_OUT13 (0x000002DE)
  375. #define WCD9360_EFUSE_VALUE_EFUSE2_VAL_OUT14 (0x000002DF)
  376. #define WCD9360_EFUSE_VALUE_EFUSE2_VAL_OUT15 (0x000002E0)
  377. #define WCD9360_PAGE4_PAGE_REGISTER (0x00000400)
  378. #define WCD9360_INTR_CFG (0x00000401)
  379. #define WCD9360_INTR_CLR_COMMIT (0x00000402)
  380. #define WCD9360_INTR_PIN1_MASK0 (0x00000409)
  381. #define WCD9360_INTR_PIN1_MASK1 (0x0000040A)
  382. #define WCD9360_INTR_PIN1_MASK2 (0x0000040B)
  383. #define WCD9360_INTR_PIN1_MASK3 (0x0000040C)
  384. #define WCD9360_INTR_PIN1_STATUS0 (0x00000411)
  385. #define WCD9360_INTR_PIN1_STATUS1 (0x00000412)
  386. #define WCD9360_INTR_PIN1_STATUS2 (0x00000413)
  387. #define WCD9360_INTR_PIN1_STATUS3 (0x00000414)
  388. #define WCD9360_INTR_PIN1_CLEAR0 (0x00000419)
  389. #define WCD9360_INTR_PIN1_CLEAR1 (0x0000041A)
  390. #define WCD9360_INTR_PIN1_CLEAR2 (0x0000041B)
  391. #define WCD9360_INTR_PIN1_CLEAR3 (0x0000041C)
  392. #define WCD9360_INTR_PIN2_MASK3 (0x00000424)
  393. #define WCD9360_INTR_PIN2_STATUS3 (0x0000042C)
  394. #define WCD9360_INTR_PIN2_CLEAR3 (0x00000434)
  395. #define WCD9360_INTR_CPESS_SUMRY_MASK2 (0x0000043B)
  396. #define WCD9360_INTR_CPESS_SUMRY_MASK3 (0x0000043C)
  397. #define WCD9360_INTR_CPESS_SUMRY_STATUS2 (0x00000443)
  398. #define WCD9360_INTR_CPESS_SUMRY_STATUS3 (0x00000444)
  399. #define WCD9360_INTR_CPESS_SUMRY_CLEAR2 (0x0000044B)
  400. #define WCD9360_INTR_CPESS_SUMRY_CLEAR3 (0x0000044C)
  401. #define WCD9360_INTR_LEVEL0 (0x00000461)
  402. #define WCD9360_INTR_LEVEL1 (0x00000462)
  403. #define WCD9360_INTR_LEVEL2 (0x00000463)
  404. #define WCD9360_INTR_LEVEL3 (0x00000464)
  405. #define WCD9360_INTR_BYPASS0 (0x00000469)
  406. #define WCD9360_INTR_BYPASS1 (0x0000046A)
  407. #define WCD9360_INTR_BYPASS2 (0x0000046B)
  408. #define WCD9360_INTR_BYPASS3 (0x0000046C)
  409. #define WCD9360_INTR_SET0 (0x00000471)
  410. #define WCD9360_INTR_SET1 (0x00000472)
  411. #define WCD9360_INTR_SET2 (0x00000473)
  412. #define WCD9360_INTR_SET3 (0x00000474)
  413. #define WCD9360_INTR_CODEC_MISC_MASK (0x000004B1)
  414. #define WCD9360_INTR_CODEC_MISC_STATUS (0x000004B2)
  415. #define WCD9360_INTR_CODEC_MISC_CLEAR (0x000004B3)
  416. #define WCD9360_ANA_PAGE_REGISTER (0x00000600)
  417. #define WCD9360_ANA_BIAS (0x00000601)
  418. #define WCD9360_ANA_AMIC_INPUT_SWITCH_CTL (0x00000602)
  419. #define WCD9360_ANA_RCO (0x00000603)
  420. #define WCD9360_ANA_BUCK_CTL (0x00000606)
  421. #define WCD9360_ANA_BUCK_STATUS (0x00000607)
  422. #define WCD9360_ANA_EAR (0x0000060A)
  423. #define WCD9360_ANA_MAD_SETUP (0x0000060D)
  424. #define WCD9360_ANA_AMIC1 (0x0000060E)
  425. #define WCD9360_ANA_AMIC2 (0x0000060F)
  426. #define WCD9360_ANA_AMIC3 (0x00000610)
  427. #define WCD9360_ANA_AMIC4 (0x00000611)
  428. #define WCD9360_ANA_MICB1 (0x00000622)
  429. #define WCD9360_ANA_MICB2 (0x00000623)
  430. #define WCD9360_ANA_MICB3 (0x00000625)
  431. #define WCD9360_ANA_MICB4 (0x00000626)
  432. #define WCD9360_BIAS_CTL (0x00000628)
  433. #define WCD9360_BIAS_VBG_FINE_ADJ (0x00000629)
  434. #define WCD9360_RCO_CTRL_1 (0x0000062E)
  435. #define WCD9360_RCO_CTRL_2 (0x0000062F)
  436. #define WCD9360_RCO_CAL (0x00000630)
  437. #define WCD9360_RCO_CAL_1 (0x00000631)
  438. #define WCD9360_RCO_CAL_2 (0x00000632)
  439. #define WCD9360_RCO_TEST_CTRL (0x00000633)
  440. #define WCD9360_RCO_CAL_OUT_1 (0x00000634)
  441. #define WCD9360_RCO_CAL_OUT_2 (0x00000635)
  442. #define WCD9360_RCO_CAL_OUT_3 (0x00000636)
  443. #define WCD9360_RCO_CAL_OUT_4 (0x00000637)
  444. #define WCD9360_RCO_CAL_OUT_5 (0x00000638)
  445. #define WCD9360_SIDO_MODE_1 (0x0000063A)
  446. #define WCD9360_SIDO_MODE_2 (0x0000063B)
  447. #define WCD9360_SIDO_MODE_3 (0x0000063C)
  448. #define WCD9360_SIDO_MODE_4 (0x0000063D)
  449. #define WCD9360_SIDO_VCL_1 (0x0000063E)
  450. #define WCD9360_SIDO_VCL_2 (0x0000063F)
  451. #define WCD9360_SIDO_VCL_3 (0x00000640)
  452. #define WCD9360_SIDO_CCL_1 (0x00000641)
  453. #define WCD9360_SIDO_CCL_2 (0x00000642)
  454. #define WCD9360_SIDO_CCL_3 (0x00000643)
  455. #define WCD9360_SIDO_CCL_4 (0x00000644)
  456. #define WCD9360_SIDO_CCL_5 (0x00000645)
  457. #define WCD9360_SIDO_CCL_6 (0x00000646)
  458. #define WCD9360_SIDO_CCL_7 (0x00000647)
  459. #define WCD9360_SIDO_CCL_8 (0x00000648)
  460. #define WCD9360_SIDO_CCL_9 (0x00000649)
  461. #define WCD9360_SIDO_CCL_10 (0x0000064A)
  462. #define WCD9360_SIDO_FILTER_1 (0x0000064B)
  463. #define WCD9360_SIDO_FILTER_2 (0x0000064C)
  464. #define WCD9360_SIDO_DRIVER_1 (0x0000064D)
  465. #define WCD9360_SIDO_DRIVER_2 (0x0000064E)
  466. #define WCD9360_SIDO_DRIVER_3 (0x0000064F)
  467. #define WCD9360_SIDO_CAL_CODE_EXT_1 (0x00000650)
  468. #define WCD9360_SIDO_CAL_CODE_EXT_2 (0x00000651)
  469. #define WCD9360_SIDO_CAL_CODE_OUT_1 (0x00000652)
  470. #define WCD9360_SIDO_CAL_CODE_OUT_2 (0x00000653)
  471. #define WCD9360_SIDO_TEST_1 (0x00000654)
  472. #define WCD9360_SIDO_TEST_2 (0x00000655)
  473. #define WCD9360_LDOH_MODE (0x00000667)
  474. #define WCD9360_LDOH_BIAS (0x00000668)
  475. #define WCD9360_LDOH_STB_LOADS (0x00000669)
  476. #define WCD9360_LDOH_SLOWRAMP (0x0000066A)
  477. #define WCD9360_MICB1_TEST_CTL_1 (0x0000066B)
  478. #define WCD9360_MICB1_TEST_CTL_2 (0x0000066C)
  479. #define WCD9360_MICB1_TEST_CTL_3 (0x0000066D)
  480. #define WCD9360_MICB2_TEST_CTL_1 (0x0000066E)
  481. #define WCD9360_MICB2_TEST_CTL_2 (0x0000066F)
  482. #define WCD9360_MICB2_TEST_CTL_3 (0x00000670)
  483. #define WCD9360_MICB3_TEST_CTL_1 (0x00000671)
  484. #define WCD9360_MICB3_TEST_CTL_2 (0x00000672)
  485. #define WCD9360_MICB3_TEST_CTL_3 (0x00000673)
  486. #define WCD9360_MICB4_TEST_CTL_1 (0x00000674)
  487. #define WCD9360_MICB4_TEST_CTL_2 (0x00000675)
  488. #define WCD9360_MICB4_TEST_CTL_3 (0x00000676)
  489. #define WCD9360_TX_COM_ADC_VCM (0x00000677)
  490. #define WCD9360_TX_COM_BIAS_ATEST (0x00000678)
  491. #define WCD9360_TX_COM_ADC_INT1_IB (0x00000679)
  492. #define WCD9360_TX_COM_ADC_INT2_IB (0x0000067A)
  493. #define WCD9360_TX_COM_TXFE_DIV_CTL (0x0000067B)
  494. #define WCD9360_TX_COM_TXFE_DIV_START (0x0000067C)
  495. #define WCD9360_TX_COM_TXFE_DIV_STOP_9P6M (0x0000067D)
  496. #define WCD9360_TX_COM_TXFE_DIV_STOP_12P288M (0x0000067E)
  497. #define WCD9360_TX_1_2_TEST_EN (0x0000067F)
  498. #define WCD9360_TX_1_2_ADC_IB (0x00000680)
  499. #define WCD9360_TX_1_2_ATEST_REFCTL (0x00000681)
  500. #define WCD9360_TX_1_2_TEST_CTL (0x00000682)
  501. #define WCD9360_TX_1_2_TEST_BLK_EN (0x00000683)
  502. #define WCD9360_TX_1_2_TXFE_CLKDIV (0x00000684)
  503. #define WCD9360_TX_1_2_SAR1_ERR (0x00000685)
  504. #define WCD9360_TX_1_2_SAR2_ERR (0x00000686)
  505. #define WCD9360_TX_3_4_TEST_EN (0x00000687)
  506. #define WCD9360_TX_3_4_ADC_IB (0x00000688)
  507. #define WCD9360_TX_3_4_ATEST_REFCTL (0x00000689)
  508. #define WCD9360_TX_3_4_TEST_CTL (0x0000068A)
  509. #define WCD9360_TX_3_4_TEST_BLK_EN (0x0000068B)
  510. #define WCD9360_TX_3_4_TXFE_CLKDIV (0x0000068C)
  511. #define WCD9360_TX_3_4_SAR1_ERR (0x0000068D)
  512. #define WCD9360_TX_3_4_SAR2_ERR (0x0000068E)
  513. #define WCD9360_RX_RX_EAR_BIAS_CON_1 (0x000006B3)
  514. #define WCD9360_RX_RX_EAR_BIAS_CON_2 (0x000006B4)
  515. #define WCD9360_RX_RX_AUX_BIAS_CON_1 (0x000006B5)
  516. #define WCD9360_RX_RX_AUX_BIAS_CON_2 (0x000006B6)
  517. #define WCD9360_RX_RX_BIAS_ATEST (0x000006B7)
  518. #define WCD9360_RX_RXTOP_RESERVED (0x000006B8)
  519. #define WCD9360_EAR_EAR_EN_REG (0x000006E1)
  520. #define WCD9360_EAR_EAR_PA_CON (0x000006E2)
  521. #define WCD9360_EAR_EAR_SP_CON (0x000006E3)
  522. #define WCD9360_EAR_EAR_DAC_CON (0x000006E4)
  523. #define WCD9360_EAR_EAR_CNP_FSM_CON (0x000006E5)
  524. #define WCD9360_EAR_DAC_CTL_TEST (0x000006E6)
  525. #define WCD9360_EAR_STATUS_REG (0x000006E7)
  526. #define WCD9360_EAR_EAR_COMPANDER_CON (0x000006E8)
  527. #define WCD9360_ANA_NEW_PAGE_REGISTER (0x00000700)
  528. #define WCD9360_CLK_SYS_PLL_ENABLES (0x0000070E)
  529. #define WCD9360_CLK_SYS_PLL_PRESET (0x0000070F)
  530. #define WCD9360_CLK_SYS_PLL_STATUS (0x00000710)
  531. #define WCD9360_CLK_SYS_MCLK_PRG (0x00000711)
  532. #define WCD9360_CLK_SYS_MCLK2_PRG1 (0x00000712)
  533. #define WCD9360_CLK_SYS_MCLK_MISC (0x00000713)
  534. #define WCD9360_SIDO_NEW_VOUT_A_STARTUP (0x0000071B)
  535. #define WCD9360_SIDO_NEW_VOUT_D_STARTUP (0x0000071C)
  536. #define WCD9360_SIDO_NEW_VOUT_D_FREQ1 (0x0000071D)
  537. #define WCD9360_SIDO_NEW_VOUT_D_FREQ2 (0x0000071E)
  538. #define WCD9360_AUX_ANA_EAR (0x00000728)
  539. #define WCD9360_LDORXTX_LDORXTX (0x00000729)
  540. #define WCD9360_DIE_CRACK_CTL (0x0000072A)
  541. #define WCD9360_DIE_CRACK_OUT (0x0000072B)
  542. #define WCD9360_LOOP_BACK_EN (0x0000072C)
  543. #define WCD9360_CLK_SYS_INT_POST_DIV_REG0 (0x0000076C)
  544. #define WCD9360_CLK_SYS_INT_POST_DIV_REG1 (0x0000076D)
  545. #define WCD9360_CLK_SYS_INT_REF_DIV_REG0 (0x0000076E)
  546. #define WCD9360_CLK_SYS_INT_REF_DIV_REG1 (0x0000076F)
  547. #define WCD9360_CLK_SYS_INT_FILTER_REG0 (0x00000770)
  548. #define WCD9360_CLK_SYS_INT_FILTER_REG1 (0x00000771)
  549. #define WCD9360_CLK_SYS_INT_PLL_L_VAL (0x00000772)
  550. #define WCD9360_CLK_SYS_INT_PLL_M_VAL (0x00000773)
  551. #define WCD9360_CLK_SYS_INT_PLL_N_VAL (0x00000774)
  552. #define WCD9360_CLK_SYS_INT_TEST_REG0 (0x00000775)
  553. #define WCD9360_CLK_SYS_INT_PFD_CP_DSM_PROG (0x00000776)
  554. #define WCD9360_CLK_SYS_INT_VCO_PROG (0x00000777)
  555. #define WCD9360_CLK_SYS_INT_TEST_REG1 (0x00000778)
  556. #define WCD9360_CLK_SYS_INT_LDO_LOCK_CFG (0x00000779)
  557. #define WCD9360_CLK_SYS_INT_DIG_LOCK_DET_CFG (0x0000077A)
  558. #define WCD9360_CLK_SYS_INT_CLK_TEST1 (0x0000077B)
  559. #define WCD9360_CLK_SYS_INT_CLK_TEST2 (0x0000077C)
  560. #define WCD9360_CLK_SYS_INT_CLK_TEST3 (0x0000077D)
  561. #define WCD9360_SIDO_NEW_INT_RAMP_STATUS (0x00000796)
  562. #define WCD9360_SIDO_NEW_INT_SPARE_1 (0x00000797)
  563. #define WCD9360_SIDO_NEW_INT_DEBUG_VOUT_SETTING_A (0x00000798)
  564. #define WCD9360_SIDO_NEW_INT_DEBUG_VOUT_SETTING_D (0x00000799)
  565. #define WCD9360_SIDO_NEW_INT_RAMP_INC_WAIT (0x0000079A)
  566. #define WCD9360_SIDO_NEW_INT_DYNAMIC_IPEAK_CTL (0x0000079B)
  567. #define WCD9360_SIDO_NEW_INT_RAMP_IBLEED_CTL (0x0000079C)
  568. #define WCD9360_SIDO_NEW_INT_DEBUG_CPROVR_TEST (0x0000079D)
  569. #define WCD9360_SIDO_NEW_INT_RAMP_CTL_A (0x0000079E)
  570. #define WCD9360_SIDO_NEW_INT_RAMP_CTL_D (0x0000079F)
  571. #define WCD9360_SIDO_NEW_INT_RAMP_TIMEOUT_PERIOD (0x000007A0)
  572. #define WCD9360_SIDO_NEW_INT_DYNAMIC_IPEAK_SETTING1 (0x000007A1)
  573. #define WCD9360_SIDO_NEW_INT_DYNAMIC_IPEAK_SETTING2 (0x000007A2)
  574. #define WCD9360_SIDO_NEW_INT_DYNAMIC_IPEAK_SETTING3 (0x000007A3)
  575. #define WCD9360_SIDO_NEW_INT_HIGH_ACCU_MODE_SEL1 (0x000007A4)
  576. #define WCD9360_SIDO_NEW_INT_HIGH_ACCU_MODE_SEL2 (0x000007A5)
  577. #define WCD9360_EAR_INT_NEW_EAR_CHOPPER_CON (0x000007B7)
  578. #define WCD9360_EAR_INT_NEW_EAR_VCM_GEN_CON1 (0x000007B8)
  579. #define WCD9360_EAR_INT_NEW_EAR_VCM_GEN_CON2 (0x000007B9)
  580. #define WCD9360_EAR_INT_NEW_EAR_DYNAMIC_BIAS (0x000007BA)
  581. #define WCD9360_AUX_INT_AUX_EN_REG (0x000007BD)
  582. #define WCD9360_AUX_INT_AUX_PA_CON (0x000007BE)
  583. #define WCD9360_AUX_INT_AUX_SP_CON (0x000007BF)
  584. #define WCD9360_AUX_INT_AUX_DAC_CON (0x000007C0)
  585. #define WCD9360_AUX_INT_AUX_CNP_FSM_CON (0x000007C1)
  586. #define WCD9360_AUX_INT_AUX_TEST (0x000007C2)
  587. #define WCD9360_AUX_INT_STATUS_REG (0x000007C3)
  588. #define WCD9360_AUX_INT_AUX_MISC (0x000007C4)
  589. #define WCD9360_LDORXTX_INT_ANA_LDORXTX_CTRL1 (0x000007C5)
  590. #define WCD9360_LDORXTX_INT_ANA_LDORXTX_CTRL2 (0x000007C6)
  591. #define WCD9360_LDORXTX_INT_ANA_LDORXTX_CTRL3 (0x000007C7)
  592. #define WCD9360_LDORXTX_INT_ANA_LDORXTX_CTRL4 (0x000007C8)
  593. #define WCD9360_LDORXTX_INT_ANA_LDORXTX_CTRL5 (0x000007C9)
  594. #define WCD9360_LDORXTX_INT_ANA_LDORXTX_STATUS (0x000007CA)
  595. #define WCD9360_DIE_CRACK_INT_INT1 (0x000007CC)
  596. #define WCD9360_DIE_CRACK_INT_INT2 (0x000007CD)
  597. #define WCD9360_LOOP_BACK_INT_SPARE (0x000007CE)
  598. #define WCD9360_PAGE10_PAGE_REGISTER (0x00000A00)
  599. #define WCD9360_CDC_ANC0_CLK_RESET_CTL (0x00000A01)
  600. #define WCD9360_CDC_ANC0_MODE_1_CTL (0x00000A02)
  601. #define WCD9360_CDC_ANC0_MODE_2_CTL (0x00000A03)
  602. #define WCD9360_CDC_ANC0_FF_SHIFT (0x00000A04)
  603. #define WCD9360_CDC_ANC0_FB_SHIFT (0x00000A05)
  604. #define WCD9360_CDC_ANC0_LPF_FF_A_CTL (0x00000A06)
  605. #define WCD9360_CDC_ANC0_LPF_FF_B_CTL (0x00000A07)
  606. #define WCD9360_CDC_ANC0_LPF_FB_CTL (0x00000A08)
  607. #define WCD9360_CDC_ANC0_SMLPF_CTL (0x00000A09)
  608. #define WCD9360_CDC_ANC0_DCFLT_SHIFT_CTL (0x00000A0A)
  609. #define WCD9360_CDC_ANC0_IIR_ADAPT_CTL (0x00000A0B)
  610. #define WCD9360_CDC_ANC0_IIR_COEFF_1_CTL (0x00000A0C)
  611. #define WCD9360_CDC_ANC0_IIR_COEFF_2_CTL (0x00000A0D)
  612. #define WCD9360_CDC_ANC0_FF_A_GAIN_CTL (0x00000A0E)
  613. #define WCD9360_CDC_ANC0_FF_B_GAIN_CTL (0x00000A0F)
  614. #define WCD9360_CDC_ANC0_FB_GAIN_CTL (0x00000A10)
  615. #define WCD9360_CDC_TX0_TX_PATH_CTL (0x00000A31)
  616. #define WCD9360_CDC_TX0_TX_PATH_CFG0 (0x00000A32)
  617. #define WCD9360_CDC_TX0_TX_PATH_CFG1 (0x00000A33)
  618. #define WCD9360_CDC_TX0_TX_VOL_CTL (0x00000A34)
  619. #define WCD9360_CDC_TX0_TX_PATH_192_CTL (0x00000A35)
  620. #define WCD9360_CDC_TX0_TX_PATH_192_CFG (0x00000A36)
  621. #define WCD9360_CDC_TX0_TX_PATH_SEC0 (0x00000A37)
  622. #define WCD9360_CDC_TX0_TX_PATH_SEC1 (0x00000A38)
  623. #define WCD9360_CDC_TX0_TX_PATH_SEC2 (0x00000A39)
  624. #define WCD9360_CDC_TX0_TX_PATH_SEC3 (0x00000A3A)
  625. #define WCD9360_CDC_TX0_TX_PATH_SEC4 (0x00000A3B)
  626. #define WCD9360_CDC_TX0_TX_PATH_SEC5 (0x00000A3C)
  627. #define WCD9360_CDC_TX0_TX_PATH_SEC6 (0x00000A3D)
  628. #define WCD9360_CDC_TX1_TX_PATH_CTL (0x00000A41)
  629. #define WCD9360_CDC_TX1_TX_PATH_CFG0 (0x00000A42)
  630. #define WCD9360_CDC_TX1_TX_PATH_CFG1 (0x00000A43)
  631. #define WCD9360_CDC_TX1_TX_VOL_CTL (0x00000A44)
  632. #define WCD9360_CDC_TX1_TX_PATH_192_CTL (0x00000A45)
  633. #define WCD9360_CDC_TX1_TX_PATH_192_CFG (0x00000A46)
  634. #define WCD9360_CDC_TX1_TX_PATH_SEC0 (0x00000A47)
  635. #define WCD9360_CDC_TX1_TX_PATH_SEC1 (0x00000A48)
  636. #define WCD9360_CDC_TX1_TX_PATH_SEC2 (0x00000A49)
  637. #define WCD9360_CDC_TX1_TX_PATH_SEC3 (0x00000A4A)
  638. #define WCD9360_CDC_TX1_TX_PATH_SEC4 (0x00000A4B)
  639. #define WCD9360_CDC_TX1_TX_PATH_SEC5 (0x00000A4C)
  640. #define WCD9360_CDC_TX1_TX_PATH_SEC6 (0x00000A4D)
  641. #define WCD9360_CDC_TX2_TX_PATH_CTL (0x00000A51)
  642. #define WCD9360_CDC_TX2_TX_PATH_CFG0 (0x00000A52)
  643. #define WCD9360_CDC_TX2_TX_PATH_CFG1 (0x00000A53)
  644. #define WCD9360_CDC_TX2_TX_VOL_CTL (0x00000A54)
  645. #define WCD9360_CDC_TX2_TX_PATH_192_CTL (0x00000A55)
  646. #define WCD9360_CDC_TX2_TX_PATH_192_CFG (0x00000A56)
  647. #define WCD9360_CDC_TX2_TX_PATH_SEC0 (0x00000A57)
  648. #define WCD9360_CDC_TX2_TX_PATH_SEC1 (0x00000A58)
  649. #define WCD9360_CDC_TX2_TX_PATH_SEC2 (0x00000A59)
  650. #define WCD9360_CDC_TX2_TX_PATH_SEC3 (0x00000A5A)
  651. #define WCD9360_CDC_TX2_TX_PATH_SEC4 (0x00000A5B)
  652. #define WCD9360_CDC_TX2_TX_PATH_SEC5 (0x00000A5C)
  653. #define WCD9360_CDC_TX2_TX_PATH_SEC6 (0x00000A5D)
  654. #define WCD9360_CDC_TX3_TX_PATH_CTL (0x00000A61)
  655. #define WCD9360_CDC_TX3_TX_PATH_CFG0 (0x00000A62)
  656. #define WCD9360_CDC_TX3_TX_PATH_CFG1 (0x00000A63)
  657. #define WCD9360_CDC_TX3_TX_VOL_CTL (0x00000A64)
  658. #define WCD9360_CDC_TX3_TX_PATH_192_CTL (0x00000A65)
  659. #define WCD9360_CDC_TX3_TX_PATH_192_CFG (0x00000A66)
  660. #define WCD9360_CDC_TX3_TX_PATH_SEC0 (0x00000A67)
  661. #define WCD9360_CDC_TX3_TX_PATH_SEC1 (0x00000A68)
  662. #define WCD9360_CDC_TX3_TX_PATH_SEC2 (0x00000A69)
  663. #define WCD9360_CDC_TX3_TX_PATH_SEC3 (0x00000A6A)
  664. #define WCD9360_CDC_TX3_TX_PATH_SEC4 (0x00000A6B)
  665. #define WCD9360_CDC_TX3_TX_PATH_SEC5 (0x00000A6C)
  666. #define WCD9360_CDC_TX3_TX_PATH_SEC6 (0x00000A6D)
  667. #define WCD9360_CDC_TX4_TX_PATH_CTL (0x00000A71)
  668. #define WCD9360_CDC_TX4_TX_PATH_CFG0 (0x00000A72)
  669. #define WCD9360_CDC_TX4_TX_PATH_CFG1 (0x00000A73)
  670. #define WCD9360_CDC_TX4_TX_VOL_CTL (0x00000A74)
  671. #define WCD9360_CDC_TX4_TX_PATH_192_CTL (0x00000A75)
  672. #define WCD9360_CDC_TX4_TX_PATH_192_CFG (0x00000A76)
  673. #define WCD9360_CDC_TX4_TX_PATH_SEC0 (0x00000A77)
  674. #define WCD9360_CDC_TX4_TX_PATH_SEC1 (0x00000A78)
  675. #define WCD9360_CDC_TX4_TX_PATH_SEC2 (0x00000A79)
  676. #define WCD9360_CDC_TX4_TX_PATH_SEC3 (0x00000A7A)
  677. #define WCD9360_CDC_TX4_TX_PATH_SEC4 (0x00000A7B)
  678. #define WCD9360_CDC_TX4_TX_PATH_SEC5 (0x00000A7C)
  679. #define WCD9360_CDC_TX4_TX_PATH_SEC6 (0x00000A7D)
  680. #define WCD9360_CDC_TX5_TX_PATH_CTL (0x00000A81)
  681. #define WCD9360_CDC_TX5_TX_PATH_CFG0 (0x00000A82)
  682. #define WCD9360_CDC_TX5_TX_PATH_CFG1 (0x00000A83)
  683. #define WCD9360_CDC_TX5_TX_VOL_CTL (0x00000A84)
  684. #define WCD9360_CDC_TX5_TX_PATH_192_CTL (0x00000A85)
  685. #define WCD9360_CDC_TX5_TX_PATH_192_CFG (0x00000A86)
  686. #define WCD9360_CDC_TX5_TX_PATH_SEC0 (0x00000A87)
  687. #define WCD9360_CDC_TX5_TX_PATH_SEC1 (0x00000A88)
  688. #define WCD9360_CDC_TX5_TX_PATH_SEC2 (0x00000A89)
  689. #define WCD9360_CDC_TX5_TX_PATH_SEC3 (0x00000A8A)
  690. #define WCD9360_CDC_TX5_TX_PATH_SEC4 (0x00000A8B)
  691. #define WCD9360_CDC_TX5_TX_PATH_SEC5 (0x00000A8C)
  692. #define WCD9360_CDC_TX5_TX_PATH_SEC6 (0x00000A8D)
  693. #define WCD9360_CDC_TX6_TX_PATH_CTL (0x00000A91)
  694. #define WCD9360_CDC_TX6_TX_PATH_CFG0 (0x00000A92)
  695. #define WCD9360_CDC_TX6_TX_PATH_CFG1 (0x00000A93)
  696. #define WCD9360_CDC_TX6_TX_VOL_CTL (0x00000A94)
  697. #define WCD9360_CDC_TX6_TX_PATH_192_CTL (0x00000A95)
  698. #define WCD9360_CDC_TX6_TX_PATH_192_CFG (0x00000A96)
  699. #define WCD9360_CDC_TX6_TX_PATH_SEC0 (0x00000A97)
  700. #define WCD9360_CDC_TX6_TX_PATH_SEC1 (0x00000A98)
  701. #define WCD9360_CDC_TX6_TX_PATH_SEC2 (0x00000A99)
  702. #define WCD9360_CDC_TX6_TX_PATH_SEC3 (0x00000A9A)
  703. #define WCD9360_CDC_TX6_TX_PATH_SEC4 (0x00000A9B)
  704. #define WCD9360_CDC_TX6_TX_PATH_SEC5 (0x00000A9C)
  705. #define WCD9360_CDC_TX6_TX_PATH_SEC6 (0x00000A9D)
  706. #define WCD9360_CDC_TX7_TX_PATH_CTL (0x00000AA1)
  707. #define WCD9360_CDC_TX7_TX_PATH_CFG0 (0x00000AA2)
  708. #define WCD9360_CDC_TX7_TX_PATH_CFG1 (0x00000AA3)
  709. #define WCD9360_CDC_TX7_TX_VOL_CTL (0x00000AA4)
  710. #define WCD9360_CDC_TX7_TX_PATH_192_CTL (0x00000AA5)
  711. #define WCD9360_CDC_TX7_TX_PATH_192_CFG (0x00000AA6)
  712. #define WCD9360_CDC_TX7_TX_PATH_SEC0 (0x00000AA7)
  713. #define WCD9360_CDC_TX7_TX_PATH_SEC1 (0x00000AA8)
  714. #define WCD9360_CDC_TX7_TX_PATH_SEC2 (0x00000AA9)
  715. #define WCD9360_CDC_TX7_TX_PATH_SEC3 (0x00000AAA)
  716. #define WCD9360_CDC_TX7_TX_PATH_SEC4 (0x00000AAB)
  717. #define WCD9360_CDC_TX7_TX_PATH_SEC5 (0x00000AAC)
  718. #define WCD9360_CDC_TX7_TX_PATH_SEC6 (0x00000AAD)
  719. #define WCD9360_CDC_TX8_TX_PATH_CTL (0x00000AB1)
  720. #define WCD9360_CDC_TX8_TX_PATH_CFG0 (0x00000AB2)
  721. #define WCD9360_CDC_TX8_TX_PATH_CFG1 (0x00000AB3)
  722. #define WCD9360_CDC_TX8_TX_VOL_CTL (0x00000AB4)
  723. #define WCD9360_CDC_TX8_TX_PATH_192_CTL (0x00000AB5)
  724. #define WCD9360_CDC_TX8_TX_PATH_192_CFG (0x00000AB6)
  725. #define WCD9360_CDC_TX8_TX_PATH_SEC0 (0x00000AB7)
  726. #define WCD9360_CDC_TX8_TX_PATH_SEC1 (0x00000AB8)
  727. #define WCD9360_CDC_TX8_TX_PATH_SEC2 (0x00000AB9)
  728. #define WCD9360_CDC_TX8_TX_PATH_SEC3 (0x00000ABA)
  729. #define WCD9360_CDC_TX8_TX_PATH_SEC4 (0x00000ABB)
  730. #define WCD9360_CDC_TX8_TX_PATH_SEC5 (0x00000ABC)
  731. #define WCD9360_CDC_TX8_TX_PATH_SEC6 (0x00000ABD)
  732. #define WCD9360_CDC_TX9_SPKR_PROT_PATH_CTL (0x00000AC2)
  733. #define WCD9360_CDC_TX9_SPKR_PROT_PATH_CFG0 (0x00000AC3)
  734. #define WCD9360_CDC_TX10_SPKR_PROT_PATH_CTL (0x00000AC6)
  735. #define WCD9360_CDC_TX10_SPKR_PROT_PATH_CFG0 (0x00000AC7)
  736. #define WCD9360_CDC_TX11_SPKR_PROT_PATH_CTL (0x00000ACA)
  737. #define WCD9360_CDC_TX11_SPKR_PROT_PATH_CFG0 (0x00000ACB)
  738. #define WCD9360_CDC_TX12_SPKR_PROT_PATH_CTL (0x00000ACE)
  739. #define WCD9360_CDC_TX12_SPKR_PROT_PATH_CFG0 (0x00000ACF)
  740. #define WCD9360_PAGE11_PAGE_REGISTER (0x00000B00)
  741. #define WCD9360_CDC_COMPANDER0_CTL0 (0x00000B21)
  742. #define WCD9360_CDC_COMPANDER0_CTL1 (0x00000B22)
  743. #define WCD9360_CDC_COMPANDER0_CTL2 (0x00000B23)
  744. #define WCD9360_CDC_COMPANDER0_CTL3 (0x00000B24)
  745. #define WCD9360_CDC_COMPANDER0_CTL4 (0x00000B25)
  746. #define WCD9360_CDC_COMPANDER0_CTL5 (0x00000B26)
  747. #define WCD9360_CDC_COMPANDER0_CTL6 (0x00000B27)
  748. #define WCD9360_CDC_COMPANDER0_CTL7 (0x00000B28)
  749. #define WCD9360_CDC_COMPANDER7_CTL0 (0x00000B31)
  750. #define WCD9360_CDC_COMPANDER7_CTL1 (0x00000B32)
  751. #define WCD9360_CDC_COMPANDER7_CTL2 (0x00000B33)
  752. #define WCD9360_CDC_COMPANDER7_CTL3 (0x00000B34)
  753. #define WCD9360_CDC_COMPANDER7_CTL4 (0x00000B35)
  754. #define WCD9360_CDC_COMPANDER7_CTL5 (0x00000B36)
  755. #define WCD9360_CDC_COMPANDER7_CTL6 (0x00000B37)
  756. #define WCD9360_CDC_COMPANDER7_CTL7 (0x00000B38)
  757. #define WCD9360_CDC_COMPANDER8_CTL0 (0x00000B39)
  758. #define WCD9360_CDC_COMPANDER8_CTL1 (0x00000B3A)
  759. #define WCD9360_CDC_COMPANDER8_CTL2 (0x00000B3B)
  760. #define WCD9360_CDC_COMPANDER8_CTL3 (0x00000B3C)
  761. #define WCD9360_CDC_COMPANDER8_CTL4 (0x00000B3D)
  762. #define WCD9360_CDC_COMPANDER8_CTL5 (0x00000B3E)
  763. #define WCD9360_CDC_COMPANDER8_CTL6 (0x00000B3F)
  764. #define WCD9360_CDC_COMPANDER8_CTL7 (0x00000B40)
  765. #define WCD9360_CDC_RX0_RX_PATH_CTL (0x00000B41)
  766. #define WCD9360_CDC_RX0_RX_PATH_CFG0 (0x00000B42)
  767. #define WCD9360_CDC_RX0_RX_PATH_CFG1 (0x00000B43)
  768. #define WCD9360_CDC_RX0_RX_PATH_CFG2 (0x00000B44)
  769. #define WCD9360_CDC_RX0_RX_VOL_CTL (0x00000B45)
  770. #define WCD9360_CDC_RX0_RX_PATH_MIX_CTL (0x00000B46)
  771. #define WCD9360_CDC_RX0_RX_PATH_MIX_CFG (0x00000B47)
  772. #define WCD9360_CDC_RX0_RX_VOL_MIX_CTL (0x00000B48)
  773. #define WCD9360_CDC_RX0_RX_PATH_SEC0 (0x00000B49)
  774. #define WCD9360_CDC_RX0_RX_PATH_SEC1 (0x00000B4A)
  775. #define WCD9360_CDC_RX0_RX_PATH_SEC2 (0x00000B4B)
  776. #define WCD9360_CDC_RX0_RX_PATH_SEC3 (0x00000B4C)
  777. #define WCD9360_CDC_RX0_RX_PATH_SEC5 (0x00000B4E)
  778. #define WCD9360_CDC_RX0_RX_PATH_SEC6 (0x00000B4F)
  779. #define WCD9360_CDC_RX0_RX_PATH_SEC7 (0x00000B50)
  780. #define WCD9360_CDC_RX0_RX_PATH_MIX_SEC0 (0x00000B51)
  781. #define WCD9360_CDC_RX0_RX_PATH_MIX_SEC1 (0x00000B52)
  782. #define WCD9360_CDC_RX0_RX_PATH_DSMDEM_CTL (0x00000B53)
  783. #define WCD9360_CDC_RX9_RX_PATH_CTL (0x00000BA5)
  784. #define WCD9360_CDC_RX9_RX_PATH_CFG0 (0x00000BA6)
  785. #define WCD9360_CDC_RX9_RX_PATH_CFG1 (0x00000BA7)
  786. #define WCD9360_CDC_RX9_RX_PATH_CFG2 (0x00000BA8)
  787. #define WCD9360_CDC_RX9_RX_VOL_CTL (0x00000BA9)
  788. #define WCD9360_CDC_RX9_RX_PATH_MIX_CTL (0x00000BAA)
  789. #define WCD9360_CDC_RX9_RX_PATH_MIX_CFG (0x00000BAB)
  790. #define WCD9360_CDC_RX9_RX_VOL_MIX_CTL (0x00000BAC)
  791. #define WCD9360_CDC_RX9_RX_PATH_SEC0 (0x00000BAD)
  792. #define WCD9360_CDC_RX9_RX_PATH_SEC1 (0x00000BAE)
  793. #define WCD9360_CDC_RX9_RX_PATH_SEC2 (0x00000BAF)
  794. #define WCD9360_CDC_RX9_RX_PATH_SEC3 (0x00000BB0)
  795. #define WCD9360_CDC_RX9_RX_PATH_SEC5 (0x00000BB2)
  796. #define WCD9360_CDC_RX9_RX_PATH_SEC6 (0x00000BB3)
  797. #define WCD9360_CDC_RX9_RX_PATH_SEC7 (0x00000BB4)
  798. #define WCD9360_CDC_RX9_RX_PATH_MIX_SEC0 (0x00000BB5)
  799. #define WCD9360_CDC_RX9_RX_PATH_MIX_SEC1 (0x00000BB6)
  800. #define WCD9360_CDC_RX9_RX_PATH_DSMDEM_CTL (0x00000BB7)
  801. #define WCD9360_CDC_RX7_RX_PATH_CTL (0x00000BCD)
  802. #define WCD9360_CDC_RX7_RX_PATH_CFG0 (0x00000BCE)
  803. #define WCD9360_CDC_RX7_RX_PATH_CFG1 (0x00000BCF)
  804. #define WCD9360_CDC_RX7_RX_PATH_CFG2 (0x00000BD0)
  805. #define WCD9360_CDC_RX7_RX_VOL_CTL (0x00000BD1)
  806. #define WCD9360_CDC_RX7_RX_PATH_MIX_CTL (0x00000BD2)
  807. #define WCD9360_CDC_RX7_RX_PATH_MIX_CFG (0x00000BD3)
  808. #define WCD9360_CDC_RX7_RX_VOL_MIX_CTL (0x00000BD4)
  809. #define WCD9360_CDC_RX7_RX_PATH_SEC0 (0x00000BD5)
  810. #define WCD9360_CDC_RX7_RX_PATH_SEC1 (0x00000BD6)
  811. #define WCD9360_CDC_RX7_RX_PATH_SEC2 (0x00000BD7)
  812. #define WCD9360_CDC_RX7_RX_PATH_SEC3 (0x00000BD8)
  813. #define WCD9360_CDC_RX7_RX_PATH_SEC5 (0x00000BDA)
  814. #define WCD9360_CDC_RX7_RX_PATH_SEC6 (0x00000BDB)
  815. #define WCD9360_CDC_RX7_RX_PATH_SEC7 (0x00000BDC)
  816. #define WCD9360_CDC_RX7_RX_PATH_MIX_SEC0 (0x00000BDD)
  817. #define WCD9360_CDC_RX7_RX_PATH_MIX_SEC1 (0x00000BDE)
  818. #define WCD9360_CDC_RX7_RX_PATH_DSMDEM_CTL (0x00000BDF)
  819. #define WCD9360_CDC_RX8_RX_PATH_CTL (0x00000BE1)
  820. #define WCD9360_CDC_RX8_RX_PATH_CFG0 (0x00000BE2)
  821. #define WCD9360_CDC_RX8_RX_PATH_CFG1 (0x00000BE3)
  822. #define WCD9360_CDC_RX8_RX_PATH_CFG2 (0x00000BE4)
  823. #define WCD9360_CDC_RX8_RX_VOL_CTL (0x00000BE5)
  824. #define WCD9360_CDC_RX8_RX_PATH_MIX_CTL (0x00000BE6)
  825. #define WCD9360_CDC_RX8_RX_PATH_MIX_CFG (0x00000BE7)
  826. #define WCD9360_CDC_RX8_RX_VOL_MIX_CTL (0x00000BE8)
  827. #define WCD9360_CDC_RX8_RX_PATH_SEC0 (0x00000BE9)
  828. #define WCD9360_CDC_RX8_RX_PATH_SEC1 (0x00000BEA)
  829. #define WCD9360_CDC_RX8_RX_PATH_SEC2 (0x00000BEB)
  830. #define WCD9360_CDC_RX8_RX_PATH_SEC3 (0x00000BEC)
  831. #define WCD9360_CDC_RX8_RX_PATH_SEC5 (0x00000BEE)
  832. #define WCD9360_CDC_RX8_RX_PATH_SEC6 (0x00000BEF)
  833. #define WCD9360_CDC_RX8_RX_PATH_SEC7 (0x00000BF0)
  834. #define WCD9360_CDC_RX8_RX_PATH_MIX_SEC0 (0x00000BF1)
  835. #define WCD9360_CDC_RX8_RX_PATH_MIX_SEC1 (0x00000BF2)
  836. #define WCD9360_CDC_RX8_RX_PATH_DSMDEM_CTL (0x00000BF3)
  837. #define WCD9360_PAGE12_PAGE_REGISTER (0x00000C00)
  838. #define WCD9360_CDC_BOOST0_BOOST_PATH_CTL (0x00000C19)
  839. #define WCD9360_CDC_BOOST0_BOOST_CTL (0x00000C1A)
  840. #define WCD9360_CDC_BOOST0_BOOST_CFG1 (0x00000C1B)
  841. #define WCD9360_CDC_BOOST0_BOOST_CFG2 (0x00000C1C)
  842. #define WCD9360_CDC_BOOST1_BOOST_PATH_CTL (0x00000C21)
  843. #define WCD9360_CDC_BOOST1_BOOST_CTL (0x00000C22)
  844. #define WCD9360_CDC_BOOST1_BOOST_CFG1 (0x00000C23)
  845. #define WCD9360_CDC_BOOST1_BOOST_CFG2 (0x00000C24)
  846. #define WCD9360_MIXING_ASRC2_CLK_RST_CTL (0x00000C6D)
  847. #define WCD9360_MIXING_ASRC2_CTL0 (0x00000C6E)
  848. #define WCD9360_MIXING_ASRC2_CTL1 (0x00000C6F)
  849. #define WCD9360_MIXING_ASRC2_FIFO_CTL (0x00000C70)
  850. #define WCD9360_MIXING_ASRC2_STATUS_FMIN_CNTR_LSB (0x00000C71)
  851. #define WCD9360_MIXING_ASRC2_STATUS_FMIN_CNTR_MSB (0x00000C72)
  852. #define WCD9360_MIXING_ASRC2_STATUS_FMAX_CNTR_LSB (0x00000C73)
  853. #define WCD9360_MIXING_ASRC2_STATUS_FMAX_CNTR_MSB (0x00000C74)
  854. #define WCD9360_MIXING_ASRC2_STATUS_FIFO (0x00000C75)
  855. #define WCD9360_MIXING_ASRC3_CLK_RST_CTL (0x00000C79)
  856. #define WCD9360_MIXING_ASRC3_CTL0 (0x00000C7A)
  857. #define WCD9360_MIXING_ASRC3_CTL1 (0x00000C7B)
  858. #define WCD9360_MIXING_ASRC3_FIFO_CTL (0x00000C7C)
  859. #define WCD9360_MIXING_ASRC3_STATUS_FMIN_CNTR_LSB (0x00000C7D)
  860. #define WCD9360_MIXING_ASRC3_STATUS_FMIN_CNTR_MSB (0x00000C7E)
  861. #define WCD9360_MIXING_ASRC3_STATUS_FMAX_CNTR_LSB (0x00000C7F)
  862. #define WCD9360_MIXING_ASRC3_STATUS_FMAX_CNTR_MSB (0x00000C80)
  863. #define WCD9360_MIXING_ASRC3_STATUS_FIFO (0x00000C81)
  864. #define WCD9360_SWR_AHB_BRIDGE_WR_DATA_0 (0x00000C85)
  865. #define WCD9360_SWR_AHB_BRIDGE_WR_DATA_1 (0x00000C86)
  866. #define WCD9360_SWR_AHB_BRIDGE_WR_DATA_2 (0x00000C87)
  867. #define WCD9360_SWR_AHB_BRIDGE_WR_DATA_3 (0x00000C88)
  868. #define WCD9360_SWR_AHB_BRIDGE_WR_ADDR_0 (0x00000C89)
  869. #define WCD9360_SWR_AHB_BRIDGE_WR_ADDR_1 (0x00000C8A)
  870. #define WCD9360_SWR_AHB_BRIDGE_WR_ADDR_2 (0x00000C8B)
  871. #define WCD9360_SWR_AHB_BRIDGE_WR_ADDR_3 (0x00000C8C)
  872. #define WCD9360_SWR_AHB_BRIDGE_RD_ADDR_0 (0x00000C8D)
  873. #define WCD9360_SWR_AHB_BRIDGE_RD_ADDR_1 (0x00000C8E)
  874. #define WCD9360_SWR_AHB_BRIDGE_RD_ADDR_2 (0x00000C8F)
  875. #define WCD9360_SWR_AHB_BRIDGE_RD_ADDR_3 (0x00000C90)
  876. #define WCD9360_SWR_AHB_BRIDGE_RD_DATA_0 (0x00000C91)
  877. #define WCD9360_SWR_AHB_BRIDGE_RD_DATA_1 (0x00000C92)
  878. #define WCD9360_SWR_AHB_BRIDGE_RD_DATA_2 (0x00000C93)
  879. #define WCD9360_SWR_AHB_BRIDGE_RD_DATA_3 (0x00000C94)
  880. #define WCD9360_SWR_AHB_BRIDGE_ACCESS_CFG (0x00000C95)
  881. #define WCD9360_SWR_AHB_BRIDGE_ACCESS_STATUS (0x00000C96)
  882. #define WCD9360_CDC_SIDETONE_SRC0_ST_SRC_PATH_CTL (0x00000CB5)
  883. #define WCD9360_CDC_SIDETONE_SRC0_ST_SRC_PATH_CFG1 (0x00000CB6)
  884. #define WCD9360_SIDETONE_ASRC0_CLK_RST_CTL (0x00000CBD)
  885. #define WCD9360_SIDETONE_ASRC0_CTL0 (0x00000CBE)
  886. #define WCD9360_SIDETONE_ASRC0_CTL1 (0x00000CBF)
  887. #define WCD9360_SIDETONE_ASRC0_FIFO_CTL (0x00000CC0)
  888. #define WCD9360_SIDETONE_ASRC0_STATUS_FMIN_CNTR_LSB (0x00000CC1)
  889. #define WCD9360_SIDETONE_ASRC0_STATUS_FMIN_CNTR_MSB (0x00000CC2)
  890. #define WCD9360_SIDETONE_ASRC0_STATUS_FMAX_CNTR_LSB (0x00000CC3)
  891. #define WCD9360_SIDETONE_ASRC0_STATUS_FMAX_CNTR_MSB (0x00000CC4)
  892. #define WCD9360_SIDETONE_ASRC0_STATUS_FIFO (0x00000CC5)
  893. #define WCD9360_EC_REF_HQ0_EC_REF_HQ_PATH_CTL (0x00000CD5)
  894. #define WCD9360_EC_REF_HQ0_EC_REF_HQ_CFG0 (0x00000CD6)
  895. #define WCD9360_EC_REF_HQ1_EC_REF_HQ_PATH_CTL (0x00000CDD)
  896. #define WCD9360_EC_REF_HQ1_EC_REF_HQ_CFG0 (0x00000CDE)
  897. #define WCD9360_EC_ASRC0_CLK_RST_CTL (0x00000CE5)
  898. #define WCD9360_EC_ASRC0_CTL0 (0x00000CE6)
  899. #define WCD9360_EC_ASRC0_CTL1 (0x00000CE7)
  900. #define WCD9360_EC_ASRC0_FIFO_CTL (0x00000CE8)
  901. #define WCD9360_EC_ASRC0_STATUS_FMIN_CNTR_LSB (0x00000CE9)
  902. #define WCD9360_EC_ASRC0_STATUS_FMIN_CNTR_MSB (0x00000CEA)
  903. #define WCD9360_EC_ASRC0_STATUS_FMAX_CNTR_LSB (0x00000CEB)
  904. #define WCD9360_EC_ASRC0_STATUS_FMAX_CNTR_MSB (0x00000CEC)
  905. #define WCD9360_EC_ASRC0_STATUS_FIFO (0x00000CED)
  906. #define WCD9360_EC_ASRC1_CLK_RST_CTL (0x00000CF1)
  907. #define WCD9360_EC_ASRC1_CTL0 (0x00000CF2)
  908. #define WCD9360_EC_ASRC1_CTL1 (0x00000CF3)
  909. #define WCD9360_EC_ASRC1_FIFO_CTL (0x00000CF4)
  910. #define WCD9360_EC_ASRC1_STATUS_FMIN_CNTR_LSB (0x00000CF5)
  911. #define WCD9360_EC_ASRC1_STATUS_FMIN_CNTR_MSB (0x00000CF6)
  912. #define WCD9360_EC_ASRC1_STATUS_FMAX_CNTR_LSB (0x00000CF7)
  913. #define WCD9360_EC_ASRC1_STATUS_FMAX_CNTR_MSB (0x00000CF8)
  914. #define WCD9360_EC_ASRC1_STATUS_FIFO (0x00000CF9)
  915. #define WCD9360_PAGE13_PAGE_REGISTER (0x00000D00)
  916. #define WCD9360_CDC_RX_INP_MUX_RX_INT0_CFG0 (0x00000D01)
  917. #define WCD9360_CDC_RX_INP_MUX_RX_INT0_CFG1 (0x00000D02)
  918. #define WCD9360_CDC_RX_INP_MUX_RX_INT9_CFG0 (0x00000D0B)
  919. #define WCD9360_CDC_RX_INP_MUX_RX_INT9_CFG1 (0x00000D0C)
  920. #define WCD9360_CDC_RX_INP_MUX_RX_INT7_CFG0 (0x00000D0F)
  921. #define WCD9360_CDC_RX_INP_MUX_RX_INT7_CFG1 (0x00000D10)
  922. #define WCD9360_CDC_RX_INP_MUX_RX_INT8_CFG0 (0x00000D11)
  923. #define WCD9360_CDC_RX_INP_MUX_RX_INT8_CFG1 (0x00000D12)
  924. #define WCD9360_CDC_RX_INP_MUX_RX_MIX_CFG0 (0x00000D13)
  925. #define WCD9360_CDC_RX_INP_MUX_RX_MIX_CFG1 (0x00000D14)
  926. #define WCD9360_CDC_RX_INP_MUX_RX_MIX_CFG2 (0x00000D15)
  927. #define WCD9360_CDC_RX_INP_MUX_RX_MIX_CFG3 (0x00000D16)
  928. #define WCD9360_CDC_RX_INP_MUX_RX_MIX_CFG4 (0x00000D17)
  929. #define WCD9360_CDC_RX_INP_MUX_SIDETONE_SRC_CFG0 (0x00000D18)
  930. #define WCD9360_CDC_RX_INP_MUX_SIDETONE_SRC_CFG1 (0x00000D19)
  931. #define WCD9360_CDC_RX_INP_MUX_ANC_CFG0 (0x00000D1A)
  932. #define WCD9360_CDC_RX_INP_MUX_SPLINE_ASRC_CFG0 (0x00000D1B)
  933. #define WCD9360_CDC_RX_INP_MUX_EC_REF_HQ_CFG0 (0x00000D1C)
  934. #define WCD9360_CDC_TX_INP_MUX_ADC_MUX0_CFG0 (0x00000D1D)
  935. #define WCD9360_CDC_TX_INP_MUX_ADC_MUX0_CFG1 (0x00000D1E)
  936. #define WCD9360_CDC_TX_INP_MUX_ADC_MUX1_CFG0 (0x00000D1F)
  937. #define WCD9360_CDC_TX_INP_MUX_ADC_MUX1_CFG1 (0x00000D20)
  938. #define WCD9360_CDC_TX_INP_MUX_ADC_MUX2_CFG0 (0x00000D21)
  939. #define WCD9360_CDC_TX_INP_MUX_ADC_MUX2_CFG1 (0x00000D22)
  940. #define WCD9360_CDC_TX_INP_MUX_ADC_MUX3_CFG0 (0x00000D23)
  941. #define WCD9360_CDC_TX_INP_MUX_ADC_MUX3_CFG1 (0x00000D25)
  942. #define WCD9360_CDC_TX_INP_MUX_ADC_MUX4_CFG0 (0x00000D26)
  943. #define WCD9360_CDC_TX_INP_MUX_ADC_MUX5_CFG0 (0x00000D27)
  944. #define WCD9360_CDC_TX_INP_MUX_ADC_MUX6_CFG0 (0x00000D28)
  945. #define WCD9360_CDC_TX_INP_MUX_ADC_MUX7_CFG0 (0x00000D29)
  946. #define WCD9360_CDC_TX_INP_MUX_ADC_MUX8_CFG0 (0x00000D2A)
  947. #define WCD9360_CDC_TX_INP_MUX_ADC_MUX10_CFG0 (0x00000D2B)
  948. #define WCD9360_CDC_TX_INP_MUX_ADC_MUX11_CFG0 (0x00000D2C)
  949. #define WCD9360_CDC_SIDETONE_IIR_INP_MUX_IIR0_MIX_CFG0 (0x00000D31)
  950. #define WCD9360_CDC_SIDETONE_IIR_INP_MUX_IIR0_MIX_CFG1 (0x00000D32)
  951. #define WCD9360_CDC_SIDETONE_IIR_INP_MUX_IIR0_MIX_CFG2 (0x00000D33)
  952. #define WCD9360_CDC_SIDETONE_IIR_INP_MUX_IIR0_MIX_CFG3 (0x00000D34)
  953. #define WCD9360_CDC_IF_ROUTER_TX_MUX_CFG0 (0x00000D3A)
  954. #define WCD9360_CDC_IF_ROUTER_TX_MUX_CFG1 (0x00000D3B)
  955. #define WCD9360_CDC_IF_ROUTER_TX_MUX_CFG2 (0x00000D3C)
  956. #define WCD9360_CDC_IF_ROUTER_TX_MUX_CFG3 (0x00000D3D)
  957. #define WCD9360_CDC_CLK_RST_CTRL_MCLK_CONTROL (0x00000D41)
  958. #define WCD9360_CDC_CLK_RST_CTRL_FS_CNT_CONTROL (0x00000D42)
  959. #define WCD9360_CDC_CLK_RST_CTRL_SWR_CONTROL (0x00000D43)
  960. #define WCD9360_CDC_CLK_RST_CTRL_ASRC_SHARE_CONTROL (0x00000D45)
  961. #define WCD9360_CDC_PROX_DETECT_PROX_CTL (0x00000D49)
  962. #define WCD9360_CDC_PROX_DETECT_PROX_POLL_PERIOD0 (0x00000D4A)
  963. #define WCD9360_CDC_PROX_DETECT_PROX_POLL_PERIOD1 (0x00000D4B)
  964. #define WCD9360_CDC_PROX_DETECT_PROX_SIG_PATTERN_LSB (0x00000D4C)
  965. #define WCD9360_CDC_PROX_DETECT_PROX_SIG_PATTERN_MSB (0x00000D4D)
  966. #define WCD9360_CDC_PROX_DETECT_PROX_STATUS (0x00000D4E)
  967. #define WCD9360_CDC_PROX_DETECT_PROX_TEST_CTRL (0x00000D4F)
  968. #define WCD9360_CDC_PROX_DETECT_PROX_TEST_BUFF_LSB (0x00000D50)
  969. #define WCD9360_CDC_PROX_DETECT_PROX_TEST_BUFF_MSB (0x00000D51)
  970. #define WCD9360_CDC_PROX_DETECT_PROX_TEST_BUFF_LSB_RD (0x00000D52)
  971. #define WCD9360_CDC_PROX_DETECT_PROX_TEST_BUFF_MSB_RD (0x00000D53)
  972. #define WCD9360_CDC_PROX_DETECT_PROX_CTL_REPEAT_PAT (0x00000D54)
  973. #define WCD9360_CDC_SIDETONE_IIR0_IIR_PATH_CTL (0x00000D55)
  974. #define WCD9360_CDC_SIDETONE_IIR0_IIR_GAIN_B1_CTL (0x00000D56)
  975. #define WCD9360_CDC_SIDETONE_IIR0_IIR_GAIN_B2_CTL (0x00000D57)
  976. #define WCD9360_CDC_SIDETONE_IIR0_IIR_GAIN_B3_CTL (0x00000D58)
  977. #define WCD9360_CDC_SIDETONE_IIR0_IIR_GAIN_B4_CTL (0x00000D59)
  978. #define WCD9360_CDC_SIDETONE_IIR0_IIR_GAIN_B5_CTL (0x00000D5A)
  979. #define WCD9360_CDC_SIDETONE_IIR0_IIR_GAIN_B6_CTL (0x00000D5B)
  980. #define WCD9360_CDC_SIDETONE_IIR0_IIR_GAIN_B7_CTL (0x00000D5C)
  981. #define WCD9360_CDC_SIDETONE_IIR0_IIR_GAIN_B8_CTL (0x00000D5D)
  982. #define WCD9360_CDC_SIDETONE_IIR0_IIR_CTL (0x00000D5E)
  983. #define WCD9360_CDC_SIDETONE_IIR0_IIR_GAIN_TIMER_CTL (0x00000D5F)
  984. #define WCD9360_CDC_SIDETONE_IIR0_IIR_COEF_B1_CTL (0x00000D60)
  985. #define WCD9360_CDC_SIDETONE_IIR0_IIR_COEF_B2_CTL (0x00000D61)
  986. #define WCD9360_CDC_TOP_TOP_CFG0 (0x00000D81)
  987. #define WCD9360_CDC_TOP_TOP_CFG1 (0x00000D82)
  988. #define WCD9360_CDC_TOP_TOP_CFG7 (0x00000D88)
  989. #define WCD9360_CDC_TOP_EAR_COMP_WR_LSB (0x00000DA9)
  990. #define WCD9360_CDC_TOP_EAR_COMP_WR_MSB (0x00000DAA)
  991. #define WCD9360_CDC_TOP_EAR_COMP_LUT (0x00000DAB)
  992. #define WCD9360_CDC_TOP_EAR_COMP_RD_LSB (0x00000DAC)
  993. #define WCD9360_CDC_TOP_EAR_COMP_RD_MSB (0x00000DAD)
  994. #define WCD9360_CDC_TOP_TOP_DEBUG (0x00000DAE)
  995. #define WCD9360_PAGE80_PAGE_REGISTER (0x00005000)
  996. #define WCD9360_CODEC_CPR_WR_DATA_0 (0x00005001)
  997. #define WCD9360_CODEC_CPR_WR_DATA_1 (0x00005002)
  998. #define WCD9360_CODEC_CPR_WR_DATA_2 (0x00005003)
  999. #define WCD9360_CODEC_CPR_WR_DATA_3 (0x00005004)
  1000. #define WCD9360_CODEC_CPR_WR_ADDR_0 (0x00005005)
  1001. #define WCD9360_CODEC_CPR_WR_ADDR_1 (0x00005006)
  1002. #define WCD9360_CODEC_CPR_WR_ADDR_2 (0x00005007)
  1003. #define WCD9360_CODEC_CPR_WR_ADDR_3 (0x00005008)
  1004. #define WCD9360_CODEC_CPR_RD_ADDR_0 (0x00005009)
  1005. #define WCD9360_CODEC_CPR_RD_ADDR_1 (0x0000500A)
  1006. #define WCD9360_CODEC_CPR_RD_ADDR_2 (0x0000500B)
  1007. #define WCD9360_CODEC_CPR_RD_ADDR_3 (0x0000500C)
  1008. #define WCD9360_CODEC_CPR_RD_DATA_0 (0x0000500D)
  1009. #define WCD9360_CODEC_CPR_RD_DATA_1 (0x0000500E)
  1010. #define WCD9360_CODEC_CPR_RD_DATA_2 (0x0000500F)
  1011. #define WCD9360_CODEC_CPR_RD_DATA_3 (0x00005010)
  1012. #define WCD9360_CODEC_CPR_ACCESS_CFG (0x00005011)
  1013. #define WCD9360_CODEC_CPR_ACCESS_STATUS (0x00005012)
  1014. #define WCD9360_CODEC_CPR_NOM_CX_VDD (0x00005021)
  1015. #define WCD9360_CODEC_CPR_SVS_CX_VDD (0x00005022)
  1016. #define WCD9360_CODEC_CPR_SVS2_CX_VDD (0x00005023)
  1017. #define WCD9360_CODEC_CPR_NOM_MX_VDD (0x00005024)
  1018. #define WCD9360_CODEC_CPR_SVS_MX_VDD (0x00005025)
  1019. #define WCD9360_CODEC_CPR_SVS2_MX_VDD (0x00005026)
  1020. #define WCD9360_CODEC_CPR_SVS2_MIN_CX_VDD (0x00005027)
  1021. #define WCD9360_CODEC_CPR_MAX_SVS2_STEP (0x00005028)
  1022. #define WCD9360_CODEC_CPR_CTL (0x00005029)
  1023. #define WCD9360_CODEC_CPR_SW_MODECHNG_STATUS (0x0000502A)
  1024. #define WCD9360_CODEC_CPR_SW_MODECHNG_START (0x0000502B)
  1025. #define WCD9360_CODEC_CPR_CPR_STATUS (0x0000502C)
  1026. #define WCD9360_PAGE128_PAGE_REGISTER (0x00008000)
  1027. #define WCD9360_TLMM_JTCK_PINCFG (0x00008001)
  1028. #define WCD9360_TLMM_INTR1_PINCFG (0x00008002)
  1029. #define WCD9360_TLMM_INTR2_PINCFG (0x00008003)
  1030. #define WCD9360_TLMM_SWR_DATA_PINCFG (0x00008004)
  1031. #define WCD9360_TLMM_SWR_CLK_PINCFG (0x00008005)
  1032. #define WCD9360_TLMM_SLIMBUS_DATA1_PINCFG (0x00008006)
  1033. #define WCD9360_TLMM_SLIMBUS_DATA2_PINCFG (0x00008007)
  1034. #define WCD9360_TLMM_SLIMBUS_CLK_PINCFG (0x00008008)
  1035. #define WCD9360_TLMM_I2C_CLK_PINCFG (0x00008009)
  1036. #define WCD9360_TLMM_I2C_DATA_PINCFG (0x0000800A)
  1037. #define WCD9360_TLMM_I2S_0_RX_PINCFG (0x0000800B)
  1038. #define WCD9360_TLMM_I2S_0_TX_PINCFG (0x0000800C)
  1039. #define WCD9360_TLMM_I2S_0_SCK_PINCFG (0x0000800D)
  1040. #define WCD9360_TLMM_I2S_0_WS_PINCFG (0x0000800E)
  1041. #define WCD9360_TLMM_I2S_1_RX_PINCFG (0x0000800F)
  1042. #define WCD9360_TLMM_I2S_1_TX_PINCFG (0x00008010)
  1043. #define WCD9360_TLMM_I2S_1_SCK_PINCFG (0x00008011)
  1044. #define WCD9360_TLMM_I2S_1_WS_PINCFG (0x00008012)
  1045. #define WCD9360_TLMM_DMIC1_CLK_PINCFG (0x00008013)
  1046. #define WCD9360_TLMM_DMIC1_DATA_PINCFG (0x00008014)
  1047. #define WCD9360_TLMM_DMIC2_CLK_PINCFG (0x00008015)
  1048. #define WCD9360_TLMM_DMIC2_DATA_PINCFG (0x00008016)
  1049. #define WCD9360_TLMM_GPIO1_PINCFG (0x00008017)
  1050. #define WCD9360_TLMM_GPIO2_PINCFG (0x00008018)
  1051. #define WCD9360_TLMM_GPIO3_PINCFG (0x00008019)
  1052. #define WCD9360_TLMM_GPIO4_PINCFG (0x0000801A)
  1053. #define WCD9360_TLMM_SPI_S_CSN_PINCFG (0x0000801B)
  1054. #define WCD9360_TLMM_SPI_S_CLK_PINCFG (0x0000801C)
  1055. #define WCD9360_TLMM_SPI_S_DOUT_PINCFG (0x0000801D)
  1056. #define WCD9360_TLMM_SPI_S_DIN_PINCFG (0x0000801E)
  1057. #define WCD9360_TLMM_GPIO0_PINCFG (0x0000801F)
  1058. #define WCD9360_TLMM_DMIC3_CLK_PINCFG (0x00008020)
  1059. #define WCD9360_TLMM_DMIC3_DATA_PINCFG (0x00008021)
  1060. #define WCD9360_TLMM_DMIC4_CLK_PINCFG (0x00008022)
  1061. #define WCD9360_TLMM_DMIC4_DATA_PINCFG (0x00008023)
  1062. #define WCD9360_TEST_DEBUG_PIN_CTL_OE_0 (0x00008031)
  1063. #define WCD9360_TEST_DEBUG_PIN_CTL_OE_1 (0x00008032)
  1064. #define WCD9360_TEST_DEBUG_PIN_CTL_OE_2 (0x00008033)
  1065. #define WCD9360_TEST_DEBUG_PIN_CTL_OE_3 (0x00008034)
  1066. #define WCD9360_TEST_DEBUG_PIN_CTL_OE_4 (0x00008035)
  1067. #define WCD9360_TEST_DEBUG_PIN_CTL_DATA_0 (0x00008036)
  1068. #define WCD9360_TEST_DEBUG_PIN_CTL_DATA_1 (0x00008037)
  1069. #define WCD9360_TEST_DEBUG_PIN_CTL_DATA_2 (0x00008038)
  1070. #define WCD9360_TEST_DEBUG_PIN_CTL_DATA_3 (0x00008039)
  1071. #define WCD9360_TEST_DEBUG_PIN_CTL_DATA_4 (0x0000803A)
  1072. #define WCD9360_TEST_DEBUG_PAD_DRVCTL_0 (0x0000803B)
  1073. #define WCD9360_TEST_DEBUG_PAD_DRVCTL_1 (0x0000803C)
  1074. #define WCD9360_TEST_DEBUG_PIN_STATUS (0x0000803D)
  1075. #define WCD9360_TEST_DEBUG_NPL_DLY_TEST_1 (0x0000803E)
  1076. #define WCD9360_TEST_DEBUG_NPL_DLY_TEST_2 (0x0000803F)
  1077. #define WCD9360_TEST_DEBUG_MEM_CTRL (0x00008040)
  1078. #define WCD9360_TEST_DEBUG_DEBUG_BUS_SEL (0x00008041)
  1079. #define WCD9360_TEST_DEBUG_DEBUG_JTAG (0x00008042)
  1080. #define WCD9360_TEST_DEBUG_DEBUG_EN_1 (0x00008043)
  1081. #define WCD9360_TEST_DEBUG_DEBUG_EN_2 (0x00008044)
  1082. #define WCD9360_TEST_DEBUG_DEBUG_EN_3 (0x00008045)
  1083. #define WCD9360_TEST_DEBUG_DEBUG_EN_4 (0x00008046)
  1084. #define WCD9360_TEST_DEBUG_DEBUG_EN_5 (0x00008047)
  1085. #define WCD9360_TEST_DEBUG_ANA_DTEST_DIR (0x0000804A)
  1086. #define WCD9360_TEST_DEBUG_PAD_INP_DISABLE_0 (0x0000804B)
  1087. #define WCD9360_TEST_DEBUG_PAD_INP_DISABLE_1 (0x0000804C)
  1088. #define WCD9360_TEST_DEBUG_PAD_INP_DISABLE_2 (0x0000804D)
  1089. #define WCD9360_TEST_DEBUG_PAD_INP_DISABLE_3 (0x0000804E)
  1090. #define WCD9360_TEST_DEBUG_PAD_INP_DISABLE_4 (0x0000804F)
  1091. #define WCD9360_TEST_DEBUG_SYSMEM_CTRL (0x00008050)
  1092. #define WCD9360_TEST_DEBUG_LVAL_NOM_LOW (0x00008052)
  1093. #define WCD9360_TEST_DEBUG_LVAL_NOM_HIGH (0x00008053)
  1094. #define WCD9360_TEST_DEBUG_LVAL_SVS_SVS2_LOW (0x00008054)
  1095. #define WCD9360_TEST_DEBUG_LVAL_SVS_SVS2_HIGH (0x00008055)
  1096. #define WCD9360_TEST_DEBUG_SPI_SLAVE_CHAR (0x00008056)
  1097. #define WCD9360_TEST_DEBUG_CODEC_DIAGS (0x00008057)
  1098. #define WCD9360_TEST_DEBUG_PAD_TEST (0x00008058)
  1099. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_0 (0x00008061)
  1100. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_1 (0x00008062)
  1101. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_2 (0x00008063)
  1102. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_3 (0x00008064)
  1103. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_4 (0x00008065)
  1104. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_5 (0x00008066)
  1105. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_6 (0x00008067)
  1106. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_7 (0x00008068)
  1107. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_8 (0x00008069)
  1108. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_9 (0x0000806A)
  1109. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_10 (0x0000806B)
  1110. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_11 (0x0000806C)
  1111. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_12 (0x0000806D)
  1112. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_13 (0x0000806E)
  1113. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_14 (0x0000806F)
  1114. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_15 (0x00008070)
  1115. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_16 (0x00008071)
  1116. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_17 (0x00008072)
  1117. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_18 (0x00008073)
  1118. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_19 (0x00008074)
  1119. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_20 (0x00008075)
  1120. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_21 (0x00008076)
  1121. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_22 (0x00008077)
  1122. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_23 (0x00008078)
  1123. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_24 (0x00008079)
  1124. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_25 (0x0000807A)
  1125. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_26 (0x0000807B)
  1126. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_27 (0x0000807C)
  1127. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_28 (0x0000807D)
  1128. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_29 (0x0000807E)
  1129. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_30 (0x0000807F)
  1130. #define WCD9360_TEST_DEBUG_DEBUG_MUX_BIT_31 (0x00008080)
  1131. #define WCD9360_TEST_DEBUG_DEBUG_MUX_RD_CTRL (0x00008081)
  1132. #define WCD9360_TEST_DEBUG_DEBUG_MUX_RD_7_0 (0x00008082)
  1133. #define WCD9360_TEST_DEBUG_DEBUG_MUX_RD_15_8 (0x00008083)
  1134. #define WCD9360_TEST_DEBUG_DEBUG_MUX_RD_23_16 (0x00008084)
  1135. #define WCD9360_TEST_DEBUG_DEBUG_MUX_RD_31_24 (0x00008085)
  1136. #define WCD9360_MAX_REGISTER 0x80FF
  1137. /* SLIMBUS Slave Registers */
  1138. #define WCD9360_SLIM_PGD_PORT_INT_RX_EN0 (0x30)
  1139. #define WCD9360_SLIM_PGD_PORT_INT_TX_EN0 (0x32)
  1140. #define WCD9360_SLIM_PGD_PORT_INT_STATUS_RX_0 (0x34)
  1141. #define WCD9360_SLIM_PGD_PORT_INT_STATUS_RX_1 (0x35)
  1142. #define WCD9360_SLIM_PGD_PORT_INT_STATUS_TX_0 (0x36)
  1143. #define WCD9360_SLIM_PGD_PORT_INT_STATUS_TX_1 (0x37)
  1144. #define WCD9360_SLIM_PGD_PORT_INT_CLR_RX_0 (0x38)
  1145. #define WCD9360_SLIM_PGD_PORT_INT_CLR_RX_1 (0x39)
  1146. #define WCD9360_SLIM_PGD_PORT_INT_CLR_TX_0 (0x3A)
  1147. #define WCD9360_SLIM_PGD_PORT_INT_CLR_TX_1 (0x3B)
  1148. #define WCD9360_SLIM_PGD_PORT_INT_RX_SOURCE0 (0x60)
  1149. #define WCD9360_SLIM_PGD_PORT_INT_TX_SOURCE0 (0x70)
  1150. #endif