| From: |
| wangweidong.a-AT-awinic.com |
| To: |
| girdwood-AT-gmail.com, broonie-AT-kernel.org, robh+dt-AT-kernel.org, krzysztof.kozlowski+dt-AT-linaro.org, conor+dt-AT-kernel.org, perex-AT-perex.cz, tiwai-AT-suse.com, wangweidong.a-AT-awinic.com, rf-AT-opensource.cirrus.com, shumingf-AT-realtek.com, herve.codina-AT-bootlin.com, rdunlap-AT-infradead.org, 13916275206-AT-139.com, ryans.lee-AT-analog.com, linus.walleij-AT-linaro.org, ckeepax-AT-opensource.cirrus.com, doug-AT-schmorgal.com, ajye_huang-AT-compal.corp-partner.google.com, harshit.m.mogalapalli-AT-oracle.com, arnd-AT-arndb.de, yang.lee-AT-linux.alibaba.com, u.kleine-koenig-AT-pengutronix.de, liweilei-AT-awinic.com, yijiangtao-AT-awinic.com, trix-AT-redhat.com, dan.carpenter-AT-linaro.org, colin.i.king-AT-gmail.com, alsa-devel-AT-alsa-project.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org |
| Subject: |
| [PATCH V6 00/10] ASoC: codecs: Add aw87390 amplifier driver |
| Date: |
| Thu, 28 Sep 2023 18:57:17 +0800 |
| Message-ID: |
| <20230928105727.47273-1-wangweidong.a@awinic.com> |
| Archive-link: |
| Article |
From: Weidong Wang <wangweidong.a@awinic.com>
The awinic aw87390 is a new high efficiency, low noise,
constant large volume, 6th Smart K audio amplifier.
Add a DT schema for describing awinic aw87390 audio amplifiers.
They are controlled using I2C.
Modify some code for aw88261 and aw88395
v5 -> v6: Adjust the order and context of the patch
Use "len-1" as a loop judgment modifier
Use return 0 instead of return ret at the end of a function
Use dev_dbg instead of dev_info
Use struct_size to calculate the structure size
Remove the space before the exclamation mark
Weidong Wang (10):
ASoC: dt-bindings: awinic,aw88395: Add properties for multiple PA
support
ASoC: dt-bindings: Add schema for "awinic,aw87390"
ASoC: codecs: Remove the "fade-enable property"
ASoC: codecs: Rename "sound-channel" to "awinic,audio-channel"
ASoC: codecs: Modify the transmission method of parameters
ASoC: codecs: Modify i2c driver name
ASoC: codecs: Add code for bin parsing compatible with aw87390
ASoC: codecs: Rename "sync-flag" to "awinic,sync-flag"
ASoC: codecs: Modify the transmission mode of function parameters
ASoC: codecs: Add aw87390 amplifier driver
.../bindings/sound/awinic,aw87390.yaml | 58 +++
.../bindings/sound/awinic,aw88395.yaml | 16 +
sound/soc/codecs/Kconfig | 15 +-
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/aw87390.c | 463 ++++++++++++++++++
sound/soc/codecs/aw87390.h | 85 ++++
sound/soc/codecs/aw88261.c | 27 +-
sound/soc/codecs/aw88261.h | 4 +-
sound/soc/codecs/aw88395/aw88395.c | 9 +-
sound/soc/codecs/aw88395/aw88395.h | 2 +-
sound/soc/codecs/aw88395/aw88395_device.c | 47 +-
sound/soc/codecs/aw88395/aw88395_device.h | 6 +-
sound/soc/codecs/aw88395/aw88395_lib.c | 25 +-
sound/soc/codecs/aw88395/aw88395_reg.h | 1 +
14 files changed, 686 insertions(+), 74 deletions(-)
create mode 100644 Documentation/devicetree/bindings/sound/awinic,aw87390.yaml
create mode 100644 sound/soc/codecs/aw87390.c
create mode 100644 sound/soc/codecs/aw87390.h
base-commit: 633b47cb009d09dc8f4ba9cdb3a0ca138809c7c7
--
2.41.0