devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] Initial Support for CS40L26
@ 2025-01-31 20:20 Fred Treven
  2025-01-31 21:18 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Fred Treven @ 2025-01-31 20:20 UTC (permalink / raw)
  To: James Ogletree, Dmitry Torokhov, Ben Bright, simont,
	Charles Keepax, Richard Fitzgerald, Lee Jones, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Liam Girdwood, Mark Brown,
	Jaroslav Kysela, Takashi Iwai, David Rhodes, Jack Yu, Igor Prusov,
	Weidong Wang, Binbin Zhou, Luca Ceresoli, Prasad Kumpatla,
	Paul Handrigan, Masahiro Yamada, Nuno Sa, Karel Balej,
	Heiko Stuebner, Jeff LaBundy
  Cc: linux-kernel, linux-input, devicetree, linux-sound, Fred Treven

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/7] Initial Support for CS40L26
  2025-01-31 20:20 [PATCH 0/7] Initial Support for CS40L26 Fred Treven
@ 2025-01-31 21:18 ` Krzysztof Kozlowski
  2025-02-04 22:07   ` Fredrik Treven
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2025-01-31 21:18 UTC (permalink / raw)
  To: Fred Treven, James Ogletree, Dmitry Torokhov, Ben Bright, simont,
	Charles Keepax, Richard Fitzgerald, Lee Jones, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Liam Girdwood, Mark Brown,
	Jaroslav Kysela, Takashi Iwai, David Rhodes, Jack Yu, Igor Prusov,
	Weidong Wang, Binbin Zhou, Luca Ceresoli, Prasad Kumpatla,
	Paul Handrigan, Masahiro Yamada, Nuno Sa, Karel Balej,
	Heiko Stuebner, Jeff LaBundy
  Cc: linux-kernel, linux-input, devicetree, linux-sound

On 31/01/2025 21:20, Fred Treven wrote:
> 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.

I got two emails from you out of this entire set, not even threaded. I
think rest of your posting got lost.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/7] Initial Support for CS40L26
  2025-01-31 21:18 ` Krzysztof Kozlowski
@ 2025-02-04 22:07   ` Fredrik Treven
  0 siblings, 0 replies; 3+ messages in thread
From: Fredrik Treven @ 2025-02-04 22:07 UTC (permalink / raw)
  To: Krzysztof Kozlowski, James Ogletree, Dmitry Torokhov, Ben Bright,
	simont, Charles Keepax, Richard Fitzgerald, Lee Jones,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Liam Girdwood,
	Mark Brown, Jaroslav Kysela, Takashi Iwai, David Rhodes, Jack Yu,
	Igor Prusov, Weidong Wang, Binbin Zhou, Luca Ceresoli,
	Prasad Kumpatla, Paul Handrigan, Masahiro Yamada, Nuno Sa,
	Karel Balej, Heiko Stuebner, Jeff LaBundy
  Cc: linux-kernel, linux-input, devicetree, linux-sound

On 1/31/25 15:18, Krzysztof Kozlowski wrote:
> On 31/01/2025 21:20, Fred Treven wrote:
>> 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.
> 
> I got two emails from you out of this entire set, not even threaded. I
> think rest of your posting got lost.
> 
> Best regards,
> Krzysztof

Thanks for pointing this out, Krzysztof. I made a mistake when sending
the email such that patches only got sent on a per-subsystem basis
rather than grouping all email addresses together. I will do a resend
to resolve this.

Thanks,
Fred

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-02-04 22:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-31 20:20 [PATCH 0/7] Initial Support for CS40L26 Fred Treven
2025-01-31 21:18 ` Krzysztof Kozlowski
2025-02-04 22:07   ` Fredrik Treven

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).