[PATCH v2 0/3] Improve SDCA support for duplicated features

From: Charles Keepax

Date: Thu Apr 30 2026 - 06:23:56 EST


There are some short comings of the current SDCA class driver with
respect to duplicated functions and jacks. Fix some issues in the
reporting of jacks when there are multiple jacks represented in the SDCA
topology. When a single device contains multiple instances of the same
type of SDCA function the current class driver will create duplicate
controls, update the code to fix this. Finally whilst working through
this also tidy up the handling of the sdca_function_desc pointers as it
turns out some duplication has crept into the code on that front.

Thanks,
Charles

Changes since v1:
- Update tas2783 for API changes
- Correct kernel doc

Charles Keepax (3):
ASoC: SDCA: Add correct masks whilst reporting SDCA jack status
ASoC: SDCA: Remove sdca_function_data duplication
ASoC: SDCA: Support devices with multiple functions of identical type

include/sound/sdca.h | 4 ++
include/sound/sdca_function.h | 1 -
include/sound/sdca_jack.h | 3 ++
sound/soc/codecs/tas2783-sdw.c | 4 +-
sound/soc/sdca/sdca_class.c | 7 ---
sound/soc/sdca/sdca_class.h | 1 -
sound/soc/sdca/sdca_class_function.c | 23 ++-------
sound/soc/sdca/sdca_functions.c | 51 ++++++++++++-------
sound/soc/sdca/sdca_interrupts.c | 3 +-
sound/soc/sdca/sdca_jack.c | 75 ++++++++++++++++------------
10 files changed, 92 insertions(+), 80 deletions(-)

--
2.47.3