[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221222123205.106353-1-wangweidong.a@awinic.com>
Date: Thu, 22 Dec 2022 20:32:01 +0800
From: wangweidong.a@...nic.com
To: lgirdwood@...il.com, broonie@...nel.org, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, perex@...ex.cz, tiwai@...e.com,
ckeepax@...nsource.cirrus.com, rf@...nsource.cirrus.com,
peter.ujfalusi@...ux.intel.com,
pierre-louis.bossart@...ux.intel.com, james.schulman@...rus.com,
flatmax@...tmax.com, ryan.lee.analog@...il.com,
jonathan.albrieux@...il.com, tanureal@...nsource.cirrus.com,
povik+lin@...ebit.org, 13691752556@....com,
cezary.rojewski@...el.com, stephan@...hold.net,
alsa-devel@...a-project.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: liweilei@...nic.com, zhaolei@...nic.com, yijiangtao@...nic.com,
zhangjianming@...nic.com, duanyibo@...nic.com,
Weidong Wang <wangweidong.a@...nic.com>
Subject: [PATCH V7 0/5] ASoC: codecs: Add Awinic AW883XX audio amplifier driver
From: Weidong Wang <wangweidong.a@...nic.com>
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
v6 -> v7: Change name-prefix.yaml to dai-common.yaml in awinic,aw883xx.yaml file
Delete redundant header files
Use EINVAL and so on instead of custom error return values
Remove unnecessary comment
No longer assign NULL to pointer
Change the way the if statement is written
Use devm_kcalloc instead of devm_kzalloc
Use crc8 and crc32 that come with linux
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 | 706 +++++++
sound/soc/codecs/aw883xx/aw883xx.h | 61 +
sound/soc/codecs/aw883xx/aw883xx_bin_parse.c | 1138 ++++++++++
sound/soc/codecs/aw883xx/aw883xx_bin_parse.h | 123 ++
sound/soc/codecs/aw883xx/aw883xx_data_type.h | 143 ++
sound/soc/codecs/aw883xx/aw883xx_device.c | 1840 +++++++++++++++++
sound/soc/codecs/aw883xx/aw883xx_device.h | 201 ++
.../soc/codecs/aw883xx/aw883xx_pid_2049_reg.h | 490 +++++
11 files changed, 4767 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: 9d2f6060fe4c3b49d0cdc1dce1c99296f33379c8
--
2.38.1
Powered by blists - more mailing lists