summaryrefslogtreecommitdiff
path: root/sound/soc/sof/sof-of-dev.c
AgeCommit message (Collapse)Author
2020-06-11MLK-24263-7 ASoC: SOF: Activate runtime PM with SOF OF deviceDaniel Baluta
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>
2020-02-21MLK-23350-6 ASoC: SOF: Add i.MX8MP device descriptorDaniel Baluta
Add SOF device and DT descriptor for i.MX8MP platform. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2020-02-10LF-537-13: sound: soc: sof: imx: Add i.MX8QM device descriptorPaul Olaru
Add SOF device and DT descriptors for i.MX8QM platform. Signed-off-by: Paul Olaru <paul.olaru@nxp.com>
2020-02-10LF-537-11 sound: soc: sof: Rename i.MX8 platform to i.MX8XPaul Olaru
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>
2019-12-18LF-537-10: ASoC: SOF Fix unused variable ‘mach’ warningDaniel Baluta
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>
2019-12-18LF-537-1 ASoC: SOF: Introduce machine driver nameDaniel Baluta
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>
2019-12-03ASoC: SOF: Parse fw/tplg filename from DTDaniel Baluta
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>
2019-11-29ASoC: SOF: Read tplg filename from board descriptorDaniel Baluta
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>
2019-11-29ASoC: SOF: Update fw_filename from board descriptionDaniel Baluta
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2019-11-28ASoC: SOF: Allow probe to continue when we have an actual codecDaniel Baluta
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>
2019-11-27ASoC: SOF: nocodec: Amend arguments for sof_nocodec_setup()Daniel Baluta
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>
2019-11-27ASoC: SOF: Introduce default_fw_filename member in sof_dev_descRanjani Sridharan
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>
2019-08-22ASoC: SOF: Add OF DSP device supportDaniel Baluta
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>