Prechádzať zdrojové kódy

asoc: lpass-cdc: Update default tables as per v2p5

Update regmap default entries of spk protection
registers as per lpass cdc version 2p5.

Change-Id: I7c966eb3edbe9a9c065c03220ef2b9390b1fc723
Signed-off-by: Laxminath Kasam <[email protected]>
Laxminath Kasam 3 rokov pred
rodič
commit
05e8d4faa8
1 zmenil súbory, kde vykonal 16 pridanie a 16 odobranie
  1. 16 16
      asoc/codecs/lpass-cdc/lpass-cdc-regmap.c

+ 16 - 16
asoc/codecs/lpass-cdc/lpass-cdc-regmap.c

@@ -599,14 +599,14 @@ static const struct reg_default lpass_cdc_defaults[] = {
 	{ LPASS_CDC_WSA_VBAT_BCL_VBAT_BCL_ATTN1, 0x04},
 	{ LPASS_CDC_WSA_VBAT_BCL_VBAT_BCL_ATTN2, 0x08},
 	{ LPASS_CDC_WSA_VBAT_BCL_VBAT_BCL_ATTN3, 0x0C},
-	{ LPASS_CDC_WSA_TX0_SPKR_PROT_PATH_CTL, 0x02},
-	{ LPASS_CDC_WSA_TX0_SPKR_PROT_PATH_CFG0, 0x00},
-	{ LPASS_CDC_WSA_TX1_SPKR_PROT_PATH_CTL, 0x02},
-	{ LPASS_CDC_WSA_TX1_SPKR_PROT_PATH_CFG0, 0x00},
-	{ LPASS_CDC_WSA_TX2_SPKR_PROT_PATH_CTL, 0x02},
-	{ LPASS_CDC_WSA_TX2_SPKR_PROT_PATH_CFG0, 0x00},
-	{ LPASS_CDC_WSA_TX3_SPKR_PROT_PATH_CTL, 0x02},
-	{ LPASS_CDC_WSA_TX3_SPKR_PROT_PATH_CFG0, 0x00},
+	{ LPASS_CDC_WSA_TX0_SPKR_PROT_PATH_CTL, 0x04},
+	{ LPASS_CDC_WSA_TX0_SPKR_PROT_PATH_CFG0, 0x02},
+	{ LPASS_CDC_WSA_TX1_SPKR_PROT_PATH_CTL, 0x04},
+	{ LPASS_CDC_WSA_TX1_SPKR_PROT_PATH_CFG0, 0x02},
+	{ LPASS_CDC_WSA_TX2_SPKR_PROT_PATH_CTL, 0x04},
+	{ LPASS_CDC_WSA_TX2_SPKR_PROT_PATH_CFG0, 0x02},
+	{ LPASS_CDC_WSA_TX3_SPKR_PROT_PATH_CTL, 0x04},
+	{ LPASS_CDC_WSA_TX3_SPKR_PROT_PATH_CFG0, 0x02},
 	{ LPASS_CDC_WSA_INTR_CTRL_CFG, 0x00},
 	{ LPASS_CDC_WSA_INTR_CTRL_CLR_COMMIT, 0x00},
 	{ LPASS_CDC_WSA_INTR_CTRL_PIN1_MASK0, 0xFF},
@@ -921,14 +921,14 @@ static const struct reg_default lpass_cdc_defaults[] = {
 	{ LPASS_CDC_WSA2_VBAT_BCL_VBAT_BCL_ATTN1, 0x04},
 	{ LPASS_CDC_WSA2_VBAT_BCL_VBAT_BCL_ATTN2, 0x08},
 	{ LPASS_CDC_WSA2_VBAT_BCL_VBAT_BCL_ATTN3, 0x0C},
-	{ LPASS_CDC_WSA2_TX0_SPKR_PROT_PATH_CTL, 0x02},
-	{ LPASS_CDC_WSA2_TX0_SPKR_PROT_PATH_CFG0, 0x00},
-	{ LPASS_CDC_WSA2_TX1_SPKR_PROT_PATH_CTL, 0x02},
-	{ LPASS_CDC_WSA2_TX1_SPKR_PROT_PATH_CFG0, 0x00},
-	{ LPASS_CDC_WSA2_TX2_SPKR_PROT_PATH_CTL, 0x02},
-	{ LPASS_CDC_WSA2_TX2_SPKR_PROT_PATH_CFG0, 0x00},
-	{ LPASS_CDC_WSA2_TX3_SPKR_PROT_PATH_CTL, 0x02},
-	{ LPASS_CDC_WSA2_TX3_SPKR_PROT_PATH_CFG0, 0x00},
+	{ LPASS_CDC_WSA2_TX0_SPKR_PROT_PATH_CTL, 0x04},
+	{ LPASS_CDC_WSA2_TX0_SPKR_PROT_PATH_CFG0, 0x02},
+	{ LPASS_CDC_WSA2_TX1_SPKR_PROT_PATH_CTL, 0x04},
+	{ LPASS_CDC_WSA2_TX1_SPKR_PROT_PATH_CFG0, 0x02},
+	{ LPASS_CDC_WSA2_TX2_SPKR_PROT_PATH_CTL, 0x04},
+	{ LPASS_CDC_WSA2_TX2_SPKR_PROT_PATH_CFG0, 0x02},
+	{ LPASS_CDC_WSA2_TX3_SPKR_PROT_PATH_CTL, 0x04},
+	{ LPASS_CDC_WSA2_TX3_SPKR_PROT_PATH_CFG0, 0x02},
 	{ LPASS_CDC_WSA2_INTR_CTRL_CFG, 0x00},
 	{ LPASS_CDC_WSA2_INTR_CTRL_CLR_COMMIT, 0x00},
 	{ LPASS_CDC_WSA2_INTR_CTRL_PIN1_MASK0, 0xFF},