diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2019-08-06 02:55:17 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-08-21 11:06:02 +0200 |
commit | 3859872f47c4b7d7a767df9e60ca4b44bbbcb0e2 (patch) | |
tree | 8a7d00c75b1544d72c7cd3dda41be5b00b67ce90 /drivers/soundwire/intel.c | |
parent | soundwire: intel: read mclk_freq property from firmware (diff) | |
download | linux-3859872f47c4b7d7a767df9e60ca4b44bbbcb0e2.tar.xz linux-3859872f47c4b7d7a767df9e60ca4b44bbbcb0e2.zip |
soundwire: cadence_master: make use of mclk_freq property
Now that the prototype and Intel implementation are enabled, use this
property to avoid hard-coded values.
For example for ICL the mclk_freq value is 38.4 MHz while on CNL/CML
it's 24 MHz. The mclk_freq should not be confused with the
max_clk_freq, which si the maximum bus clock. The mclk_freq is
typically tied to the oscillator frequency and does not change between
platforms. The max_clk_freq value is linked to the maximum bandwidth
needed and topology/trace length.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190806005522.22642-13-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/intel.c')
0 files changed, 0 insertions, 0 deletions