Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Fred Treven <ftreven@opensource.cirrus.com>
To: James Ogletree <jogletre@opensource.cirrus.com>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Ben Bright <ben.bright@cirrus.com>,
	<simont@opensource.cirrus.com>,
	Charles Keepax <ckeepax@opensource.cirrus.com>,
	Richard Fitzgerald <rf@opensource.cirrus.com>,
	Lee Jones <lee@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>,
	David Rhodes <david.rhodes@cirrus.com>,
	Jack Yu <jack.yu@realtek.com>,
	Igor Prusov <ivprusov@salutedevices.com>,
	Weidong Wang <wangweidong.a@awinic.com>,
	Binbin Zhou <zhoubinbin@loongson.cn>,
	"Luca Ceresoli" <luca.ceresoli@bootlin.com>,
	Prasad Kumpatla <quic_pkumpatl@quicinc.com>,
	Paul Handrigan <paulha@opensource.cirrus.com>,
	Masahiro Yamada <masahiroy@kernel.org>,
	Nuno Sa <nuno.sa@analog.com>, "Karel Balej" <balejk@matfyz.cz>,
	Heiko Stuebner <heiko@sntech.de>, Jeff LaBundy <jeff@labundy.com>
Cc: <linux-kernel@vger.kernel.org>, <linux-input@vger.kernel.org>,
	<devicetree@vger.kernel.org>, <linux-sound@vger.kernel.org>,
	Fred Treven <ftreven@opensource.cirrus.com>
Subject: [PATCH 0/7] Initial Support for CS40L26
Date: Fri, 31 Jan 2025 14:20:56 -0600	[thread overview]
Message-ID: <20250131202057.1786324-1-ftreven@opensource.cirrus.com> (raw)

Introduce driver for Cirrus Logic Device CS40L26:
A boosted haptics driver with integrated DSP and
waveform memory with advanced closed loop algorithms
and LRA protection.

The core CS40L26 driver is in MFD and touches the
Input Force Feedback subsystem for haptics and
the ASoC subsystem for audio to haptics streaming.

This patchset includes changes to the CS DSP firmware
driver which fixes two bugs and introduces support for
multiple coefficient files.

Fred Treven (7):
  firmware: cs_dsp: Fix error checking in wseq_write()
  firmware: cs_dsp: Check for valid num_regs in
    cs_dsp_wseq_multi_write()
  firmware: cs_dsp: Add ability to load multiple coefficient files
  dt-bindings: mfd: cirrus,cs40l26: Support for CS40L26
  mfd: cs40l26: Add support for CS40L26 core driver
  ASoC: cs40l26: Support I2S streaming to CS40L26
  Input: cs40l26 - Add support for CS40L26 haptic driver

 .../bindings/mfd/cirrus,cs40l26.yaml          |   81 +
 MAINTAINERS                                   |    4 +-
 drivers/firmware/cirrus/cs_dsp.c              |   70 +-
 drivers/input/misc/Kconfig                    |   10 +
 drivers/input/misc/Makefile                   |    1 +
 drivers/input/misc/cs40l26-vibra.c            |  669 ++++++++
 drivers/mfd/Kconfig                           |   29 +
 drivers/mfd/Makefile                          |    4 +
 drivers/mfd/cs40l26-core.c                    | 1412 +++++++++++++++++
 drivers/mfd/cs40l26-i2c.c                     |   63 +
 drivers/mfd/cs40l26-spi.c                     |   63 +
 include/linux/firmware/cirrus/cs_dsp.h        |   14 +
 include/linux/mfd/cs40l26.h                   |  341 ++++
 sound/soc/codecs/Kconfig                      |   12 +
 sound/soc/codecs/Makefile                     |    2 +
 sound/soc/codecs/cs40l26-codec.c              |  523 ++++++
 16 files changed, 3281 insertions(+), 17 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/cirrus,cs40l26.yaml
 create mode 100644 drivers/input/misc/cs40l26-vibra.c
 create mode 100644 drivers/mfd/cs40l26-core.c
 create mode 100644 drivers/mfd/cs40l26-i2c.c
 create mode 100644 drivers/mfd/cs40l26-spi.c
 create mode 100644 include/linux/mfd/cs40l26.h
 create mode 100644 sound/soc/codecs/cs40l26-codec.c

-- 
2.34.1


             reply	other threads:[~2025-01-31 20:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-31 20:20 Fred Treven [this message]
2025-01-31 21:18 ` [PATCH 0/7] Initial Support for CS40L26 Krzysztof Kozlowski
2025-02-04 22:07   ` Fredrik Treven

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=20250131202057.1786324-1-ftreven@opensource.cirrus.com \
    --to=ftreven@opensource.cirrus.com \
    --cc=balejk@matfyz.cz \
    --cc=ben.bright@cirrus.com \
    --cc=broonie@kernel.org \
    --cc=ckeepax@opensource.cirrus.com \
    --cc=conor+dt@kernel.org \
    --cc=david.rhodes@cirrus.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=heiko@sntech.de \
    --cc=ivprusov@salutedevices.com \
    --cc=jack.yu@realtek.com \
    --cc=jeff@labundy.com \
    --cc=jogletre@opensource.cirrus.com \
    --cc=krzk+dt@kernel.org \
    --cc=lee@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=luca.ceresoli@bootlin.com \
    --cc=masahiroy@kernel.org \
    --cc=nuno.sa@analog.com \
    --cc=paulha@opensource.cirrus.com \
    --cc=perex@perex.cz \
    --cc=quic_pkumpatl@quicinc.com \
    --cc=rf@opensource.cirrus.com \
    --cc=robh@kernel.org \
    --cc=simont@opensource.cirrus.com \
    --cc=tiwai@suse.com \
    --cc=wangweidong.a@awinic.com \
    --cc=zhoubinbin@loongson.cn \
    /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