soundwire: intel_ace2x: move and extend clock selection
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 26 Mar 2024 09:20:28 +0000 (09:20 +0000)
committerVinod Koul <vkoul@kernel.org>
Fri, 5 Apr 2024 11:51:03 +0000 (17:21 +0530)
commit769d69812b42f0fc710bdf16b9f3979c959910b7
treed6ed303ba7e21421878f42647c040821c1f8361f
parent09ee49e3de6bcecc57028682c673d180ec2d436b
soundwire: intel_ace2x: move and extend clock selection

The input clock to the SoundWire IP can be
38.4 MHz (xtal clock source)
24.576 MHz (audio cardinal clock)
96 MHz (internal Audio PLL)

This patch moves the clock selection outside the mutex and add the new
choices for 24.576 and 96 MHz, but doesn't add any functionality.
Follow-up patches will add support for clock selection.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20240326092030.1062802-6-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel_ace2x.c