Skip to content

ASoC: Initial support for Cirrus Logic CS35L56

Richard Fitzgerald alsa-devel lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 1 replyIn review
  2. v28 patches 0 repliesSuperseded
  3. v110 patches 11 repliesSuperseded

Changes in v3 from the cover letter

- Fix Kconfig to prevent the driver being built-in if the SoundWire core is a module.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8firmware: cs_dsp: Introduce no_core_startstop for self-booting DSPsdrivers/firmware/cirrus/cs_dsp.c include/linux/firmware/cirrus/cs_dsp.h+14 -10 replies
2/8ASoC: wm_adsp: Use no_core_startstop to prevent creating preload controlsound/soc/codecs/wm_adsp.c+4 -20 replies
3/8firmware: cs_dsp: Support DSPs that don't require firmware downloaddrivers/firmware/cirrus/cs_dsp.c+3 -00 replies
4/8ASoC: wm_adsp: Support DSPs that don't require firmware downloadsound/soc/codecs/wm_adsp.c sound/soc/codecs/wm_adsp.h+4 -00 replies
5/8ASoC: wm_adsp: Expose the DSP boot work actions as wm_adsp_power_up()sound/soc/codecs/wm_adsp.c sound/soc/codecs/wm_adsp.h+20 -90 replies
6/8ASoC: wm_adsp: Add support for loading bin files without wmfwsound/soc/codecs/wm_adsp.c+22 -10 replies
7/8ASoC: wm_adsp: Simplify the logging of requested firmware filessound/soc/codecs/wm_adsp.c+2 -40 replies
8/8ASoC: cs35l56: Add driver for Cirrus Logic CS35L56MAINTAINERS include/sound/cs35l56.h sound/soc/codecs/Kconfig +7 more+2937 -00 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/8] ASoC: Initial support for Cirrus Logic CS35L56

The CS35L56 is a high-performance boosted mono audio amplifier. Supported control interfaces are I2C, SPI or SoundWire. Supported audio interfaces are I2S/TDM or SoundWire.

The CS35L56 has a self-booting firmware in ROM, with the ability to patch the firmware and/or apply tunings.
Patches #1 to #7 add support to cs_dsp and wm_adsp for self-booting firmware and the ability to apply a .bin file without having to apply a .wmfw.

Changes since v2:
- Fix Kconfig to prevent the driver being built-in if the SoundWire core is a module.

Changes since v1:
- Check for error when getting pm_runtime in cs35l56_irq().
- Use SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK instead of the old define.
- Re-word two comments in cs35l56-sdw.c.
- Add an comment explaining the wait for init_completion in cs35l56_dsp_work().
- Omit patches to Intel machine driver. These will be done as a separate thread.

Richard Fitzgerald (1):
ASoC: cs35l56: Add driver for Cirrus Logic CS35L56

Simon Trimmer (7):
firmware: cs_dsp: Introduce no_core_startstop for self-booting DSPs
ASoC: wm_adsp: Use no_core_startstop to prevent creating preload
control
firmware: cs_dsp: Support DSPs that don't require firmware download
ASoC: wm_adsp: Support DSPs that don't require firmware download
ASoC: wm_adsp: Expose the DSP boot work actions as wm_adsp_power_up()
ASoC: wm_adsp: Add support for loading bin files without wmfw
ASoC: wm_adsp: Simplify the logging of requested firmware files

 MAINTAINERS                            |    1 +
 drivers/firmware/cirrus/cs_dsp.c       |   17 +-
 include/linux/firmware/cirrus/cs_dsp.h |    1 +
 include/sound/cs35l56.h                |  266 +++++
 sound/soc/codecs/Kconfig               |   40 +
 sound/soc/codecs/Makefile              |   10 +
 sound/soc/codecs/cs35l56-i2c.c         |   83 ++
 sound/soc/codecs/cs35l56-sdw.c         |  528 +++++++++
 sound/soc/codecs/cs35l56-shared.c      |  390 +++++++
 sound/soc/codecs/cs35l56-spi.c         |   81 ++
 sound/soc/codecs/cs35l56.c             | 1461 ++++++++++++++++++++++++
 sound/soc/codecs/cs35l56.h             |   77 ++
 sound/soc/codecs/wm_adsp.c             |   63 +-
 sound/soc/codecs/wm_adsp.h             |    3 +
 14 files changed, 3005 insertions(+), 16 deletions(-)
 create mode 100644 include/sound/cs35l56.h
 create mode 100644 sound/soc/codecs/cs35l56-i2c.c
 create mode 100644 sound/soc/codecs/cs35l56-sdw.c
 create mode 100644 sound/soc/codecs/cs35l56-shared.c
 create mode 100644 sound/soc/codecs/cs35l56-spi.c
 create mode 100644 sound/soc/codecs/cs35l56.c
 create mode 100644 sound/soc/codecs/cs35l56.h
Signature · 1 line
2.30.2