Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: SOF: dai-intel: add SOF_DAI_INTEL_SSP_CLKCTRL_MCLK/BCLK_ES bits

Add two clks_control bits. MCLK and/or BCLK will start during hw_params
and stop during hw_free if the corresponding bit is set.

While the kernel does not do anything with these bitfields, this is
also tagged as part of the ABI 3.19 changes.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <bard.liao@intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Brent Lu <brent.lu@intel.com>
Link: https://lore.kernel.org/r/20211004171430.103674-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Bard Liao and committed by
Mark Brown
68776b2f b30b60a2

+4
+4
include/sound/sof/dai-intel.h
··· 48 48 #define SOF_DAI_INTEL_SSP_CLKCTRL_FS_KA BIT(4) 49 49 /* bclk idle */ 50 50 #define SOF_DAI_INTEL_SSP_CLKCTRL_BCLK_IDLE_HIGH BIT(5) 51 + /* mclk early start */ 52 + #define SOF_DAI_INTEL_SSP_CLKCTRL_MCLK_ES BIT(6) 53 + /* bclk early start */ 54 + #define SOF_DAI_INTEL_SSP_CLKCTRL_BCLK_ES BIT(7) 51 55 52 56 /* DMIC max. four controllers for eight microphone channels */ 53 57 #define SOF_DAI_INTEL_DMIC_NUM_CTRL 4