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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

v5 -> v6: Modify the return value of Kcontrol
          Delete error prints in Kcontrol  
          Delete the aw883xx_dynamic_create_controls function
          Release firmware immediately after memcpy()
          Change the names of the Widget's input and output
          Delete the alloc and copy for aw_wiget
          Delete all debug nodes and use regmap's debugfs
          Use be32_to_cpup instead of custom macros
          Change inefficient writing
          Verify the size of the bin file
          Changing the function name
          Register directly with the snd_soc_register_component function
          Delete the aw_dev_reg_dump function

Weidong Wang (5):
  ASoC: codecs: Add i2c and codec registration for aw883xx and their
    associated operation functions
  ASoC: codecs: Implementation of aw883xx configuration file parsing
    function
  ASoC: codecs: aw883xx chip control logic, such as power on and off
  ASoC: codecs: Configure aw883xx chip register as well as Kconfig and
    Makefile
  ASoC: dt-bindings: Add schema for "awinic,aw883xx"

 .../bindings/sound/awinic,aw883xx.yaml        |   49 +
 sound/soc/codecs/Kconfig                      |   10 +
 sound/soc/codecs/Makefile                     |    7 +
 sound/soc/codecs/aw883xx/aw883xx.c            |  909 +++++++
 sound/soc/codecs/aw883xx/aw883xx.h            |   81 +
 sound/soc/codecs/aw883xx/aw883xx_bin_parse.c  | 1324 ++++++++++
 sound/soc/codecs/aw883xx/aw883xx_bin_parse.h  |  149 ++
 sound/soc/codecs/aw883xx/aw883xx_data_type.h  |  146 ++
 sound/soc/codecs/aw883xx/aw883xx_device.c     | 1613 ++++++++++++
 sound/soc/codecs/aw883xx/aw883xx_device.h     |  537 ++++
 sound/soc/codecs/aw883xx/aw883xx_init.c       |  615 +++++
 .../soc/codecs/aw883xx/aw883xx_pid_2049_reg.h | 2300 +++++++++++++++++
 12 files changed, 7740 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_init.c
 create mode 100644 sound/soc/codecs/aw883xx/aw883xx_pid_2049_reg.h


base-commit: 479174d402bcf60789106eedc4def3957c060bad
-- 
2.38.1




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux