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/Makefile | |
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/Makefile')
-rw-r--r-- | sound/soc/amd/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/amd/Makefile b/sound/soc/amd/Makefile index f07fd2e2870a..79b0622fa5d3 100644 --- a/sound/soc/amd/Makefile +++ b/sound/soc/amd/Makefile @@ -1,5 +1,7 @@ acp_audio_dma-objs := acp-pcm-dma.o +snd-soc-acp-da7219mx98357-mach-objs := acp-da7219-max98357a.o snd-soc-acp-rt5645-mach-objs := acp-rt5645.o obj-$(CONFIG_SND_SOC_AMD_ACP) += acp_audio_dma.o +obj-$(CONFIG_SND_SOC_AMD_CZ_DA7219MX98357_MACH) += snd-soc-acp-da7219mx98357-mach.o obj-$(CONFIG_SND_SOC_AMD_CZ_RT5645_MACH) += snd-soc-acp-rt5645-mach.o |