linux/sound/soc/sof
Daniel Baluta 285880a23d
ASoC: SOF: Make creation of machine device from SOF core optional
Currently, SOF probes machine drivers by creating a platform device
and passing the machine description as private data.

This is driven by the ACPI restrictions. Ideally, ACPI tables
should contain the description for the machine driver. This is
not possible because ACPI tables are frozen and used on multiple
OS-es (e.g Windows).

In the case of Device Tree we don't have this restriction, so we
choose to probe the machine drivers by creating a DT node as is
the standard ALSA way.

This patch makes the probing of machine drivers from SOF
core optional allowing for Device Tree platforms to decouple
the SOF core from machine driver probing.

Along with this, it also consolidates the machine driver selection
for Intel platforms by defining optional ops for selecting the machine
driver based on the ACPI match for HDA and non-HDA platforms and
setting the mach params.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191204211556.12671-11-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-12-09 18:39:35 +00:00
..
imx ASoC: Updates for v5.5 2019-11-07 14:12:30 +01:00
intel ASoC: SOF: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
xtensa sound fixes for 5.2-rc5 2019-06-14 05:37:06 -10:00
control.c ASoC: SOF: partition audio-related parts from SOF core 2019-12-09 18:38:57 +00:00
core.c ASoC: SOF: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
debug.c Merge branch 'for-5.4' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.5 2019-11-06 16:29:34 +00:00
ipc.c ASoC: SOF: partition audio-related parts from SOF core 2019-12-09 18:38:57 +00:00
Kconfig ASoC: SOF: Intel: use def_tristate, avoid using select 2019-11-04 13:24:14 +00:00
loader.c ASoC: SOF: loader: fix kernel oops on firmware boot failure 2019-10-01 18:30:28 +01:00
Makefile ASoC: SOF: partition audio-related parts from SOF core 2019-12-09 18:38:57 +00:00
nocodec.c ASoC: SOF: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
ops.c ASoC: SOF: Fix a compile warning with CONFIG_PCI=n 2019-05-07 11:23:57 +09:00
ops.h ASoC: SOF: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
pcm.c ASoC: SOF: partition audio-related parts from SOF core 2019-12-09 18:38:57 +00:00
pm.c ASoC: SOF: partition audio-related parts from SOF core 2019-12-09 18:38:57 +00:00
sof-acpi-dev.c ASoC: SOF: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
sof-audio.c ASoC: SOF: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
sof-audio.h ASoC: SOF: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
sof-of-dev.c ASoC: SOF: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
sof-pci-dev.c ASoC: SOF: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
sof-priv.h ASoC: SOF: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
topology.c ASoC: SOF: partition audio-related parts from SOF core 2019-12-09 18:38:57 +00:00
trace.c ASoC: SOF: core: modify the signature for snd_sof_create_page_table 2019-12-09 18:38:01 +00:00
utils.c ASoC: SOF: core: modify the signature for snd_sof_create_page_table 2019-12-09 18:38:01 +00:00