Age | Commit message (Collapse) | Author |
|
SOF boots the DSP at probe and keeps it up all the time.
With this change, after booting if no one is using the DSP
the SOF core will turn off the DSP to save power.
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
|
|
Add SOF device and DT descriptor for i.MX8MP platform.
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
|
|
Add SOF device and DT descriptors for i.MX8QM platform.
Signed-off-by: Paul Olaru <paul.olaru@nxp.com>
|
|
i.MX8 and i.MX8X platforms are very similar and were treated the same.
Anyhow, we need to account for the differences somehow.
Current supported platform is i.MX8QXP which is from i.MX8X family.
Rename i.MX8 platform to i.MX8X to prepare for future i.MX8 platforms.
Signed-off-by: Paul Olaru <paul.olaru@nxp.com>
|
|
mach is only used now in nocodec usecase, so properly
guard it to avoid compiler warning.
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
|
|
ACPI creates tables with information about the machine driver.
With DT there is no need for such tables because we can directly
get all the information needed from DT file.
This patch introduces machine driver property inside dsp node.
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
|
|
Introduce two DT properties in dsp node:
* fw-filename, optional property giving the firmware filename
(if this is missing fw filename is read from board description)
* tplg-filename, mandatory giving the topology filename.
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
|
|
We use the nocodec tplg_filename for now. Proper name
should be read from device tree file.
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
|
|
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
|
|
For now the machine driver taking care of the codec is hard-coded.
In the future we will need to read the name from DT.
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
|
|
Set the drv_name and tplg_filename for nocodec
machine driver in sof_machine_check().
This means the sof_nocodec_setup() does not
need the mach, plat_data or desc arguments any longer.
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
|
|
Currently the FW filename is obtained from the ACPI matching
table when determining which machine driver to use. In
preparation for making the machine driver ACPI match optional
for Device Tree platforms and moving the machine driver selection
out of the SOF core, this patch introduces the default_fw_filename
member in struct sof_dev_desc.
Once the machine driver selection is moved out of SOF core,
the nocodec_fw_filename will become obsolete and will be removed.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
|
|
Add support for device tree based SOF DSP devices.
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190821164730.7385-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
|