1 /* SPDX-License-Identifier: GPL-2.0-only 2 */ 3 4 /* 5 * soc_sdw_rt_amp_coeff_tables.h - related coefficients for RTK amplifier parameters 6 */ 7 8 #ifndef SND_SOC_SDW_RT_SDW_AMP_COEFF_H 9 #define SND_SOC_SDW_RT_SDW_AMP_COEFF_H 10 11 #define RT1308_MAX_BQ_REG 480 12 #define RT1316_MAX_BQ_REG 580 13 14 static const u8 __maybe_unused dell_0a5d_bq_params[] = { 15 0xb0, 0xc5, 0x00, /* address: 0xc5b0; data: 0x00 */ 16 0xb1, 0xc5, 0x32, 17 0xb2, 0xc5, 0x44, 18 0xb3, 0xc5, 0x19, 19 0xc0, 0xc5, 0x04, 20 0xc1, 0xc5, 0x00, 21 0xc2, 0xc5, 0x00, 22 0xc3, 0xc5, 0x00, 23 0xd0, 0xc5, 0x02, 24 0xd1, 0xc5, 0x00, 25 0xd2, 0xc5, 0x00, 26 0xd3, 0xc5, 0x00, 27 0xe0, 0xc5, 0x01, 28 0xe1, 0xc5, 0xe8, 29 0xe2, 0xc5, 0x5f, 30 0xe3, 0xc5, 0x8a, 31 0xf0, 0xc5, 0x1f, 32 0xf1, 0xc5, 0x4e, 33 0xf2, 0xc5, 0x90, 34 0xf3, 0xc5, 0x11, 35 0x50, 0xc6, 0x01, 36 0x51, 0xc6, 0xff, 37 0x52, 0xc6, 0x45, 38 0x53, 0xc6, 0x41, 39 0x60, 0xc6, 0x1c, 40 0x61, 0xc6, 0x00, 41 0x62, 0xc6, 0x00, 42 0x63, 0xc6, 0x00, 43 0x70, 0xc6, 0x02, 44 0x71, 0xc6, 0x00, 45 0x72, 0xc6, 0x00, 46 0x73, 0xc6, 0x00, 47 0x80, 0xc6, 0x03, 48 0x81, 0xc6, 0xfe, 49 0x82, 0xc6, 0x89, 50 0x83, 0xc6, 0xfa, 51 0x90, 0xc6, 0x1e, 52 0x91, 0xc6, 0x01, 53 0x92, 0xc6, 0x74, 54 0x93, 0xc6, 0xf6, 55 0x00, 0xc6, 0x01, 56 0x01, 0xc6, 0xd9, 57 0x02, 0xc6, 0xfb, 58 0x03, 0xc6, 0xc4, 59 0x10, 0xc6, 0x1c, 60 0x11, 0xc6, 0x00, 61 0x12, 0xc6, 0x00, 62 0x13, 0xc6, 0x00, 63 0x20, 0xc6, 0x02, 64 0x21, 0xc6, 0x00, 65 0x22, 0xc6, 0x00, 66 0x23, 0xc6, 0x00, 67 0x30, 0xc6, 0x03, 68 0x31, 0xc6, 0xaf, 69 0x32, 0xc6, 0x23, 70 0x33, 0xc6, 0xcb, 71 0x40, 0xc6, 0x1e, 72 0x41, 0xc6, 0x47, 73 0x42, 0xc6, 0x34, 74 0x43, 0xc6, 0xba, 75 0xa0, 0xc6, 0x01, 76 0xa1, 0xc6, 0xff, 77 0xa2, 0xc6, 0x45, 78 0xa3, 0xc6, 0x41, 79 0xb0, 0xc6, 0x1c, 80 0xb1, 0xc6, 0x00, 81 0xb2, 0xc6, 0x00, 82 0xb3, 0xc6, 0x00, 83 0xc0, 0xc6, 0x02, 84 0xc1, 0xc6, 0x00, 85 0xc2, 0xc6, 0x00, 86 0xc3, 0xc6, 0x00, 87 0xd0, 0xc6, 0x03, 88 0xd1, 0xc6, 0xfe, 89 0xd2, 0xc6, 0x89, 90 0xd3, 0xc6, 0xfa, 91 0xe0, 0xc6, 0x1e, 92 0xe1, 0xc6, 0x01, 93 0xe2, 0xc6, 0x74, 94 0xe3, 0xc6, 0xf6, 95 0x40, 0xc5, 0x0d, 96 0x30, 0xc7, 0x15, 97 0x31, 0xc7, 0x7c, 98 0x32, 0xc7, 0x0f, 99 0x33, 0xc7, 0xa0, 100 0x40, 0xc7, 0x00, 101 0x41, 0xc7, 0x00, 102 0x42, 0xc7, 0xf8, 103 0x43, 0xc7, 0xf8, 104 0x50, 0xc7, 0x00, 105 0x51, 0xc7, 0x00, 106 0x52, 0xc7, 0x00, 107 0x53, 0xc7, 0x01, 108 0x90, 0xc7, 0x00, 109 0x91, 0xc7, 0x14, 110 0x92, 0xc7, 0x00, 111 0x93, 0xc7, 0x14, 112 0xa0, 0xc7, 0x00, 113 0xa1, 0xc7, 0x00, 114 0xa2, 0xc7, 0xf8, 115 0xa3, 0xc7, 0xf8, 116 0xb0, 0xc7, 0x00, 117 0xb1, 0xc7, 0x00, 118 0xb2, 0xc7, 0x00, 119 0xb3, 0xc7, 0x00, 120 0x60, 0xc7, 0x03, 121 0x61, 0xc7, 0xe8, 122 0x62, 0xc7, 0x03, 123 0x63, 0xc7, 0xb6, 124 0x70, 0xc7, 0x00, 125 0x71, 0xc7, 0x00, 126 0x72, 0xc7, 0xf8, 127 0x73, 0xc7, 0xf8, 128 0x80, 0xc7, 0x00, 129 0x81, 0xc7, 0x00, 130 0x82, 0xc7, 0x00, 131 0x83, 0xc7, 0x00, 132 0xc0, 0xc7, 0x00, 133 0xc1, 0xc7, 0x14, 134 0xc2, 0xc7, 0x00, 135 0xc3, 0xc7, 0x14, 136 0xd0, 0xc7, 0x00, 137 0xd1, 0xc7, 0x00, 138 0xd2, 0xc7, 0xf8, 139 0xd3, 0xc7, 0xf8, 140 0xe0, 0xc7, 0x00, 141 0xe1, 0xc7, 0x00, 142 0xe2, 0xc7, 0x00, 143 0xe3, 0xc7, 0x00, 144 0x60, 0xc5, 0x02, 145 0x61, 0xc5, 0x00, 146 0x62, 0xc5, 0x00, 147 0x63, 0xc5, 0x00, 148 0x70, 0xc5, 0x02, 149 0x71, 0xc5, 0x00, 150 0x72, 0xc5, 0x00, 151 0x73, 0xc5, 0x00, 152 0x80, 0xc5, 0x02, 153 0x81, 0xc5, 0x00, 154 0x82, 0xc5, 0x00, 155 0x83, 0xc5, 0x00, 156 0x90, 0xc5, 0x02, 157 0x91, 0xc5, 0x00, 158 0x92, 0xc5, 0x00, 159 0x93, 0xc5, 0x00, 160 0x50, 0xc5, 0x01, 161 }; 162 163 static const u8 __maybe_unused dell_0b00_bq_params[] = { 164 0x03, 0xc2, 0x00, 165 0x04, 0xc2, 0xb2, 166 0x05, 0xc2, 0xe0, 167 0x06, 0xc2, 0x3a, 168 0x07, 0xc2, 0x01, 169 0x08, 0xc2, 0x65, 170 0x09, 0xc2, 0xc0, 171 0x0a, 0xc2, 0x75, 172 0x0b, 0xc2, 0x00, 173 0x0c, 0xc2, 0xb2, 174 0x0d, 0xc2, 0xe0, 175 0x0e, 0xc2, 0x3a, 176 0x0f, 0xc2, 0xf7, 177 0x10, 0xc2, 0x4d, 178 0x11, 0xc2, 0x5b, 179 0x12, 0xc2, 0xe9, 180 0x13, 0xc2, 0x03, 181 0x14, 0xc2, 0x7e, 182 0x15, 0xc2, 0x25, 183 0x16, 0xc2, 0x01, 184 0x17, 0xc2, 0x07, 185 0x18, 0xc2, 0xfd, 186 0x19, 0xc2, 0x15, 187 0x1a, 0xc2, 0x04, 188 0x1b, 0xc2, 0xf0, 189 0x1c, 0xc2, 0x05, 190 0x1d, 0xc2, 0xd5, 191 0x1e, 0xc2, 0xf7, 192 0x1f, 0xc2, 0x07, 193 0x20, 0xc2, 0xfd, 194 0x21, 0xc2, 0x15, 195 0x22, 0xc2, 0x04, 196 0x23, 0xc2, 0xf0, 197 0x24, 0xc2, 0x05, 198 0x25, 0xc2, 0xd8, 199 0x26, 0xc2, 0x17, 200 0x27, 0xc2, 0x07, 201 0x28, 0xc2, 0xfa, 202 0x29, 0xc2, 0x2c, 203 0x2a, 0xc2, 0x29, 204 0x2b, 0xc2, 0x07, 205 0x2c, 0xc2, 0x74, 206 0x2d, 0xc2, 0xe0, 207 0x2e, 0xc2, 0x33, 208 0x2f, 0xc2, 0xf1, 209 0x30, 0xc2, 0x16, 210 0x31, 0xc2, 0x3f, 211 0x32, 0xc2, 0x9b, 212 0x33, 0xc2, 0x07, 213 0x34, 0xc2, 0x74, 214 0x35, 0xc2, 0xe0, 215 0x36, 0xc2, 0x33, 216 0x37, 0xc2, 0xf1, 217 0x38, 0xc2, 0x29, 218 0x39, 0xc2, 0xb0, 219 0x3a, 0xc2, 0x4d, 220 0x3b, 0xc2, 0x06, 221 0x3c, 0xc2, 0xfd, 222 0x3d, 0xc2, 0x31, 223 0x3e, 0xc2, 0x18, 224 0x3f, 0xc2, 0x07, 225 0x40, 0xc2, 0xfd, 226 0x41, 0xc2, 0x15, 227 0x42, 0xc2, 0x04, 228 0x43, 0xc2, 0xf0, 229 0x44, 0xc2, 0x05, 230 0x45, 0xc2, 0xd5, 231 0x46, 0xc2, 0xf7, 232 0x47, 0xc2, 0x07, 233 0x48, 0xc2, 0xfd, 234 0x49, 0xc2, 0x15, 235 0x4a, 0xc2, 0x04, 236 0x4b, 0xc2, 0xf0, 237 0x4c, 0xc2, 0x05, 238 0x4d, 0xc2, 0xd8, 239 0x4e, 0xc2, 0x17, 240 0x4f, 0xc2, 0x07, 241 0x50, 0xc2, 0xfa, 242 0x51, 0xc2, 0x2c, 243 0x52, 0xc2, 0x29, 244 0x0b, 0xc0, 0x30, 245 0x80, 0xc3, 0x13, 246 0x81, 0xc3, 0x88, 247 0x82, 0xc3, 0x17, 248 0x83, 0xc3, 0x70, 249 0x84, 0xc3, 0x00, 250 0x85, 0xc3, 0x00, 251 0x86, 0xc3, 0xff, 252 0x87, 0xc3, 0xee, 253 0x88, 0xc3, 0x02, 254 0x92, 0xc3, 0x00, 255 0x93, 0xc3, 0x14, 256 0x94, 0xc3, 0x00, 257 0x95, 0xc3, 0x14, 258 0x96, 0xc3, 0x00, 259 0x97, 0xc3, 0x00, 260 0x98, 0xc3, 0x00, 261 0x99, 0xc3, 0x00, 262 0x9a, 0xc3, 0x01, 263 0x89, 0xc3, 0x03, 264 0x8a, 0xc3, 0xe8, 265 0x8b, 0xc3, 0x03, 266 0x8c, 0xc3, 0xb6, 267 0x8d, 0xc3, 0x00, 268 0x8e, 0xc3, 0x00, 269 0x8f, 0xc3, 0xff, 270 0x90, 0xc3, 0xee, 271 0x91, 0xc3, 0x01, 272 0x9b, 0xc3, 0x00, 273 0x9c, 0xc3, 0x14, 274 0x9d, 0xc3, 0x00, 275 0x9e, 0xc3, 0x14, 276 0x9f, 0xc3, 0x00, 277 0xa0, 0xc3, 0x00, 278 0xa1, 0xc3, 0x00, 279 0xa2, 0xc3, 0x00, 280 0xa3, 0xc3, 0x01, 281 0x61, 0xc2, 0x08, 282 0x62, 0xc2, 0x00, 283 0x63, 0xc2, 0x00, 284 0x64, 0xc2, 0x00, 285 0x65, 0xc2, 0x08, 286 0x66, 0xc2, 0x00, 287 0x67, 0xc2, 0x00, 288 0x68, 0xc2, 0x00, 289 0x69, 0xc2, 0x08, 290 0x6a, 0xc2, 0x00, 291 0x6b, 0xc2, 0x00, 292 0x6c, 0xc2, 0x00, 293 0x6d, 0xc2, 0x08, 294 0x6e, 0xc2, 0x00, 295 0x6f, 0xc2, 0x00, 296 0x70, 0xc2, 0x00, 297 0x00, 0xc2, 0xc0, 298 }; 299 300 #endif 301