[PATCH V8 0/5] ASoC: codecs: Add Awinic AW883XX audio amplifier driver

From: wangweidong . a
Date: Fri Dec 30 2022 - 04:35:59 EST


From: Weidong Wang <wangweidong.a@xxxxxxxxxx>

The Awinic AW883XX is an I2S/TDM input, high efficiency
digital Smart K audio amplifier with an integrated 10.25V
smart boost convert

Add a DT schema for describing Awinic AW883xx audio amplifiers. They are
controlled using I2C

v7 -> v8: Delete retry for double loops Enable PA
Delete useless initialization and use reverse x-mas tree style
Add Spaces in comments
Modify aw883xx_switch_set function
Delete our own workqueue, use a default one
Change variable name
Modifying function name
Use dev_ replace pr_ function
Use define replace number
Modify the compatible of the awinic,aw883xx.yaml file

Weidong Wang (5):
ASoC: codecs: Add i2c and codec registration for aw883xx and their
associated operation functions
ASoC: codecs: Aw883xx function for ACF file parse and check
ASoC: codecs: Aw883xx common function for ALSA Audio Driver
ASoC: codecs: Aw883xx chip register file, data type file and Kconfig
Makefile
ASoC: dt-bindings: Add schema for "awinic,aw883xx"

.../bindings/sound/awinic,aw883xx.yaml | 49 +
sound/soc/codecs/Kconfig | 10 +
sound/soc/codecs/Makefile | 6 +
sound/soc/codecs/aw883xx/aw883xx.c | 667 ++++++
sound/soc/codecs/aw883xx/aw883xx.h | 59 +
sound/soc/codecs/aw883xx/aw883xx_bin_parse.c | 1067 ++++++++++
sound/soc/codecs/aw883xx/aw883xx_bin_parse.h | 92 +
sound/soc/codecs/aw883xx/aw883xx_data_type.h | 143 ++
sound/soc/codecs/aw883xx/aw883xx_device.c | 1790 +++++++++++++++++
sound/soc/codecs/aw883xx/aw883xx_device.h | 198 ++
.../soc/codecs/aw883xx/aw883xx_pid_2049_reg.h | 384 ++++
11 files changed, 4465 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/awinic,aw883xx.yaml
create mode 100644 sound/soc/codecs/aw883xx/aw883xx.c
create mode 100644 sound/soc/codecs/aw883xx/aw883xx.h
create mode 100644 sound/soc/codecs/aw883xx/aw883xx_bin_parse.c
create mode 100644 sound/soc/codecs/aw883xx/aw883xx_bin_parse.h
create mode 100644 sound/soc/codecs/aw883xx/aw883xx_data_type.h
create mode 100644 sound/soc/codecs/aw883xx/aw883xx_device.c
create mode 100644 sound/soc/codecs/aw883xx/aw883xx_device.h
create mode 100644 sound/soc/codecs/aw883xx/aw883xx_pid_2049_reg.h


base-commit: bff687b3dad6e0e56b27f4d3ed8a9695f35c7b1a
--
2.38.1