soundwire: add support to disable dynamic port map

Add support to disable dynamic port map via device tree
property.
Do not update master clock when dynamic port map
is disabled for a sound wire master.

Change-Id: I9f9344866faa4d1c342787e014102d9182ed56ae
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
This commit is contained in:
Vignesh Kulothungan
2020-02-27 14:21:21 -08:00
committed by Gerrit - the friendly Code Review server
parent 70561ef6c1
commit a4962dc546
3 changed files with 16 additions and 2 deletions

View File

@@ -139,6 +139,7 @@ struct swr_mstr_ctrl {
u8 rcmd_id;
u8 wcmd_id;
u32 master_id;
u32 dynamic_port_map_supported;
void *handle; /* SWR Master handle from client for read and writes */
int (*read)(void *handle, int reg);
int (*write)(void *handle, int reg, int val);