soc: soundwire: Update hctl gate setting for SWR version 1.6

In soundwire version 1.6, hw_ctl gating is required to address
HW limitation as SW workaround to get SWR functionality working.

Change-Id: Ia0939b1271f5400319217433de658a55a05ca404
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:
Laxminath Kasam
2019-08-27 16:19:14 +05:30
parent 3c19b49560
commit c7bfab9706
2 changed files with 18 additions and 2 deletions

View File

@@ -38,6 +38,7 @@
#define SWRM_VERSION_1_3 0x01040000
#define SWRM_VERSION_1_5 0x01050000
#define SWRM_VERSION_1_5_1 0x01050001
#define SWRM_VERSION_1_6 0x01060000
#define SWR_MAX_CH_PER_PORT 8
@@ -125,6 +126,7 @@ struct swr_mstr_ctrl {
struct mutex pm_lock;
u32 swrm_base_reg;
char __iomem *swrm_dig_base;
char __iomem *swrm_hctl_reg;
u8 rcmd_id;
u8 wcmd_id;
u32 master_id;