[PATCH v3 0/3] ASoC: cs35l56: Replace open-coded SoundWire regmap with generic regmap-sdw

From: Richard Fitzgerald

Date: Tue May 19 2026 - 09:58:10 EST


This series replaces the entirely custom SoundWire regmap with the generic
regmap-sdw. The reasons for doing this are:

- Avoid code duplication
- Avoid effort of keeping custom implementation up-to-date
- Prepare for supporting BRA

Changes in V3:
- Change cs35l56-shared-test KUnit test to handle the offset addresses
passed into its mock regmap bus.

Changes in V2:
- Select REGMAP_SOUNDWIRE

Richard Fitzgerald (3):
ASoC: cs35l56-shared-test: Subtract reg_base offset in dummy regmap
ASoC: cs35l56: Use reg_base to offset addresses on SoundWire
ASoC: cs35l56: Use standard SoundWire regmap implementation

sound/soc/codecs/Kconfig | 2 +-
sound/soc/codecs/cs35l56-sdw.c | 137 +++++++++----------------
sound/soc/codecs/cs35l56-shared-test.c | 6 ++
sound/soc/codecs/cs35l56-shared.c | 2 +
sound/soc/codecs/cs35l56.h | 1 +
5 files changed, 59 insertions(+), 89 deletions(-)

--
2.47.3