diff options
author | Akshu Agrawal <akshu.agrawal@amd.com> | 2018-02-16 08:41:13 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-02-16 17:03:46 +0100 |
commit | 608a300fc1f0e088446cbef8e13ded686c5172b6 (patch) | |
tree | 62a50d3ad0a798da64a8f994bbbbfbebb6dba3c5 /sound/soc/amd/Kconfig | |
parent | Linux 4.16-rc1 (diff) | |
download | linux-608a300fc1f0e088446cbef8e13ded686c5172b6.tar.xz linux-608a300fc1f0e088446cbef8e13ded686c5172b6.zip |
ASoC: AMD: Add machine driver for ST DA7219 MAX98357
The driver is used for AMD board using DA7219 and MAX98357 codec.
TEST=Build, apply grunt_mixer_settings:
iotools mmio_write32 0xfed80e40 0x040c40c0
iotools mmio_write32 0xfed80e28 0x10000
iotools mmio_write8 0xfed816de 0xc0
aplay -D plughw:0,0 ./sample_48000.wav -vv
aplay -D plughw:0,0 ./sample_44100.wav -vv
Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/Kconfig')
-rw-r--r-- | sound/soc/amd/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/amd/Kconfig b/sound/soc/amd/Kconfig index d5838402f667..6cbf9cf4d1a4 100644 --- a/sound/soc/amd/Kconfig +++ b/sound/soc/amd/Kconfig @@ -3,6 +3,15 @@ config SND_SOC_AMD_ACP help This option enables ACP DMA support on AMD platform. +config SND_SOC_AMD_CZ_DA7219MX98357_MACH + tristate "AMD CZ support for DA7219 and MAX9835" + select SND_SOC_DA7219 + select SND_SOC_MAX98357A + select SND_SOC_ADAU7002 + depends on SND_SOC_AMD_ACP && I2C + help + This option enables machine driver for DA7219 and MAX9835. + config SND_SOC_AMD_CZ_RT5645_MACH tristate "AMD CZ support for RT5645" select SND_SOC_RT5645 |