From: Richard Fitzgerald <rf@opensource.cirrus.com>
To: <broonie@kernel.org>
Cc: <robh+dt@kernel.org>, <alsa-devel@alsa-project.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<patches@opensource.cirrus.com>,
Richard Fitzgerald <rf@opensource.cirrus.com>
Subject: [PATCH v2 0/5] ASoC: Add a driver for the Cirrus Logic CS35L45 Smart Amplifier
Date: Tue, 5 Apr 2022 14:54:14 +0100 [thread overview]
Message-ID: <20220405135419.1230088-1-rf@opensource.cirrus.com> (raw)
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
next reply other threads:[~2022-04-05 23:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-05 13:54 Richard Fitzgerald [this message]
2022-04-05 13:54 ` [PATCH v2 1/5] ASoC: soc.h: Add SOC_SINGLE_S_TLV() macro Richard Fitzgerald
2022-04-05 13:54 ` [PATCH v2 2/5] ASoC: soc-utils: Add helper to calculate BCLK from TDM info Richard Fitzgerald
2022-04-05 13:54 ` [PATCH v2 3/5] ASoC: soc-utils: Add kunit test for snd_soc_tdm_params_to_bclk() Richard Fitzgerald
2022-04-05 13:54 ` [PATCH v2 4/5] ASoC: dt-bindings: cs35l45: Cirrus Logic CS35L45 Smart Amp Richard Fitzgerald
2022-04-05 13:54 ` [PATCH v2 5/5] ASoC: cs35l45: Add driver for " Richard Fitzgerald
2022-04-06 13:28 ` [PATCH v2 0/5] ASoC: Add a driver for the Cirrus Logic CS35L45 Smart Amplifier Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220405135419.1230088-1-rf@opensource.cirrus.com \
--to=rf@opensource.cirrus.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).