summaryrefslogtreecommitdiff
path: root/include/sound/sof
diff options
context:
space:
mode:
authorJanusz Jankowski <janusz.jankowski@linux.intel.com>2019-07-22 17:14:02 +0300
committerMark Brown <broonie@kernel.org>2019-07-23 14:22:19 +0300
commit6298b78742be6593d372ed1b5bfa5397e1393595 (patch)
treee62c6fa4bc93a33073abbbb13511b98cd99459d8 /include/sound/sof
parenta3ebccb52efdfb3459fa51516238cc464ee310c9 (diff)
downloadlinux-6298b78742be6593d372ed1b5bfa5397e1393595.tar.xz
ASoC: SOF: Intel: ssp: BCLK delay parameter
Some codecs require BCLK to be on for some time, before sending any data. SOF can enable BCLK and then wait for guaranteed time, before starting DMA on SSP start. Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20190722141402.7194-22-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/sof')
-rw-r--r--include/sound/sof/dai-intel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/sof/dai-intel.h b/include/sound/sof/dai-intel.h
index 4bb8ee138ba7..a81afd3fbd41 100644
--- a/include/sound/sof/dai-intel.h
+++ b/include/sound/sof/dai-intel.h
@@ -76,6 +76,9 @@ struct sof_ipc_dai_ssp_params {
uint16_t tdm_per_slot_padding_flag;
uint32_t clks_control;
uint32_t quirks;
+ uint32_t bclk_delay; /* guaranteed time (ms) for which BCLK
+ * will be driven, before sending data
+ */
} __packed;
/* HDA Configuration Request - SOF_IPC_DAI_HDA_CONFIG */