ASoC: mediatek: mt8186: add SOF support on mt8186-mt6366-da7219-max98357
authorChunxu Li <chunxu.li@mediatek.com>
Thu, 18 Aug 2022 02:51:13 +0000 (10:51 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 19 Aug 2022 12:19:52 +0000 (13:19 +0100)
commit9398381a3904d8849691fb3ec173b48f077c185e
treef2dc21c5df28fe70aa9c82bef43308539f8cb08d
parent4be34e1b70ac72415a55e02683cd847436424588
ASoC: mediatek: mt8186: add SOF support on mt8186-mt6366-da7219-max98357

1. Add widgets, routes and dai-links required by SOF

2. Only when adsp phandle could be retrieved from DTS, the SOF related part
of machine driver is executed.

3. Support dai-links could be specified from DTS, so that
we can disable AP side hardware controls when DSP SOF controls the same
audio FE.

Signed-off-by: Chunxu Li <chunxu.li@mediatek.com>
Link: https://lore.kernel.org/r/20220818025113.17144-4-chunxu.li@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c