mbox series

[v4,0/2] Cirrus Logic CS35L41 Amplifier

Message ID 20210726223438.1464333-1-drhodes@opensource.cirrus.com (mailing list archive)
Headers show
Series Cirrus Logic CS35L41 Amplifier | expand

Message

Rhodes, David July 26, 2021, 10:34 p.m. UTC
ASoC driver and devicetree documentation for a new
Cirrus Logic amplifier CS35L41

v4 changes:
Fixed spacing for bracketed declarations
Fixed comment style in headers
Moved private struct from include/sound to local cs35l41.h
Reordered probe operations:
1) hardware errata
2) INT pin config
3) INT mask config
4) IRQ registration
Moved set_pdata from component_probe to probe
Set initial state of AMP_EN bit and corresponding DAPM widget to off
Rename invert-pcm DT prop to invert-class-d
Change return code handling in IRQ
Use constants for regulator num supplies
Error message for no SPI dev in spi_otp_setup
Restore 0 initializers in IRQ per Charles's comments

David Rhodes (2):
  ASoC: cs35l41: CS35L41 Boosted Smart Amplifier
  ASoC: cs35l41: Add bindings for CS35L41

 .../devicetree/bindings/sound/cs35l41.yaml    |  398 ++++
 include/sound/cs35l41.h                       |   60 +
 sound/soc/codecs/Kconfig                      |   12 +
 sound/soc/codecs/Makefile                     |    4 +
 sound/soc/codecs/cs35l41-i2c.c                |  116 ++
 sound/soc/codecs/cs35l41-spi.c                |  145 ++
 sound/soc/codecs/cs35l41-tables.c             |  612 ++++++
 sound/soc/codecs/cs35l41.c                    | 1775 +++++++++++++++++
 sound/soc/codecs/cs35l41.h                    |  777 ++++++++
 9 files changed, 3899 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/cs35l41.yaml
 create mode 100644 include/sound/cs35l41.h
 create mode 100644 sound/soc/codecs/cs35l41-i2c.c
 create mode 100644 sound/soc/codecs/cs35l41-spi.c
 create mode 100644 sound/soc/codecs/cs35l41-tables.c
 create mode 100644 sound/soc/codecs/cs35l41.c
 create mode 100644 sound/soc/codecs/cs35l41.h