diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2019-08-06 03:55:15 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-08-21 12:06:01 +0300 |
commit | 82fc8d06501a0694bfb1ada8ba69372cbc297fb9 (patch) | |
tree | ad0c4d1485404179163d50931d3f50e1f4681a7b /include/linux/soundwire | |
parent | 3a0be1a65b50126b525d222bb59719eecda7ee3e (diff) | |
download | linux-82fc8d06501a0694bfb1ada8ba69372cbc297fb9.tar.xz |
soundwire: add new mclk_freq field for properties
To help pass platform-specific values, add a new field that can either
be set by the Master driver or read from firmware (BIOS/DT).
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190806005522.22642-11-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/soundwire')
-rw-r--r-- | include/linux/soundwire/sdw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/soundwire/sdw.h b/include/linux/soundwire/sdw.h index 28b5ab0d868c..131d49ef1cb4 100644 --- a/include/linux/soundwire/sdw.h +++ b/include/linux/soundwire/sdw.h @@ -379,6 +379,7 @@ struct sdw_slave_prop { * @dynamic_frame: Dynamic frame shape supported * @err_threshold: Number of times that software may retry sending a single * command + * @mclk_freq: clock reference passed to SoundWire Master, in Hz. */ struct sdw_master_prop { u32 revision; @@ -393,6 +394,7 @@ struct sdw_master_prop { u32 default_col; bool dynamic_frame; u32 err_threshold; + u32 mclk_freq; }; int sdw_master_read_prop(struct sdw_bus *bus); |