[PATCH V2 0/4] ASoC: codecs: Add aw88399 amplifier driver

From: wangweidong . a
Date: Fri Oct 20 2023 - 04:34:59 EST


From: Weidong Wang <wangweidong.a@xxxxxxxxxx>

Add the awinic,aw88399 property to the awinic,aw88395.yaml file.

Add i2c and amplifier registration for
aw88399 and their associated operation functions.

v1 -> v2: Modify the reset mode
Delete AW88399_DSP_I2C_WRITES macros
and related debugging statements
Change the value of max_register in aw88399
Change the value of max_register in aw88261
Delete the judgment of unnecessary pointers
Modify the judgment of the ret return value

Weidong Wang (4):
ASoC: dt-bindings: Add schema for "awinic,aw88399"
ASoC: codecs: Modify max_register usage error
ASoC: codecs: Add code for bin parsing compatible with aw88399
ASoC: codecs: Add aw88399 amplifier driver

.../bindings/sound/awinic,aw88395.yaml | 1 +
sound/soc/codecs/Kconfig | 14 +
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/aw88261.c | 2 +-
sound/soc/codecs/aw88395/aw88395_lib.c | 3 +
sound/soc/codecs/aw88395/aw88395_reg.h | 1 +
sound/soc/codecs/aw88399.c | 1911 +++++++++++++++++
sound/soc/codecs/aw88399.h | 599 ++++++
8 files changed, 2532 insertions(+), 1 deletion(-)
create mode 100644 sound/soc/codecs/aw88399.c
create mode 100644 sound/soc/codecs/aw88399.h


base-commit: ce55c22ec8b223a90ff3e084d842f73cfba35588
--
2.41.0