Skip to content

Add ZTE zx-aud96p22 audio codec driver

Shawn Guo alsa-devel linux-arm-kernel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- Follow document control-names.rst to name controls in a standard way, so that user space mixer UIs know what to do with them.
- Drop the GPIO support for an optional external amplifier, as it belongs to machine driver rather than codec driver.
- Support overall power bit with a DAPM supply widget and attach it to both DAC and ADC components.
- Instead of reset DAC/ADC data path in startup/shutdown hooks, handle it with DAPM event, so that startup/shutdown hooks get dropped completely.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ASoC: add bindings for ZTE zx-aud96p22 audio codecDocumentation/devicetree/bindings/sound/zte,zx-aud96p22.txt+24 -01 reply
2/2ASoC: zx_aud96p22: add ZTE ZX AUD96P22 codec driversound/soc/codecs/Kconfig sound/soc/codecs/Makefile sound/soc/codecs/zx_aud96p22.c+410 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/2A-b A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Add ZTE zx-aud96p22 audio codec driver

From: Shawn Guo <[email protected]>

It adds the ASoC driver for zx-aud96p22 audio codec found on ZTE ZX family SoCs.

Changes for v2:
- Follow document control-names.rst to name controls in a standard way, so that user space mixer UIs know what to do with them.
- Drop the GPIO support for an optional external amplifier, as it belongs to machine driver rather than codec driver.
- Support overall power bit with a DAPM supply widget and attach it to both DAC and ADC components.
- Instead of reset DAC/ADC data path in startup/shutdown hooks, handle it with DAPM event, so that startup/shutdown hooks get dropped completely.

Baoyou Xie (2):
ASoC: add bindings for ZTE zx-aud96p22 audio codec
ASoC: zx_aud96p22: add ZTE ZX AUD96P22 codec driver

 .../devicetree/bindings/sound/zte,zx-aud96p22.txt  |  24 ++
 sound/soc/codecs/Kconfig                           |   5 +
 sound/soc/codecs/Makefile                          |   2 +
 sound/soc/codecs/zx_aud96p22.c                     | 403 +++++++++++++++++++++
 4 files changed, 434 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/zte,zx-aud96p22.txt
 create mode 100644 sound/soc/codecs/zx_aud96p22.c
Signature · 1 line
1.9.1