Skip to content

Commit d05d125

Browse files
shumingfanbroonie
authored andcommitted
ASoC: rt1320: update VC blind write settings
This patch updates blind write settings for VC version. Signed-off-by: Shuming Fan <shumingf@realtek.com> Link: https://patch.msgid.link/20251216090601.3955252-1-shumingf@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 08fd332 commit d05d125

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

sound/soc/codecs/rt1320-sdw.c

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ static const struct reg_sequence rt1320_blind_write[] = {
115115
static const struct reg_sequence rt1320_vc_blind_write[] = {
116116
{ 0xc003, 0xe0 },
117117
{ 0xe80a, 0x01 },
118-
{ 0xc5c3, 0xf3 },
118+
{ 0xc5c3, 0xf2 },
119+
{ 0xc5c8, 0x03 },
119120
{ 0xc057, 0x51 },
120121
{ 0xc054, 0x35 },
121122
{ 0xca05, 0xd6 },
@@ -126,8 +127,6 @@ static const struct reg_sequence rt1320_vc_blind_write[] = {
126127
{ 0xc609, 0x40 },
127128
{ 0xc046, 0xff },
128129
{ 0xc045, 0xff },
129-
{ 0xda81, 0x14 },
130-
{ 0xda8d, 0x14 },
131130
{ 0xc044, 0xff },
132131
{ 0xc043, 0xff },
133132
{ 0xc042, 0xff },
@@ -136,8 +135,8 @@ static const struct reg_sequence rt1320_vc_blind_write[] = {
136135
{ 0xcc10, 0x01 },
137136
{ 0xc700, 0xf0 },
138137
{ 0xc701, 0x13 },
139-
{ 0xc901, 0x09 },
140-
{ 0xc900, 0xd0 },
138+
{ 0xc901, 0x04 },
139+
{ 0xc900, 0x73 },
141140
{ 0xde03, 0x05 },
142141
{ 0xdd0b, 0x0d },
143142
{ 0xdd0a, 0xff },
@@ -153,6 +152,7 @@ static const struct reg_sequence rt1320_vc_blind_write[] = {
153152
{ 0xf082, 0xff },
154153
{ 0xf081, 0xff },
155154
{ 0xf080, 0xff },
155+
{ 0xe801, 0x01 },
156156
{ 0xe802, 0xf8 },
157157
{ 0xe803, 0xbe },
158158
{ 0xc003, 0xc0 },
@@ -202,7 +202,7 @@ static const struct reg_sequence rt1320_vc_blind_write[] = {
202202
{ 0x3fc2bfc3, 0x00 },
203203
{ 0x3fc2bfc2, 0x00 },
204204
{ 0x3fc2bfc1, 0x00 },
205-
{ 0x3fc2bfc0, 0x03 },
205+
{ 0x3fc2bfc0, 0x07 },
206206
{ 0x0000d486, 0x43 },
207207
{ SDW_SDCA_CTL(FUNC_NUM_AMP, RT1320_SDCA_ENT_PDE23, RT1320_SDCA_CTL_REQ_POWER_STATE, 0), 0x00 },
208208
{ 0x1000db00, 0x07 },
@@ -241,9 +241,7 @@ static const struct reg_sequence rt1320_vc_blind_write[] = {
241241
{ 0x1000db21, 0x00 },
242242
{ 0x1000db22, 0x00 },
243243
{ 0x1000db23, 0x00 },
244-
{ 0x0000d540, 0x01 },
245-
{ 0x0000c081, 0xfc },
246-
{ 0x0000f01e, 0x80 },
244+
{ 0x0000d540, 0x21 },
247245
{ 0xc01b, 0xfc },
248246
{ 0xc5d1, 0x89 },
249247
{ 0xc5d8, 0x0a },

0 commit comments

Comments
 (0)