Skip to content

Commit e727aea

Browse files
committed
ASoC: tas2783A: update default init writes
Signed-off-by: Niranjan H Y <niranjan.hy@ti.com>
1 parent 069c229 commit e727aea

1 file changed

Lines changed: 1 addition & 53 deletions

File tree

sound/soc/codecs/tas2783-sdw.c

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ static const struct reg_default tas2783_reg_default[] = {
306306
};
307307

308308
static const struct reg_sequence tas2783_init_seq[] = {
309-
REG_SEQ0(SDW_SDCA_CTL(1, TAS2783_SDCA_ENT_PPU21, 0x10, 0x00), 0x04),
309+
REG_SEQ0(SDW_SDCA_CTL(1, TAS2783_SDCA_ENT_PPU21, 0x10, 0x00), 0x01),
310310
REG_SEQ0(0x00800418, 0x00),
311311
REG_SEQ0(0x00800419, 0x00),
312312
REG_SEQ0(0x0080041a, 0x00),
@@ -316,78 +316,26 @@ static const struct reg_sequence tas2783_init_seq[] = {
316316
REG_SEQ0(0x0080042a, 0x00),
317317
REG_SEQ0(0x0080042b, 0x00),
318318
REG_SEQ0(SDW_SDCA_CTL(1, TAS2783_SDCA_ENT_FU23, 0x1, 0x00), 0x00),
319-
REG_SEQ0(0x0080005c, 0xD9),
320-
REG_SEQ0(0x00800082, 0x20),
321-
REG_SEQ0(0x008000a1, 0x00),
322-
REG_SEQ0(0x00800097, 0xc8),
323-
REG_SEQ0(0x00800099, 0x20),
324-
REG_SEQ0(0x008000c7, 0xaa),
325-
REG_SEQ0(0x008000b5, 0x74),
326-
REG_SEQ0(0x00800082, 0x20),
327-
REG_SEQ0(0x00807e8d, 0x0d),
328-
REG_SEQ0(0x00807eb9, 0x53),
329-
REG_SEQ0(0x00807ebe, 0x42),
330-
REG_SEQ0(0x00807ec5, 0x37),
331-
REG_SEQ0(0x00800066, 0x92),
332-
REG_SEQ0(0x00800003, 0x28),
333319
REG_SEQ0(0x00800004, 0x21),
334320
REG_SEQ0(0x00800005, 0x41),
335321
REG_SEQ0(0x00800006, 0x00),
336322
REG_SEQ0(0x00800007, 0x20),
337-
REG_SEQ0(0x0080000c, 0x10),
338-
REG_SEQ0(0x00800013, 0x08),
339323
REG_SEQ0(0x00800015, 0x00),
340-
REG_SEQ0(0x00800017, 0x80),
341-
REG_SEQ0(0x0080001a, 0x00),
342-
REG_SEQ0(0x0080001b, 0x22),
343-
REG_SEQ0(0x0080001c, 0x36),
344-
REG_SEQ0(0x0080001d, 0x01),
345-
REG_SEQ0(0x0080001f, 0x00),
346-
REG_SEQ0(0x00800020, 0x2e),
347-
REG_SEQ0(0x00800034, 0x06),
348-
REG_SEQ0(0x00800035, 0xb9),
349324
REG_SEQ0(0x00800036, 0xad),
350325
REG_SEQ0(0x00800037, 0xa8),
351-
REG_SEQ0(0x00800038, 0x00),
352-
REG_SEQ0(0x0080003b, 0xfc),
353-
REG_SEQ0(0x0080003d, 0xdd),
354-
REG_SEQ0(0x00800040, 0xf6),
355-
REG_SEQ0(0x00800041, 0x14),
356-
REG_SEQ0(0x0080005c, 0x19),
357-
REG_SEQ0(0x0080005d, 0x80),
358-
REG_SEQ0(0x00800063, 0x48),
359-
REG_SEQ0(0x00800065, 0x08),
360-
REG_SEQ0(0x00800067, 0x00),
361-
REG_SEQ0(0x0080006a, 0x12),
362326
REG_SEQ0(0x0080006b, 0x7b),
363327
REG_SEQ0(0x0080006c, 0x00),
364328
REG_SEQ0(0x0080006d, 0x00),
365329
REG_SEQ0(0x0080006e, 0x1a),
366330
REG_SEQ0(0x0080006f, 0x00),
367-
REG_SEQ0(0x00800070, 0x96),
368331
REG_SEQ0(0x00800071, 0x02),
369-
REG_SEQ0(0x00800073, 0x08),
370-
REG_SEQ0(0x00800075, 0xe0),
371-
REG_SEQ0(0x0080007a, 0x60),
372-
REG_SEQ0(0x008000bd, 0x00),
373332
REG_SEQ0(0x008000be, 0x00),
374333
REG_SEQ0(0x008000bf, 0x00),
375334
REG_SEQ0(0x008000c0, 0x00),
376335
REG_SEQ0(0x008000c1, 0x00),
377336
REG_SEQ0(0x008000c2, 0x00),
378337
REG_SEQ0(0x008000c3, 0x00),
379338
REG_SEQ0(0x008000c4, 0x00),
380-
REG_SEQ0(0x008000c5, 0x00),
381-
REG_SEQ0(0x00800008, 0x49),
382-
REG_SEQ0(0x00800009, 0x02),
383-
REG_SEQ0(0x0080000a, 0x1a),
384-
REG_SEQ0(0x0080000d, 0x93),
385-
REG_SEQ0(0x0080000e, 0x82),
386-
REG_SEQ0(0x0080000f, 0x42),
387-
REG_SEQ0(0x00800010, 0x84),
388-
REG_SEQ0(0x00800014, 0x0a),
389-
REG_SEQ0(0x00800016, 0x00),
390-
REG_SEQ0(0x00800060, 0x21),
391339
};
392340

393341
static int tas2783_sdca_mbq_size(struct device *dev, u32 reg)

0 commit comments

Comments
 (0)