]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: tas2783A: update default init writes
authorNiranjan H Y <niranjan.hy@ti.com>
Mon, 15 Dec 2025 15:32:14 +0000 (21:02 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 18 Dec 2025 08:21:46 +0000 (08:21 +0000)
  Remove unwanted initialistaion writes to the
device which will now be part of the either firmware
or acpi table.

Signed-off-by: Niranjan H Y <niranjan.hy@ti.com>
Link: https://patch.msgid.link/20251215153219.810-3-niranjan.hy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2783-sdw.c

index 6a0644670a0b3033de204d59558a648126ddbe2f..bfa925dd601ea4777c2146d9cb3fada805ba0498 100644 (file)
@@ -297,7 +297,7 @@ static const struct reg_default tas2783_reg_default[] = {
 };
 
 static const struct reg_sequence tas2783_init_seq[] = {
-       REG_SEQ0(SDW_SDCA_CTL(1, TAS2783_SDCA_ENT_PPU21, 0x10, 0x00), 0x04),
+       REG_SEQ0(SDW_SDCA_CTL(1, TAS2783_SDCA_ENT_PPU21, 0x10, 0x00), 0x01),
        REG_SEQ0(0x00800418, 0x00),
        REG_SEQ0(0x00800419, 0x00),
        REG_SEQ0(0x0080041a, 0x00),
@@ -307,60 +307,19 @@ static const struct reg_sequence tas2783_init_seq[] = {
        REG_SEQ0(0x0080042a, 0x00),
        REG_SEQ0(0x0080042b, 0x00),
        REG_SEQ0(SDW_SDCA_CTL(1, TAS2783_SDCA_ENT_FU23, 0x1, 0x00), 0x00),
-       REG_SEQ0(0x0080005c, 0xD9),
-       REG_SEQ0(0x00800082, 0x20),
-       REG_SEQ0(0x008000a1, 0x00),
-       REG_SEQ0(0x00800097, 0xc8),
-       REG_SEQ0(0x00800099, 0x20),
-       REG_SEQ0(0x008000c7, 0xaa),
-       REG_SEQ0(0x008000b5, 0x74),
-       REG_SEQ0(0x00800082, 0x20),
-       REG_SEQ0(0x00807e8d, 0x0d),
-       REG_SEQ0(0x00807eb9, 0x53),
-       REG_SEQ0(0x00807ebe, 0x42),
-       REG_SEQ0(0x00807ec5, 0x37),
-       REG_SEQ0(0x00800066, 0x92),
-       REG_SEQ0(0x00800003, 0x28),
        REG_SEQ0(0x00800004, 0x21),
        REG_SEQ0(0x00800005, 0x41),
        REG_SEQ0(0x00800006, 0x00),
        REG_SEQ0(0x00800007, 0x20),
-       REG_SEQ0(0x0080000c, 0x10),
-       REG_SEQ0(0x00800013, 0x08),
        REG_SEQ0(0x00800015, 0x00),
-       REG_SEQ0(0x00800017, 0x80),
-       REG_SEQ0(0x0080001a, 0x00),
-       REG_SEQ0(0x0080001b, 0x22),
-       REG_SEQ0(0x0080001c, 0x36),
-       REG_SEQ0(0x0080001d, 0x01),
-       REG_SEQ0(0x0080001f, 0x00),
-       REG_SEQ0(0x00800020, 0x2e),
-       REG_SEQ0(0x00800034, 0x06),
-       REG_SEQ0(0x00800035, 0xb9),
        REG_SEQ0(0x00800036, 0xad),
        REG_SEQ0(0x00800037, 0xa8),
-       REG_SEQ0(0x00800038, 0x00),
-       REG_SEQ0(0x0080003b, 0xfc),
-       REG_SEQ0(0x0080003d, 0xdd),
-       REG_SEQ0(0x00800040, 0xf6),
-       REG_SEQ0(0x00800041, 0x14),
-       REG_SEQ0(0x0080005c, 0x19),
-       REG_SEQ0(0x0080005d, 0x80),
-       REG_SEQ0(0x00800063, 0x48),
-       REG_SEQ0(0x00800065, 0x08),
-       REG_SEQ0(0x00800067, 0x00),
-       REG_SEQ0(0x0080006a, 0x12),
        REG_SEQ0(0x0080006b, 0x7b),
        REG_SEQ0(0x0080006c, 0x00),
        REG_SEQ0(0x0080006d, 0x00),
        REG_SEQ0(0x0080006e, 0x1a),
        REG_SEQ0(0x0080006f, 0x00),
-       REG_SEQ0(0x00800070, 0x96),
        REG_SEQ0(0x00800071, 0x02),
-       REG_SEQ0(0x00800073, 0x08),
-       REG_SEQ0(0x00800075, 0xe0),
-       REG_SEQ0(0x0080007a, 0x60),
-       REG_SEQ0(0x008000bd, 0x00),
        REG_SEQ0(0x008000be, 0x00),
        REG_SEQ0(0x008000bf, 0x00),
        REG_SEQ0(0x008000c0, 0x00),
@@ -368,17 +327,6 @@ static const struct reg_sequence tas2783_init_seq[] = {
        REG_SEQ0(0x008000c2, 0x00),
        REG_SEQ0(0x008000c3, 0x00),
        REG_SEQ0(0x008000c4, 0x00),
-       REG_SEQ0(0x008000c5, 0x00),
-       REG_SEQ0(0x00800008, 0x49),
-       REG_SEQ0(0x00800009, 0x02),
-       REG_SEQ0(0x0080000a, 0x1a),
-       REG_SEQ0(0x0080000d, 0x93),
-       REG_SEQ0(0x0080000e, 0x82),
-       REG_SEQ0(0x0080000f, 0x42),
-       REG_SEQ0(0x00800010, 0x84),
-       REG_SEQ0(0x00800014, 0x0a),
-       REG_SEQ0(0x00800016, 0x00),
-       REG_SEQ0(0x00800060, 0x21),
 };
 
 static int tas2783_sdca_mbq_size(struct device *dev, u32 reg)