linux/sound/soc/mediatek
AngeloGioacchino Del Regno e70b8dd267
ASoC: mediatek: mt8195: Remove afe-dai component and rework codec link
Remove the extra 'mt8195-afe-pcm-dai' component, register the DAI
drivers to the main AFE component, and rework the DAI linking between
the headset codec (RT5682/RT5682S) and the TDM interface in the probe
function to stop assigning name, relying on the of_node of the codec.
Also replace the COMP_DUMMY codec entry with a COMP_EMPTY for the
ETDM2_IN and remove it entirely from ETDM1_OUT to fix the registration
flow for this sound card.

While at it, since we also need to swap the codec init function from
ETDM2_IN to ETDM1_OUT, remove the static assignment of both `ops` and
`init` for both, as we now assign these dynamically during probe.

Fixes: 13f58267cd ("ASoC: soc.h: don't create dummy Component via COMP_DUMMY()")
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://msgid.link/r/20240110105757.539089-1-angelogioacchino.delregno@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-01-10 13:31:56 +00:00
..
common ASoC: mediatek: convert not to use asoc_xxx() 2023-09-26 17:18:38 +02:00
mt2701 ASoC: DT matching and header cleanups 2023-10-09 23:14:18 +01:00
mt6797 ASoC: mediatek: convert not to use asoc_xxx() 2023-09-26 17:18:38 +02:00
mt7986 ASoC: mediatek: mt7986: silence error in case of -EPROBE_DEFER 2023-12-13 13:16:38 +00:00
mt8173 ASoC: mt8173-rt5650: Drop unused includes 2023-10-09 14:27:48 +01:00
mt8183 ASoC: mediatek: mt8183: Handle component name prefix 2023-10-26 12:15:49 +01:00
mt8186 ASoC: mediatek: mt8186_mt6366_rt1019_rt5682s: trivial: fix error messages 2023-11-03 12:52:28 +00:00
mt8188 ASoC: mediatek: mt8188-mt6359: Enable dual amp for mt8188-rt5682s 2023-12-18 14:04:15 +00:00
mt8192 ASoC: mediatek: mt8192: Check existence of dai_name before dereferencing 2024-01-08 20:58:28 +00:00
mt8195 ASoC: mediatek: mt8195: Remove afe-dai component and rework codec link 2024-01-10 13:31:56 +00:00
Kconfig ASoC: mediatek: mt8188-mt6359: add es8326 support 2023-12-18 14:04:14 +00:00
Makefile ASoC: mediatek: mt7986: add platform driver 2023-08-17 13:09:17 +01:00