diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2024-04-16 10:13:58 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-16 13:59:58 +0300 |
commit | 44a53c8ec9cad02ce7dfd55094e8d7aeb48eb73c (patch) | |
tree | 0cb041807cea08e59b55c881fb11c213fcc33221 /tools/perf/scripts/python | |
parent | 2d72cbb56327205ae04a9376c5b78a35b6347294 (diff) | |
download | linux-44a53c8ec9cad02ce7dfd55094e8d7aeb48eb73c.tar.xz |
ASoC: mediatek: mt8186: 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.
Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20240416071410.75620-7-angelogioacchino.delregno@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions