Skip to content

Add support for CS40L50

James Ogletree linux-devicetree linux-input linux-sound 9 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v11 Latest posting 2/25 patches 18 repliesApplied
  2. v11 posting 1/25 patches 7 repliesSuperseded
  3. v10 posting 2/25 patches 19 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v10 posting 1/25 patches2 repliesSuperseded
v95 patches16 repliesSuperseded
v85 patches6 repliesSuperseded
v75 patches3 repliesSuperseded
v65 patches2 repliesSuperseded
v55 patches12 repliesSuperseded

Changes in v11 from the cover letter

- Constified function parameters in ASOC driver
- Removed an unneeded #include
- Changed number of max FF effects = 1
- Minor refactoring in Input driver
- Reworded comment in MFD driver

Patches in v11 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/5firmware: cs_dsp: Add write sequence interfacedrivers/firmware/cirrus/cs_dsp.c include/linux/firmware/cirrus/cs_dsp.h+305 -01 reply
2/5dt-bindings: input: cirrus,cs40l50: Add initial DT bindingDocumentation/devicetree/bindings/input/cirrus,cs40l50.yaml MAINTAINERS+76 -01 reply
3/5mfd: cs40l50: Add support for CS40L50 core driverMAINTAINERS drivers/mfd/Kconfig drivers/mfd/Makefile +4 more+879 -01 reply
4/5Input: cs40l50 - Add support for the CS40L50 haptic driverMAINTAINERS drivers/input/misc/Kconfig drivers/input/misc/Makefile +1 more+567 -03 replies
5/5ASoC: cs40l50: Support I2S streaming to CS40L50MAINTAINERS sound/soc/codecs/Kconfig sound/soc/codecs/Makefile +1 more+321 -02 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchCharles KeepaxKrzysztof KozlowskiDavid RhodesJeff LaBundyDmitry TorokhovRicardo Rivera-Matos
1/5R-b R-b
2/5R-b R-b
3/5R-b
4/5R-b A-b
5/5R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v11 thread

Cover letter [PATCH RESEND v11 0/5] Add support for CS40L50

Changes in v11:
- Constified function parameters in ASOC driver
- Removed an unneeded #include
- Changed number of max FF effects = 1
- Minor refactoring in Input driver
- Reworded comment in MFD driver

Changes in v10:
- Minor refactoring and logical improvements all around
- Renamed and added supplies

Changes in v9:
- Fixed empty struct by utilizing cs_dsp's post_run callback
- Style fixes in MFD driver

Changes in v8:
- set_sysclk() -> set_bclk_ratio()
- Added ID table to codec driver
- Style improvements
- Fixed ordering of new write sequence operations

Changes in v7:
- Fixed sparse warning
- Moved write sequences to private data structure
- Logical and style improvements in write sequence interface

Changes in v6:
- Updated write sequencer interface to be control-name based
- Fixed a race condition and non-handling of repeats in playback callback
- Stylistic and logical improvements all around

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 sequence 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        |  68 +++
 MAINTAINERS                                   |  12 +
 drivers/firmware/cirrus/cs_dsp.c              | 278 +++++++++
 drivers/input/misc/Kconfig                    |  10 +
 drivers/input/misc/Makefile                   |   1 +
 drivers/input/misc/cs40l50-vibra.c            | 555 +++++++++++++++++
 drivers/mfd/Kconfig                           |  30 +
 drivers/mfd/Makefile                          |   4 +
 drivers/mfd/cs40l50-core.c                    | 570 ++++++++++++++++++
 drivers/mfd/cs40l50-i2c.c                     |  68 +++
 drivers/mfd/cs40l50-spi.c                     |  68 +++
 include/linux/firmware/cirrus/cs_dsp.h        |  27 +
 include/linux/mfd/cs40l50.h                   | 137 +++++
 sound/soc/codecs/Kconfig                      |  11 +
 sound/soc/codecs/Makefile                     |   2 +
 sound/soc/codecs/cs40l50-codec.c              | 307 ++++++++++
 16 files changed, 2148 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
Signature · 1 line
2.34.1