[PATCH v15 0/4] ASoC: Add TI TAC5XX2 SoundWire codec driver support

From: Niranjan H Y

Date: Mon May 04 2026 - 08:58:13 EST


This patch series adds support for Texas Instruments TAC5XX2 family of
SoundWire smart amplifiers, including TAC5572, TAC5672, TAC5682, and
TAS2883 devices.

The series includes:
- SDCA power state management helper for PDE verification
- New codec driver for TAC5XX2 family with SmartAmp, SmartMic,
UAJ, and HID support
- Machine driver integration for Intel SoundWire platforms
- ACPI match entries for Intel MTL platform

Changes in v15: (Patch 2/4)
- call pm_runtime_resume instead of waiting for
device to get initialised similar to other drivers
- skip reading the uaj and hid registers in the interrupt
handler if the uaj is not supported
- remove had_unattached in the dev_resume callback
- detect headset in the dev_resume callback only if the uaj
is supported
- indentation fixes to use reverse-xmas tree

Changes in v14:
- Resending complete series (v13 1/4 was accidentally sent alone)
- rename the first_hw_init to first_hw_init_done for readability.
- Removed dummy tac5xx2_sdw_clk_stop function (Patch 2/4)
- Added pm_runtime calls in .set_jack callback (Patch 2/4)
- Improved error handling for early .set_jack calls (Patch 2/4)
- drop uaj_lock to make it simiar to other drivers (Patch 2/4)
- move the pm_runtime_enable to probe and keep only
pm_runtime_set_active for first attach case. (Patch 2/4)
- remove tac5xx2_sdw_clk_stop as currently it is dummy (Patch 2/4)
- Used xmas tree style in .hw_free (Patch 2/4)

Changes in v13:
- no code changes (v13 1/4 was sent alone accidentally)

Changes in v12:
- Used correct namespace while exporting variables (Patch 1/4)
- Fixed missing entity information in logging (Patch 1/4)
- Removed hw_init check in .set_jack (Patch 2/4)
- Added missing pm_runtime_disable in .remove callback (Patch 2/4)
- Improved error logging in .hw_params and .hw_free (Patch 2/4)
- Included part_id in firmware binary name (Patch 2/4)
- Updated firmware header parsing (Patch 2/4)

Niranjan H Y (4):
ASoC: SDCA: Add PDE verification reusable helper
ASoC: tac5xx2-sdw: add soundwire based codec driver
ASoC: sdw_utils: TI amp utility for tac5xx2 family
ASoC: tac5xx2-sdw: ACPI match for intel mtl platform

include/sound/sdca_asoc.h | 6 +
include/sound/soc_sdw_utils.h | 4 +
sound/soc/codecs/Kconfig | 11 +
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/tac5xx2-sdw.c | 2049 +++++++++++++++++
sound/soc/codecs/tac5xx2.h | 259 +++
.../intel/common/soc-acpi-intel-mtl-match.c | 132 ++
sound/soc/sdca/sdca_asoc.c | 106 +-
sound/soc/sdw_utils/soc_sdw_ti_amp.c | 144 +-
sound/soc/sdw_utils/soc_sdw_utils.c | 151 ++
10 files changed, 2833 insertions(+), 31 deletions(-)
create mode 100644 sound/soc/codecs/tac5xx2-sdw.c
create mode 100644 sound/soc/codecs/tac5xx2.h

--
2.34.1