ASoC: SOF: Intel: hda: define parse_platform_ext_manifest op
authorFred Oh <fred.oh@linux.intel.com>
Fri, 27 Nov 2020 16:40:19 +0000 (18:40 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 27 Nov 2020 17:23:04 +0000 (17:23 +0000)
commitedbaaada5c9b57e243a98bf5b442f3a7a43ed14d
tree8677cc2f432ede9aea216f0b4b1ab4b14f4aa352
parente984f3ef3d2ac4a1896f7a3845b7c89c27841cbe
ASoC: SOF: Intel: hda: define parse_platform_ext_manifest op

Define the parse_platform_ext_manifest() op for HDA platforms to parse
the SOF_EXT_MAN_CAVS_CONFIG_CAVS_LPRO config item to determine if the FW
is configured for LPRO. The default clock configuration is assumed to be
HPRO in the absence of this item in the extended manifest.
New member clk_config_lpro is added to struct sof_intel_hda_dev to store
the FW clock config information and that this will be used later to perform
platform-specific operations in the post_fw_run op.

Signed-off-by: Fred Oh <fred.oh@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20201127164022.2498406-3-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/apl.c
sound/soc/sof/intel/cnl.c
sound/soc/sof/intel/ext_manifest.h [new file with mode: 0644]
sound/soc/sof/intel/hda-loader.c
sound/soc/sof/intel/hda.h
sound/soc/sof/intel/tgl.c