Dhanalakshmi Siddani | 01e94a3 | 2020-02-04 22:16:05 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014 NXP Semiconductors, 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 as |
| 6 | * published by the Free Software Foundation. |
| 7 | * |
| 8 | */ |
| 9 | |
| 10 | #ifndef _TFA9872_TFAFIELDNAMES_H |
| 11 | #define _TFA9872_TFAFIELDNAMES_H |
| 12 | |
| 13 | #define TFA9872_I2CVERSION_N1A 26 |
| 14 | #define TFA9872_I2CVERSION_N1B 29 |
| 15 | #define TFA9872_I2CVERSION_N1B2 25 |
| 16 | |
| 17 | typedef enum nxpTfa9872BfEnumList { |
| 18 | TFA9872_BF_PWDN = 0x0000, /*!< Powerdown selection */ |
| 19 | TFA9872_BF_I2CR = 0x0010, /*!< I2C Reset - Auto clear */ |
| 20 | TFA9872_BF_AMPE = 0x0030, /*!< Activate Amplifier */ |
| 21 | TFA9872_BF_DCA = 0x0040, /*!< Activate DC-to-DC converter */ |
| 22 | TFA9872_BF_INTP = 0x0071, /*!< Interrupt config */ |
| 23 | TFA9872_BF_BYPOCP = 0x00b0, /*!< Bypass OCP */ |
| 24 | TFA9872_BF_TSTOCP = 0x00c0, /*!< OCP testing control */ |
| 25 | TFA9872_BF_MANSCONF = 0x0120, /*!< I2C configured */ |
| 26 | TFA9872_BF_MANAOOSC = 0x0140, /*!< Internal osc off at PWDN */ |
| 27 | TFA9872_BF_MUTETO = 0x01d0, /*!< Time out SB mute sequence */ |
| 28 | TFA9872_BF_RCVNS = 0x01e0, /*!< Noise shaper selection */ |
| 29 | TFA9872_BF_AUDFS = 0x0203, /*!< Sample rate (fs) */ |
| 30 | TFA9872_BF_INPLEV = 0x0240, /*!< TDM output attenuation */ |
| 31 | TFA9872_BF_FRACTDEL = 0x0255, /*!< V/I Fractional delay */ |
| 32 | TFA9872_BF_BYPHVBF = 0x02b0, /*!< Bypass HVBAT filter */ |
| 33 | TFA9872_BF_REV = 0x030f, /*!< Revision info */ |
| 34 | TFA9872_BF_REFCKEXT = 0x0401, /*!< PLL external ref clock */ |
| 35 | TFA9872_BF_REFCKSEL = 0x0420, /*!< PLL internal ref clock */ |
| 36 | TFA9872_BF_SSE = 0x0510, /*!< Enable speaker path */ |
| 37 | TFA9872_BF_VSE = 0x0530, /*!< Voltage sense */ |
| 38 | TFA9872_BF_CSE = 0x0550, /*!< Current sense */ |
| 39 | TFA9872_BF_SSPDME = 0x0560, /*!< Sub-system PDM */ |
| 40 | TFA9872_BF_PGAE = 0x0580, /*!< Enable PGA chop clock */ |
| 41 | TFA9872_BF_SSTDME = 0x0590, /*!< Sub-system TDM */ |
| 42 | TFA9872_BF_SSPBSTE = 0x05a0, /*!< Sub-system boost */ |
| 43 | TFA9872_BF_SSADCE = 0x05b0, /*!< Sub-system ADC */ |
| 44 | TFA9872_BF_SSFAIME = 0x05c0, /*!< Sub-system FAIM */ |
| 45 | TFA9872_BF_STGAIN = 0x0d18, /*!< Side tone gain */ |
| 46 | TFA9872_BF_STSMUTE = 0x0da0, /*!< Side tone soft mute */ |
| 47 | TFA9872_BF_ST1C = 0x0db0, /*!< side tone one s complement */ |
| 48 | TFA9872_BF_VDDS = 0x1000, /*!< POR */ |
| 49 | TFA9872_BF_PLLS = 0x1010, /*!< PLL lock */ |
| 50 | TFA9872_BF_OTDS = 0x1020, /*!< OTP alarm */ |
| 51 | TFA9872_BF_OVDS = 0x1030, /*!< OVP alarm */ |
| 52 | TFA9872_BF_UVDS = 0x1040, /*!< UVP alarm */ |
| 53 | TFA9872_BF_CLKS = 0x1050, /*!< Clocks stable */ |
| 54 | TFA9872_BF_MTPB = 0x1060, /*!< MTP busy */ |
| 55 | TFA9872_BF_NOCLK = 0x1070, /*!< Lost clock */ |
| 56 | TFA9872_BF_SWS = 0x10a0, /*!< Amplifier engage */ |
| 57 | TFA9872_BF_AMPS = 0x10c0, /*!< Amplifier enable */ |
| 58 | TFA9872_BF_AREFS = 0x10d0, /*!< References enable */ |
| 59 | TFA9872_BF_ADCCR = 0x10e0, /*!< Control ADC */ |
| 60 | TFA9872_BF_DCIL = 0x1100, /*!< DCDC current limiting */ |
| 61 | TFA9872_BF_DCDCA = 0x1110, /*!< DCDC active */ |
| 62 | TFA9872_BF_DCOCPOK = 0x1120, /*!< DCDC OCP nmos */ |
| 63 | TFA9872_BF_DCHVBAT = 0x1140, /*!< DCDC level 1x */ |
| 64 | TFA9872_BF_DCH114 = 0x1150, /*!< DCDC level 1.14x */ |
| 65 | TFA9872_BF_DCH107 = 0x1160, /*!< DCDC level 1.07x */ |
| 66 | TFA9872_BF_STMUTEB = 0x1170, /*!< side tone (un)mute busy */ |
| 67 | TFA9872_BF_STMUTE = 0x1180, /*!< side tone mute state */ |
| 68 | TFA9872_BF_TDMLUTER = 0x1190, /*!< TDM LUT error */ |
| 69 | TFA9872_BF_TDMSTAT = 0x11a2, /*!< TDM status bits */ |
| 70 | TFA9872_BF_TDMERR = 0x11d0, /*!< TDM error */ |
| 71 | TFA9872_BF_OCPOAP = 0x1300, /*!< OCPOK pmos A */ |
| 72 | TFA9872_BF_OCPOAN = 0x1310, /*!< OCPOK nmos A */ |
| 73 | TFA9872_BF_OCPOBP = 0x1320, /*!< OCPOK pmos B */ |
| 74 | TFA9872_BF_OCPOBN = 0x1330, /*!< OCPOK nmos B */ |
| 75 | TFA9872_BF_CLIPAH = 0x1340, /*!< Clipping A to Vddp */ |
| 76 | TFA9872_BF_CLIPAL = 0x1350, /*!< Clipping A to gnd */ |
| 77 | TFA9872_BF_CLIPBH = 0x1360, /*!< Clipping B to Vddp */ |
| 78 | TFA9872_BF_CLIPBL = 0x1370, /*!< Clipping B to gnd */ |
| 79 | TFA9872_BF_OCDS = 0x1380, /*!< OCP amplifier */ |
| 80 | TFA9872_BF_CLIPS = 0x1390, /*!< Amplifier clipping */ |
| 81 | TFA9872_BF_OCPOKMC = 0x13a0, /*!< OCPOK MICVDD */ |
| 82 | TFA9872_BF_MANALARM = 0x13b0, /*!< Alarm state */ |
| 83 | TFA9872_BF_MANWAIT1 = 0x13c0, /*!< Wait HW I2C settings */ |
| 84 | TFA9872_BF_MANMUTE = 0x13e0, /*!< Audio mute sequence */ |
| 85 | TFA9872_BF_MANOPER = 0x13f0, /*!< Operating state */ |
| 86 | TFA9872_BF_CLKOOR = 0x1420, /*!< External clock status */ |
| 87 | TFA9872_BF_MANSTATE = 0x1433, /*!< Device manager status */ |
| 88 | TFA9872_BF_DCMODE = 0x1471, /*!< DCDC mode status bits */ |
| 89 | TFA9872_BF_BATS = 0x1509, /*!< Battery voltage (V) */ |
| 90 | TFA9872_BF_TEMPS = 0x1608, /*!< IC Temperature (C) */ |
| 91 | TFA9872_BF_VDDPS = 0x1709, /*!< IC VDDP voltage ( 1023*VDDP/9.5 V) */ |
| 92 | TFA9872_BF_TDME = 0x2040, /*!< Enable interface */ |
| 93 | TFA9872_BF_TDMMODE = 0x2050, /*!< Slave/master */ |
| 94 | TFA9872_BF_TDMCLINV = 0x2060, /*!< Reception data to BCK clock */ |
| 95 | TFA9872_BF_TDMFSLN = 0x2073, /*!< FS length (master mode only) */ |
| 96 | TFA9872_BF_TDMFSPOL = 0x20b0, /*!< FS polarity */ |
| 97 | TFA9872_BF_TDMNBCK = 0x20c3, /*!< N-BCK's in FS */ |
| 98 | TFA9872_BF_TDMSLOTS = 0x2103, /*!< N-slots in Frame */ |
| 99 | TFA9872_BF_TDMSLLN = 0x2144, /*!< N-bits in slot */ |
| 100 | TFA9872_BF_TDMBRMG = 0x2194, /*!< N-bits remaining */ |
| 101 | TFA9872_BF_TDMDEL = 0x21e0, /*!< data delay to FS */ |
| 102 | TFA9872_BF_TDMADJ = 0x21f0, /*!< data adjustment */ |
| 103 | TFA9872_BF_TDMOOMP = 0x2201, /*!< Received audio compression */ |
| 104 | TFA9872_BF_TDMSSIZE = 0x2224, /*!< Sample size per slot */ |
| 105 | TFA9872_BF_TDMTXDFO = 0x2271, /*!< Format unused bits */ |
| 106 | TFA9872_BF_TDMTXUS0 = 0x2291, /*!< Format unused slots DATAO */ |
| 107 | TFA9872_BF_TDMSPKE = 0x2300, /*!< Control audio tdm channel in 0 (spkr + dcdc) */ |
| 108 | TFA9872_BF_TDMDCE = 0x2310, /*!< Control audio tdm channel in 1 (dcdc) */ |
| 109 | TFA9872_BF_TDMCSE = 0x2330, /*!< current sense vbat temperature and vddp feedback */ |
| 110 | TFA9872_BF_TDMVSE = 0x2340, /*!< Voltage sense vbat temperature and vddp feedback */ |
| 111 | TFA9872_BF_TDMSPKS = 0x2603, /*!< tdm slot for sink 0 (speaker + dcdc) */ |
| 112 | TFA9872_BF_TDMDCS = 0x2643, /*!< tdm slot for sink 1 (dcdc) */ |
| 113 | TFA9872_BF_TDMCSS = 0x26c3, /*!< Slot Position of current sense vbat temperature and vddp feedback */ |
| 114 | TFA9872_BF_TDMVSS = 0x2703, /*!< Slot Position of Voltage sense vbat temperature and vddp feedback */ |
| 115 | TFA9872_BF_PDMSTSEL = 0x3111, /*!< Side tone input */ |
| 116 | TFA9872_BF_ISTVDDS = 0x4000, /*!< Status POR */ |
| 117 | TFA9872_BF_ISTPLLS = 0x4010, /*!< Status PLL lock */ |
| 118 | TFA9872_BF_ISTOTDS = 0x4020, /*!< Status OTP alarm */ |
| 119 | TFA9872_BF_ISTOVDS = 0x4030, /*!< Status OVP alarm */ |
| 120 | TFA9872_BF_ISTUVDS = 0x4040, /*!< Status UVP alarm */ |
| 121 | TFA9872_BF_ISTCLKS = 0x4050, /*!< Status clocks stable */ |
| 122 | TFA9872_BF_ISTMTPB = 0x4060, /*!< Status MTP busy */ |
| 123 | TFA9872_BF_ISTNOCLK = 0x4070, /*!< Status lost clock */ |
| 124 | TFA9872_BF_ISTSWS = 0x40a0, /*!< Status amplifier engage */ |
| 125 | TFA9872_BF_ISTAMPS = 0x40c0, /*!< Status amplifier enable */ |
| 126 | TFA9872_BF_ISTAREFS = 0x40d0, /*!< Status Ref enable */ |
| 127 | TFA9872_BF_ISTADCCR = 0x40e0, /*!< Status Control ADC */ |
| 128 | TFA9872_BF_ISTBSTCU = 0x4100, /*!< Status DCDC current limiting */ |
| 129 | TFA9872_BF_ISTBSTHI = 0x4110, /*!< Status DCDC active */ |
| 130 | TFA9872_BF_ISTBSTOC = 0x4120, /*!< Status DCDC OCP */ |
| 131 | TFA9872_BF_ISTBSTPKCUR = 0x4130, /*!< Status bst peakcur */ |
| 132 | TFA9872_BF_ISTBSTVC = 0x4140, /*!< Status DCDC level 1x */ |
| 133 | TFA9872_BF_ISTBST86 = 0x4150, /*!< Status DCDC level 1.14x */ |
| 134 | TFA9872_BF_ISTBST93 = 0x4160, /*!< Status DCDC level 1.07x */ |
| 135 | TFA9872_BF_ISTOCPR = 0x4190, /*!< Status ocp alarm */ |
| 136 | TFA9872_BF_ISTMWSRC = 0x41a0, /*!< Status Waits HW I2C settings */ |
| 137 | TFA9872_BF_ISTMWSMU = 0x41c0, /*!< Status Audio mute sequence */ |
| 138 | TFA9872_BF_ISTCLKOOR = 0x41f0, /*!< Status flag_clk_out_of_range */ |
| 139 | TFA9872_BF_ISTTDMER = 0x4200, /*!< Status tdm error */ |
| 140 | TFA9872_BF_ISTCLPR = 0x4220, /*!< Status clip */ |
| 141 | TFA9872_BF_ISTLP0 = 0x4240, /*!< Status low power mode0 */ |
| 142 | TFA9872_BF_ISTLP1 = 0x4250, /*!< Status low power mode1 */ |
| 143 | TFA9872_BF_ISTLA = 0x4260, /*!< Status low noise detection */ |
| 144 | TFA9872_BF_ISTVDDPH = 0x4270, /*!< Status VDDP greater than VBAT */ |
| 145 | TFA9872_BF_ICLVDDS = 0x4400, /*!< Clear POR */ |
| 146 | TFA9872_BF_ICLPLLS = 0x4410, /*!< Clear PLL lock */ |
| 147 | TFA9872_BF_ICLOTDS = 0x4420, /*!< Clear OTP alarm */ |
| 148 | TFA9872_BF_ICLOVDS = 0x4430, /*!< Clear OVP alarm */ |
| 149 | TFA9872_BF_ICLUVDS = 0x4440, /*!< Clear UVP alarm */ |
| 150 | TFA9872_BF_ICLCLKS = 0x4450, /*!< Clear clocks stable */ |
| 151 | TFA9872_BF_ICLMTPB = 0x4460, /*!< Clear mtp busy */ |
| 152 | TFA9872_BF_ICLNOCLK = 0x4470, /*!< Clear lost clk */ |
| 153 | TFA9872_BF_ICLSWS = 0x44a0, /*!< Clear amplifier engage */ |
| 154 | TFA9872_BF_ICLAMPS = 0x44c0, /*!< Clear enbl amp */ |
| 155 | TFA9872_BF_ICLAREFS = 0x44d0, /*!< Clear ref enable */ |
| 156 | TFA9872_BF_ICLADCCR = 0x44e0, /*!< Clear control ADC */ |
| 157 | TFA9872_BF_ICLBSTCU = 0x4500, /*!< Clear DCDC current limiting */ |
| 158 | TFA9872_BF_ICLBSTHI = 0x4510, /*!< Clear DCDC active */ |
| 159 | TFA9872_BF_ICLBSTOC = 0x4520, /*!< Clear DCDC OCP */ |
| 160 | TFA9872_BF_ICLBSTPC = 0x4530, /*!< Clear bst peakcur */ |
| 161 | TFA9872_BF_ICLBSTVC = 0x4540, /*!< Clear DCDC level 1x */ |
| 162 | TFA9872_BF_ICLBST86 = 0x4550, /*!< Clear DCDC level 1.14x */ |
| 163 | TFA9872_BF_ICLBST93 = 0x4560, /*!< Clear DCDC level 1.07x */ |
| 164 | TFA9872_BF_ICLOCPR = 0x4590, /*!< Clear ocp alarm */ |
| 165 | TFA9872_BF_ICLMWSRC = 0x45a0, /*!< Clear wait HW I2C settings */ |
| 166 | TFA9872_BF_ICLMWSMU = 0x45c0, /*!< Clear audio mute sequence */ |
| 167 | TFA9872_BF_ICLCLKOOR = 0x45f0, /*!< Clear flag_clk_out_of_range */ |
| 168 | TFA9872_BF_ICLTDMER = 0x4600, /*!< Clear tdm error */ |
| 169 | TFA9872_BF_ICLCLPR = 0x4620, /*!< Clear clip */ |
| 170 | TFA9872_BF_ICLLP0 = 0x4640, /*!< Clear low power mode0 */ |
| 171 | TFA9872_BF_ICLLP1 = 0x4650, /*!< Clear low power mode1 */ |
| 172 | TFA9872_BF_ICLLA = 0x4660, /*!< Clear low noise detection */ |
| 173 | TFA9872_BF_ICLVDDPH = 0x4670, /*!< Clear VDDP greater then VBAT */ |
| 174 | TFA9872_BF_IEVDDS = 0x4800, /*!< Enable por */ |
| 175 | TFA9872_BF_IEPLLS = 0x4810, /*!< Enable pll lock */ |
| 176 | TFA9872_BF_IEOTDS = 0x4820, /*!< Enable OTP alarm */ |
| 177 | TFA9872_BF_IEOVDS = 0x4830, /*!< Enable OVP alarm */ |
| 178 | TFA9872_BF_IEUVDS = 0x4840, /*!< Enable UVP alarm */ |
| 179 | TFA9872_BF_IECLKS = 0x4850, /*!< Enable clocks stable */ |
| 180 | TFA9872_BF_IEMTPB = 0x4860, /*!< Enable mtp busy */ |
| 181 | TFA9872_BF_IENOCLK = 0x4870, /*!< Enable lost clk */ |
| 182 | TFA9872_BF_IESWS = 0x48a0, /*!< Enable amplifier engage */ |
| 183 | TFA9872_BF_IEAMPS = 0x48c0, /*!< Enable enbl amp */ |
| 184 | TFA9872_BF_IEAREFS = 0x48d0, /*!< Enable ref enable */ |
| 185 | TFA9872_BF_IEADCCR = 0x48e0, /*!< Enable Control ADC */ |
| 186 | TFA9872_BF_IEBSTCU = 0x4900, /*!< Enable DCDC current limiting */ |
| 187 | TFA9872_BF_IEBSTHI = 0x4910, /*!< Enable DCDC active */ |
| 188 | TFA9872_BF_IEBSTOC = 0x4920, /*!< Enable DCDC OCP */ |
| 189 | TFA9872_BF_IEBSTPC = 0x4930, /*!< Enable bst peakcur */ |
| 190 | TFA9872_BF_IEBSTVC = 0x4940, /*!< Enable DCDC level 1x */ |
| 191 | TFA9872_BF_IEBST86 = 0x4950, /*!< Enable DCDC level 1.14x */ |
| 192 | TFA9872_BF_IEBST93 = 0x4960, /*!< Enable DCDC level 1.07x */ |
| 193 | TFA9872_BF_IEOCPR = 0x4990, /*!< Enable ocp alarm */ |
| 194 | TFA9872_BF_IEMWSRC = 0x49a0, /*!< Enable waits HW I2C settings */ |
| 195 | TFA9872_BF_IEMWSMU = 0x49c0, /*!< Enable man Audio mute sequence */ |
| 196 | TFA9872_BF_IECLKOOR = 0x49f0, /*!< Enable flag_clk_out_of_range */ |
| 197 | TFA9872_BF_IETDMER = 0x4a00, /*!< Enable tdm error */ |
| 198 | TFA9872_BF_IECLPR = 0x4a20, /*!< Enable clip */ |
| 199 | TFA9872_BF_IELP0 = 0x4a40, /*!< Enable low power mode0 */ |
| 200 | TFA9872_BF_IELP1 = 0x4a50, /*!< Enable low power mode1 */ |
| 201 | TFA9872_BF_IELA = 0x4a60, /*!< Enable low noise detection */ |
| 202 | TFA9872_BF_IEVDDPH = 0x4a70, /*!< Enable VDDP greater tehn VBAT */ |
| 203 | TFA9872_BF_IPOVDDS = 0x4c00, /*!< Polarity por */ |
| 204 | TFA9872_BF_IPOPLLS = 0x4c10, /*!< Polarity pll lock */ |
| 205 | TFA9872_BF_IPOOTDS = 0x4c20, /*!< Polarity OTP alarm */ |
| 206 | TFA9872_BF_IPOOVDS = 0x4c30, /*!< Polarity OVP alarm */ |
| 207 | TFA9872_BF_IPOUVDS = 0x4c40, /*!< Polarity UVP alarm */ |
| 208 | TFA9872_BF_IPOCLKS = 0x4c50, /*!< Polarity clocks stable */ |
| 209 | TFA9872_BF_IPOMTPB = 0x4c60, /*!< Polarity mtp busy */ |
| 210 | TFA9872_BF_IPONOCLK = 0x4c70, /*!< Polarity lost clk */ |
| 211 | TFA9872_BF_IPOSWS = 0x4ca0, /*!< Polarity amplifier engage */ |
| 212 | TFA9872_BF_IPOAMPS = 0x4cc0, /*!< Polarity enbl amp */ |
| 213 | TFA9872_BF_IPOAREFS = 0x4cd0, /*!< Polarity ref enable */ |
| 214 | TFA9872_BF_IPOADCCR = 0x4ce0, /*!< Polarity Control ADC */ |
| 215 | TFA9872_BF_IPOBSTCU = 0x4d00, /*!< Polarity DCDC current limiting */ |
| 216 | TFA9872_BF_IPOBSTHI = 0x4d10, /*!< Polarity DCDC active */ |
| 217 | TFA9872_BF_IPOBSTOC = 0x4d20, /*!< Polarity DCDC OCP */ |
| 218 | TFA9872_BF_IPOBSTPC = 0x4d30, /*!< Polarity bst peakcur */ |
| 219 | TFA9872_BF_IPOBSTVC = 0x4d40, /*!< Polarity DCDC level 1x */ |
| 220 | TFA9872_BF_IPOBST86 = 0x4d50, /*!< Polarity DCDC level 1.14x */ |
| 221 | TFA9872_BF_IPOBST93 = 0x4d60, /*!< Polarity DCDC level 1.07x */ |
| 222 | TFA9872_BF_IPOOCPR = 0x4d90, /*!< Polarity ocp alarm */ |
| 223 | TFA9872_BF_IPOMWSRC = 0x4da0, /*!< Polarity waits HW I2C settings */ |
| 224 | TFA9872_BF_IPOMWSMU = 0x4dc0, /*!< Polarity man audio mute sequence */ |
| 225 | TFA9872_BF_IPCLKOOR = 0x4df0, /*!< Polarity flag_clk_out_of_range */ |
| 226 | TFA9872_BF_IPOTDMER = 0x4e00, /*!< Polarity tdm error */ |
| 227 | TFA9872_BF_IPOCLPR = 0x4e20, /*!< Polarity clip right */ |
| 228 | TFA9872_BF_IPOLP0 = 0x4e40, /*!< Polarity low power mode0 */ |
| 229 | TFA9872_BF_IPOLP1 = 0x4e50, /*!< Polarity low power mode1 */ |
| 230 | TFA9872_BF_IPOLA = 0x4e60, /*!< Polarity low noise mode */ |
| 231 | TFA9872_BF_IPOVDDPH = 0x4e70, /*!< Polarity VDDP greater than VBAT */ |
| 232 | TFA9872_BF_BSSCR = 0x5001, /*!< Battery Safeguard attack time */ |
| 233 | TFA9872_BF_BSST = 0x5023, /*!< Battery Safeguard threshold voltage level */ |
| 234 | TFA9872_BF_BSSRL = 0x5061, /*!< Battery Safeguard maximum reduction */ |
| 235 | TFA9872_BF_BSSR = 0x50e0, /*!< Battery voltage read out */ |
| 236 | TFA9872_BF_BSSBY = 0x50f0, /*!< Bypass battery safeguard */ |
| 237 | TFA9872_BF_BSSS = 0x5100, /*!< Vbat prot steepness */ |
| 238 | TFA9872_BF_INTSMUTE = 0x5110, /*!< Soft mute HW */ |
| 239 | TFA9872_BF_HPFBYP = 0x5150, /*!< Bypass HPF */ |
| 240 | TFA9872_BF_DPSA = 0x5170, /*!< Enable DPSA */ |
| 241 | TFA9872_BF_CLIPCTRL = 0x5222, /*!< Clip control setting */ |
| 242 | TFA9872_BF_AMPGAIN = 0x5257, /*!< Amplifier gain */ |
| 243 | TFA9872_BF_SLOPEE = 0x52d0, /*!< Enables slope control */ |
| 244 | TFA9872_BF_SLOPESET = 0x52e0, /*!< Slope speed setting (bin. coded) */ |
| 245 | TFA9872_BF_PGAGAIN = 0x6081, /*!< PGA gain selection */ |
| 246 | TFA9872_BF_PGALPE = 0x60b0, /*!< Lowpass enable */ |
| 247 | TFA9872_BF_LPM0BYP = 0x6110, /*!< bypass low power idle mode */ |
| 248 | TFA9872_BF_TDMDCG = 0x6123, /*!< Second channel gain in case of stereo using a single coil. (Total gain depending on INPLEV). (In case of mono OR stereo using 2 separate DCDC channel 1 should be disabled using TDMDCE) */ |
| 249 | TFA9872_BF_TDMSPKG = 0x6163, /*!< Total gain depending on INPLEV setting (channel 0) */ |
| 250 | TFA9872_BF_STIDLEEN = 0x61b0, /*!< enable idle feature for channel 1 */ |
| 251 | TFA9872_BF_LNMODE = 0x62e1, /*!< ctrl select mode */ |
| 252 | TFA9872_BF_LPM1MODE = 0x64e1, /*!< low power mode control */ |
| 253 | TFA9872_BF_LPM1DIS = 0x65c0, /*!< low power mode1 detector control */ |
| 254 | TFA9872_BF_TDMSRCMAP = 0x6801, /*!< tdm source mapping */ |
| 255 | TFA9872_BF_TDMSRCAS = 0x6821, /*!< Sensed value A */ |
| 256 | TFA9872_BF_TDMSRCBS = 0x6841, /*!< Sensed value B */ |
| 257 | TFA9872_BF_ANCSEL = 0x6881, /*!< anc input */ |
| 258 | TFA9872_BF_ANC1C = 0x68a0, /*!< ANC one s complement */ |
| 259 | TFA9872_BF_SAMMODE = 0x6901, /*!< sam enable */ |
| 260 | TFA9872_BF_SAMSEL = 0x6920, /*!< sam source */ |
| 261 | TFA9872_BF_PDMOSELH = 0x6931, /*!< pdm out value when pdm_clk is higth */ |
| 262 | TFA9872_BF_PDMOSELL = 0x6951, /*!< pdm out value when pdm_clk is low */ |
| 263 | TFA9872_BF_SAMOSEL = 0x6970, /*!< ram output on mode sam and audio */ |
| 264 | TFA9872_BF_LP0 = 0x6e00, /*!< low power mode 0 detection */ |
| 265 | TFA9872_BF_LP1 = 0x6e10, /*!< low power mode 1 detection */ |
| 266 | TFA9872_BF_LA = 0x6e20, /*!< low amplitude detection */ |
| 267 | TFA9872_BF_VDDPH = 0x6e30, /*!< vddp greater than vbat */ |
| 268 | TFA9872_BF_DELCURCOMP = 0x6f02, /*!< delay to allign compensation signal with current sense signal */ |
| 269 | TFA9872_BF_SIGCURCOMP = 0x6f40, /*!< polarity of compensation for current sense */ |
| 270 | TFA9872_BF_ENCURCOMP = 0x6f50, /*!< enable current sense compensation */ |
| 271 | TFA9872_BF_SELCLPPWM = 0x6f60, /*!< Select pwm clip flag */ |
| 272 | TFA9872_BF_LVLCLPPWM = 0x6f72, /*!< set the amount of pwm pulse that may be skipped before clip-flag is triggered */ |
| 273 | TFA9872_BF_DCVOS = 0x7002, /*!< Second boost voltage level */ |
| 274 | TFA9872_BF_DCMCC = 0x7033, /*!< Max coil current */ |
| 275 | TFA9872_BF_DCCV = 0x7071, /*!< Slope compensation current, represents LxF (inductance x frequency) value */ |
| 276 | TFA9872_BF_DCIE = 0x7090, /*!< Adaptive boost mode */ |
| 277 | TFA9872_BF_DCSR = 0x70a0, /*!< Soft ramp up/down */ |
| 278 | TFA9872_BF_DCDIS = 0x70e0, /*!< DCDC on/off */ |
| 279 | TFA9872_BF_DCPWM = 0x70f0, /*!< DCDC PWM only mode */ |
| 280 | TFA9872_BF_DCVOF = 0x7402, /*!< 1st boost voltage level */ |
| 281 | TFA9872_BF_DCTRACK = 0x7430, /*!< Boost algorithm selection, effective only when boost_intelligent is set to 1 */ |
| 282 | TFA9872_BF_DCTRIP = 0x7444, /*!< 1st Adaptive boost trip levels, effective only when DCIE is set to 1 */ |
| 283 | TFA9872_BF_DCHOLD = 0x7494, /*!< Hold time for DCDC booster, effective only when boost_intelligent is set to 1 */ |
| 284 | TFA9872_BF_DCTRIP2 = 0x7534, /*!< 2nd Adaptive boost trip levels, effective only when DCIE is set to 1 */ |
| 285 | TFA9872_BF_DCTRIPT = 0x7584, /*!< Track Adaptive boost trip levels, effective only when boost_intelligent is set to 1 */ |
| 286 | TFA9872_BF_MTPK = 0xa107, /*!< MTP KEY2 register */ |
| 287 | TFA9872_BF_KEY1LOCKED = 0xa200, /*!< Indicates KEY1 is locked */ |
| 288 | TFA9872_BF_KEY2LOCKED = 0xa210, /*!< Indicates KEY2 is locked */ |
| 289 | TFA9872_BF_CMTPI = 0xa350, /*!< Start copying all the data from mtp to I2C mtp registers */ |
| 290 | TFA9872_BF_CIMTP = 0xa360, /*!< Start copying data from I2C mtp registers to mtp */ |
| 291 | TFA9872_BF_MTPRDMSB = 0xa50f, /*!< MSB word of MTP manual read data */ |
| 292 | TFA9872_BF_MTPRDLSB = 0xa60f, /*!< LSB word of MTP manual read data */ |
| 293 | TFA9872_BF_EXTTS = 0xb108, /*!< External temperature (C) */ |
| 294 | TFA9872_BF_TROS = 0xb190, /*!< Select temp Speaker calibration */ |
| 295 | TFA9872_BF_SWPROFIL = 0xee0f, /*!< Software profile data */ |
| 296 | TFA9872_BF_SWVSTEP = 0xef0f, /*!< Software vstep information */ |
| 297 | TFA9872_BF_MTPOTC = 0xf000, /*!< Calibration schedule */ |
| 298 | TFA9872_BF_MTPEX = 0xf010, /*!< Calibration Ron executed */ |
| 299 | TFA9872_BF_DCMCCAPI = 0xf020, /*!< Calibration current limit DCDC */ |
| 300 | TFA9872_BF_DCMCCSB = 0xf030, /*!< Sign bit for delta calibration current limit DCDC */ |
| 301 | TFA9872_BF_USERDEF = 0xf042, /*!< Calibration delta current limit DCDC */ |
| 302 | TFA9872_BF_CUSTINFO = 0xf078, /*!< Reserved space for allowing customer to store speaker information */ |
| 303 | TFA9872_BF_R25C = 0xf50f, /*!< Ron resistance of speaker coil */ |
| 304 | } nxpTfa9872BfEnumList_t; |
| 305 | #define TFA9872_NAMETABLE static tfaBfName_t Tfa9872DatasheetNames[] = {\ |
| 306 | { 0x0, "PWDN"}, /* Powerdown selection , */\ |
| 307 | { 0x10, "I2CR"}, /* I2C Reset - Auto clear , */\ |
| 308 | { 0x30, "AMPE"}, /* Activate Amplifier , */\ |
| 309 | { 0x40, "DCA"}, /* Activate DC-to-DC converter , */\ |
| 310 | { 0x71, "INTP"}, /* Interrupt config , */\ |
| 311 | { 0xb0, "BYPOCP"}, /* Bypass OCP , */\ |
| 312 | { 0xc0, "TSTOCP"}, /* OCP testing control , */\ |
| 313 | { 0x120, "MANSCONF"}, /* I2C configured , */\ |
| 314 | { 0x140, "MANAOOSC"}, /* Internal osc off at PWDN , */\ |
| 315 | { 0x1d0, "MUTETO"}, /* Time out SB mute sequence , */\ |
| 316 | { 0x1e0, "RCVNS"}, /* Noise shaper selection , */\ |
| 317 | { 0x203, "AUDFS"}, /* Sample rate (fs) , */\ |
| 318 | { 0x240, "INPLEV"}, /* TDM output attenuation , */\ |
| 319 | { 0x255, "FRACTDEL"}, /* V/I Fractional delay , */\ |
| 320 | { 0x2b0, "BYPHVBF"}, /* Bypass HVBAT filter , */\ |
| 321 | { 0x30f, "REV"}, /* Revision info , */\ |
| 322 | { 0x401, "REFCKEXT"}, /* PLL external ref clock , */\ |
| 323 | { 0x420, "REFCKSEL"}, /* PLL internal ref clock , */\ |
| 324 | { 0x510, "SSE"}, /* Enable speaker path , */\ |
| 325 | { 0x530, "VSE"}, /* Voltage sense , */\ |
| 326 | { 0x550, "CSE"}, /* Current sense , */\ |
| 327 | { 0x560, "SSPDME"}, /* Sub-system PDM , */\ |
| 328 | { 0x580, "PGAE"}, /* Enable PGA chop clock , */\ |
| 329 | { 0x590, "SSTDME"}, /* Sub-system TDM , */\ |
| 330 | { 0x5a0, "SSPBSTE"}, /* Sub-system boost , */\ |
| 331 | { 0x5b0, "SSADCE"}, /* Sub-system ADC , */\ |
| 332 | { 0x5c0, "SSFAIME"}, /* Sub-system FAIM , */\ |
| 333 | { 0xd18, "STGAIN"}, /* Side tone gain , */\ |
| 334 | { 0xda0, "STSMUTE"}, /* Side tone soft mute , */\ |
| 335 | { 0xdb0, "ST1C"}, /* side tone one s complement , */\ |
| 336 | { 0x1000, "VDDS"}, /* POR , */\ |
| 337 | { 0x1010, "PLLS"}, /* PLL lock , */\ |
| 338 | { 0x1020, "OTDS"}, /* OTP alarm , */\ |
| 339 | { 0x1030, "OVDS"}, /* OVP alarm , */\ |
| 340 | { 0x1040, "UVDS"}, /* UVP alarm , */\ |
| 341 | { 0x1050, "CLKS"}, /* Clocks stable , */\ |
| 342 | { 0x1060, "MTPB"}, /* MTP busy , */\ |
| 343 | { 0x1070, "NOCLK"}, /* Lost clock , */\ |
| 344 | { 0x10a0, "SWS"}, /* Amplifier engage , */\ |
| 345 | { 0x10c0, "AMPS"}, /* Amplifier enable , */\ |
| 346 | { 0x10d0, "AREFS"}, /* References enable , */\ |
| 347 | { 0x10e0, "ADCCR"}, /* Control ADC , */\ |
| 348 | { 0x1100, "DCIL"}, /* DCDC current limiting , */\ |
| 349 | { 0x1110, "DCDCA"}, /* DCDC active , */\ |
| 350 | { 0x1120, "DCOCPOK"}, /* DCDC OCP nmos , */\ |
| 351 | { 0x1140, "DCHVBAT"}, /* DCDC level 1x , */\ |
| 352 | { 0x1150, "DCH114"}, /* DCDC level 1.14x , */\ |
| 353 | { 0x1160, "DCH107"}, /* DCDC level 1.07x , */\ |
| 354 | { 0x1170, "STMUTEB"}, /* side tone (un)mute busy , */\ |
| 355 | { 0x1180, "STMUTE"}, /* side tone mute state , */\ |
| 356 | { 0x1190, "TDMLUTER"}, /* TDM LUT error , */\ |
| 357 | { 0x11a2, "TDMSTAT"}, /* TDM status bits , */\ |
| 358 | { 0x11d0, "TDMERR"}, /* TDM error , */\ |
| 359 | { 0x1300, "OCPOAP"}, /* OCPOK pmos A , */\ |
| 360 | { 0x1310, "OCPOAN"}, /* OCPOK nmos A , */\ |
| 361 | { 0x1320, "OCPOBP"}, /* OCPOK pmos B , */\ |
| 362 | { 0x1330, "OCPOBN"}, /* OCPOK nmos B , */\ |
| 363 | { 0x1340, "CLIPAH"}, /* Clipping A to Vddp , */\ |
| 364 | { 0x1350, "CLIPAL"}, /* Clipping A to gnd , */\ |
| 365 | { 0x1360, "CLIPBH"}, /* Clipping B to Vddp , */\ |
| 366 | { 0x1370, "CLIPBL"}, /* Clipping B to gnd , */\ |
| 367 | { 0x1380, "OCDS"}, /* OCP amplifier , */\ |
| 368 | { 0x1390, "CLIPS"}, /* Amplifier clipping , */\ |
| 369 | { 0x13a0, "OCPOKMC"}, /* OCPOK MICVDD , */\ |
| 370 | { 0x13b0, "MANALARM"}, /* Alarm state , */\ |
| 371 | { 0x13c0, "MANWAIT1"}, /* Wait HW I2C settings , */\ |
| 372 | { 0x13e0, "MANMUTE"}, /* Audio mute sequence , */\ |
| 373 | { 0x13f0, "MANOPER"}, /* Operating state , */\ |
| 374 | { 0x1420, "CLKOOR"}, /* External clock status , */\ |
| 375 | { 0x1433, "MANSTATE"}, /* Device manager status , */\ |
| 376 | { 0x1471, "DCMODE"}, /* DCDC mode status bits , */\ |
| 377 | { 0x1509, "BATS"}, /* Battery voltage (V) , */\ |
| 378 | { 0x1608, "TEMPS"}, /* IC Temperature (C) , */\ |
| 379 | { 0x1709, "VDDPS"}, /* IC VDDP voltage ( 1023*VDDP/9.5 V) , */\ |
| 380 | { 0x2040, "TDME"}, /* Enable interface , */\ |
| 381 | { 0x2050, "TDMMODE"}, /* Slave/master , */\ |
| 382 | { 0x2060, "TDMCLINV"}, /* Reception data to BCK clock , */\ |
| 383 | { 0x2073, "TDMFSLN"}, /* FS length (master mode only) , */\ |
| 384 | { 0x20b0, "TDMFSPOL"}, /* FS polarity , */\ |
| 385 | { 0x20c3, "TDMNBCK"}, /* N-BCK's in FS , */\ |
| 386 | { 0x2103, "TDMSLOTS"}, /* N-slots in Frame , */\ |
| 387 | { 0x2144, "TDMSLLN"}, /* N-bits in slot , */\ |
| 388 | { 0x2194, "TDMBRMG"}, /* N-bits remaining , */\ |
| 389 | { 0x21e0, "TDMDEL"}, /* data delay to FS , */\ |
| 390 | { 0x21f0, "TDMADJ"}, /* data adjustment , */\ |
| 391 | { 0x2201, "TDMOOMP"}, /* Received audio compression , */\ |
| 392 | { 0x2224, "TDMSSIZE"}, /* Sample size per slot , */\ |
| 393 | { 0x2271, "TDMTXDFO"}, /* Format unused bits , */\ |
| 394 | { 0x2291, "TDMTXUS0"}, /* Format unused slots DATAO , */\ |
| 395 | { 0x2300, "TDMSPKE"}, /* Control audio tdm channel in 0 (spkr + dcdc) , */\ |
| 396 | { 0x2310, "TDMDCE"}, /* Control audio tdm channel in 1 (dcdc) , */\ |
| 397 | { 0x2330, "TDMCSE"}, /* current sense vbat temperature and vddp feedback , */\ |
| 398 | { 0x2340, "TDMVSE"}, /* Voltage sense vbat temperature and vddp feedback , */\ |
| 399 | { 0x2603, "TDMSPKS"}, /* tdm slot for sink 0 (speaker + dcdc) , */\ |
| 400 | { 0x2643, "TDMDCS"}, /* tdm slot for sink 1 (dcdc) , */\ |
| 401 | { 0x26c3, "TDMCSS"}, /* Slot Position of current sense vbat temperature and vddp feedback, */\ |
| 402 | { 0x2703, "TDMVSS"}, /* Slot Position of Voltage sense vbat temperature and vddp feedback, */\ |
| 403 | { 0x3111, "PDMSTSEL"}, /* Side tone input , */\ |
| 404 | { 0x4000, "ISTVDDS"}, /* Status POR , */\ |
| 405 | { 0x4010, "ISTPLLS"}, /* Status PLL lock , */\ |
| 406 | { 0x4020, "ISTOTDS"}, /* Status OTP alarm , */\ |
| 407 | { 0x4030, "ISTOVDS"}, /* Status OVP alarm , */\ |
| 408 | { 0x4040, "ISTUVDS"}, /* Status UVP alarm , */\ |
| 409 | { 0x4050, "ISTCLKS"}, /* Status clocks stable , */\ |
| 410 | { 0x4060, "ISTMTPB"}, /* Status MTP busy , */\ |
| 411 | { 0x4070, "ISTNOCLK"}, /* Status lost clock , */\ |
| 412 | { 0x40a0, "ISTSWS"}, /* Status amplifier engage , */\ |
| 413 | { 0x40c0, "ISTAMPS"}, /* Status amplifier enable , */\ |
| 414 | { 0x40d0, "ISTAREFS"}, /* Status Ref enable , */\ |
| 415 | { 0x40e0, "ISTADCCR"}, /* Status Control ADC , */\ |
| 416 | { 0x4100, "ISTBSTCU"}, /* Status DCDC current limiting , */\ |
| 417 | { 0x4110, "ISTBSTHI"}, /* Status DCDC active , */\ |
| 418 | { 0x4120, "ISTBSTOC"}, /* Status DCDC OCP , */\ |
| 419 | { 0x4130, "ISTBSTPKCUR"}, /* Status bst peakcur , */\ |
| 420 | { 0x4140, "ISTBSTVC"}, /* Status DCDC level 1x , */\ |
| 421 | { 0x4150, "ISTBST86"}, /* Status DCDC level 1.14x , */\ |
| 422 | { 0x4160, "ISTBST93"}, /* Status DCDC level 1.07x , */\ |
| 423 | { 0x4190, "ISTOCPR"}, /* Status ocp alarm , */\ |
| 424 | { 0x41a0, "ISTMWSRC"}, /* Status Waits HW I2C settings , */\ |
| 425 | { 0x41c0, "ISTMWSMU"}, /* Status Audio mute sequence , */\ |
| 426 | { 0x41f0, "ISTCLKOOR"}, /* Status flag_clk_out_of_range , */\ |
| 427 | { 0x4200, "ISTTDMER"}, /* Status tdm error , */\ |
| 428 | { 0x4220, "ISTCLPR"}, /* Status clip , */\ |
| 429 | { 0x4240, "ISTLP0"}, /* Status low power mode0 , */\ |
| 430 | { 0x4250, "ISTLP1"}, /* Status low power mode1 , */\ |
| 431 | { 0x4260, "ISTLA"}, /* Status low noise detection , */\ |
| 432 | { 0x4270, "ISTVDDPH"}, /* Status VDDP greater than VBAT , */\ |
| 433 | { 0x4400, "ICLVDDS"}, /* Clear POR , */\ |
| 434 | { 0x4410, "ICLPLLS"}, /* Clear PLL lock , */\ |
| 435 | { 0x4420, "ICLOTDS"}, /* Clear OTP alarm , */\ |
| 436 | { 0x4430, "ICLOVDS"}, /* Clear OVP alarm , */\ |
| 437 | { 0x4440, "ICLUVDS"}, /* Clear UVP alarm , */\ |
| 438 | { 0x4450, "ICLCLKS"}, /* Clear clocks stable , */\ |
| 439 | { 0x4460, "ICLMTPB"}, /* Clear mtp busy , */\ |
| 440 | { 0x4470, "ICLNOCLK"}, /* Clear lost clk , */\ |
| 441 | { 0x44a0, "ICLSWS"}, /* Clear amplifier engage , */\ |
| 442 | { 0x44c0, "ICLAMPS"}, /* Clear enbl amp , */\ |
| 443 | { 0x44d0, "ICLAREFS"}, /* Clear ref enable , */\ |
| 444 | { 0x44e0, "ICLADCCR"}, /* Clear control ADC , */\ |
| 445 | { 0x4500, "ICLBSTCU"}, /* Clear DCDC current limiting , */\ |
| 446 | { 0x4510, "ICLBSTHI"}, /* Clear DCDC active , */\ |
| 447 | { 0x4520, "ICLBSTOC"}, /* Clear DCDC OCP , */\ |
| 448 | { 0x4530, "ICLBSTPC"}, /* Clear bst peakcur , */\ |
| 449 | { 0x4540, "ICLBSTVC"}, /* Clear DCDC level 1x , */\ |
| 450 | { 0x4550, "ICLBST86"}, /* Clear DCDC level 1.14x , */\ |
| 451 | { 0x4560, "ICLBST93"}, /* Clear DCDC level 1.07x , */\ |
| 452 | { 0x4590, "ICLOCPR"}, /* Clear ocp alarm , */\ |
| 453 | { 0x45a0, "ICLMWSRC"}, /* Clear wait HW I2C settings , */\ |
| 454 | { 0x45c0, "ICLMWSMU"}, /* Clear audio mute sequence , */\ |
| 455 | { 0x45f0, "ICLCLKOOR"}, /* Clear flag_clk_out_of_range , */\ |
| 456 | { 0x4600, "ICLTDMER"}, /* Clear tdm error , */\ |
| 457 | { 0x4620, "ICLCLPR"}, /* Clear clip , */\ |
| 458 | { 0x4640, "ICLLP0"}, /* Clear low power mode0 , */\ |
| 459 | { 0x4650, "ICLLP1"}, /* Clear low power mode1 , */\ |
| 460 | { 0x4660, "ICLLA"}, /* Clear low noise detection , */\ |
| 461 | { 0x4670, "ICLVDDPH"}, /* Clear VDDP greater then VBAT , */\ |
| 462 | { 0x4800, "IEVDDS"}, /* Enable por , */\ |
| 463 | { 0x4810, "IEPLLS"}, /* Enable pll lock , */\ |
| 464 | { 0x4820, "IEOTDS"}, /* Enable OTP alarm , */\ |
| 465 | { 0x4830, "IEOVDS"}, /* Enable OVP alarm , */\ |
| 466 | { 0x4840, "IEUVDS"}, /* Enable UVP alarm , */\ |
| 467 | { 0x4850, "IECLKS"}, /* Enable clocks stable , */\ |
| 468 | { 0x4860, "IEMTPB"}, /* Enable mtp busy , */\ |
| 469 | { 0x4870, "IENOCLK"}, /* Enable lost clk , */\ |
| 470 | { 0x48a0, "IESWS"}, /* Enable amplifier engage , */\ |
| 471 | { 0x48c0, "IEAMPS"}, /* Enable enbl amp , */\ |
| 472 | { 0x48d0, "IEAREFS"}, /* Enable ref enable , */\ |
| 473 | { 0x48e0, "IEADCCR"}, /* Enable Control ADC , */\ |
| 474 | { 0x4900, "IEBSTCU"}, /* Enable DCDC current limiting , */\ |
| 475 | { 0x4910, "IEBSTHI"}, /* Enable DCDC active , */\ |
| 476 | { 0x4920, "IEBSTOC"}, /* Enable DCDC OCP , */\ |
| 477 | { 0x4930, "IEBSTPC"}, /* Enable bst peakcur , */\ |
| 478 | { 0x4940, "IEBSTVC"}, /* Enable DCDC level 1x , */\ |
| 479 | { 0x4950, "IEBST86"}, /* Enable DCDC level 1.14x , */\ |
| 480 | { 0x4960, "IEBST93"}, /* Enable DCDC level 1.07x , */\ |
| 481 | { 0x4990, "IEOCPR"}, /* Enable ocp alarm , */\ |
| 482 | { 0x49a0, "IEMWSRC"}, /* Enable waits HW I2C settings , */\ |
| 483 | { 0x49c0, "IEMWSMU"}, /* Enable man Audio mute sequence , */\ |
| 484 | { 0x49f0, "IECLKOOR"}, /* Enable flag_clk_out_of_range , */\ |
| 485 | { 0x4a00, "IETDMER"}, /* Enable tdm error , */\ |
| 486 | { 0x4a20, "IECLPR"}, /* Enable clip , */\ |
| 487 | { 0x4a40, "IELP0"}, /* Enable low power mode0 , */\ |
| 488 | { 0x4a50, "IELP1"}, /* Enable low power mode1 , */\ |
| 489 | { 0x4a60, "IELA"}, /* Enable low noise detection , */\ |
| 490 | { 0x4a70, "IEVDDPH"}, /* Enable VDDP greater tehn VBAT , */\ |
| 491 | { 0x4c00, "IPOVDDS"}, /* Polarity por , */\ |
| 492 | { 0x4c10, "IPOPLLS"}, /* Polarity pll lock , */\ |
| 493 | { 0x4c20, "IPOOTDS"}, /* Polarity OTP alarm , */\ |
| 494 | { 0x4c30, "IPOOVDS"}, /* Polarity OVP alarm , */\ |
| 495 | { 0x4c40, "IPOUVDS"}, /* Polarity UVP alarm , */\ |
| 496 | { 0x4c50, "IPOCLKS"}, /* Polarity clocks stable , */\ |
| 497 | { 0x4c60, "IPOMTPB"}, /* Polarity mtp busy , */\ |
| 498 | { 0x4c70, "IPONOCLK"}, /* Polarity lost clk , */\ |
| 499 | { 0x4ca0, "IPOSWS"}, /* Polarity amplifier engage , */\ |
| 500 | { 0x4cc0, "IPOAMPS"}, /* Polarity enbl amp , */\ |
| 501 | { 0x4cd0, "IPOAREFS"}, /* Polarity ref enable , */\ |
| 502 | { 0x4ce0, "IPOADCCR"}, /* Polarity Control ADC , */\ |
| 503 | { 0x4d00, "IPOBSTCU"}, /* Polarity DCDC current limiting , */\ |
| 504 | { 0x4d10, "IPOBSTHI"}, /* Polarity DCDC active , */\ |
| 505 | { 0x4d20, "IPOBSTOC"}, /* Polarity DCDC OCP , */\ |
| 506 | { 0x4d30, "IPOBSTPC"}, /* Polarity bst peakcur , */\ |
| 507 | { 0x4d40, "IPOBSTVC"}, /* Polarity DCDC level 1x , */\ |
| 508 | { 0x4d50, "IPOBST86"}, /* Polarity DCDC level 1.14x , */\ |
| 509 | { 0x4d60, "IPOBST93"}, /* Polarity DCDC level 1.07x , */\ |
| 510 | { 0x4d90, "IPOOCPR"}, /* Polarity ocp alarm , */\ |
| 511 | { 0x4da0, "IPOMWSRC"}, /* Polarity waits HW I2C settings , */\ |
| 512 | { 0x4dc0, "IPOMWSMU"}, /* Polarity man audio mute sequence , */\ |
| 513 | { 0x4df0, "IPCLKOOR"}, /* Polarity flag_clk_out_of_range , */\ |
| 514 | { 0x4e00, "IPOTDMER"}, /* Polarity tdm error , */\ |
| 515 | { 0x4e20, "IPOCLPR"}, /* Polarity clip right , */\ |
| 516 | { 0x4e40, "IPOLP0"}, /* Polarity low power mode0 , */\ |
| 517 | { 0x4e50, "IPOLP1"}, /* Polarity low power mode1 , */\ |
| 518 | { 0x4e60, "IPOLA"}, /* Polarity low noise mode , */\ |
| 519 | { 0x4e70, "IPOVDDPH"}, /* Polarity VDDP greater than VBAT , */\ |
| 520 | { 0x5001, "BSSCR"}, /* Battery Safeguard attack time , */\ |
| 521 | { 0x5023, "BSST"}, /* Battery Safeguard threshold voltage level , */\ |
| 522 | { 0x5061, "BSSRL"}, /* Battery Safeguard maximum reduction , */\ |
| 523 | { 0x50e0, "BSSR"}, /* Battery voltage read out , */\ |
| 524 | { 0x50f0, "BSSBY"}, /* Bypass battery safeguard , */\ |
| 525 | { 0x5100, "BSSS"}, /* Vbat prot steepness , */\ |
| 526 | { 0x5110, "INTSMUTE"}, /* Soft mute HW , */\ |
| 527 | { 0x5150, "HPFBYP"}, /* Bypass HPF , */\ |
| 528 | { 0x5170, "DPSA"}, /* Enable DPSA , */\ |
| 529 | { 0x5222, "CLIPCTRL"}, /* Clip control setting , */\ |
| 530 | { 0x5257, "AMPGAIN"}, /* Amplifier gain , */\ |
| 531 | { 0x52d0, "SLOPEE"}, /* Enables slope control , */\ |
| 532 | { 0x52e0, "SLOPESET"}, /* Slope speed setting (bin. coded) , */\ |
| 533 | { 0x6081, "PGAGAIN"}, /* PGA gain selection , */\ |
| 534 | { 0x60b0, "PGALPE"}, /* Lowpass enable , */\ |
| 535 | { 0x6110, "LPM0BYP"}, /* bypass low power idle mode , */\ |
| 536 | { 0x6123, "TDMDCG"}, /* Second channel gain in case of stereo using a single coil. (Total gain depending on INPLEV). (In case of mono OR stereo using 2 separate DCDC channel 1 should be disabled using TDMDCE), */\ |
| 537 | { 0x6163, "TDMSPKG"}, /* Total gain depending on INPLEV setting (channel 0), */\ |
| 538 | { 0x61b0, "STIDLEEN"}, /* enable idle feature for channel 1 , */\ |
| 539 | { 0x62e1, "LNMODE"}, /* ctrl select mode , */\ |
| 540 | { 0x64e1, "LPM1MODE"}, /* low power mode control , */\ |
| 541 | { 0x65c0, "LPM1DIS"}, /* low power mode1 detector control , */\ |
| 542 | { 0x6801, "TDMSRCMAP"}, /* tdm source mapping , */\ |
| 543 | { 0x6821, "TDMSRCAS"}, /* Sensed value A , */\ |
| 544 | { 0x6841, "TDMSRCBS"}, /* Sensed value B , */\ |
| 545 | { 0x6881, "ANCSEL"}, /* anc input , */\ |
| 546 | { 0x68a0, "ANC1C"}, /* ANC one s complement , */\ |
| 547 | { 0x6901, "SAMMODE"}, /* sam enable , */\ |
| 548 | { 0x6920, "SAMSEL"}, /* sam source , */\ |
| 549 | { 0x6931, "PDMOSELH"}, /* pdm out value when pdm_clk is higth , */\ |
| 550 | { 0x6951, "PDMOSELL"}, /* pdm out value when pdm_clk is low , */\ |
| 551 | { 0x6970, "SAMOSEL"}, /* ram output on mode sam and audio , */\ |
| 552 | { 0x6e00, "LP0"}, /* low power mode 0 detection , */\ |
| 553 | { 0x6e10, "LP1"}, /* low power mode 1 detection , */\ |
| 554 | { 0x6e20, "LA"}, /* low amplitude detection , */\ |
| 555 | { 0x6e30, "VDDPH"}, /* vddp greater than vbat , */\ |
| 556 | { 0x6f02, "DELCURCOMP"}, /* delay to allign compensation signal with current sense signal, */\ |
| 557 | { 0x6f40, "SIGCURCOMP"}, /* polarity of compensation for current sense , */\ |
| 558 | { 0x6f50, "ENCURCOMP"}, /* enable current sense compensation , */\ |
| 559 | { 0x6f60, "SELCLPPWM"}, /* Select pwm clip flag , */\ |
| 560 | { 0x6f72, "LVLCLPPWM"}, /* set the amount of pwm pulse that may be skipped before clip-flag is triggered, */\ |
| 561 | { 0x7002, "DCVOS"}, /* Second boost voltage level , */\ |
| 562 | { 0x7033, "DCMCC"}, /* Max coil current , */\ |
| 563 | { 0x7071, "DCCV"}, /* Slope compensation current, represents LxF (inductance x frequency) value , */\ |
| 564 | { 0x7090, "DCIE"}, /* Adaptive boost mode , */\ |
| 565 | { 0x70a0, "DCSR"}, /* Soft ramp up/down , */\ |
| 566 | { 0x70e0, "DCDIS"}, /* DCDC on/off , */\ |
| 567 | { 0x70f0, "DCPWM"}, /* DCDC PWM only mode , */\ |
| 568 | { 0x7402, "DCVOF"}, /* 1st boost voltage level , */\ |
| 569 | { 0x7430, "DCTRACK"}, /* Boost algorithm selection, effective only when boost_intelligent is set to 1, */\ |
| 570 | { 0x7444, "DCTRIP"}, /* 1st Adaptive boost trip levels, effective only when DCIE is set to 1, */\ |
| 571 | { 0x7494, "DCHOLD"}, /* Hold time for DCDC booster, effective only when boost_intelligent is set to 1, */\ |
| 572 | { 0x7534, "DCTRIP2"}, /* 2nd Adaptive boost trip levels, effective only when DCIE is set to 1, */\ |
| 573 | { 0x7584, "DCTRIPT"}, /* Track Adaptive boost trip levels, effective only when boost_intelligent is set to 1, */\ |
| 574 | { 0xa107, "MTPK"}, /* MTP KEY2 register , */\ |
| 575 | { 0xa200, "KEY1LOCKED"}, /* Indicates KEY1 is locked , */\ |
| 576 | { 0xa210, "KEY2LOCKED"}, /* Indicates KEY2 is locked , */\ |
| 577 | { 0xa350, "CMTPI"}, /* Start copying all the data from mtp to I2C mtp registers, */\ |
| 578 | { 0xa360, "CIMTP"}, /* Start copying data from I2C mtp registers to mtp , */\ |
| 579 | { 0xa50f, "MTPRDMSB"}, /* MSB word of MTP manual read data , */\ |
| 580 | { 0xa60f, "MTPRDLSB"}, /* LSB word of MTP manual read data , */\ |
| 581 | { 0xb108, "EXTTS"}, /* External temperature (C) , */\ |
| 582 | { 0xb190, "TROS"}, /* Select temp Speaker calibration , */\ |
| 583 | { 0xee0f, "SWPROFIL"}, /* Software profile data , */\ |
| 584 | { 0xef0f, "SWVSTEP"}, /* Software vstep information , */\ |
| 585 | { 0xf000, "MTPOTC"}, /* Calibration schedule , */\ |
| 586 | { 0xf010, "MTPEX"}, /* Calibration Ron executed , */\ |
| 587 | { 0xf020, "DCMCCAPI"}, /* Calibration current limit DCDC , */\ |
| 588 | { 0xf030, "DCMCCSB"}, /* Sign bit for delta calibration current limit DCDC , */\ |
| 589 | { 0xf042, "USERDEF"}, /* Calibration delta current limit DCDC , */\ |
| 590 | { 0xf078, "CUSTINFO"}, /* Reserved space for allowing customer to store speaker information, */\ |
| 591 | { 0xf50f, "R25C"}, /* Ron resistance of speaker coil , */\ |
| 592 | { 0xffff, "Unknown bitfield enum" } /* not found */\ |
| 593 | }; |
| 594 | |
| 595 | #define TFA9872_BITNAMETABLE static tfaBfName_t Tfa9872BitNames[] = {\ |
| 596 | { 0x0, "powerdown"}, /* Powerdown selection , */\ |
| 597 | { 0x10, "reset"}, /* I2C Reset - Auto clear , */\ |
| 598 | { 0x30, "enbl_amplifier"}, /* Activate Amplifier , */\ |
| 599 | { 0x40, "enbl_boost"}, /* Activate DC-to-DC converter , */\ |
| 600 | { 0x71, "int_pad_io"}, /* Interrupt config , */\ |
| 601 | { 0xb0, "bypass_ocp"}, /* Bypass OCP , */\ |
| 602 | { 0xc0, "test_ocp"}, /* OCP testing control , */\ |
| 603 | { 0x120, "src_set_configured"}, /* I2C configured , */\ |
| 604 | { 0x140, "enbl_osc1m_auto_off"}, /* Internal osc off at PWDN , */\ |
| 605 | { 0x1d0, "disable_mute_time_out"}, /* Time out SB mute sequence , */\ |
| 606 | { 0x203, "audio_fs"}, /* Sample rate (fs) , */\ |
| 607 | { 0x240, "input_level"}, /* TDM output attenuation , */\ |
| 608 | { 0x255, "cs_frac_delay"}, /* V/I Fractional delay , */\ |
| 609 | { 0x2b0, "bypass_hvbat_filter"}, /* Bypass HVBAT filter , */\ |
| 610 | { 0x2d0, "sel_hysteresis"}, /* Select hysteresis for clock range detector , */\ |
| 611 | { 0x30f, "device_rev"}, /* Revision info , */\ |
| 612 | { 0x401, "pll_clkin_sel"}, /* PLL external ref clock , */\ |
| 613 | { 0x420, "pll_clkin_sel_osc"}, /* PLL internal ref clock , */\ |
| 614 | { 0x510, "enbl_spkr_ss"}, /* Enable speaker path , */\ |
| 615 | { 0x530, "enbl_volsense"}, /* Voltage sense , */\ |
| 616 | { 0x550, "enbl_cursense"}, /* Current sense , */\ |
| 617 | { 0x560, "enbl_pdm_ss"}, /* Sub-system PDM , */\ |
| 618 | { 0x580, "enbl_pga_chop"}, /* Enable PGA chop clock , */\ |
| 619 | { 0x590, "enbl_tdm_ss"}, /* Sub-system TDM , */\ |
| 620 | { 0x5a0, "enbl_bst_ss"}, /* Sub-system boost , */\ |
| 621 | { 0x5b0, "enbl_adc_ss"}, /* Sub-system ADC , */\ |
| 622 | { 0x5c0, "enbl_faim_ss"}, /* Sub-system FAIM , */\ |
| 623 | { 0xd18, "side_tone_gain"}, /* Side tone gain , */\ |
| 624 | { 0xda0, "mute_side_tone"}, /* Side tone soft mute , */\ |
| 625 | { 0xdb0, "side_tone_1scomplement"}, /* side tone one s complement , */\ |
| 626 | { 0xe07, "ctrl_digtoana"}, /* Spare control from digital to analog , */\ |
| 627 | { 0xf0f, "hidden_code"}, /* 5A6Bh, 23147d to access registers (default for engineering), */\ |
| 628 | { 0x1000, "flag_por"}, /* POR , */\ |
| 629 | { 0x1010, "flag_pll_lock"}, /* PLL lock , */\ |
| 630 | { 0x1020, "flag_otpok"}, /* OTP alarm , */\ |
| 631 | { 0x1030, "flag_ovpok"}, /* OVP alarm , */\ |
| 632 | { 0x1040, "flag_uvpok"}, /* UVP alarm , */\ |
| 633 | { 0x1050, "flag_clocks_stable"}, /* Clocks stable , */\ |
| 634 | { 0x1060, "flag_mtp_busy"}, /* MTP busy , */\ |
| 635 | { 0x1070, "flag_lost_clk"}, /* Lost clock , */\ |
| 636 | { 0x10a0, "flag_engage"}, /* Amplifier engage , */\ |
| 637 | { 0x10c0, "flag_enbl_amp"}, /* Amplifier enable , */\ |
| 638 | { 0x10d0, "flag_enbl_ref"}, /* References enable , */\ |
| 639 | { 0x10e0, "flag_adc10_ready"}, /* Control ADC , */\ |
| 640 | { 0x1100, "flag_bst_bstcur"}, /* DCDC current limiting , */\ |
| 641 | { 0x1110, "flag_bst_hiz"}, /* DCDC active , */\ |
| 642 | { 0x1120, "flag_bst_ocpok"}, /* DCDC OCP nmos , */\ |
| 643 | { 0x1130, "flag_bst_peakcur"}, /* Indicates current is max in DC-to-DC converter , */\ |
| 644 | { 0x1140, "flag_bst_voutcomp"}, /* DCDC level 1x , */\ |
| 645 | { 0x1150, "flag_bst_voutcomp86"}, /* DCDC level 1.14x , */\ |
| 646 | { 0x1160, "flag_bst_voutcomp93"}, /* DCDC level 1.07x , */\ |
| 647 | { 0x1170, "flag_soft_mute_busy"}, /* side tone (un)mute busy , */\ |
| 648 | { 0x1180, "flag_soft_mute_state"}, /* side tone mute state , */\ |
| 649 | { 0x1190, "flag_tdm_lut_error"}, /* TDM LUT error , */\ |
| 650 | { 0x11a2, "flag_tdm_status"}, /* TDM status bits , */\ |
| 651 | { 0x11d0, "flag_tdm_error"}, /* TDM error , */\ |
| 652 | { 0x1300, "flag_ocpokap"}, /* OCPOK pmos A , */\ |
| 653 | { 0x1310, "flag_ocpokan"}, /* OCPOK nmos A , */\ |
| 654 | { 0x1320, "flag_ocpokbp"}, /* OCPOK pmos B , */\ |
| 655 | { 0x1330, "flag_ocpokbn"}, /* OCPOK nmos B , */\ |
| 656 | { 0x1340, "flag_clipa_high"}, /* Clipping A to Vddp , */\ |
| 657 | { 0x1350, "flag_clipa_low"}, /* Clipping A to gnd , */\ |
| 658 | { 0x1360, "flag_clipb_high"}, /* Clipping B to Vddp , */\ |
| 659 | { 0x1370, "flag_clipb_low"}, /* Clipping B to gnd , */\ |
| 660 | { 0x1380, "flag_ocp_alarm"}, /* OCP amplifier , */\ |
| 661 | { 0x1390, "flag_clip"}, /* Amplifier clipping , */\ |
| 662 | { 0x13b0, "flag_man_alarm_state"}, /* Alarm state , */\ |
| 663 | { 0x13c0, "flag_man_wait_src_settings"}, /* Wait HW I2C settings , */\ |
| 664 | { 0x13e0, "flag_man_start_mute_audio"}, /* Audio mute sequence , */\ |
| 665 | { 0x13f0, "flag_man_operating_state"}, /* Operating state , */\ |
| 666 | { 0x1420, "flag_clk_out_of_range"}, /* External clock status , */\ |
| 667 | { 0x1433, "man_state"}, /* Device manager status , */\ |
| 668 | { 0x1471, "status_bst_mode"}, /* DCDC mode status bits , */\ |
| 669 | { 0x1509, "bat_adc"}, /* Battery voltage (V) , */\ |
| 670 | { 0x1608, "temp_adc"}, /* IC Temperature (C) , */\ |
| 671 | { 0x1709, "vddp_adc"}, /* IC VDDP voltage ( 1023*VDDP/9.5 V) , */\ |
| 672 | { 0x2040, "tdm_enable"}, /* Enable interface , */\ |
| 673 | { 0x2050, "tdm_mode"}, /* Slave/master , */\ |
| 674 | { 0x2060, "tdm_clk_inversion"}, /* Reception data to BCK clock , */\ |
| 675 | { 0x2073, "tdm_fs_ws_length"}, /* FS length (master mode only) , */\ |
| 676 | { 0x20b0, "tdm_fs_ws_polarity"}, /* FS polarity , */\ |
| 677 | { 0x20c3, "tdm_nbck"}, /* N-BCK's in FS , */\ |
| 678 | { 0x2103, "tdm_nb_of_slots"}, /* N-slots in Frame , */\ |
| 679 | { 0x2144, "tdm_slot_length"}, /* N-bits in slot , */\ |
| 680 | { 0x2194, "tdm_bits_remaining"}, /* N-bits remaining , */\ |
| 681 | { 0x21e0, "tdm_data_delay"}, /* data delay to FS , */\ |
| 682 | { 0x21f0, "tdm_data_adjustment"}, /* data adjustment , */\ |
| 683 | { 0x2201, "tdm_audio_sample_compression"}, /* Received audio compression , */\ |
| 684 | { 0x2224, "tdm_sample_size"}, /* Sample size per slot , */\ |
| 685 | { 0x2271, "tdm_txdata_format"}, /* Format unused bits , */\ |
| 686 | { 0x2291, "tdm_txdata_format_unused_slot_sd0"}, /* Format unused slots DATAO , */\ |
| 687 | { 0x2300, "tdm_sink0_enable"}, /* Control audio tdm channel in 0 (spkr + dcdc) , */\ |
| 688 | { 0x2310, "tdm_sink1_enable"}, /* Control audio tdm channel in 1 (dcdc) , */\ |
| 689 | { 0x2330, "tdm_source0_enable"}, /* current sense vbat temperature and vddp feedback , */\ |
| 690 | { 0x2340, "tdm_source1_enable"}, /* Voltage sense vbat temperature and vddp feedback , */\ |
| 691 | { 0x2603, "tdm_sink0_slot"}, /* tdm slot for sink 0 (speaker + dcdc) , */\ |
| 692 | { 0x2643, "tdm_sink1_slot"}, /* tdm slot for sink 1 (dcdc) , */\ |
| 693 | { 0x26c3, "tdm_source0_slot"}, /* Slot Position of current sense vbat temperature and vddp feedback, */\ |
| 694 | { 0x2703, "tdm_source1_slot"}, /* Slot Position of Voltage sense vbat temperature and vddp feedback, */\ |
| 695 | { 0x3111, "pdm_side_tone_sel"}, /* Side tone input , */\ |
| 696 | { 0x3201, "pdm_nbck"}, /* PDM BCK/Fs ratio , */\ |
| 697 | { 0x4000, "int_out_flag_por"}, /* Status POR , */\ |
| 698 | { 0x4010, "int_out_flag_pll_lock"}, /* Status PLL lock , */\ |
| 699 | { 0x4020, "int_out_flag_otpok"}, /* Status OTP alarm , */\ |
| 700 | { 0x4030, "int_out_flag_ovpok"}, /* Status OVP alarm , */\ |
| 701 | { 0x4040, "int_out_flag_uvpok"}, /* Status UVP alarm , */\ |
| 702 | { 0x4050, "int_out_flag_clocks_stable"}, /* Status clocks stable , */\ |
| 703 | { 0x4060, "int_out_flag_mtp_busy"}, /* Status MTP busy , */\ |
| 704 | { 0x4070, "int_out_flag_lost_clk"}, /* Status lost clock , */\ |
| 705 | { 0x40a0, "int_out_flag_engage"}, /* Status amplifier engage , */\ |
| 706 | { 0x40c0, "int_out_flag_enbl_amp"}, /* Status amplifier enable , */\ |
| 707 | { 0x40d0, "int_out_flag_enbl_ref"}, /* Status Ref enable , */\ |
| 708 | { 0x40e0, "int_out_flag_adc10_ready"}, /* Status Control ADC , */\ |
| 709 | { 0x4100, "int_out_flag_bst_bstcur"}, /* Status DCDC current limiting , */\ |
| 710 | { 0x4110, "int_out_flag_bst_hiz"}, /* Status DCDC active , */\ |
| 711 | { 0x4120, "int_out_flag_bst_ocpok"}, /* Status DCDC OCP , */\ |
| 712 | { 0x4130, "int_out_flag_bst_peakcur"}, /* Status bst peakcur , */\ |
| 713 | { 0x4140, "int_out_flag_bst_voutcomp"}, /* Status DCDC level 1x , */\ |
| 714 | { 0x4150, "int_out_flag_bst_voutcomp86"}, /* Status DCDC level 1.14x , */\ |
| 715 | { 0x4160, "int_out_flag_bst_voutcomp93"}, /* Status DCDC level 1.07x , */\ |
| 716 | { 0x4190, "int_out_flag_ocp_alarm"}, /* Status ocp alarm , */\ |
| 717 | { 0x41a0, "int_out_flag_man_wait_src_settings"}, /* Status Waits HW I2C settings , */\ |
| 718 | { 0x41c0, "int_out_flag_man_start_mute_audio"}, /* Status Audio mute sequence , */\ |
| 719 | { 0x41f0, "int_out_flag_clk_out_of_range"}, /* Status flag_clk_out_of_range , */\ |
| 720 | { 0x4200, "int_out_flag_tdm_error"}, /* Status tdm error , */\ |
| 721 | { 0x4220, "int_out_flag_clip"}, /* Status clip , */\ |
| 722 | { 0x4240, "int_out_flag_lp_detect_mode0"}, /* Status low power mode0 , */\ |
| 723 | { 0x4250, "int_out_flag_lp_detect_mode1"}, /* Status low power mode1 , */\ |
| 724 | { 0x4260, "int_out_flag_low_amplitude"}, /* Status low noise detection , */\ |
| 725 | { 0x4270, "int_out_flag_vddp_gt_vbat"}, /* Status VDDP greater than VBAT , */\ |
| 726 | { 0x4400, "int_in_flag_por"}, /* Clear POR , */\ |
| 727 | { 0x4410, "int_in_flag_pll_lock"}, /* Clear PLL lock , */\ |
| 728 | { 0x4420, "int_in_flag_otpok"}, /* Clear OTP alarm , */\ |
| 729 | { 0x4430, "int_in_flag_ovpok"}, /* Clear OVP alarm , */\ |
| 730 | { 0x4440, "int_in_flag_uvpok"}, /* Clear UVP alarm , */\ |
| 731 | { 0x4450, "int_in_flag_clocks_stable"}, /* Clear clocks stable , */\ |
| 732 | { 0x4460, "int_in_flag_mtp_busy"}, /* Clear mtp busy , */\ |
| 733 | { 0x4470, "int_in_flag_lost_clk"}, /* Clear lost clk , */\ |
| 734 | { 0x44a0, "int_in_flag_engage"}, /* Clear amplifier engage , */\ |
| 735 | { 0x44c0, "int_in_flag_enbl_amp"}, /* Clear enbl amp , */\ |
| 736 | { 0x44d0, "int_in_flag_enbl_ref"}, /* Clear ref enable , */\ |
| 737 | { 0x44e0, "int_in_flag_adc10_ready"}, /* Clear control ADC , */\ |
| 738 | { 0x4500, "int_in_flag_bst_bstcur"}, /* Clear DCDC current limiting , */\ |
| 739 | { 0x4510, "int_in_flag_bst_hiz"}, /* Clear DCDC active , */\ |
| 740 | { 0x4520, "int_in_flag_bst_ocpok"}, /* Clear DCDC OCP , */\ |
| 741 | { 0x4530, "int_in_flag_bst_peakcur"}, /* Clear bst peakcur , */\ |
| 742 | { 0x4540, "int_in_flag_bst_voutcomp"}, /* Clear DCDC level 1x , */\ |
| 743 | { 0x4550, "int_in_flag_bst_voutcomp86"}, /* Clear DCDC level 1.14x , */\ |
| 744 | { 0x4560, "int_in_flag_bst_voutcomp93"}, /* Clear DCDC level 1.07x , */\ |
| 745 | { 0x4590, "int_in_flag_ocp_alarm"}, /* Clear ocp alarm , */\ |
| 746 | { 0x45a0, "int_in_flag_man_wait_src_settings"}, /* Clear wait HW I2C settings , */\ |
| 747 | { 0x45c0, "int_in_flag_man_start_mute_audio"}, /* Clear audio mute sequence , */\ |
| 748 | { 0x45f0, "int_in_flag_clk_out_of_range"}, /* Clear flag_clk_out_of_range , */\ |
| 749 | { 0x4600, "int_in_flag_tdm_error"}, /* Clear tdm error , */\ |
| 750 | { 0x4620, "int_in_flag_clip"}, /* Clear clip , */\ |
| 751 | { 0x4640, "int_in_flag_lp_detect_mode0"}, /* Clear low power mode0 , */\ |
| 752 | { 0x4650, "int_in_flag_lp_detect_mode1"}, /* Clear low power mode1 , */\ |
| 753 | { 0x4660, "int_in_flag_low_amplitude"}, /* Clear low noise detection , */\ |
| 754 | { 0x4670, "int_in_flag_vddp_gt_vbat"}, /* Clear VDDP greater then VBAT , */\ |
| 755 | { 0x4800, "int_enable_flag_por"}, /* Enable por , */\ |
| 756 | { 0x4810, "int_enable_flag_pll_lock"}, /* Enable pll lock , */\ |
| 757 | { 0x4820, "int_enable_flag_otpok"}, /* Enable OTP alarm , */\ |
| 758 | { 0x4830, "int_enable_flag_ovpok"}, /* Enable OVP alarm , */\ |
| 759 | { 0x4840, "int_enable_flag_uvpok"}, /* Enable UVP alarm , */\ |
| 760 | { 0x4850, "int_enable_flag_clocks_stable"}, /* Enable clocks stable , */\ |
| 761 | { 0x4860, "int_enable_flag_mtp_busy"}, /* Enable mtp busy , */\ |
| 762 | { 0x4870, "int_enable_flag_lost_clk"}, /* Enable lost clk , */\ |
| 763 | { 0x48a0, "int_enable_flag_engage"}, /* Enable amplifier engage , */\ |
| 764 | { 0x48c0, "int_enable_flag_enbl_amp"}, /* Enable enbl amp , */\ |
| 765 | { 0x48d0, "int_enable_flag_enbl_ref"}, /* Enable ref enable , */\ |
| 766 | { 0x48e0, "int_enable_flag_adc10_ready"}, /* Enable Control ADC , */\ |
| 767 | { 0x4900, "int_enable_flag_bst_bstcur"}, /* Enable DCDC current limiting , */\ |
| 768 | { 0x4910, "int_enable_flag_bst_hiz"}, /* Enable DCDC active , */\ |
| 769 | { 0x4920, "int_enable_flag_bst_ocpok"}, /* Enable DCDC OCP , */\ |
| 770 | { 0x4930, "int_enable_flag_bst_peakcur"}, /* Enable bst peakcur , */\ |
| 771 | { 0x4940, "int_enable_flag_bst_voutcomp"}, /* Enable DCDC level 1x , */\ |
| 772 | { 0x4950, "int_enable_flag_bst_voutcomp86"}, /* Enable DCDC level 1.14x , */\ |
| 773 | { 0x4960, "int_enable_flag_bst_voutcomp93"}, /* Enable DCDC level 1.07x , */\ |
| 774 | { 0x4990, "int_enable_flag_ocp_alarm"}, /* Enable ocp alarm , */\ |
| 775 | { 0x49a0, "int_enable_flag_man_wait_src_settings"}, /* Enable waits HW I2C settings , */\ |
| 776 | { 0x49c0, "int_enable_flag_man_start_mute_audio"}, /* Enable man Audio mute sequence , */\ |
| 777 | { 0x49f0, "int_enable_flag_clk_out_of_range"}, /* Enable flag_clk_out_of_range , */\ |
| 778 | { 0x4a00, "int_enable_flag_tdm_error"}, /* Enable tdm error , */\ |
| 779 | { 0x4a20, "int_enable_flag_clip"}, /* Enable clip , */\ |
| 780 | { 0x4a40, "int_enable_flag_lp_detect_mode0"}, /* Enable low power mode0 , */\ |
| 781 | { 0x4a50, "int_enable_flag_lp_detect_mode1"}, /* Enable low power mode1 , */\ |
| 782 | { 0x4a60, "int_enable_flag_low_amplitude"}, /* Enable low noise detection , */\ |
| 783 | { 0x4a70, "int_enable_flag_vddp_gt_vbat"}, /* Enable VDDP greater tehn VBAT , */\ |
| 784 | { 0x4c00, "int_polarity_flag_por"}, /* Polarity por , */\ |
| 785 | { 0x4c10, "int_polarity_flag_pll_lock"}, /* Polarity pll lock , */\ |
| 786 | { 0x4c20, "int_polarity_flag_otpok"}, /* Polarity OTP alarm , */\ |
| 787 | { 0x4c30, "int_polarity_flag_ovpok"}, /* Polarity OVP alarm , */\ |
| 788 | { 0x4c40, "int_polarity_flag_uvpok"}, /* Polarity UVP alarm , */\ |
| 789 | { 0x4c50, "int_polarity_flag_clocks_stable"}, /* Polarity clocks stable , */\ |
| 790 | { 0x4c60, "int_polarity_flag_mtp_busy"}, /* Polarity mtp busy , */\ |
| 791 | { 0x4c70, "int_polarity_flag_lost_clk"}, /* Polarity lost clk , */\ |
| 792 | { 0x4ca0, "int_polarity_flag_engage"}, /* Polarity amplifier engage , */\ |
| 793 | { 0x4cc0, "int_polarity_flag_enbl_amp"}, /* Polarity enbl amp , */\ |
| 794 | { 0x4cd0, "int_polarity_flag_enbl_ref"}, /* Polarity ref enable , */\ |
| 795 | { 0x4ce0, "int_polarity_flag_adc10_ready"}, /* Polarity Control ADC , */\ |
| 796 | { 0x4d00, "int_polarity_flag_bst_bstcur"}, /* Polarity DCDC current limiting , */\ |
| 797 | { 0x4d10, "int_polarity_flag_bst_hiz"}, /* Polarity DCDC active , */\ |
| 798 | { 0x4d20, "int_polarity_flag_bst_ocpok"}, /* Polarity DCDC OCP , */\ |
| 799 | { 0x4d30, "int_polarity_flag_bst_peakcur"}, /* Polarity bst peakcur , */\ |
| 800 | { 0x4d40, "int_polarity_flag_bst_voutcomp"}, /* Polarity DCDC level 1x , */\ |
| 801 | { 0x4d50, "int_polarity_flag_bst_voutcomp86"}, /* Polarity DCDC level 1.14x , */\ |
| 802 | { 0x4d60, "int_polarity_flag_bst_voutcomp93"}, /* Polarity DCDC level 1.07x , */\ |
| 803 | { 0x4d90, "int_polarity_flag_ocp_alarm"}, /* Polarity ocp alarm , */\ |
| 804 | { 0x4da0, "int_polarity_flag_man_wait_src_settings"}, /* Polarity waits HW I2C settings , */\ |
| 805 | { 0x4dc0, "int_polarity_flag_man_start_mute_audio"}, /* Polarity man audio mute sequence , */\ |
| 806 | { 0x4df0, "int_polarity_flag_clk_out_of_range"}, /* Polarity flag_clk_out_of_range , */\ |
| 807 | { 0x4e00, "int_polarity_flag_tdm_error"}, /* Polarity tdm error , */\ |
| 808 | { 0x4e20, "int_polarity_flag_clip"}, /* Polarity clip right , */\ |
| 809 | { 0x4e40, "int_polarity_flag_lp_detect_mode0"}, /* Polarity low power mode0 , */\ |
| 810 | { 0x4e50, "int_polarity_flag_lp_detect_mode1"}, /* Polarity low power mode1 , */\ |
| 811 | { 0x4e60, "int_polarity_flag_low_amplitude"}, /* Polarity low noise mode , */\ |
| 812 | { 0x4e70, "int_polarity_flag_vddp_gt_vbat"}, /* Polarity VDDP greater than VBAT , */\ |
| 813 | { 0x5001, "vbat_prot_attack_time"}, /* Battery Safeguard attack time , */\ |
| 814 | { 0x5023, "vbat_prot_thlevel"}, /* Battery Safeguard threshold voltage level , */\ |
| 815 | { 0x5061, "vbat_prot_max_reduct"}, /* Battery Safeguard maximum reduction , */\ |
| 816 | { 0x50d0, "rst_min_vbat"}, /* Reset clipper - Auto clear , */\ |
| 817 | { 0x50e0, "sel_vbat"}, /* Battery voltage read out , */\ |
| 818 | { 0x50f0, "bypass_clipper"}, /* Bypass battery safeguard , */\ |
| 819 | { 0x5100, "batsense_steepness"}, /* Vbat prot steepness , */\ |
| 820 | { 0x5110, "soft_mute"}, /* Soft mute HW , */\ |
| 821 | { 0x5150, "bypass_hp"}, /* Bypass HPF , */\ |
| 822 | { 0x5170, "enbl_dpsa"}, /* Enable DPSA , */\ |
| 823 | { 0x5222, "ctrl_cc"}, /* Clip control setting , */\ |
| 824 | { 0x5257, "gain"}, /* Amplifier gain , */\ |
| 825 | { 0x52d0, "ctrl_slopectrl"}, /* Enables slope control , */\ |
| 826 | { 0x52e0, "ctrl_slope"}, /* Slope speed setting (bin. coded) , */\ |
| 827 | { 0x5301, "dpsa_level"}, /* DPSA threshold levels , */\ |
| 828 | { 0x5321, "dpsa_release"}, /* DPSA Release time , */\ |
| 829 | { 0x5340, "clipfast"}, /* Clock selection for HW clipper for Battery Safeguard, */\ |
| 830 | { 0x5350, "bypass_lp"}, /* Bypass the low power filter inside temperature sensor, */\ |
| 831 | { 0x5400, "first_order_mode"}, /* Overrule to 1st order mode of control stage when clipping, */\ |
| 832 | { 0x5410, "bypass_ctrlloop"}, /* Switch amplifier into open loop configuration , */\ |
| 833 | { 0x5420, "fb_hz"}, /* Feedback resistor set to high ohmic , */\ |
| 834 | { 0x5430, "icomp_engage"}, /* Engage of icomp , */\ |
| 835 | { 0x5440, "ctrl_kickback"}, /* Prevent double pulses of output stage , */\ |
| 836 | { 0x5450, "icomp_engage_overrule"}, /* To overrule the functional icomp_engage signal during validation, */\ |
| 837 | { 0x5503, "ctrl_dem"}, /* Enable DEM icomp and DEM one bit dac , */\ |
| 838 | { 0x5543, "ctrl_dem_mismatch"}, /* Enable DEM icomp mismatch for testing , */\ |
| 839 | { 0x5582, "dpsa_drive"}, /* Drive setting (bin. coded) , */\ |
| 840 | { 0x570a, "enbl_amp"}, /* Switch on the class-D power sections, each part of the analog sections can be switched on/off individually, */\ |
| 841 | { 0x57b0, "enbl_engage"}, /* Enables/engage power stage and control loop , */\ |
| 842 | { 0x57c0, "enbl_engage_pst"}, /* Enables/engage power stage and control loop , */\ |
| 843 | { 0x5810, "hard_mute"}, /* Hard mute - PWM , */\ |
| 844 | { 0x5820, "pwm_shape"}, /* PWM shape , */\ |
| 845 | { 0x5844, "pwm_delay"}, /* PWM delay bits to set the delay, clockd is 1/(k*2048*fs), */\ |
| 846 | { 0x5890, "reclock_pwm"}, /* Reclock the pwm signal inside analog , */\ |
| 847 | { 0x58a0, "reclock_voltsense"}, /* Reclock the voltage sense pwm signal , */\ |
| 848 | { 0x58c0, "enbl_pwm_phase_shift"}, /* Control for pwm phase shift , */\ |
| 849 | { 0x6081, "pga_gain_set"}, /* PGA gain selection , */\ |
| 850 | { 0x60b0, "pga_lowpass_enable"}, /* Lowpass enable , */\ |
| 851 | { 0x60c0, "pga_pwr_enable"}, /* Power enable, directcontrol mode only , */\ |
| 852 | { 0x60d0, "pga_switch_enable"}, /* Switch enable, directcontrol mode only , */\ |
| 853 | { 0x60e0, "pga_switch_aux_enable"}, /* Switch enable aux, directcontrol mode only , */\ |
| 854 | { 0x6100, "force_idle"}, /* force low power in idle mode , */\ |
| 855 | { 0x6110, "bypass_idle"}, /* bypass low power idle mode , */\ |
| 856 | { 0x6123, "ctrl_attl"}, /* Second channel gain in case of stereo using a single coil. (Total gain depending on INPLEV). (In case of mono OR stereo using 2 separate DCDC channel 1 should be disabled using TDMDCE), */\ |
| 857 | { 0x6163, "ctrl_attr"}, /* Total gain depending on INPLEV setting (channel 0), */\ |
| 858 | { 0x61a0, "idle_cnt"}, /* idle counter , */\ |
| 859 | { 0x61b0, "enbl_idle_ch1"}, /* enable idle feature for channel 1 , */\ |
| 860 | { 0x6265, "zero_lvl"}, /* low noise gain switch zero trigger level , */\ |
| 861 | { 0x62c1, "ctrl_fb_classd"}, /* class D gain ctrl_fb_50k ctrl_fb_100k , */\ |
| 862 | { 0x62e1, "lownoisegain_mode"}, /* ctrl select mode , */\ |
| 863 | { 0x6305, "threshold_lvl"}, /* low noise gain switch trigger level , */\ |
| 864 | { 0x6365, "hold_time"}, /* ctrl hold time before low audio is reckoned to be low audio, */\ |
| 865 | { 0x6405, "lpm1_cal_offset"}, /* low power mode1 detector ctrl cal_offset from gain module , */\ |
| 866 | { 0x6465, "lpm1_zero_lvl"}, /* low power mode1 zero crossing detection level , */\ |
| 867 | { 0x64e1, "lpm1_mode"}, /* low power mode control , */\ |
| 868 | { 0x6505, "lpm1_threshold_lvl"}, /* low power mode1 amplitude trigger level , */\ |
| 869 | { 0x6565, "lpm1_hold_time"}, /* low power mode1 detector ctrl hold time before low audio is reckoned to be low audio, */\ |
| 870 | { 0x65c0, "disable_low_power_mode"}, /* low power mode1 detector control , */\ |
| 871 | { 0x6600, "dcdc_pfm20khz_limit"}, /* DCDC in PFM mode pwm mode is activated each 50us to force a pwm pulse, */\ |
| 872 | { 0x6611, "dcdc_ctrl_maxzercnt"}, /* DCDC. Number of zero current flags to count before going to pfm mode, */\ |
| 873 | { 0x6656, "dcdc_vbat_delta_detect"}, /* Threshold before booster is reacting on a delta Vbat (in PFM mode) by temporarily switching to PWM mode, */\ |
| 874 | { 0x66c0, "dcdc_ignore_vbat"}, /* Ignore an increase on Vbat , */\ |
| 875 | { 0x6700, "enbl_minion"}, /* Enables minion (small) power stage , */\ |
| 876 | { 0x6713, "vth_vddpvbat"}, /* select vddp-vbat thres signal , */\ |
| 877 | { 0x6750, "lpen_vddpvbat"}, /* select vddp-vbat filtred vs unfiltered compare , */\ |
| 878 | { 0x6801, "tdm_source_mapping"}, /* tdm source mapping , */\ |
| 879 | { 0x6821, "tdm_sourcea_frame_sel"}, /* Sensed value A , */\ |
| 880 | { 0x6841, "tdm_sourceb_frame_sel"}, /* Sensed value B , */\ |
| 881 | { 0x6881, "pdm_anc_sel"}, /* anc input , */\ |
| 882 | { 0x68a0, "anc_1scomplement"}, /* ANC one s complement , */\ |
| 883 | { 0x6901, "sam_mode"}, /* sam enable , */\ |
| 884 | { 0x6920, "sam_src"}, /* sam source , */\ |
| 885 | { 0x6931, "pdmdat_h_sel"}, /* pdm out value when pdm_clk is higth , */\ |
| 886 | { 0x6951, "pdmdat_l_sel"}, /* pdm out value when pdm_clk is low , */\ |
| 887 | { 0x6970, "sam_spkr_sel"}, /* ram output on mode sam and audio , */\ |
| 888 | { 0x6a02, "rst_min_vbat_delay"}, /* rst_min_vbat delay (nb fs) , */\ |
| 889 | { 0x6b00, "disable_auto_engage"}, /* disable auto engange , */\ |
| 890 | { 0x6b10, "sel_tdm_data_valid"}, /* select tdm valid for speaker subsystem , */\ |
| 891 | { 0x6c02, "ns_hp2ln_criterion"}, /* 0..7 zeroes at ns as threshold to swap from high_power to low_noise, */\ |
| 892 | { 0x6c32, "ns_ln2hp_criterion"}, /* 0..7 zeroes at ns as threshold to swap from low_noise to high_power, */\ |
| 893 | { 0x6c69, "spare_out"}, /* spare_out , */\ |
| 894 | { 0x6d0f, "spare_in"}, /* spare_in , */\ |
| 895 | { 0x6e00, "flag_lp_detect_mode0"}, /* low power mode 0 detection , */\ |
| 896 | { 0x6e10, "flag_lp_detect_mode1"}, /* low power mode 1 detection , */\ |
| 897 | { 0x6e20, "flag_low_amplitude"}, /* low amplitude detection , */\ |
| 898 | { 0x6e30, "flag_vddp_gt_vbat"}, /* vddp greater than vbat , */\ |
| 899 | { 0x6f02, "cursense_comp_delay"}, /* delay to allign compensation signal with current sense signal, */\ |
| 900 | { 0x6f40, "cursense_comp_sign"}, /* polarity of compensation for current sense , */\ |
| 901 | { 0x6f50, "enbl_cursense_comp"}, /* enable current sense compensation , */\ |
| 902 | { 0x6f60, "sel_clip_pwms"}, /* Select pwm clip flag , */\ |
| 903 | { 0x6f72, "pwms_clip_lvl"}, /* set the amount of pwm pulse that may be skipped before clip-flag is triggered, */\ |
| 904 | { 0x7002, "scnd_boost_voltage"}, /* Second boost voltage level , */\ |
| 905 | { 0x7033, "boost_cur"}, /* Max coil current , */\ |
| 906 | { 0x7071, "bst_slpcmplvl"}, /* Slope compensation current, represents LxF (inductance x frequency) value , */\ |
| 907 | { 0x7090, "boost_intel"}, /* Adaptive boost mode , */\ |
| 908 | { 0x70a0, "boost_speed"}, /* Soft ramp up/down , */\ |
| 909 | { 0x70e0, "dcdcoff_mode"}, /* DCDC on/off , */\ |
| 910 | { 0x70f0, "dcdc_pwmonly"}, /* DCDC PWM only mode , */\ |
| 911 | { 0x7104, "bst_drive"}, /* Binary coded drive setting for boost converter power stage, */\ |
| 912 | { 0x7151, "bst_scalecur"}, /* For testing direct control scale current , */\ |
| 913 | { 0x7174, "bst_slopecur"}, /* For testing direct control slope current , */\ |
| 914 | { 0x71c1, "bst_slope"}, /* Boost slope speed , */\ |
| 915 | { 0x71e0, "bst_bypass_bstcur"}, /* Bypass control for boost current settings , */\ |
| 916 | { 0x71f0, "bst_bypass_bstfoldback"}, /* Bypass control for boost foldback , */\ |
| 917 | { 0x7200, "enbl_bst_engage"}, /* Enable power stage dcdc controller , */\ |
| 918 | { 0x7210, "enbl_bst_hizcom"}, /* Enable hiz comparator , */\ |
| 919 | { 0x7220, "enbl_bst_peak2avg"}, /* Enable boost peak2avg functionality , */\ |
| 920 | { 0x7230, "enbl_bst_peakcur"}, /* Enable peak current , */\ |
| 921 | { 0x7240, "enbl_bst_power"}, /* Enable line of the powerstage , */\ |
| 922 | { 0x7250, "enbl_bst_slopecur"}, /* Enable bit of max-current dac , */\ |
| 923 | { 0x7260, "enbl_bst_voutcomp"}, /* Enable vout comparators , */\ |
| 924 | { 0x7270, "enbl_bst_voutcomp86"}, /* Enable vout-86 comparators , */\ |
| 925 | { 0x7280, "enbl_bst_voutcomp93"}, /* Enable vout-93 comparators , */\ |
| 926 | { 0x7290, "enbl_bst_windac"}, /* Enable window dac , */\ |
| 927 | { 0x72a5, "bst_windac"}, /* for testing direct control windac , */\ |
| 928 | { 0x7300, "boost_alg"}, /* Control for boost adaptive loop gain , */\ |
| 929 | { 0x7311, "boost_loopgain"}, /* DCDC boost loopgain setting , */\ |
| 930 | { 0x7331, "bst_freq"}, /* DCDC boost frequency control , */\ |
| 931 | { 0x7402, "frst_boost_voltage"}, /* 1st boost voltage level , */\ |
| 932 | { 0x7430, "boost_track"}, /* Boost algorithm selection, effective only when boost_intelligent is set to 1, */\ |
| 933 | { 0x7444, "boost_trip_lvl_1st"}, /* 1st Adaptive boost trip levels, effective only when DCIE is set to 1, */\ |
| 934 | { 0x7494, "boost_hold_time"}, /* Hold time for DCDC booster, effective only when boost_intelligent is set to 1, */\ |
| 935 | { 0x74e0, "sel_dcdc_envelope_8fs"}, /* Selection of data for adaptive boost algorithm, effective only when boost_intelligent is set to 1, */\ |
| 936 | { 0x74f0, "ignore_flag_voutcomp86"}, /* Ignore flag_voutcomp86 , */\ |
| 937 | { 0x7502, "track_decay"}, /* DCDC Boost decay speed after a peak value, effective only when boost_track is set to 1, */\ |
| 938 | { 0x7534, "boost_trip_lvl_2nd"}, /* 2nd Adaptive boost trip levels, effective only when DCIE is set to 1, */\ |
| 939 | { 0x7584, "boost_trip_lvl_track"}, /* Track Adaptive boost trip levels, effective only when boost_intelligent is set to 1, */\ |
| 940 | { 0x7620, "pga_test_ldo_bypass"}, /* bypass internal PGA LDO , */\ |
| 941 | { 0x8001, "sel_clk_cs"}, /* Current sense clock duty cycle control , */\ |
| 942 | { 0x8021, "micadc_speed"}, /* Current sense clock for MiCADC selection - 32/44.1/48 KHz Fs band only, */\ |
| 943 | { 0x8050, "cs_gain_control"}, /* Current sense gain control , */\ |
| 944 | { 0x8060, "cs_bypass_gc"}, /* Bypasses the CS gain correction , */\ |
| 945 | { 0x8087, "cs_gain"}, /* Current sense gain , */\ |
| 946 | { 0x8200, "enbl_cmfb"}, /* Current sense common mode feedback control , */\ |
| 947 | { 0x8210, "invertpwm"}, /* Current sense common mode feedback pwm invert control, */\ |
| 948 | { 0x8222, "cmfb_gain"}, /* Current sense common mode feedback control gain , */\ |
| 949 | { 0x8254, "cmfb_offset"}, /* Current sense common mode feedback control offset , */\ |
| 950 | { 0x82a0, "cs_sam_set"}, /* Enable SAM input for current sense , */\ |
| 951 | { 0x8305, "cs_ktemp"}, /* Current sense temperature compensation trimming (1 - VALUE*TEMP)*signal, */\ |
| 952 | { 0x8400, "cs_adc_bsoinv"}, /* Bitstream inversion for current sense ADC , */\ |
| 953 | { 0x8421, "cs_adc_hifreq"}, /* Frequency mode current sense ADC , */\ |
| 954 | { 0x8440, "cs_adc_nortz"}, /* Return to zero for current sense ADC , */\ |
| 955 | { 0x8453, "cs_adc_offset"}, /* Micadc ADC offset setting , */\ |
| 956 | { 0x8490, "cs_adc_slowdel"}, /* Select delay for current sense ADC (internal decision circuitry), */\ |
| 957 | { 0x84a4, "cs_adc_gain"}, /* Gain setting for current sense ADC (two's complement), */\ |
| 958 | { 0x8500, "cs_resonator_enable"}, /* Enable for resonator to improve SRN , */\ |
| 959 | { 0x8510, "cs_classd_tran_skip"}, /* Skip current sense connection during a classD amplifier transition, */\ |
| 960 | { 0x8530, "cs_inn_short"}, /* Short current sense negative to common mode , */\ |
| 961 | { 0x8540, "cs_inp_short"}, /* Short current sense positive to common mode , */\ |
| 962 | { 0x8550, "cs_ldo_bypass"}, /* Bypass current sense LDO , */\ |
| 963 | { 0x8560, "cs_ldo_pulldown"}, /* Pull down current sense LDO, only valid if left_enbl_cs_ldo is high, */\ |
| 964 | { 0x8574, "cs_ldo_voset"}, /* Current sense LDO voltage level setting (two's complement), */\ |
| 965 | { 0x8700, "enbl_cs_adc"}, /* Enable current sense ADC , */\ |
| 966 | { 0x8710, "enbl_cs_inn1"}, /* Enable connection of current sense negative1 , */\ |
| 967 | { 0x8720, "enbl_cs_inn2"}, /* Enable connection of current sense negative2 , */\ |
| 968 | { 0x8730, "enbl_cs_inp1"}, /* Enable connection of current sense positive1 , */\ |
| 969 | { 0x8740, "enbl_cs_inp2"}, /* Enable connection of current sense positive2 , */\ |
| 970 | { 0x8750, "enbl_cs_ldo"}, /* Enable current sense LDO , */\ |
| 971 | { 0x8760, "enbl_cs_nofloating_n"}, /* Connect current sense negative to gnda at transitions of booster or classd amplifiers. Otherwise floating (0), */\ |
| 972 | { 0x8770, "enbl_cs_nofloating_p"}, /* Connect current sense positive to gnda at transitions of booster or classd amplifiers. Otherwise floating (0), */\ |
| 973 | { 0x8780, "enbl_cs_vbatldo"}, /* Enable of current sense LDO , */\ |
| 974 | { 0x8800, "volsense_pwm_sel"}, /* Voltage sense PWM source selection control , */\ |
| 975 | { 0x8810, "vol_cur_sense_dc_offset"}, /* voltage and current sense decimator offset control, */\ |
| 976 | { 0xa007, "mtpkey1"}, /* 5Ah, 90d To access KEY1_Protected registers (Default for engineering), */\ |
| 977 | { 0xa107, "mtpkey2"}, /* MTP KEY2 register , */\ |
| 978 | { 0xa200, "key01_locked"}, /* Indicates KEY1 is locked , */\ |
| 979 | { 0xa210, "key02_locked"}, /* Indicates KEY2 is locked , */\ |
| 980 | { 0xa302, "mtp_man_address_in"}, /* MTP address from I2C register for read/writing mtp in manual single word mode, */\ |
| 981 | { 0xa330, "man_copy_mtp_to_iic"}, /* Start copying single word from mtp to I2C mtp register, */\ |
| 982 | { 0xa340, "man_copy_iic_to_mtp"}, /* Start copying single word from I2C mtp register to mtp, */\ |
| 983 | { 0xa350, "auto_copy_mtp_to_iic"}, /* Start copying all the data from mtp to I2C mtp registers, */\ |
| 984 | { 0xa360, "auto_copy_iic_to_mtp"}, /* Start copying data from I2C mtp registers to mtp , */\ |
| 985 | { 0xa400, "faim_set_clkws"}, /* Sets the faim controller clock wait state register, */\ |
| 986 | { 0xa410, "faim_sel_evenrows"}, /* All even rows of the faim are selected, active high, */\ |
| 987 | { 0xa420, "faim_sel_oddrows"}, /* All odd rows of the faim are selected, all rows in combination with sel_evenrows, */\ |
| 988 | { 0xa430, "faim_program_only"}, /* Skip the erase access at wr_faim command (write-program-marginread), */\ |
| 989 | { 0xa440, "faim_erase_only"}, /* Skip the program access at wr_faim command (write-erase-marginread), */\ |
| 990 | { 0xa50f, "mtp_man_data_out_msb"}, /* MSB word of MTP manual read data , */\ |
| 991 | { 0xa60f, "mtp_man_data_out_lsb"}, /* LSB word of MTP manual read data , */\ |
| 992 | { 0xa70f, "mtp_man_data_in_msb"}, /* MSB word of write data for MTP manual write , */\ |
| 993 | { 0xa80f, "mtp_man_data_in_lsb"}, /* LSB word of write data for MTP manual write , */\ |
| 994 | { 0xb010, "bypass_ocpcounter"}, /* Bypass OCP Counter , */\ |
| 995 | { 0xb020, "bypass_glitchfilter"}, /* Bypass glitch filter , */\ |
| 996 | { 0xb030, "bypass_ovp"}, /* Bypass OVP , */\ |
| 997 | { 0xb040, "bypass_uvp"}, /* Bypass UVP , */\ |
| 998 | { 0xb050, "bypass_otp"}, /* Bypass OTP , */\ |
| 999 | { 0xb060, "bypass_lost_clk"}, /* Bypass lost clock detector , */\ |
| 1000 | { 0xb070, "ctrl_vpalarm"}, /* vpalarm (uvp ovp handling) , */\ |
| 1001 | { 0xb087, "ocp_threshold"}, /* OCP threshold level , */\ |
| 1002 | { 0xb108, "ext_temp"}, /* External temperature (C) , */\ |
| 1003 | { 0xb190, "ext_temp_sel"}, /* Select temp Speaker calibration , */\ |
| 1004 | { 0xc000, "use_direct_ctrls"}, /* Direct control to overrule several functions for testing, */\ |
| 1005 | { 0xc010, "rst_datapath"}, /* Direct control for datapath reset , */\ |
| 1006 | { 0xc020, "rst_cgu"}, /* Direct control for cgu reset , */\ |
| 1007 | { 0xc038, "enbl_ref"}, /* Switch on the analog references, each part of the references can be switched on/off individually, */\ |
| 1008 | { 0xc0d0, "enbl_ringo"}, /* Enable the ring oscillator for test purpose , */\ |
| 1009 | { 0xc0e0, "use_direct_clk_ctrl"}, /* Direct clock control to overrule several functions for testing, */\ |
| 1010 | { 0xc0f0, "use_direct_pll_ctrl"}, /* Direct PLL control to overrule several functions for testing, */\ |
| 1011 | { 0xc100, "enbl_tsense"}, /* Temperature sensor enable control - I2C direct mode, */\ |
| 1012 | { 0xc110, "tsense_hibias"}, /* Bit to set the biasing in temp sensor to high , */\ |
| 1013 | { 0xc120, "enbl_flag_vbg"}, /* Enable flagging of bandgap out of control , */\ |
| 1014 | { 0xc20f, "abist_offset"}, /* Offset control for ABIST testing (two's complement), */\ |
| 1015 | { 0xc300, "bypasslatch"}, /* Bypass latch , */\ |
| 1016 | { 0xc311, "sourcea"}, /* Set OUTA to , */\ |
| 1017 | { 0xc331, "sourceb"}, /* Set OUTB to , */\ |
| 1018 | { 0xc350, "inverta"}, /* Invert pwma test signal , */\ |
| 1019 | { 0xc360, "invertb"}, /* Invert pwmb test signal , */\ |
| 1020 | { 0xc374, "pulselength"}, /* Pulse length setting test input for amplifier (clock d - k*2048*fs), */\ |
| 1021 | { 0xc3c0, "tdm_enable_loopback"}, /* TDM loopback test , */\ |
| 1022 | { 0xc400, "bst_bypasslatch"}, /* Bypass latch in boost converter , */\ |
| 1023 | { 0xc411, "bst_source"}, /* Sets the source of the pwmbst output to boost converter input for testing, */\ |
| 1024 | { 0xc430, "bst_invertb"}, /* Invert pwmbst test signal , */\ |
| 1025 | { 0xc444, "bst_pulselength"}, /* Pulse length setting test input for boost converter , */\ |
| 1026 | { 0xc490, "test_bst_ctrlsthv"}, /* Test mode for boost control stage , */\ |
| 1027 | { 0xc4a0, "test_bst_iddq"}, /* IDDQ testing in power stage of boost converter , */\ |
| 1028 | { 0xc4b0, "test_bst_rdson"}, /* RDSON testing - boost power stage , */\ |
| 1029 | { 0xc4c0, "test_bst_cvi"}, /* CVI testing - boost power stage , */\ |
| 1030 | { 0xc4d0, "test_bst_ocp"}, /* Boost OCP. For old ocp (ctrl_reversebst is 0), For new ocp (ctrl_reversebst is 1), */\ |
| 1031 | { 0xc4e0, "test_bst_sense"}, /* Test option for the sense NMOS in booster for current mode control., */\ |
| 1032 | { 0xc500, "test_cvi"}, /* Analog BIST, switch choose which transistor will be used as current source (also cross coupled sources possible), */\ |
| 1033 | { 0xc510, "test_discrete"}, /* Test function noise measurement , */\ |
| 1034 | { 0xc520, "test_iddq"}, /* Set the power stages in iddq mode for gate stress., */\ |
| 1035 | { 0xc540, "test_rdson"}, /* Analog BIST, switch to enable Rdson measurement , */\ |
| 1036 | { 0xc550, "test_sdelta"}, /* Analog BIST, noise test , */\ |
| 1037 | { 0xc570, "test_enbl_cs"}, /* Enable for digimux mode of current sense , */\ |
| 1038 | { 0xc5b0, "pga_test_enable"}, /* Enable PGA test mode , */\ |
| 1039 | { 0xc5c0, "pga_test_offset_enable"}, /* Enable PGA test offset , */\ |
| 1040 | { 0xc5d0, "pga_test_shortinput_enable"}, /* Enable PGA test shortinput , */\ |
| 1041 | { 0xc600, "enbl_pwm_dcc"}, /* Enables direct control of pwm duty cycle for DCDC power stage, */\ |
| 1042 | { 0xc613, "pwm_dcc_cnt"}, /* Control pwm duty cycle when enbl_pwm_dcc is 1 , */\ |
| 1043 | { 0xc650, "enbl_ldo_stress"}, /* Enable stress of internal supply voltages powerstages, */\ |
| 1044 | { 0xc707, "digimuxa_sel"}, /* DigimuxA input selection control routed to DATAO (see Digimux list for details), */\ |
| 1045 | { 0xc787, "digimuxb_sel"}, /* DigimuxB input selection control routed to INT (see Digimux list for details), */\ |
| 1046 | { 0xc807, "digimuxc_sel"}, /* DigimuxC input selection control routed to PDMDAT (see Digimux list for details), */\ |
| 1047 | { 0xc981, "int_ehs"}, /* Speed/load setting for INT IO cell, clk or data mode range (see SLIMMF IO cell datasheet), */\ |
| 1048 | { 0xc9c0, "hs_mode"}, /* I2C high speed mode control , */\ |
| 1049 | { 0xca00, "enbl_anamux1"}, /* Enable anamux1 , */\ |
| 1050 | { 0xca10, "enbl_anamux2"}, /* Enable anamux2 , */\ |
| 1051 | { 0xca20, "enbl_anamux3"}, /* Enable anamux3 , */\ |
| 1052 | { 0xca30, "enbl_anamux4"}, /* Enable anamux4 , */\ |
| 1053 | { 0xca74, "anamux1"}, /* Anamux selection control - anamux on TEST1 , */\ |
| 1054 | { 0xcb04, "anamux2"}, /* Anamux selection control - anamux on TEST2 , */\ |
| 1055 | { 0xcb54, "anamux3"}, /* Anamux selection control - anamux on TEST3 , */\ |
| 1056 | { 0xcba4, "anamux4"}, /* Anamux selection control - anamux on TEST4 , */\ |
| 1057 | { 0xcd05, "pll_seli"}, /* PLL SELI - I2C direct PLL control mode only , */\ |
| 1058 | { 0xcd64, "pll_selp"}, /* PLL SELP - I2C direct PLL control mode only , */\ |
| 1059 | { 0xcdb3, "pll_selr"}, /* PLL SELR - I2C direct PLL control mode only , */\ |
| 1060 | { 0xcdf0, "pll_frm"}, /* PLL free running mode control; 1 in TCB direct control mode, else this control bit, */\ |
| 1061 | { 0xce09, "pll_ndec"}, /* PLL NDEC - I2C direct PLL control mode only , */\ |
| 1062 | { 0xcea0, "pll_mdec_msb"}, /* MSB of pll_mdec - I2C direct PLL control mode only, */\ |
| 1063 | { 0xceb0, "enbl_pll"}, /* Enables PLL in I2C direct PLL control mode only , */\ |
| 1064 | { 0xcec0, "enbl_osc"}, /* Enables OSC1M in I2C direct control mode only , */\ |
| 1065 | { 0xced0, "pll_bypass"}, /* PLL bypass control in I2C direct PLL control mode only, */\ |
| 1066 | { 0xcee0, "pll_directi"}, /* PLL directi control in I2C direct PLL control mode only, */\ |
| 1067 | { 0xcef0, "pll_directo"}, /* PLL directo control in I2C direct PLL control mode only, */\ |
| 1068 | { 0xcf0f, "pll_mdec_lsb"}, /* Bits 15..0 of PLL MDEC are I2C direct PLL control mode only, */\ |
| 1069 | { 0xd006, "pll_pdec"}, /* PLL PDEC - I2C direct PLL control mode only , */\ |
| 1070 | { 0xd10f, "tsig_freq_lsb"}, /* Internal sinus test generator frequency control , */\ |
| 1071 | { 0xd202, "tsig_freq_msb"}, /* Select internal sinus test generator, frequency control msb bits, */\ |
| 1072 | { 0xd230, "inject_tsig"}, /* Control bit to switch to internal sinus test generator, */\ |
| 1073 | { 0xd283, "tsig_gain"}, /* Test signal gain , */\ |
| 1074 | { 0xd300, "adc10_reset"}, /* Reset for ADC10 - I2C direct control mode , */\ |
| 1075 | { 0xd311, "adc10_test"}, /* Test mode selection signal for ADC10 - I2C direct control mode, */\ |
| 1076 | { 0xd332, "adc10_sel"}, /* Select the input to convert for ADC10 - I2C direct control mode, */\ |
| 1077 | { 0xd364, "adc10_prog_sample"}, /* ADC10 program sample setting - I2C direct control mode, */\ |
| 1078 | { 0xd3b0, "adc10_enbl"}, /* Enable ADC10 - I2C direct control mode , */\ |
| 1079 | { 0xd3c0, "bypass_lp_vbat"}, /* Bypass control for Low pass filter in batt sensor , */\ |
| 1080 | { 0xd409, "data_adc10_tempbat"}, /* ADC 10 data output data for testing , */\ |
| 1081 | { 0xd507, "ctrl_digtoana_hidden"}, /* Spare digital to analog control bits - Hidden , */\ |
| 1082 | { 0xd580, "enbl_clk_out_of_range"}, /* Clock out of range , */\ |
| 1083 | { 0xd621, "clkdiv_audio_sel"}, /* Audio clock divider selection in direct clock control mode, */\ |
| 1084 | { 0xd641, "clkdiv_muxa_sel"}, /* DCDC MUXA clock divider selection in direct clock control mode, */\ |
| 1085 | { 0xd661, "clkdiv_muxb_sel"}, /* DCDC MUXB clock divider selection in direct clock control mode, */\ |
| 1086 | { 0xd701, "pdmdat_ehs"}, /* Speed/load setting for PDMDAT IO cell, clk or data mode range (see SLIMMF IO cell datasheet), */\ |
| 1087 | { 0xd721, "datao_ehs"}, /* Speed/load setting for DATAO IO cell, clk or data mode range (see SLIMMF IO cell datasheet), */\ |
| 1088 | { 0xd740, "bck_ehs"}, /* Speed/load setting for DATAO IO cell, clk or data mode range (see SLIMMF IO cell datasheet), */\ |
| 1089 | { 0xd750, "datai_ehs"}, /* Speed/load setting for DATAO IO cell, clk or data mode range (see SLIMMF IO cell datasheet), */\ |
| 1090 | { 0xd760, "pdmclk_ehs"}, /* Speed/load setting for DATAO IO cell, clk or data mode range (see SLIMMF IO cell datasheet), */\ |
| 1091 | { 0xd800, "source_in_testmode"}, /* tdm source in test mode (return only current and voltage sense), */\ |
| 1092 | { 0xd810, "gainatt_feedback"}, /* gainatt feedback to tdm , */\ |
| 1093 | { 0xd822, "test_parametric_io"}, /* test io parametric , */\ |
| 1094 | { 0xd850, "ctrl_bst_clk_lp1"}, /* boost clock control in low power mode1 , */\ |
| 1095 | { 0xd861, "test_spare_out1"}, /* test spare out 1 , */\ |
| 1096 | { 0xd880, "bst_dcmbst"}, /* dcm boost , */\ |
| 1097 | { 0xd890, "pdm_loopback"}, /* pdm loop back to tdm , */\ |
| 1098 | { 0xd8a1, "force_pga_clock"}, /* force pga clock , */\ |
| 1099 | { 0xd8c3, "test_spare_out2"}, /* test spare out 1 , */\ |
| 1100 | { 0xee0f, "sw_profile"}, /* Software profile data , */\ |
| 1101 | { 0xef0f, "sw_vstep"}, /* Software vstep information , */\ |
| 1102 | { 0xf000, "calibration_onetime"}, /* Calibration schedule , */\ |
| 1103 | { 0xf010, "calibr_ron_done"}, /* Calibration Ron executed , */\ |
| 1104 | { 0xf020, "calibr_dcdc_api_calibrate"}, /* Calibration current limit DCDC , */\ |
| 1105 | { 0xf030, "calibr_dcdc_delta_sign"}, /* Sign bit for delta calibration current limit DCDC , */\ |
| 1106 | { 0xf042, "calibr_dcdc_delta"}, /* Calibration delta current limit DCDC , */\ |
| 1107 | { 0xf078, "calibr_speaker_info"}, /* Reserved space for allowing customer to store speaker information, */\ |
| 1108 | { 0xf105, "calibr_vout_offset"}, /* DCDC offset calibration 2's complement (key1 protected), */\ |
| 1109 | { 0xf163, "spare_mpt1_9_6"}, /* HW gain module - left channel (2's complement) , */\ |
| 1110 | { 0xf1a5, "spare_mpt1_15_10"}, /* Offset for amplifier, HW gain module - left channel (2's complement), */\ |
| 1111 | { 0xf203, "calibr_gain"}, /* HW gain module (2's complement) , */\ |
| 1112 | { 0xf245, "calibr_offset"}, /* Offset for amplifier, HW gain module (2's complement), */\ |
| 1113 | { 0xf2a3, "spare_mpt2_13_10"}, /* Trimming of LDO (2.7V) , */\ |
| 1114 | { 0xf307, "spare_mpt3_7_0"}, /* SPARE , */\ |
| 1115 | { 0xf387, "calibr_gain_cs"}, /* Current sense gain (signed two's complement format), */\ |
| 1116 | { 0xf40f, "spare_mtp4_15_0"}, /* SPARE , */\ |
| 1117 | { 0xf50f, "calibr_R25C_R"}, /* Ron resistance of speaker coil , */\ |
| 1118 | { 0xf606, "spare_mpt6_6_0"}, /* SPARE , */\ |
| 1119 | { 0xf686, "spare_mpt6_14_8"}, /* Offset of left amplifier level shifter B , */\ |
| 1120 | { 0xf706, "ctrl_offset_a"}, /* Offset of level shifter A , */\ |
| 1121 | { 0xf786, "ctrl_offset_b"}, /* Offset of amplifier level shifter B , */\ |
| 1122 | { 0xf806, "htol_iic_addr"}, /* 7-bit I2C address to be used during HTOL testing , */\ |
| 1123 | { 0xf870, "htol_iic_addr_en"}, /* HTOL I2C address enable control , */\ |
| 1124 | { 0xf884, "calibr_temp_offset"}, /* Temperature offset 2's compliment (key1 protected), */\ |
| 1125 | { 0xf8d2, "calibr_temp_gain"}, /* Temperature gain 2's compliment (key1 protected) , */\ |
| 1126 | { 0xf900, "mtp_lock_dcdcoff_mode"}, /* Disable function dcdcoff_mode , */\ |
| 1127 | { 0xf910, "disable_sam_mode"}, /* Disable same mode , */\ |
| 1128 | { 0xf920, "mtp_lock_bypass_clipper"}, /* Disable function bypass_clipper , */\ |
| 1129 | { 0xf930, "mtp_lock_max_dcdc_voltage"}, /* Disable programming of max dcdc boost voltage , */\ |
| 1130 | { 0xf943, "calibr_vbg_trim"}, /* Bandgap trimming control , */\ |
| 1131 | { 0xf980, "mtp_enbl_amp_in_state_alarm"}, /* Enbl_amp in alarm state , */\ |
| 1132 | { 0xf990, "mtp_enbl_pwm_delay_clock_gating"}, /* pwm delay clock auto gating , */\ |
| 1133 | { 0xf9a0, "mtp_enbl_ocp_clock_gating"}, /* ocpclock auto gating , */\ |
| 1134 | { 0xf9b0, "mtp_gate_cgu_clock_for_test"}, /* cgu test clock control , */\ |
| 1135 | { 0xf9c3, "spare_mtp9_15_12"}, /* MTP-control FW - See Firmware I2C API document for details, */\ |
| 1136 | { 0xfa0f, "mtpdataA"}, /* MTPdataA (key1 protected) , */\ |
| 1137 | { 0xfb0f, "mtpdataB"}, /* MTPdataB (key1 protected) , */\ |
| 1138 | { 0xfc0f, "mtpdataC"}, /* MTPdataC (key1 protected) , */\ |
| 1139 | { 0xfd0f, "mtpdataD"}, /* MTPdataD (key1 protected) , */\ |
| 1140 | { 0xfe0f, "mtpdataE"}, /* MTPdataE (key1 protected) , */\ |
| 1141 | { 0xff07, "calibr_osc_delta_ndiv"}, /* Calibration data for OSC1M, signed number representation, */\ |
| 1142 | { 0xffff, "Unknown bitfield enum" } /* not found */\ |
| 1143 | }; |
| 1144 | |
| 1145 | enum tfa9872_irq { |
| 1146 | tfa9872_irq_stvdds = 0, |
| 1147 | tfa9872_irq_stplls = 1, |
| 1148 | tfa9872_irq_stotds = 2, |
| 1149 | tfa9872_irq_stovds = 3, |
| 1150 | tfa9872_irq_stuvds = 4, |
| 1151 | tfa9872_irq_stclks = 5, |
| 1152 | tfa9872_irq_stmtpb = 6, |
| 1153 | tfa9872_irq_stnoclk = 7, |
| 1154 | tfa9872_irq_stsws = 10, |
| 1155 | tfa9872_irq_stamps = 12, |
| 1156 | tfa9872_irq_starefs = 13, |
| 1157 | tfa9872_irq_stadccr = 14, |
| 1158 | tfa9872_irq_stbstcu = 16, |
| 1159 | tfa9872_irq_stbsthi = 17, |
| 1160 | tfa9872_irq_stbstoc = 18, |
| 1161 | tfa9872_irq_stbstpkcur = 19, |
| 1162 | tfa9872_irq_stbstvc = 20, |
| 1163 | tfa9872_irq_stbst86 = 21, |
| 1164 | tfa9872_irq_stbst93 = 22, |
| 1165 | tfa9872_irq_stocpr = 25, |
| 1166 | tfa9872_irq_stmwsrc = 26, |
| 1167 | tfa9872_irq_stmwsmu = 28, |
| 1168 | tfa9872_irq_stclkoor = 31, |
| 1169 | tfa9872_irq_sttdmer = 32, |
| 1170 | tfa9872_irq_stclpr = 34, |
| 1171 | tfa9872_irq_stlp0 = 36, |
| 1172 | tfa9872_irq_stlp1 = 37, |
| 1173 | tfa9872_irq_stla = 38, |
| 1174 | tfa9872_irq_stvddph = 39, |
| 1175 | tfa9872_irq_max = 40, |
| 1176 | tfa9872_irq_all = -1 /* all irqs */}; |
| 1177 | |
| 1178 | #define TFA9872_IRQ_NAMETABLE static tfaIrqName_t Tfa9872IrqNames[] = {\ |
| 1179 | { 0, "STVDDS"},\ |
| 1180 | { 1, "STPLLS"},\ |
| 1181 | { 2, "STOTDS"},\ |
| 1182 | { 3, "STOVDS"},\ |
| 1183 | { 4, "STUVDS"},\ |
| 1184 | { 5, "STCLKS"},\ |
| 1185 | { 6, "STMTPB"},\ |
| 1186 | { 7, "STNOCLK"},\ |
| 1187 | { 8, "8"},\ |
| 1188 | { 9, "9"},\ |
| 1189 | { 10, "STSWS"},\ |
| 1190 | { 11, "11"},\ |
| 1191 | { 12, "STAMPS"},\ |
| 1192 | { 13, "STAREFS"},\ |
| 1193 | { 14, "STADCCR"},\ |
| 1194 | { 15, "15"},\ |
| 1195 | { 16, "STBSTCU"},\ |
| 1196 | { 17, "STBSTHI"},\ |
| 1197 | { 18, "STBSTOC"},\ |
| 1198 | { 19, "STBSTPKCUR"},\ |
| 1199 | { 20, "STBSTVC"},\ |
| 1200 | { 21, "STBST86"},\ |
| 1201 | { 22, "STBST93"},\ |
| 1202 | { 23, "23"},\ |
| 1203 | { 24, "24"},\ |
| 1204 | { 25, "STOCPR"},\ |
| 1205 | { 26, "STMWSRC"},\ |
| 1206 | { 27, "27"},\ |
| 1207 | { 28, "STMWSMU"},\ |
| 1208 | { 29, "29"},\ |
| 1209 | { 30, "30"},\ |
| 1210 | { 31, "STCLKOOR"},\ |
| 1211 | { 32, "STTDMER"},\ |
| 1212 | { 33, "33"},\ |
| 1213 | { 34, "STCLPR"},\ |
| 1214 | { 35, "35"},\ |
| 1215 | { 36, "STLP0"},\ |
| 1216 | { 37, "STLP1"},\ |
| 1217 | { 38, "STLA"},\ |
| 1218 | { 39, "STVDDPH"},\ |
| 1219 | { 40, "40"},\ |
| 1220 | }; |
| 1221 | #endif /* _TFA9872_TFAFIELDNAMES_H */ |