ASoC: Add generic RPI driver for simple soundcards.
authorTim Gover <tim.gover@raspberrypi.org>
Wed, 27 Jun 2018 14:59:12 +0000 (15:59 +0100)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:07:57 +0000 (00:07 +0100)
commit19ab12a3ecca1d0eb6293263b91eb13e7cbc2590
tree8f842630f46a59f6c0b5a0f69950d0d9b3b23819
parent724984d3591f90e8aba200cf0f9a1a0da03d3730
ASoC: Add generic RPI driver for simple soundcards.

The RPI simple sound card driver provides a generic ALSA SOC card driver
supporting a variety of Pi HAT soundcards. The intention is to avoid
the duplication of code for cards that can't be fully supported by
the soc simple/graph cards but are otherwise almost identical.

This initial commit adds support for the ADAU1977 ADC, Google VoiceHat,
HifiBerry AMP, HifiBerry DAC and RPI DAC.

Signed-off-by: Tim Gover <tim.gover@raspberrypi.org>
ASoC: Use correct card name in rpi-simple driver

Use the specific card name from drvdata instead of the snd_rpi_simple

rpi-simple-soundcard: Use nicer driver name "RPi-simple"

Rename the driver from "RPI simple soundcard" to "RPi-simple" so that
the driver name won't be mangled allowing to be used unaltered as the
card conf filename.
sound/soc/bcm/rpi-simple-soundcard.c [new file with mode: 0644]