ASoC: SOF: imx: Add devicetree support to select topologies
authorDaniel Baluta <daniel.baluta@nxp.com>
Mon, 12 Feb 2024 12:52:58 +0000 (14:52 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 12 Feb 2024 13:42:22 +0000 (13:42 +0000)
commit2b9cdef13648bebf79f029deb622e02099146c18
treead45943713da4b0c4e2b54057de1d3f94109a27a
parentf7fc624be3dbfb78047a1cab795b93c7235fbf1c
ASoC: SOF: imx: Add devicetree support to select topologies

We describe tplg_file_name and drv_name using snd_sof_of_mach
array and select correct machine description based on dts compatible
string.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://msgid.link/r/20240212125258.420265-1-daniel.baluta@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/imx/imx8.c
sound/soc/sof/imx/imx8m.c
sound/soc/sof/imx/imx8ulp.c