ASoC: Intel: sof-rt5682: support bclk as PLL source on rt5682s
authorBrent Lu <brent.lu@intel.com>
Fri, 26 Apr 2024 15:25:29 +0000 (10:25 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 29 Apr 2024 14:49:21 +0000 (23:49 +0900)
commit3d84e070253eb853e3190a23994aa3074615efd1
tree05b318287f482a8ec488ccb7c9fa6f16c39342ea
parent4524b1e3ef7884e0a54484dce8d921be7a06af13
ASoC: Intel: sof-rt5682: support bclk as PLL source on rt5682s

For rt5682s codec, we could use bclk as PLL source when the frequency
is 3.072MHz but no 2.4MHz. Update the code to select correct pll_id
and clk_id for 3.072MHz bclk.

Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Brent Lu <brent.lu@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20240426152529.38345-24-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_rt5682.c