ASoC: AMD: Add machine driver for ST DA7219 MAX98357
authorAkshu Agrawal <akshu.agrawal@amd.com>
Fri, 16 Feb 2018 07:41:13 +0000 (13:11 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 16 Feb 2018 16:03:46 +0000 (16:03 +0000)
commit608a300fc1f0e088446cbef8e13ded686c5172b6
tree62a50d3ad0a798da64a8f994bbbbfbebb6dba3c5
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
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>
sound/soc/amd/Kconfig
sound/soc/amd/Makefile
sound/soc/amd/acp-da7219-max98357a.c [new file with mode: 0644]