From: Niranjan H Y <niranjan.hy@ti.com>
To: <alsa-devel@alsa-project.org>
Cc: <linux-sound@vger.kernel.org>, <broonie@kernel.org>,
<ckeepax@opensource.cirrus.com>, <lgirdwood@gmail.com>,
<yung-chuan.liao@linux.intel.com>,
<ranjani.sridharan@linux.intel.com>, <perex@perex.cz>,
<tiwai@suse.com>, <cezary.rojewski@intel.com>,
<peter.ujfalusi@linux.intel.com>, <kai.vehmanen@linux.intel.com>,
<pierre-louis.bossart@linux.dev>, <shenghao-ding@ti.com>,
<v-hampiholi@ti.com>, <baojun.xu@ti.com>,
<dan.carpenter@linaro.org>, <sandeepk@ti.com>,
Niranjan H Y <niranjan.hy@ti.com>
Subject: [PATCH v2 3/8] ASoC: tas2783A: update default init writes
Date: Mon, 15 Dec 2025 21:02:14 +0530 [thread overview]
Message-ID: <20251215153219.810-3-niranjan.hy@ti.com> (raw)
In-Reply-To: <20251215153219.810-1-niranjan.hy@ti.com>
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>
---
v2:
- no change
---
sound/soc/codecs/tas2783-sdw.c | 54 +---------------------------------
1 file changed, 1 insertion(+), 53 deletions(-)
diff --git a/sound/soc/codecs/tas2783-sdw.c b/sound/soc/codecs/tas2783-sdw.c
index 6a0644670..bfa925dd6 100644
--- a/sound/soc/codecs/tas2783-sdw.c
+++ b/sound/soc/codecs/tas2783-sdw.c
@@ -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)
--
2.43.0
next prev parent reply other threads:[~2025-12-15 15:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-15 15:32 [PATCH v2 1/8] ASoC: tas2783A: sdw_utils: support ch 3 & 4 Niranjan H Y
2025-12-15 15:32 ` [PATCH v2 2/8] ASoC: tas2783A: use custom firmware Niranjan H Y
2025-12-15 15:32 ` Niranjan H Y [this message]
2025-12-15 15:32 ` [PATCH v2 4/8] ASoC: tas2783A: fix error log for calibration data Niranjan H Y
2025-12-15 15:32 ` [PATCH v2 5/8] ASoc: tas2783A: fw name based on system details Niranjan H Y
2025-12-15 15:32 ` [PATCH v2 6/8] ASoc: tas2783A: acpi match for 4 channel for mtl Niranjan H Y
2025-12-15 15:32 ` [PATCH v2 7/8] ASoC: tas2783A: use acpi initialisation table Niranjan H Y
2025-12-15 15:47 ` Charles Keepax
2025-12-15 15:32 ` [PATCH v2 8/8] ASoC: tas2783A: read slave properties from acpi table Niranjan H Y
2025-12-18 15:32 ` [PATCH v2 1/8] ASoC: tas2783A: sdw_utils: support ch 3 & 4 Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251215153219.810-3-niranjan.hy@ti.com \
--to=niranjan.hy@ti.com \
--cc=alsa-devel@alsa-project.org \
--cc=baojun.xu@ti.com \
--cc=broonie@kernel.org \
--cc=cezary.rojewski@intel.com \
--cc=ckeepax@opensource.cirrus.com \
--cc=dan.carpenter@linaro.org \
--cc=kai.vehmanen@linux.intel.com \
--cc=lgirdwood@gmail.com \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=peter.ujfalusi@linux.intel.com \
--cc=pierre-louis.bossart@linux.dev \
--cc=ranjani.sridharan@linux.intel.com \
--cc=sandeepk@ti.com \
--cc=shenghao-ding@ti.com \
--cc=tiwai@suse.com \
--cc=v-hampiholi@ti.com \
--cc=yung-chuan.liao@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox