|
|
Log in / Subscribe / Register

ASoC: codecs: Add aw88399 amplifier driver

From:  wangweidong.a-AT-awinic.com
To:  lgirdwood-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, shumingf-AT-realtek.com, rf-AT-opensource.cirrus.com, herve.codina-AT-bootlin.com, ckeepax-AT-opensource.cirrus.com, 13916275206-AT-139.com, ryans.lee-AT-analog.com, linus.walleij-AT-linaro.org, sebastian.reichel-AT-collabora.com, ajye_huang-AT-compal.corp-partner.google.com, harshit.m.mogalapalli-AT-oracle.com, arnd-AT-arndb.de, colin.i.king-AT-gmail.com, dan.carpenter-AT-linaro.org, trix-AT-redhat.com, liweilei-AT-awinic.com, alsa-devel-AT-alsa-project.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org
Subject:  [PATCH V2 0/4] ASoC: codecs: Add aw88399 amplifier driver
Date:  Fri, 20 Oct 2023 16:34:22 +0800
Message-ID:  <20231020083426.302925-1-wangweidong.a@awinic.com>
Cc:  yijiangtao-AT-awinic.com
Archive-link:  Article

From: Weidong Wang <wangweidong.a@awinic.com>

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



Copyright © 2023, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds