Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH v4 0/3] ASoC: add Senary SN624x SoundWire SDCA support
@ 2026-08-18  2:08 Qianghua Wang
  2026-08-18  2:08 ` [PATCH v4 1/3] ASoC: codecs: add SN624x SDCA SoundWire driver Qianghua Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Qianghua Wang @ 2026-08-18  2:08 UTC (permalink / raw)
  To: linux-sound
  Cc: Qianghua Wang, Mark Brown, Pierre-Louis Bossart, Bard Liao,
	Liam Girdwood, Peter Ujfalusi, Kai Vehmanen, Cezary Rojewski,
	Charles Keepax, bo liu

This series adds SoundWire SDCA support for Senary SN624x
multi-function codecs (jack, speaker amp, DMIC) on Intel ARL,
LNL, MTL, and PTL.

v3 was dropped due to a CI build break against current SDCA
helpers, so this is a full resend with those fixes folded in
(not an incremental on top of v3).

Changes since v3:
- Enable runtime PM from io_init() on first ATTACHED, matching
  the rt722 pattern, instead of enabling it from probe after
  register_component().
- Update sdca_asoc_pde_poll_actual_ps() / sdca_parse_function()
  call sites to the current prototypes (drop unused device and
  SoundWire slave arguments) so the driver builds on for-next.

Changes since v2:
- Propagate io_init Function Status / defaults failures instead of
  skipping init and still returning success.
- Zero-initialize sdw stream/port configs and use
  snd_sdw_params_to_config().
- Program jack SampleFreqIndex only for the configured stream
  direction (avoid forcing symmetric rates).
- Mark regmap cache dirty on suspend and on re-io_init after
  re-attach so regcache_sync restores state after power loss/reset.
- Hold a long-lived runtime PM get while jack detect is enabled
  via set_jack / remove (drop poll mark_last_busy refresh).
- Use sdw_slave_wait_for_init() on resume when unattach_request
  is set.

Patch summary:
  1/3  codec driver + MAINTAINERS
  2/3  sdw_utils helpers and codec_info
  3/3  Intel ARL/LNL/MTL/PTL ACPI match + SOF mach select

Validated on LG Wildcat Lake / PTL with part_id 0x6247
(MODALIAS sdw:m0496p6247v03c01).

Qianghua Wang (3):
  ASoC: codecs: add SN624x SDCA SoundWire driver
  ASoC: sdw_utils: add Senary SN624x helpers and codec_info
  ASoC: Intel: soc-acpi: add SN624x entries for ARL/LNL/MTL/PTL

 MAINTAINERS                                   |    3 +
 include/sound/soc_sdw_utils.h                 |   20 +
 sound/soc/codecs/Kconfig                      |   13 +
 sound/soc/codecs/Makefile                     |    2 +
 sound/soc/codecs/sn624x-sdca-sdw.c            | 1888 +++++++++++++++++
 sound/soc/codecs/sn624x-sdca.h                |  152 ++
 sound/soc/intel/boards/Kconfig                |    1 +
 .../intel/common/soc-acpi-intel-arl-match.c   |   71 +
 .../intel/common/soc-acpi-intel-lnl-match.c   |   71 +
 .../intel/common/soc-acpi-intel-mtl-match.c   |   71 +
 .../intel/common/soc-acpi-intel-ptl-match.c   |   82 +
 sound/soc/sdw_utils/Makefile                  |    4 +-
 sound/soc/sdw_utils/soc_sdw_senary_amp.c      |   80 +
 sound/soc/sdw_utils/soc_sdw_senary_dmic.c     |   49 +
 sound/soc/sdw_utils/soc_sdw_senary_sdca.c     |   63 +
 .../soc_sdw_senary_sdca_jack_common.c         |  197 ++
 sound/soc/sdw_utils/soc_sdw_utils.c           |  166 ++
 17 files changed, 2932 insertions(+), 1 deletion(-)
 create mode 100644 sound/soc/codecs/sn624x-sdca-sdw.c
 create mode 100644 sound/soc/codecs/sn624x-sdca.h
 create mode 100644 sound/soc/sdw_utils/soc_sdw_senary_amp.c
 create mode 100644 sound/soc/sdw_utils/soc_sdw_senary_dmic.c
 create mode 100644 sound/soc/sdw_utils/soc_sdw_senary_sdca.c
 create mode 100644 sound/soc/sdw_utils/soc_sdw_senary_sdca_jack_common.c

-- 
2.47.3


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-08-18  2:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-18  2:08 [PATCH v4 0/3] ASoC: add Senary SN624x SoundWire SDCA support Qianghua Wang
2026-08-18  2:08 ` [PATCH v4 1/3] ASoC: codecs: add SN624x SDCA SoundWire driver Qianghua Wang
2026-08-18  2:08 ` [PATCH v4 2/3] ASoC: sdw_utils: add Senary SN624x helpers and codec_info Qianghua Wang
2026-08-18  2:08 ` [PATCH v4 3/3] ASoC: Intel: soc-acpi: add SN624x entries for ARL/LNL/MTL/PTL Qianghua Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox