[PATCH V10 0/5] ASoC: codecs: Add Awinic AW88395 audio amplifier driver

wangweidong.a at awinic.com wangweidong.a at awinic.com
Fri Jan 13 06:52:56 CET 2023


From: Weidong Wang <wangweidong.a at awinic.com>

The Awinic AW88395 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 AW88395 audio amplifiers. They are
controlled using I2C

v9 -> v10: Modified return before unlock
           Change the way the if statement is written
           Use __le16 instead of unsigned short
           Rename the file, changing aw883xx to aw88395
           Change variable name
           Modify the Makefile and Kconfig

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

 .../bindings/sound/awinic,aw88395.yaml        |   53 +
 sound/soc/codecs/Kconfig                      |   17 +
 sound/soc/codecs/Makefile                     |    5 +
 sound/soc/codecs/aw88395/aw88395.c            |  580 ++++++
 sound/soc/codecs/aw88395/aw88395.h            |   58 +
 sound/soc/codecs/aw88395/aw88395_data_type.h  |  142 ++
 sound/soc/codecs/aw88395/aw88395_device.c     | 1748 +++++++++++++++++
 sound/soc/codecs/aw88395/aw88395_device.h     |  194 ++
 sound/soc/codecs/aw88395/aw88395_lib.c        | 1066 ++++++++++
 sound/soc/codecs/aw88395/aw88395_lib.h        |   92 +
 sound/soc/codecs/aw88395/aw88395_reg.h        |  383 ++++
 11 files changed, 4338 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/awinic,aw88395.yaml
 create mode 100644 sound/soc/codecs/aw88395/aw88395.c
 create mode 100644 sound/soc/codecs/aw88395/aw88395.h
 create mode 100644 sound/soc/codecs/aw88395/aw88395_data_type.h
 create mode 100644 sound/soc/codecs/aw88395/aw88395_device.c
 create mode 100644 sound/soc/codecs/aw88395/aw88395_device.h
 create mode 100644 sound/soc/codecs/aw88395/aw88395_lib.c
 create mode 100644 sound/soc/codecs/aw88395/aw88395_lib.h
 create mode 100644 sound/soc/codecs/aw88395/aw88395_reg.h


base-commit: d9fc1511728c15df49ff18e49a494d00f78b7cd4
-- 
2.39.0



More information about the Alsa-devel mailing list