ASoC: amd: Add common framework to support I2S on ACP SOC
authorAjit Kumar Pandey <AjitKumar.Pandey@amd.com>
Tue, 19 Oct 2021 07:09:31 +0000 (12:39 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 20 Oct 2021 10:12:49 +0000 (11:12 +0100)
commit623621a9f9e1a2f4bf1c69d066b7de3de2b12df6
treeffb23b16cff33e1c371a10672ddfe130b58efc57
parentbfceb9c2160109ef8c9305e0a726c7fe6cd9cd9e
ASoC: amd: Add common framework to support I2S on ACP SOC

We are using legacy way of exposing dais and DMA configuration that
requires separate driver modules for various ACP SOC with almost
similar hw configuration. Moreover the legacy approach requires
separate I2S and DMA module platform devices registration and need
machine specific quirk to control various I2S endpoints. Add generic
dai driver and platform driver for I2S controller on ACP hw block.
This common framework can be used by various ACP platform devices
that shares common specs.

Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>
Link: https://lore.kernel.org/r/20211019070938.5076-2-AjitKumar.Pandey@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/Kconfig
sound/soc/amd/Makefile
sound/soc/amd/acp/Kconfig [new file with mode: 0644]
sound/soc/amd/acp/Makefile [new file with mode: 0644]
sound/soc/amd/acp/acp-i2s.c [new file with mode: 0644]
sound/soc/amd/acp/acp-platform.c [new file with mode: 0644]
sound/soc/amd/acp/amd.h [new file with mode: 0644]
sound/soc/amd/acp/chip_offset_byte.h [new file with mode: 0644]