[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230928105727.47273-1-wangweidong.a@awinic.com>
Date: Thu, 28 Sep 2023 18:57:17 +0800
From: wangweidong.a@...nic.com
To: girdwood@...il.com, broonie@...nel.org, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
perex@...ex.cz, tiwai@...e.com, wangweidong.a@...nic.com,
rf@...nsource.cirrus.com, shumingf@...ltek.com,
herve.codina@...tlin.com, rdunlap@...radead.org,
13916275206@....com, ryans.lee@...log.com,
linus.walleij@...aro.org, ckeepax@...nsource.cirrus.com,
doug@...morgal.com, ajye_huang@...pal.corp-partner.google.com,
harshit.m.mogalapalli@...cle.com, arnd@...db.de,
yang.lee@...ux.alibaba.com, u.kleine-koenig@...gutronix.de,
liweilei@...nic.com, yijiangtao@...nic.com, trix@...hat.com,
dan.carpenter@...aro.org, colin.i.king@...il.com,
alsa-devel@...a-project.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH V6 00/10] ASoC: codecs: Add aw87390 amplifier driver
From: Weidong Wang <wangweidong.a@...nic.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
Powered by blists - more mailing lists