[PATCH V6 00/10] ASoC: codecs: Add aw87390 amplifier driver

wangweidong.a@awinic.com posted 10 patches 1 year, 1 month ago
.../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
[PATCH V6 00/10] ASoC: codecs: Add aw87390 amplifier driver
Posted by wangweidong.a@awinic.com 1 year, 1 month ago
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
Re: [PATCH V6 00/10] ASoC: codecs: Add aw87390 amplifier driver
Posted by Mark Brown 1 year, 1 month ago
On Thu, 28 Sep 2023 18:57:17 +0800, wangweidong.a@awinic.com wrote:
> 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
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[01/10] ASoC: dt-bindings: awinic,aw88395: Add properties for multiple PA support
        commit: b99d8d8adfda1f9220dd2ee9bdb96ba02dc62bd7
[02/10] ASoC: dt-bindings: Add schema for "awinic,aw87390"
        commit: 457b6587c112e162d3bec871c7b93359168d5c0a
[03/10] ASoC: codecs: Remove the "fade-enable property"
        commit: 085370aa8c880da7014d0d8f93343fc1d21104b8
[04/10] ASoC: codecs: Rename "sound-channel" to "awinic,audio-channel"
        commit: 74ff4f22d81e97b5c2505cee2ff743fc9249d9e2
[05/10] ASoC: codecs: Modify the transmission method of parameters
        commit: e83219c94abb4ad977f6b2b8be7d466ef0c2248f
[06/10] ASoC: codecs: Modify i2c driver name
        commit: 6a4c3ce3f06cee1c25420cae8634269021ef8504
[07/10] ASoC: codecs: Add code for bin parsing compatible with aw87390
        commit: b116c832c9e84843c64eed087271e29b3bc6c1b8
[08/10] ASoC: codecs: Rename "sync-flag" to "awinic,sync-flag"
        commit: c786770ed8a53836490f6157f40ef83c7149ee75
[09/10] ASoC: codecs: Modify the transmission mode of function parameters
        commit: f83287a72551833a6fe2fc96f334b26e6eba77e8
[10/10] ASoC: codecs: Add aw87390 amplifier driver
        commit: 37b4346ed8681660ae60de4facc3d499d8e5cf2a

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark