[PATCH v2 0/4] ASoC: codecs: Add support for FourSemi FS2104/5S

Nick Li posted 4 patches 3 months ago
There is a newer version of this series
.../bindings/sound/foursemi,fs2105s.yaml      |  100 +
.../devicetree/bindings/vendor-prefixes.yaml  |    2 +
sound/soc/codecs/Kconfig                      |   14 +
sound/soc/codecs/Makefile                     |    4 +
sound/soc/codecs/fs-amp-lib.c                 |  265 +++
sound/soc/codecs/fs-amp-lib.h                 |  150 ++
sound/soc/codecs/fs210x.c                     | 1610 +++++++++++++++++
sound/soc/codecs/fs210x.h                     |   79 +
8 files changed, 2224 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/foursemi,fs2105s.yaml
create mode 100644 sound/soc/codecs/fs-amp-lib.c
create mode 100644 sound/soc/codecs/fs-amp-lib.h
create mode 100644 sound/soc/codecs/fs210x.c
create mode 100644 sound/soc/codecs/fs210x.h
[PATCH v2 0/4] ASoC: codecs: Add support for FourSemi FS2104/5S
Posted by Nick Li 3 months ago
The FS2104/5S are Inductor-Less, Stereo, Closed-Loop,
Digital Input Class-D Power Amplifiers with Enhanced Signal Processing
FS2104 can deliver 2x15W into 4ohm BTL speaker loads,
FS2105S can deliver 2x30W into 8ohm BTL speaker loads.

Most functions have been built and tested on EVB boards:
ARMv8-A, Linux version 6.16.0-rc4-v8

v1 -> v2:
- Adjust the order of patches according to the dependency relationship
- Rename yaml file to foursemi,fs2105s.yaml
- Fix some properties and error definitions in foursemi,fs2105s.yaml:
  sdz-gpios -> reset->gpios
  fs,fwm-name -> firmware-name
  Delete fs,dai-name
- Drop "dt-bindings for" from subject
- Update the driver code according to the update of DT schema
- Fix warnings/errors reported by running checkpatch.pl --strict
- Fix warnings/errors reported by running make dt_bindings_check

Nick Li (4):
  dt-bindings: vendor-prefixes: Add Shanghai FourSemi Semiconductor
    Co.,Ltd
  ASoC: dt-bindings: Add schema for FS2104/5S audio amplifiers
  ASoC: codecs: Add library for FourSemi audio amplifiers
  ASoC: codecs: Add FourSemi FS2104/5S audio amplifier driver

 .../bindings/sound/foursemi,fs2105s.yaml      |  100 +
 .../devicetree/bindings/vendor-prefixes.yaml  |    2 +
 sound/soc/codecs/Kconfig                      |   14 +
 sound/soc/codecs/Makefile                     |    4 +
 sound/soc/codecs/fs-amp-lib.c                 |  265 +++
 sound/soc/codecs/fs-amp-lib.h                 |  150 ++
 sound/soc/codecs/fs210x.c                     | 1610 +++++++++++++++++
 sound/soc/codecs/fs210x.h                     |   79 +
 8 files changed, 2224 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/foursemi,fs2105s.yaml
 create mode 100644 sound/soc/codecs/fs-amp-lib.c
 create mode 100644 sound/soc/codecs/fs-amp-lib.h
 create mode 100644 sound/soc/codecs/fs210x.c
 create mode 100644 sound/soc/codecs/fs210x.h


base-commit: 870bd70790beeaff6ef016aece922e540675836e
-- 
2.17.1