linux/drivers/soundwire
Pierre-Louis Bossart 3859872f47 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>
2019-08-21 14:36:02 +05:30
..
bus_type.c soundwire: bus_type: fix alignment issues 2019-05-02 17:16:27 +02:00
bus.c soundwire: bus: improve dynamic debug comments for enumeration 2019-08-21 14:36:01 +05:30
bus.h soundwire: export helpers to find row and column values 2019-08-21 14:36:01 +05:30
cadence_master.c soundwire: cadence_master: make use of mclk_freq property 2019-08-21 14:36:02 +05:30
cadence_master.h soundwire: fix alignment issues in header files 2019-05-02 17:16:26 +02:00
intel_init.c soundwire: intel_init: add checks on link numbers 2019-05-27 10:53:00 +05:30
intel.c soundwire: intel: read mclk_freq property from firmware 2019-08-21 14:36:02 +05:30
intel.h soundwire: fix typo in comments 2019-05-27 10:53:00 +05:30
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mipi_disco.c soundwire: mipi_disco: Switch to use fwnode_property_count_uXX() 2019-08-02 17:15:13 +05:30
slave.c soundwire: slave: fix alignment issues 2019-05-02 17:16:28 +02:00
stream.c soundwire: stream: remove unnecessary variable initializations 2019-08-21 14:36:01 +05:30