mbox series

[v2,0/7] Add Chameleon v3 ASoC audio

Message ID 168370025444.26.1010294303910435639@mailman-core.alsa-project.org (mailing list archive)
Headers show
Series Add Chameleon v3 ASoC audio | expand

Message

Paweł Anikiel May 8, 2023, 11:30 a.m. UTC
The Google Chameleon v3 is a device made for testing audio and video
paths of other devices. This patchset adds support for ASoC audio on
this device. It has two audio sources: HDMI audio from the it68051 chip
(RX only), and analog audio from the ssm2603 chip (RX and TX).

The patchset adds the ASoC platform and codec drivers, as well as some
changes to the existing ssm2602 codec driver.

v2 changes:
  * Replace chv3-audio machine driver with simple-audio-card
  * Use regmap_register_patch() in ssm2602 workaround
  * Remove ssm2602 mute gpio patch, add a gpio hog instead
  * Simplify hw_pointer logic in chv3-i2s
  * Commit splits & other misc changes

Paweł Anikiel (7):
  ASoC: Add Google Chameleon v3 i2s driver
  ASoC: Add Google Chameleon v3 codec driver
  ASoC: dt-bindings: Add Google Chameleon v3 i2s device
  ASoC: dt-bindings: Add Google Chameleon v3 audio codec
  ARM: dts: chameleonv3: Add mute gpio hog
  ARM: dts: chameleonv3: Add Chameleon v3 audio
  ASoC: ssm2602: Add workaround for playback distortions

 .../bindings/sound/google,chv3-codec.yaml     |  31 ++
 .../bindings/sound/google,chv3-i2s.yaml       |  44 +++
 .../boot/dts/socfpga_arria10_chameleonv3.dts  |  62 ++++
 sound/soc/Kconfig                             |   1 +
 sound/soc/Makefile                            |   1 +
 sound/soc/codecs/Kconfig                      |   8 +
 sound/soc/codecs/Makefile                     |   2 +
 sound/soc/codecs/chv3-codec.c                 |  41 +++
 sound/soc/codecs/ssm2602.c                    |  15 +
 sound/soc/google/Kconfig                      |   6 +
 sound/soc/google/Makefile                     |   2 +
 sound/soc/google/chv3-i2s.c                   | 338 ++++++++++++++++++
 12 files changed, 551 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/google,chv3-codec.yaml
 create mode 100644 Documentation/devicetree/bindings/sound/google,chv3-i2s.yaml
 create mode 100644 sound/soc/codecs/chv3-codec.c
 create mode 100644 sound/soc/google/Kconfig
 create mode 100644 sound/soc/google/Makefile
 create mode 100644 sound/soc/google/chv3-i2s.c