linux/sound/soc/sof/intel
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
..
apl.c ASoC: SOF: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
bdw.c ASoC: SOF: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
byt.c ASoC: SOF: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
cnl.c ASoC: SOF: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
hda-bus.c ASoC: SOF: Intel: Add missing include file hdac_hda.h 2019-08-09 13:24:20 +01:00
hda-codec.c ASoC: SOF: intel: hda: Modify signature for hda_codec_probe_bus() 2019-12-09 18:39:16 +00:00
hda-ctrl.c ASoC: SOF: Intel: hda: Disable DMI L1 entry during capture 2019-10-01 18:32:01 +01:00
hda-dai.c ASoC: SOF: partition audio-related parts from SOF core 2019-12-09 18:38:57 +00:00
hda-dsp.c ASoC: SOF: Intel: hda: set L1SEN on S0ix suspend 2019-11-08 12:10:08 +00:00
hda-ipc.c ASoC: SOF: Intel: hda: solve MSI issues by merging ipc and stream irq handlers 2019-12-09 18:35:56 +00:00
hda-ipc.h ASoC: SOF: Intel: HDA: add cAVS specific compact IPC header file 2019-10-28 14:43:58 +00:00
hda-loader.c ASoC: SOF: Intel: hda: add dev_err() traces for snd_sof_dsp_read_poll_timeout() 2019-10-23 17:45:55 +01:00
hda-pcm.c ASoC: SOF: partition audio-related parts from SOF core 2019-12-09 18:38:57 +00:00
hda-stream.c ASoC: SOF: partition audio-related parts from SOF core 2019-12-09 18:38:57 +00:00
hda-trace.c ASoC: SOF: Intel: Add Intel specific HDA trace operations 2019-04-28 02:51:23 +09:00
hda.c ASoC: SOF: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
hda.h ASoC: SOF: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
intel-ipc.c ASoC: SOF: Intel: Add legacy IPC support 2019-04-28 02:50:40 +09:00
Kconfig ASoC: SOF: Intel: make common HDMI driver default 2019-12-09 18:32:40 +00:00
Makefile ASoC: SOF: Add Build support for SOF core and Intel drivers 2019-04-28 02:51:46 +09:00
shim.h ASoC: SOF: Intel: hda: add SSP info to the chip info struct 2019-05-03 14:57:39 +09:00