]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a043990f6f4df4ef5cbd3e1834f28acb162d15e
treeffb23b16cff33e1c371a10672ddfe130b58efc57
parent0fdeb48b93f8807b3dbb1d8a0fec56f33b59736a
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]