[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220405135419.1230088-1-rf@opensource.cirrus.com>
Date: Tue, 5 Apr 2022 14:54:14 +0100
From: Richard Fitzgerald <rf@...nsource.cirrus.com>
To: <broonie@...nel.org>
CC: <robh+dt@...nel.org>, <alsa-devel@...a-project.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<patches@...nsource.cirrus.com>,
Richard Fitzgerald <rf@...nsource.cirrus.com>
Subject: [PATCH v2 0/5] ASoC: Add a driver for the Cirrus Logic CS35L45 Smart Amplifier
This adds basic audio support for the Cirrus Logic CS35L45 amplifier.
The first two patches add two generic helpers to ASoC, and patch 3 is
a kunit test for patch 2.
CHANGES SINCE V1:
Patch #5:
- spi .remove callback now has void return
- use new I2C .probe_new callback
- force boost-bypass mode as default
James Schulman (1):
ASoC: cs35l45: Add driver for Cirrus Logic CS35L45 Smart Amp
Richard Fitzgerald (4):
ASoC: soc.h: Add SOC_SINGLE_S_TLV() macro
ASoC: soc-utils: Add helper to calculate BCLK from TDM info
ASoC: soc-utils: Add kunit test for snd_soc_tdm_params_to_bclk()
ASoC: dt-bindings: cs35l45: Cirrus Logic CS35L45 Smart Amp
.../bindings/sound/cirrus,cs35l45.yaml | 75 ++
MAINTAINERS | 2 +
include/dt-bindings/sound/cs35l45.h | 20 +
include/sound/soc.h | 4 +
sound/soc/Kconfig | 9 +-
sound/soc/Makefile | 5 +
sound/soc/codecs/Kconfig | 30 +
sound/soc/codecs/Makefile | 8 +
sound/soc/codecs/cs35l45-i2c.c | 72 ++
sound/soc/codecs/cs35l45-spi.c | 72 ++
sound/soc/codecs/cs35l45-tables.c | 202 +++++
sound/soc/codecs/cs35l45.c | 693 ++++++++++++++++++
sound/soc/codecs/cs35l45.h | 217 ++++++
sound/soc/soc-utils-test.c | 186 +++++
sound/soc/soc-utils.c | 45 ++
15 files changed, 1639 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/sound/cirrus,cs35l45.yaml
create mode 100644 include/dt-bindings/sound/cs35l45.h
create mode 100644 sound/soc/codecs/cs35l45-i2c.c
create mode 100644 sound/soc/codecs/cs35l45-spi.c
create mode 100644 sound/soc/codecs/cs35l45-tables.c
create mode 100644 sound/soc/codecs/cs35l45.c
create mode 100644 sound/soc/codecs/cs35l45.h
create mode 100644 sound/soc/soc-utils-test.c
--
2.30.2
Powered by blists - more mailing lists