All of lore.kernel.org
 help / color / mirror / Atom feed
From: <shumingf@realtek.com>
To: <broonie@kernel.org>, <lgirdwood@gmail.com>
Cc: <alsa-devel@alsa-project.org>, <lars@metafoo.de>,
	<flove@realtek.com>, <oder_chiou@realtek.com>,
	<jack.yu@realtek.com>, <derek.fang@realtek.com>,
	<Vijendar.Mukunda@amd.com>, Shuming Fan <shumingf@realtek.com>
Subject: [PATCH 1/2] ASoC: rt1316: support the different base clock frequency
Date: Fri, 21 Jul 2023 16:17:51 +0800	[thread overview]
Message-ID: <20230721081751.113106-1-shumingf@realtek.com> (raw)

From: Shuming Fan <shumingf@realtek.com>

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

Signed-off-by: Shuming Fan <shumingf@realtek.com>
---
 sound/soc/codecs/rt1316-sdw.c | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/sound/soc/codecs/rt1316-sdw.c b/sound/soc/codecs/rt1316-sdw.c
index 721821d9e9af..ce2246a2591c 100644
--- a/sound/soc/codecs/rt1316-sdw.c
+++ b/sound/soc/codecs/rt1316-sdw.c
@@ -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 },
-- 
2.34.1


                 reply	other threads:[~2023-07-21  8:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230721081751.113106-1-shumingf@realtek.com \
    --to=shumingf@realtek.com \
    --cc=Vijendar.Mukunda@amd.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=derek.fang@realtek.com \
    --cc=flove@realtek.com \
    --cc=jack.yu@realtek.com \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=oder_chiou@realtek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.