[PATCH v4 06/18] ASoC: mediatek: mt8186: Migrate to mtk_soundcard_common_probe

Alexandre Mergnat amergnat at baylibre.com
Wed Apr 10 07:02:14 PDT 2024


Reviewed-by: Alexandre Mergnat <amergnat at baylibre.com>

On 09/04/2024 13:32, AngeloGioacchino Del Regno wrote:
> 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.

-- 
Regards,
Alexandre



More information about the linux-arm-kernel mailing list