Skip to contentSkip to conversation

ASoC: rt1316: support the different base clock frequency

PATCH In review [email protected] 1 participant 1 message Jul 21, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ASoC: rt1316: support the different base clock frequency

From: Shuming Fan <[email protected]>

This patch configures all PLL settings to support the all of base clock frequencies.

---
 sound/soc/codecs/rt1316-sdw.c | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)
sound/soc/codecs/rt1316-sdw.c +22 -1
index 721821d9e9af..ce2246a2591c 100644
@@ -76,6 +76,27 @@ static const struct reg_sequence rt1316_blind_write[] = {
 	{ 0xc713, 0x06 },
 	{ 0xc714, 0x80 },
 	{ 0xc715, 0x06 },
+	{ 0xc720, 0x17 },
+	{ 0xc721, 0x00 },
+	{ 0xc722, 0x3e },
+	{ 0xc723, 0x06 },
+	{ 0xc724, 0x80 },
+	{ 0xc725, 0x06 },
+	{ 0xc730, 0x06 },
+	{ 0xc731, 0x00 },
+	{ 0xc732, 0x3E },
+	{ 0xc740, 0x13 },
+	{ 0xc741, 0x80 },
+	{ 0xc742, 0x30 },
+	{ 0xc743, 0x06 },
+	{ 0xc744, 0x05 },
+	{ 0xc745, 0x1E },
+	{ 0xc750, 0x17 },
+	{ 0xc751, 0x00 },
+	{ 0xc752, 0x2E },
+	{ 0xc753, 0x06 },
+	{ 0xc754, 0x80 },
+	{ 0xc755, 0x06 },
 	{ 0xc702, 0x0a },
 	{ 0xc703, 0x0a },
 	{ 0xc001, 0x45 },
@@ -88,7 +109,7 @@ static const struct reg_sequence rt1316_blind_write[] = {
 	{ 0xc008, 0x11 },
 	{ 0xc009, 0x00 },
 
-	{ 0x2f0a, 0x00 },
+	{ 0x2f0a, 0x01 },
 	{ 0xd101, 0xf0 },
 	{ 0xd103, 0x9b },
 	{ 0x2f36, 0x8e },
Signature · 1 line
2.34.1