]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: rt1320: update VC blind write settings
authorShuming Fan <shumingf@realtek.com>
Tue, 16 Dec 2025 09:06:01 +0000 (17:06 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 17 Dec 2025 12:01:02 +0000 (12:01 +0000)
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>
sound/soc/codecs/rt1320-sdw.c

index e3f9b03df3aaeb065d142aef1aaabb2bf6cc06b0..feecef258b650e47053a68253e714a8cdb430df0 100644 (file)
@@ -115,7 +115,8 @@ static const struct reg_sequence rt1320_blind_write[] = {
 static const struct reg_sequence rt1320_vc_blind_write[] = {
        { 0xc003, 0xe0 },
        { 0xe80a, 0x01 },
-       { 0xc5c3, 0xf3 },
+       { 0xc5c3, 0xf2 },
+       { 0xc5c8, 0x03 },
        { 0xc057, 0x51 },
        { 0xc054, 0x35 },
        { 0xca05, 0xd6 },
@@ -126,8 +127,6 @@ static const struct reg_sequence rt1320_vc_blind_write[] = {
        { 0xc609, 0x40 },
        { 0xc046, 0xff },
        { 0xc045, 0xff },
-       { 0xda81, 0x14 },
-       { 0xda8d, 0x14 },
        { 0xc044, 0xff },
        { 0xc043, 0xff },
        { 0xc042, 0xff },
@@ -136,8 +135,8 @@ static const struct reg_sequence rt1320_vc_blind_write[] = {
        { 0xcc10, 0x01 },
        { 0xc700, 0xf0 },
        { 0xc701, 0x13 },
-       { 0xc901, 0x09 },
-       { 0xc900, 0xd0 },
+       { 0xc901, 0x04 },
+       { 0xc900, 0x73 },
        { 0xde03, 0x05 },
        { 0xdd0b, 0x0d },
        { 0xdd0a, 0xff },
@@ -153,6 +152,7 @@ static const struct reg_sequence rt1320_vc_blind_write[] = {
        { 0xf082, 0xff },
        { 0xf081, 0xff },
        { 0xf080, 0xff },
+       { 0xe801, 0x01 },
        { 0xe802, 0xf8 },
        { 0xe803, 0xbe },
        { 0xc003, 0xc0 },
@@ -202,7 +202,7 @@ static const struct reg_sequence rt1320_vc_blind_write[] = {
        { 0x3fc2bfc3, 0x00 },
        { 0x3fc2bfc2, 0x00 },
        { 0x3fc2bfc1, 0x00 },
-       { 0x3fc2bfc0, 0x03 },
+       { 0x3fc2bfc0, 0x07 },
        { 0x0000d486, 0x43 },
        { SDW_SDCA_CTL(FUNC_NUM_AMP, RT1320_SDCA_ENT_PDE23, RT1320_SDCA_CTL_REQ_POWER_STATE, 0), 0x00 },
        { 0x1000db00, 0x07 },
@@ -241,9 +241,7 @@ static const struct reg_sequence rt1320_vc_blind_write[] = {
        { 0x1000db21, 0x00 },
        { 0x1000db22, 0x00 },
        { 0x1000db23, 0x00 },
-       { 0x0000d540, 0x01 },
-       { 0x0000c081, 0xfc },
-       { 0x0000f01e, 0x80 },
+       { 0x0000d540, 0x21 },
        { 0xc01b, 0xfc },
        { 0xc5d1, 0x89 },
        { 0xc5d8, 0x0a },