soc: soundwire: support multi soundwire devices configuration

Update frame shape configuration to support multi soundwire devices
attaching to a single controller.

Change-Id: I7c59b1b09aa0c2417f888b382f8de943f7b62bbd
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
Sudheer Papothi
2020-07-31 11:10:32 +05:30
committed by Gerrit - the friendly Code Review server
parent 4e3e8f9ffd
commit 9654ef28aa
3 changed files with 248 additions and 41 deletions

View File

@@ -193,6 +193,7 @@ struct swr_mstr_ctrl {
u32 rd_fifo_depth;
u32 wr_fifo_depth;
bool enable_slave_irq;
u64 logical_dev[SWRM_NUM_AUTO_ENUM_SLAVES];
#ifdef CONFIG_DEBUG_FS
struct dentry *debugfs_swrm_dent;
struct dentry *debugfs_peek;