lm49453.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. /*
  2. * lm49453.h - LM49453 ALSA Soc Audio drive
  3. *
  4. * Copyright (c) 2012 Texas Instruments, Inc
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; version 2 of the License.
  9. *
  10. */
  11. #ifndef _LM49453_H
  12. #define _LM49453_H
  13. #include <linux/bitops.h>
  14. /* LM49453_P0 register space for page0 */
  15. #define LM49453_P0_PMC_SETUP_REG 0x00
  16. #define LM49453_P0_PLL_CLK_SEL1_REG 0x01
  17. #define LM49453_P0_PLL_CLK_SEL2_REG 0x02
  18. #define LM49453_P0_PMC_CLK_DIV_REG 0x03
  19. #define LM49453_P0_HSDET_CLK_DIV_REG 0x04
  20. #define LM49453_P0_DMIC_CLK_DIV_REG 0x05
  21. #define LM49453_P0_ADC_CLK_DIV_REG 0x06
  22. #define LM49453_P0_DAC_OT_CLK_DIV_REG 0x07
  23. #define LM49453_P0_PLL_HF_M_REG 0x08
  24. #define LM49453_P0_PLL_LF_M_REG 0x09
  25. #define LM49453_P0_PLL_NL_REG 0x0A
  26. #define LM49453_P0_PLL_N_MODL_REG 0x0B
  27. #define LM49453_P0_PLL_N_MODH_REG 0x0C
  28. #define LM49453_P0_PLL_P1_REG 0x0D
  29. #define LM49453_P0_PLL_P2_REG 0x0E
  30. #define LM49453_P0_FLL_REF_FREQL_REG 0x0F
  31. #define LM49453_P0_FLL_REF_FREQH_REG 0x10
  32. #define LM49453_P0_VCO_TARGETLL_REG 0x11
  33. #define LM49453_P0_VCO_TARGETLH_REG 0x12
  34. #define LM49453_P0_VCO_TARGETHL_REG 0x13
  35. #define LM49453_P0_VCO_TARGETHH_REG 0x14
  36. #define LM49453_P0_PLL_CONFIG_REG 0x15
  37. #define LM49453_P0_DAC_CLK_SEL_REG 0x16
  38. #define LM49453_P0_DAC_HP_CLK_DIV_REG 0x17
  39. /* Analog Mixer Input Stages */
  40. #define LM49453_P0_MICL_REG 0x20
  41. #define LM49453_P0_MICR_REG 0x21
  42. #define LM49453_P0_EP_REG 0x24
  43. #define LM49453_P0_DIS_PKVL_FB_REG 0x25
  44. /* Analog Mixer Output Stages */
  45. #define LM49453_P0_ANALOG_MIXER_ADC_REG 0x2E
  46. /*ADC or DAC */
  47. #define LM49453_P0_ADC_DSP_REG 0x30
  48. #define LM49453_P0_DAC_DSP_REG 0x31
  49. /* EFFECTS ENABLES */
  50. #define LM49453_P0_ADC_FX_ENABLES_REG 0x33
  51. /* GPIO */
  52. #define LM49453_P0_GPIO1_REG 0x38
  53. #define LM49453_P0_GPIO2_REG 0x39
  54. #define LM49453_P0_GPIO3_REG 0x3A
  55. #define LM49453_P0_HAP_CTL_REG 0x3B
  56. #define LM49453_P0_HAP_FREQ_PROG_LEFTL_REG 0x3C
  57. #define LM49453_P0_HAP_FREQ_PROG_LEFTH_REG 0x3D
  58. #define LM49453_P0_HAP_FREQ_PROG_RIGHTL_REG 0x3E
  59. #define LM49453_P0_HAP_FREQ_PROG_RIGHTH_REG 0x3F
  60. /* DIGITAL MIXER */
  61. #define LM49453_P0_DMIX_CLK_SEL_REG 0x40
  62. #define LM49453_P0_PORT1_RX_LVL1_REG 0x41
  63. #define LM49453_P0_PORT1_RX_LVL2_REG 0x42
  64. #define LM49453_P0_PORT2_RX_LVL_REG 0x43
  65. #define LM49453_P0_PORT1_TX1_REG 0x44
  66. #define LM49453_P0_PORT1_TX2_REG 0x45
  67. #define LM49453_P0_PORT1_TX3_REG 0x46
  68. #define LM49453_P0_PORT1_TX4_REG 0x47
  69. #define LM49453_P0_PORT1_TX5_REG 0x48
  70. #define LM49453_P0_PORT1_TX6_REG 0x49
  71. #define LM49453_P0_PORT1_TX7_REG 0x4A
  72. #define LM49453_P0_PORT1_TX8_REG 0x4B
  73. #define LM49453_P0_PORT2_TX1_REG 0x4C
  74. #define LM49453_P0_PORT2_TX2_REG 0x4D
  75. #define LM49453_P0_STN_SEL_REG 0x4F
  76. #define LM49453_P0_DACHPL1_REG 0x50
  77. #define LM49453_P0_DACHPL2_REG 0x51
  78. #define LM49453_P0_DACHPR1_REG 0x52
  79. #define LM49453_P0_DACHPR2_REG 0x53
  80. #define LM49453_P0_DACLOL1_REG 0x54
  81. #define LM49453_P0_DACLOL2_REG 0x55
  82. #define LM49453_P0_DACLOR1_REG 0x56
  83. #define LM49453_P0_DACLOR2_REG 0x57
  84. #define LM49453_P0_DACLSL1_REG 0x58
  85. #define LM49453_P0_DACLSL2_REG 0x59
  86. #define LM49453_P0_DACLSR1_REG 0x5A
  87. #define LM49453_P0_DACLSR2_REG 0x5B
  88. #define LM49453_P0_DACHAL1_REG 0x5C
  89. #define LM49453_P0_DACHAL2_REG 0x5D
  90. #define LM49453_P0_DACHAR1_REG 0x5E
  91. #define LM49453_P0_DACHAR2_REG 0x5F
  92. /* AUDIO PORT 1 (TDM) */
  93. #define LM49453_P0_AUDIO_PORT1_BASIC_REG 0x60
  94. #define LM49453_P0_AUDIO_PORT1_CLK_GEN1_REG 0x61
  95. #define LM49453_P0_AUDIO_PORT1_CLK_GEN2_REG 0x62
  96. #define LM49453_P0_AUDIO_PORT1_CLK_GEN3_REG 0x63
  97. #define LM49453_P0_AUDIO_PORT1_SYNC_RATE_REG 0x64
  98. #define LM49453_P0_AUDIO_PORT1_SYNC_SDO_SETUP_REG 0x65
  99. #define LM49453_P0_AUDIO_PORT1_DATA_WIDTH_REG 0x66
  100. #define LM49453_P0_AUDIO_PORT1_RX_MSB_REG 0x67
  101. #define LM49453_P0_AUDIO_PORT1_TX_MSB_REG 0x68
  102. #define LM49453_P0_AUDIO_PORT1_TDM_CHANNELS_REG 0x69
  103. /* AUDIO PORT 2 */
  104. #define LM49453_P0_AUDIO_PORT2_BASIC_REG 0x6A
  105. #define LM49453_P0_AUDIO_PORT2_CLK_GEN1_REG 0x6B
  106. #define LM49453_P0_AUDIO_PORT2_CLK_GEN2_REG 0x6C
  107. #define LM49453_P0_AUDIO_PORT2_SYNC_GEN_REG 0x6D
  108. #define LM49453_P0_AUDIO_PORT2_DATA_WIDTH_REG 0x6E
  109. #define LM49453_P0_AUDIO_PORT2_RX_MODE_REG 0x6F
  110. #define LM49453_P0_AUDIO_PORT2_TX_MODE_REG 0x70
  111. /* SAMPLE RATE */
  112. #define LM49453_P0_PORT1_SR_LSB_REG 0x79
  113. #define LM49453_P0_PORT1_SR_MSB_REG 0x7A
  114. #define LM49453_P0_PORT2_SR_LSB_REG 0x7B
  115. #define LM49453_P0_PORT2_SR_MSB_REG 0x7C
  116. /* EFFECTS - HPFs */
  117. #define LM49453_P0_HPF_REG 0x80
  118. /* EFFECTS ADC ALC */
  119. #define LM49453_P0_ADC_ALC1_REG 0x82
  120. #define LM49453_P0_ADC_ALC2_REG 0x83
  121. #define LM49453_P0_ADC_ALC3_REG 0x84
  122. #define LM49453_P0_ADC_ALC4_REG 0x85
  123. #define LM49453_P0_ADC_ALC5_REG 0x86
  124. #define LM49453_P0_ADC_ALC6_REG 0x87
  125. #define LM49453_P0_ADC_ALC7_REG 0x88
  126. #define LM49453_P0_ADC_ALC8_REG 0x89
  127. #define LM49453_P0_DMIC1_LEVELL_REG 0x8A
  128. #define LM49453_P0_DMIC1_LEVELR_REG 0x8B
  129. #define LM49453_P0_DMIC2_LEVELL_REG 0x8C
  130. #define LM49453_P0_DMIC2_LEVELR_REG 0x8D
  131. #define LM49453_P0_ADC_LEVELL_REG 0x8E
  132. #define LM49453_P0_ADC_LEVELR_REG 0x8F
  133. #define LM49453_P0_DAC_HP_LEVELL_REG 0x90
  134. #define LM49453_P0_DAC_HP_LEVELR_REG 0x91
  135. #define LM49453_P0_DAC_LO_LEVELL_REG 0x92
  136. #define LM49453_P0_DAC_LO_LEVELR_REG 0x93
  137. #define LM49453_P0_DAC_LS_LEVELL_REG 0x94
  138. #define LM49453_P0_DAC_LS_LEVELR_REG 0x95
  139. #define LM49453_P0_DAC_HA_LEVELL_REG 0x96
  140. #define LM49453_P0_DAC_HA_LEVELR_REG 0x97
  141. #define LM49453_P0_SOFT_MUTE_REG 0x98
  142. #define LM49453_P0_DMIC_MUTE_CFG_REG 0x99
  143. #define LM49453_P0_ADC_MUTE_CFG_REG 0x9A
  144. #define LM49453_P0_DAC_MUTE_CFG_REG 0x9B
  145. /*DIGITAL MIC1 */
  146. #define LM49453_P0_DIGITAL_MIC1_CONFIG_REG 0xB0
  147. #define LM49453_P0_DIGITAL_MIC1_DATA_DELAYL_REG 0xB1
  148. #define LM49453_P0_DIGITAL_MIC1_DATA_DELAYR_REG 0xB2
  149. /*DIGITAL MIC2 */
  150. #define LM49453_P0_DIGITAL_MIC2_CONFIG_REG 0xB3
  151. #define LM49453_P0_DIGITAL_MIC2_DATA_DELAYL_REG 0xB4
  152. #define LM49453_P0_DIGITAL_MIC2_DATA_DELAYR_REG 0xB5
  153. /* ADC DECIMATOR */
  154. #define LM49453_P0_ADC_DECIMATOR_REG 0xB6
  155. /* DAC CONFIGURE */
  156. #define LM49453_P0_DAC_CONFIG_REG 0xB7
  157. /* SIDETONE */
  158. #define LM49453_P0_STN_VOL_ADCL_REG 0xB8
  159. #define LM49453_P0_STN_VOL_ADCR_REG 0xB9
  160. #define LM49453_P0_STN_VOL_DMIC1L_REG 0xBA
  161. #define LM49453_P0_STN_VOL_DMIC1R_REG 0xBB
  162. #define LM49453_P0_STN_VOL_DMIC2L_REG 0xBC
  163. #define LM49453_P0_STN_VOL_DMIC2R_REG 0xBD
  164. /* ADC/DAC CLIPPING MONITORS (Read Only/Write to Clear) */
  165. #define LM49453_P0_ADC_DEC_CLIP_REG 0xC2
  166. #define LM49453_P0_ADC_HPF_CLIP_REG 0xC3
  167. #define LM49453_P0_ADC_LVL_CLIP_REG 0xC4
  168. #define LM49453_P0_DAC_LVL_CLIP_REG 0xC5
  169. /* ADC ALC EFFECT MONITORS (Read Only) */
  170. #define LM49453_P0_ADC_LVLMONL_REG 0xC8
  171. #define LM49453_P0_ADC_LVLMONR_REG 0xC9
  172. #define LM49453_P0_ADC_ALCMONL_REG 0xCA
  173. #define LM49453_P0_ADC_ALCMONR_REG 0xCB
  174. #define LM49453_P0_ADC_MUTED_REG 0xCC
  175. #define LM49453_P0_DAC_MUTED_REG 0xCD
  176. /* HEADSET DETECT */
  177. #define LM49453_P0_HSD_PPB_LONG_CNT_LIMITL_REG 0xD0
  178. #define LM49453_P0_HSD_PPB_LONG_CNT_LIMITR_REG 0xD1
  179. #define LM49453_P0_HSD_PIN3_4_EX_LOOP_CNT_LIMITL_REG 0xD2
  180. #define LM49453_P0_HSD_PIN3_4_EX_LOOP_CNT_LIMITH_REG 0xD3
  181. #define LM49453_P0_HSD_TIMEOUT1_REG 0xD4
  182. #define LM49453_P0_HSD_TIMEOUT2_REG 0xD5
  183. #define LM49453_P0_HSD_TIMEOUT3_REG 0xD6
  184. #define LM49453_P0_HSD_PIN3_4_CFG_REG 0xD7
  185. #define LM49453_P0_HSD_IRQ1_REG 0xD8
  186. #define LM49453_P0_HSD_IRQ2_REG 0xD9
  187. #define LM49453_P0_HSD_IRQ3_REG 0xDA
  188. #define LM49453_P0_HSD_IRQ4_REG 0xDB
  189. #define LM49453_P0_HSD_IRQ_MASK1_REG 0xDC
  190. #define LM49453_P0_HSD_IRQ_MASK2_REG 0xDD
  191. #define LM49453_P0_HSD_IRQ_MASK3_REG 0xDE
  192. #define LM49453_P0_HSD_R_HPLL_REG 0xE0
  193. #define LM49453_P0_HSD_R_HPLH_REG 0xE1
  194. #define LM49453_P0_HSD_R_HPLU_REG 0xE2
  195. #define LM49453_P0_HSD_R_HPRL_REG 0xE3
  196. #define LM49453_P0_HSD_R_HPRH_REG 0xE4
  197. #define LM49453_P0_HSD_R_HPRU_REG 0xE5
  198. #define LM49453_P0_HSD_VEL_L_FINALL_REG 0xE6
  199. #define LM49453_P0_HSD_VEL_L_FINALH_REG 0xE7
  200. #define LM49453_P0_HSD_VEL_L_FINALU_REG 0xE8
  201. #define LM49453_P0_HSD_RO_FINALL_REG 0xE9
  202. #define LM49453_P0_HSD_RO_FINALH_REG 0xEA
  203. #define LM49453_P0_HSD_RO_FINALU_REG 0xEB
  204. #define LM49453_P0_HSD_VMIC_BIAS_FINALL_REG 0xEC
  205. #define LM49453_P0_HSD_VMIC_BIAS_FINALH_REG 0xED
  206. #define LM49453_P0_HSD_VMIC_BIAS_FINALU_REG 0xEE
  207. #define LM49453_P0_HSD_PIN_CONFIG_REG 0xEF
  208. #define LM49453_P0_HSD_PLUG_DETECT_BB_IRQ_STATUS1_REG 0xF1
  209. #define LM49453_P0_HSD_PLUG_DETECT_BB_IRQ_STATUS2_REG 0xF2
  210. #define LM49453_P0_HSD_PLUG_DETECT_BB_IRQ_STATUS3_REG 0xF3
  211. #define LM49453_P0_HSD_PLUG_DETECT_BB_IRQ_STATEL_REG 0xF4
  212. #define LM49453_P0_HSD_PLUG_DETECT_BB_IRQ_STATEH_REG 0xF5
  213. /* I/O PULLDOWN CONFIG */
  214. #define LM49453_P0_PULL_CONFIG1_REG 0xF8
  215. #define LM49453_P0_PULL_CONFIG2_REG 0xF9
  216. #define LM49453_P0_PULL_CONFIG3_REG 0xFA
  217. /* RESET */
  218. #define LM49453_P0_RESET_REG 0xFE
  219. /* PAGE */
  220. #define LM49453_PAGE_REG 0xFF
  221. #define LM49453_MAX_REGISTER (0xFF+1)
  222. /* LM49453_P0_PMC_SETUP_REG (0x00h) */
  223. #define LM49453_PMC_SETUP_CHIP_EN (BIT(1)|BIT(0))
  224. #define LM49453_PMC_SETUP_PLL_EN BIT(2)
  225. #define LM49453_PMC_SETUP_PLL_P2_EN BIT(3)
  226. #define LM49453_PMC_SETUP_PLL_FLL BIT(4)
  227. #define LM49453_PMC_SETUP_MCLK_OVER BIT(5)
  228. #define LM49453_PMC_SETUP_RTC_CLK_OVER BIT(6)
  229. #define LM49453_PMC_SETUP_CHIP_ACTIVE BIT(7)
  230. /* Chip Enable bits */
  231. #define LM49453_CHIP_EN_SHUTDOWN 0x00
  232. #define LM49453_CHIP_EN 0x01
  233. #define LM49453_CHIP_EN_HSD_DETECT 0x02
  234. #define LM49453_CHIP_EN_INVALID_HSD 0x03
  235. /* LM49453_P0_PLL_CLK_SEL1_REG (0x01h) */
  236. #define LM49453_CLK_SEL1_MCLK_SEL 0x11
  237. #define LM49453_CLK_SEL1_RTC_SEL 0x11
  238. #define LM49453_CLK_SEL1_PORT1_SEL 0x10
  239. #define LM49453_CLK_SEL1_PORT2_SEL 0x11
  240. /* LM49453_P0_PLL_CLK_SEL2_REG (0x02h) */
  241. #define LM49453_CLK_SEL2_ADC_CLK_SEL 0x38
  242. /* LM49453_P0_FLL_REF_FREQL_REG (0x0F) */
  243. #define LM49453_FLL_REF_FREQ_VAL 0x8ca0001
  244. /* LM49453_P0_VCO_TARGETLL_REG (0x11) */
  245. #define LM49453_VCO_TARGET_VAL 0x8ca0001
  246. /* LM49453_P0_ADC_DSP_REG (0x30h) */
  247. #define LM49453_ADC_DSP_ADC_MUTEL BIT(0)
  248. #define LM49453_ADC_DSP_ADC_MUTER BIT(1)
  249. #define LM49453_ADC_DSP_DMIC1_MUTEL BIT(2)
  250. #define LM49453_ADC_DSP_DMIC1_MUTER BIT(3)
  251. #define LM49453_ADC_DSP_DMIC2_MUTEL BIT(4)
  252. #define LM49453_ADC_DSP_DMIC2_MUTER BIT(5)
  253. #define LM49453_ADC_DSP_MUTE_ALL 0x3F
  254. /* LM49453_P0_DAC_DSP_REG (0x31h) */
  255. #define LM49453_DAC_DSP_MUTE_ALL 0xFF
  256. /* LM49453_P0_AUDIO_PORT1_BASIC_REG (0x60h) */
  257. #define LM49453_AUDIO_PORT1_BASIC_FMT_MASK (BIT(4)|BIT(3))
  258. #define LM49453_AUDIO_PORT1_BASIC_CLK_MS BIT(3)
  259. #define LM49453_AUDIO_PORT1_BASIC_SYNC_MS BIT(4)
  260. /* LM49453_P0_RESET_REG (0xFEh) */
  261. #define LM49453_RESET_REG_RST BIT(0)
  262. /* Page select register bits (0xFF) */
  263. #define LM49453_PAGE0_SELECT 0x0
  264. #define LM49453_PAGE1_SELECT 0x1
  265. /* LM49453_P0_HSD_PIN3_4_CFG_REG (Jack Pin config - 0xD7) */
  266. #define LM49453_JACK_DISABLE 0x00
  267. #define LM49453_JACK_CONFIG1 0x01
  268. #define LM49453_JACK_CONFIG2 0x02
  269. #define LM49453_JACK_CONFIG3 0x03
  270. #define LM49453_JACK_CONFIG4 0x04
  271. #define LM49453_JACK_CONFIG5 0x05
  272. /* Page 1 REGISTERS */
  273. /* SIDETONE */
  274. #define LM49453_P1_SIDETONE_SA0L_REG 0x80
  275. #define LM49453_P1_SIDETONE_SA0H_REG 0x81
  276. #define LM49453_P1_SIDETONE_SAB0U_REG 0x82
  277. #define LM49453_P1_SIDETONE_SB0L_REG 0x83
  278. #define LM49453_P1_SIDETONE_SB0H_REG 0x84
  279. #define LM49453_P1_SIDETONE_SH0L_REG 0x85
  280. #define LM49453_P1_SIDETONE_SH0H_REG 0x86
  281. #define LM49453_P1_SIDETONE_SH0U_REG 0x87
  282. #define LM49453_P1_SIDETONE_SA1L_REG 0x88
  283. #define LM49453_P1_SIDETONE_SA1H_REG 0x89
  284. #define LM49453_P1_SIDETONE_SAB1U_REG 0x8A
  285. #define LM49453_P1_SIDETONE_SB1L_REG 0x8B
  286. #define LM49453_P1_SIDETONE_SB1H_REG 0x8C
  287. #define LM49453_P1_SIDETONE_SH1L_REG 0x8D
  288. #define LM49453_P1_SIDETONE_SH1H_REG 0x8E
  289. #define LM49453_P1_SIDETONE_SH1U_REG 0x8F
  290. #define LM49453_P1_SIDETONE_SA2L_REG 0x90
  291. #define LM49453_P1_SIDETONE_SA2H_REG 0x91
  292. #define LM49453_P1_SIDETONE_SAB2U_REG 0x92
  293. #define LM49453_P1_SIDETONE_SB2L_REG 0x93
  294. #define LM49453_P1_SIDETONE_SB2H_REG 0x94
  295. #define LM49453_P1_SIDETONE_SH2L_REG 0x95
  296. #define LM49453_P1_SIDETONE_SH2H_REG 0x96
  297. #define LM49453_P1_SIDETONE_SH2U_REG 0x97
  298. #define LM49453_P1_SIDETONE_SA3L_REG 0x98
  299. #define LM49453_P1_SIDETONE_SA3H_REG 0x99
  300. #define LM49453_P1_SIDETONE_SAB3U_REG 0x9A
  301. #define LM49453_P1_SIDETONE_SB3L_REG 0x9B
  302. #define LM49453_P1_SIDETONE_SB3H_REG 0x9C
  303. #define LM49453_P1_SIDETONE_SH3L_REG 0x9D
  304. #define LM49453_P1_SIDETONE_SH3H_REG 0x9E
  305. #define LM49453_P1_SIDETONE_SH3U_REG 0x9F
  306. #define LM49453_P1_SIDETONE_SA4L_REG 0xA0
  307. #define LM49453_P1_SIDETONE_SA4H_REG 0xA1
  308. #define LM49453_P1_SIDETONE_SAB4U_REG 0xA2
  309. #define LM49453_P1_SIDETONE_SB4L_REG 0xA3
  310. #define LM49453_P1_SIDETONE_SB4H_REG 0xA4
  311. #define LM49453_P1_SIDETONE_SH4L_REG 0xA5
  312. #define LM49453_P1_SIDETONE_SH4H_REG 0xA6
  313. #define LM49453_P1_SIDETONE_SH4U_REG 0xA7
  314. #define LM49453_P1_SIDETONE_SA5L_REG 0xA8
  315. #define LM49453_P1_SIDETONE_SA5H_REG 0xA9
  316. #define LM49453_P1_SIDETONE_SAB5U_REG 0xAA
  317. #define LM49453_P1_SIDETONE_SB5L_REG 0xAB
  318. #define LM49453_P1_SIDETONE_SB5H_REG 0xAC
  319. #define LM49453_P1_SIDETONE_SH5L_REG 0xAD
  320. #define LM49453_P1_SIDETONE_SH5H_REG 0xAE
  321. #define LM49453_P1_SIDETONE_SH5U_REG 0xAF
  322. /* CHARGE PUMP CONFIG */
  323. #define LM49453_P1_CP_CONFIG1_REG 0xB0
  324. #define LM49453_P1_CP_CONFIG2_REG 0xB1
  325. #define LM49453_P1_CP_CONFIG3_REG 0xB2
  326. #define LM49453_P1_CP_CONFIG4_REG 0xB3
  327. #define LM49453_P1_CP_LA_VTH1L_REG 0xB4
  328. #define LM49453_P1_CP_LA_VTH1M_REG 0xB5
  329. #define LM49453_P1_CP_LA_VTH2L_REG 0xB6
  330. #define LM49453_P1_CP_LA_VTH2M_REG 0xB7
  331. #define LM49453_P1_CP_LA_VTH3L_REG 0xB8
  332. #define LM49453_P1_CP_LA_VTH3H_REG 0xB9
  333. #define LM49453_P1_CP_CLK_DIV_REG 0xBA
  334. /* DAC */
  335. #define LM49453_P1_DAC_CHOP_REG 0xC0
  336. #define LM49453_CLK_SRC_MCLK 1
  337. #endif