diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2024-04-16 09:13:56 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-16 12:59:56 +0200 |
commit | 6718e1ed93cc28f0faefe21b7d21679ff0b04020 (patch) | |
tree | 56c596a918c0a2d41243b4272f5baf6a6ed75ce3 /sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c | |
parent | ASoC: mediatek: mt8188: Migrate to mtk_soundcard_common_probe (diff) | |
download | linux-6718e1ed93cc28f0faefe21b7d21679ff0b04020.tar.xz linux-6718e1ed93cc28f0faefe21b7d21679ff0b04020.zip |
ASoC: mediatek: mt8195: Migrate to mtk_soundcard_common_probe
Add mtk_soundcard_pdata platform data for the MediaTek common sound card
probe mechanism, including a driver/soc-specific probe extension (used
for bits that cannot be commonized hence specific to this driver), and
change the probe function to mtk_soundcard_common_probe.
This is also adding the possibility of specifying the links and routing
with the audio-routing property and (x)-dai-link nodes in device trees
to stop hardcoding machine specific links in the card driver assupported
by the common probe function, but support for legacy device trees is
retained with a legacy_probe function, which is used only in case the
new properties are not found.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20240416071410.75620-5-angelogioacchino.delregno@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c')
0 files changed, 0 insertions, 0 deletions