ASoC: mediatek: mt8186: add SOF support on mt8186-mt6366-rt1019-rt5682s
authorChunxu Li <chunxu.li@mediatek.com>
Thu, 18 Aug 2022 02:51:12 +0000 (10:51 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 19 Aug 2022 12:19:51 +0000 (13:19 +0100)
commit4be34e1b70ac72415a55e02683cd847436424588
treec81817feb492d193ec5fdf63348e1a5a87d92bc4
parent3c15abbed0ab99bac2e075ad38d43a7004778e91
ASoC: mediatek: mt8186: add SOF support on mt8186-mt6366-rt1019-rt5682s

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-3-chunxu.li@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c