[PATCH V2 0/5] ASoC: codecs: Add aw87390 amplifier driver

From: wangweidong . a
Date: Tue Sep 12 2023 - 02:59:13 EST


From: Weidong Wang <wangweidong.a@xxxxxxxxxx>

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.

v1 -> v2 : Added properties in awinic,aw88395 file
Remove fade-enable because the functionality is
duplicated in the aw88395 driver
Modify dev_err_probe usage
Delete unused header files
Change the i2c driver name
Modify the way a function returns a value

Weidong Wang (5):
ASoC: dt-bindings: Adds properties to "awinic,aw88395"
ASoC: dt-bindings: Add schema for "awinic,aw87390"
ASoC: codecs: Add code for bin parsing compatible with aw87390
ASoC: codecs: Change the aw88261 variable name and i2c driver name
ASoC: codecs: Add aw87390 amplifier driver

.../bindings/sound/awinic,aw87390.yaml | 58 +++
.../bindings/sound/awinic,aw88395.yaml | 19 +
sound/soc/codecs/Kconfig | 15 +-
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/aw87390.c | 462 ++++++++++++++++++
sound/soc/codecs/aw87390.h | 85 ++++
sound/soc/codecs/aw88261.c | 23 +-
sound/soc/codecs/aw88261.h | 2 +-
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 | 23 +-
sound/soc/codecs/aw88395/aw88395_reg.h | 1 +
14 files changed, 685 insertions(+), 69 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: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d
--
2.41.0