ASoC: mediatek: mt8188: add memory-region support
authorTrevor Wu <trevor.wu@mediatek.com>
Thu, 29 Jun 2023 07:43:47 +0000 (15:43 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 9 Jul 2023 21:47:29 +0000 (22:47 +0100)
commitfd9965235099fc4cccd94f82a371192bf7645a3e
treef7348ad556993ca89d31940fcf1a6601e0965870
parent3d74f42c56db263e82ad96f8fe23aef38cdc071f
ASoC: mediatek: mt8188: add memory-region support

In certain projects, it is necessary to utilize the reserved memory
region for audio dma. The patch takes into account the dts property
'memory-region', allowing for the specification of memory for afe memif
through device tree.

Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
Link: https://lore.kernel.org/r/20230629074348.21670-2-trevor.wu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8188/mt8188-afe-pcm.c