[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240104223643.876292-1-jogletre@opensource.cirrus.com>
Date: Thu, 4 Jan 2024 22:36:33 +0000
From: James Ogletree <jogletre@...nsource.cirrus.com>
To:
CC: James Ogletree <jogletre@...nsource.cirrus.com>,
James Ogletree
<james.ogletree@...rus.com>,
Fred Treven <fred.treven@...rus.com>,
Ben Bright
<ben.bright@...rus.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
"Rob
Herring" <robh+dt@...nel.org>,
Krzysztof Kozlowski
<krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Simon Trimmer <simont@...nsource.cirrus.com>,
Charles Keepax
<ckeepax@...nsource.cirrus.com>,
Richard Fitzgerald
<rf@...nsource.cirrus.com>,
Lee Jones <lee@...nel.org>, Liam Girdwood
<lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, Jaroslav Kysela
<perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
James Schulman
<james.schulman@...rus.com>,
David Rhodes <david.rhodes@...rus.com>,
Sebastian Reichel <sebastian.reichel@...labora.com>,
Alexandre Belloni
<alexandre.belloni@...tlin.com>,
Peng Fan <peng.fan@....com>, Jacky Bai
<ping.bai@....com>,
Jeff LaBundy <jeff@...undy.com>,
Weidong Wang
<wangweidong.a@...nic.com>,
Herve Codina <herve.codina@...tlin.com>,
"Arnd
Bergmann" <arnd@...db.de>, Shuming Fan <shumingf@...ltek.com>,
Shenghao Ding
<13916275206@....com>, Ryan Lee <ryans.lee@...log.com>,
Linus Walleij
<linus.walleij@...aro.org>,
Maxim Kochetkov <fido_max@...ox.ru>,
"open
list:CIRRUS LOGIC HAPTIC DRIVERS" <patches@...nsource.cirrus.com>,
"open
list:INPUT (KEYBOARD, MOUSE, JOYSTICK, TOUCHSCREEN)..."
<linux-input@...r.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE
TREE BINDINGS" <devicetree@...r.kernel.org>,
open list
<linux-kernel@...r.kernel.org>,
"open list:SOUND - SOC LAYER / DYNAMIC AUDIO
POWER MANAGEM..." <linux-sound@...r.kernel.org>,
"moderated list:CIRRUS LOGIC
AUDIO CODEC DRIVERS" <alsa-devel@...a-project.org>
Subject: [PATCH v5 0/5] Add support for CS40L50
There is a massive delta from V4, so only the highlgihts are
mentioned below. I intend for this version to address all
feedback to-date, so if you find something left unaddressed
then please let me know.
Changes in v5:
- Added a codec sub-device to support I2S streaming
- Moved write sequencer code from cirrus_haptics to cs_dsp
- Reverted cirrus_haptics library; future Cirrus input
drivers will export and utilize cs40l50_vibra functions
- Added more comments
- Many small stylistic and logical improvements
Changes in v4:
- Moved from Input to MFD
- Moved common Cirrus haptic functions to a library
- Incorporated runtime PM framework
- Many style improvements
Changes in v3:
- YAML formatting corrections
- Fixed typo in MAINTAINERS
- Used generic node name "haptic-driver"
- Fixed probe error code paths
- Switched to "sizeof(*)"
- Removed tree reference in MAINTAINERS
Changes in v2:
- Fixed checkpatch warnings
James Ogletree (5):
firmware: cs_dsp: Add write sequencer interface
dt-bindings: input: cirrus,cs40l50: Add initial DT binding
mfd: cs40l50: Add support for CS40L50 core driver
Input: cs40l50 - Add support for the CS40L50 haptic driver
ASoC: cs40l50: Support I2S streaming to CS40L50
.../bindings/input/cirrus,cs40l50.yaml | 70 +++
MAINTAINERS | 12 +
drivers/firmware/cirrus/cs_dsp.c | 261 ++++++++
drivers/input/misc/Kconfig | 10 +
drivers/input/misc/Makefile | 1 +
drivers/input/misc/cs40l50-vibra.c | 572 ++++++++++++++++++
drivers/mfd/Kconfig | 30 +
drivers/mfd/Makefile | 4 +
drivers/mfd/cs40l50-core.c | 536 ++++++++++++++++
drivers/mfd/cs40l50-i2c.c | 69 +++
drivers/mfd/cs40l50-spi.c | 69 +++
include/linux/firmware/cirrus/cs_dsp.h | 28 +
include/linux/mfd/cs40l50.h | 128 ++++
sound/soc/codecs/Kconfig | 11 +
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/cs40l50-codec.c | 304 ++++++++++
16 files changed, 2107 insertions(+)
create mode 100644 Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml
create mode 100644 drivers/input/misc/cs40l50-vibra.c
create mode 100644 drivers/mfd/cs40l50-core.c
create mode 100644 drivers/mfd/cs40l50-i2c.c
create mode 100644 drivers/mfd/cs40l50-spi.c
create mode 100644 include/linux/mfd/cs40l50.h
create mode 100644 sound/soc/codecs/cs40l50-codec.c
--
2.25.1
Powered by blists - more mailing lists