Skip to content

ASoC: cs42l42: Add SoundWire support

Stefan Binding alsa-devel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 11 repliesIn review
  2. v28 patches 16 repliesSuperseded

Changes in v3 from the cover letter

- fix various comments
- enable pm_runtime during probe

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8soundwire: stream: Add specific prep/deprep commands to port_prep callbackdrivers/soundwire/stream.c include/linux/soundwire/sdw.h+7 -51 reply
2/8ASoC: cs42l42: Add SOFT_RESET_REBOOT registerinclude/sound/cs42l42.h sound/soc/codecs/cs42l42.c+7 -01 reply
3/8ASoC: cs42l42: Ensure MCLKint is a multiple of the sample ratesound/soc/codecs/cs42l42.c+9 -30 replies
4/8ASoC: cs42l42: Separate ASP config from PLL configsound/soc/codecs/cs42l42.c sound/soc/codecs/cs42l42.h+44 -381 reply
5/8ASoC: cs42l42: Export some functions for SoundWiresound/soc/codecs/cs42l42.c sound/soc/codecs/cs42l42.h+14 -51 reply
6/8ASoC: cs42l42: Add SoundWire supportsound/soc/codecs/Kconfig sound/soc/codecs/Makefile sound/soc/codecs/cs42l42-sdw.c +2 more+642 -02 replies
7/8ASoC: cs42l42: Don't set idle_bias_onsound/soc/codecs/cs42l42.c+0 -11 reply
8/8ASoC: cs42l42: Wait for debounce interval after resumesound/soc/codecs/cs42l42-sdw.c+9 -13 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchPierre-Louis BossartVinod Koul
1/8R-b A-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/8] ASoC: cs42l42: Add SoundWire support

The CS42L42 has a SoundWire interface for control and audio. This chain of patches adds support for this.

Patches #1 .. #5 split out various changes to the existing code that are needed for adding Soundwire. These are mostly around clocking and supporting the separate probe and enumeration stages in SoundWire.

Patches #6 .. #8 actually adds the SoundWire handling.

Changes since v1:
- fixes for various review comments from v1
- add support for wakeup from clock stop using hardware interrupts
- use port_prep callback to prepare/deprepare codec

Changes since v2:
- fix various comments
- enable pm_runtime during probe

Richard Fitzgerald (6):
ASoC: cs42l42: Add SOFT_RESET_REBOOT register
ASoC: cs42l42: Ensure MCLKint is a multiple of the sample rate
ASoC: cs42l42: Separate ASP config from PLL config
ASoC: cs42l42: Export some functions for SoundWire
ASoC: cs42l42: Add SoundWire support
ASoC: cs42l42: Don't set idle_bias_on

Stefan Binding (2):
soundwire: stream: Add specific prep/deprep commands to port_prep
callback
ASoC: cs42l42: Wait for debounce interval after resume

 drivers/soundwire/stream.c     |   4 +-
 include/linux/soundwire/sdw.h  |   8 +-
 include/sound/cs42l42.h        |   5 +
 sound/soc/codecs/Kconfig       |   8 +
 sound/soc/codecs/Makefile      |   2 +
 sound/soc/codecs/cs42l42-sdw.c | 610 +++++++++++++++++++++++++++++++++
 sound/soc/codecs/cs42l42.c     | 133 ++++---
 sound/soc/codecs/cs42l42.h     |   9 +-
 8 files changed, 729 insertions(+), 50 deletions(-)
 create mode 100644 sound/soc/codecs/cs42l42-sdw.c
Signature · 1 line
2.34.1