Skip to content

ASoC: cs42l42: Add Soundwire support

Richard Fitzgerald alsa-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12ASoC: cs42l42: Add SOFT_RESET_REBOOT registerinclude/sound/cs42l42.h sound/soc/codecs/cs42l42.c+7 -00 replies
2/12ASoC: cs42l42: Add bitclock frequency argument to cs42l42_pll_config()sound/soc/codecs/cs42l42.c sound/soc/codecs/cs42l42.h+16 -170 replies
3/12ASoC: cs42l42: Ensure MCLKint is a multiple of the sample ratesound/soc/codecs/cs42l42.c+9 -30 replies
4/12ASoC: cs42l42: Separate ASP config from PLL configsound/soc/codecs/cs42l42.c sound/soc/codecs/cs42l42.h+44 -380 replies
5/12ASoC: cs42l42: Use cs42l42->dev instead of &i2c_client->devsound/soc/codecs/cs42l42.c+13 -130 replies
6/12ASoC: cs42l42: Split probe() and remove() into stagessound/soc/codecs/cs42l42.c sound/soc/codecs/cs42l42.h+84 -400 replies
7/12ASoC: cs42l42: Split cs42l42_resume into two functionssound/soc/codecs/cs42l42.c+21 -10 replies
8/12ASoC: cs42l42: Pass component and dai defs into common probesound/soc/codecs/cs42l42.c+6 -60 replies
9/12ASoC: cs42l42: Split I2C identity into separate modulesound/soc/codecs/Kconfig sound/soc/codecs/Makefile sound/soc/codecs/cs42l42-i2c.c +2 more+152 -930 replies
10/12ASoC: cs42l42: Export some functions for Soundwiresound/soc/codecs/cs42l42.c sound/soc/codecs/cs42l42.h+14 -50 replies
11/12ASoC: cs42l42: Add Soundwire supportsound/soc/codecs/Kconfig sound/soc/codecs/Makefile sound/soc/codecs/cs42l42-sdw.c +2 more+647 -05 replies
12/12ASoC: cs42l42: Add support for Soundwire interruptssound/soc/codecs/cs42l42-sdw.c sound/soc/codecs/cs42l42.h+92 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/12] 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 .. #10 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 #11 and #12 actually add the Soundwire handling.

Richard Fitzgerald (12):
ASoC: cs42l42: Add SOFT_RESET_REBOOT register
ASoC: cs42l42: Add bitclock frequency argument to cs42l42_pll_config()
ASoC: cs42l42: Ensure MCLKint is a multiple of the sample rate
ASoC: cs42l42: Separate ASP config from PLL config
ASoC: cs42l42: Use cs42l42->dev instead of &i2c_client->dev
ASoC: cs42l42: Split probe() and remove() into stages
ASoC: cs42l42: Split cs42l42_resume into two functions
ASoC: cs42l42: Pass component and dai defs into common probe
ASoC: cs42l42: Split I2C identity into separate module
ASoC: cs42l42: Export some functions for Soundwire
ASoC: cs42l42: Add Soundwire support
ASoC: cs42l42: Add support for Soundwire interrupts

 include/sound/cs42l42.h        |   5 +
 sound/soc/codecs/Kconfig       |  14 +-
 sound/soc/codecs/Makefile      |   6 +-
 sound/soc/codecs/cs42l42-i2c.c | 107 +++++
 sound/soc/codecs/cs42l42-sdw.c | 689 +++++++++++++++++++++++++++++++++
 sound/soc/codecs/cs42l42.c     | 359 +++++++++--------
 sound/soc/codecs/cs42l42.h     |  30 +-
 7 files changed, 1049 insertions(+), 161 deletions(-)
 create mode 100644 sound/soc/codecs/cs42l42-i2c.c
 create mode 100644 sound/soc/codecs/cs42l42-sdw.c
Signature · 1 line
2.30.2