From: abrestic@chromium.org (Andrew Bresticker)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/7] clk: tegra: PLLD2 fixes for hdmi
Date: Thu, 26 Dec 2013 16:44:23 -0800 [thread overview]
Message-ID: <1388105067-24438-4-git-send-email-abrestic@chromium.org> (raw)
In-Reply-To: <1388105067-24438-1-git-send-email-abrestic@chromium.org>
From: David Ung <davidu@nvidia.com>
Set correct pll_d2_out0 divider and correct the p div values for pll_d2.
Signed-off-by: David Ung <davidu@nvidia.com>
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
---
drivers/clk/tegra/clk-tegra124.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/drivers/clk/tegra/clk-tegra124.c b/drivers/clk/tegra/clk-tegra124.c
index 14c3f2f..0fc9126 100644
--- a/drivers/clk/tegra/clk-tegra124.c
+++ b/drivers/clk/tegra/clk-tegra124.c
@@ -619,12 +619,11 @@ static struct tegra_clk_pll_params pll_d_params = {
};
static struct tegra_clk_pll_freq_table tegra124_pll_d2_freq_table[] = {
- { 12000000, 148500000, 99, 1, 8},
- { 12000000, 594000000, 99, 1, 1},
- { 13000000, 594000000, 91, 1, 1}, /* actual: 591.5 MHz */
- { 16800000, 594000000, 71, 1, 1}, /* actual: 596.4 MHz */
- { 19200000, 594000000, 62, 1, 1}, /* actual: 595.2 MHz */
- { 26000000, 594000000, 91, 2, 1}, /* actual: 591.5 MHz */
+ { 12000000, 594000000, 99, 1, 2},
+ { 13000000, 594000000, 91, 1, 2}, /* actual: 591.5 MHz */
+ { 16800000, 594000000, 71, 1, 2}, /* actual: 596.4 MHz */
+ { 19200000, 594000000, 62, 1, 2}, /* actual: 595.2 MHz */
+ { 26000000, 594000000, 91, 2, 2}, /* actual: 591.5 MHz */
{ 0, 0, 0, 0, 0, 0 },
};
@@ -1295,9 +1294,9 @@ static void __init tegra124_pll_init(void __iomem *clk_base,
clk_register_clkdev(clk, "pll_d2", NULL);
clks[TEGRA124_CLK_PLL_D2] = clk;
- /* PLLD2_OUT0 ?? */
+ /* PLLD2_OUT0 */
clk = clk_register_fixed_factor(NULL, "pll_d2_out0", "pll_d2",
- CLK_SET_RATE_PARENT, 1, 2);
+ CLK_SET_RATE_PARENT, 1, 1);
clk_register_clkdev(clk, "pll_d2_out0", NULL);
clks[TEGRA124_CLK_PLL_D2_OUT0] = clk;
--
1.8.5.1
next prev parent reply other threads:[~2013-12-27 0:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-27 0:44 [PATCH 0/7] misc Tegra clock fixes Andrew Bresticker
2013-12-27 0:44 ` [PATCH 1/7] clk: tegra: Fix PLLP rate table Andrew Bresticker
2013-12-27 0:44 ` [PATCH 2/7] clk: tegra: Fix PLLD mnp table Andrew Bresticker
2013-12-27 0:44 ` Andrew Bresticker [this message]
2013-12-27 0:44 ` [PATCH 4/7] clk: tegra: fix host1x clock on Tegra124 Andrew Bresticker
2013-12-27 0:44 ` [PATCH 5/7] clk: tegra: fix sdmmc clks on Tegra1x4 Andrew Bresticker
2013-12-27 0:44 ` [PATCH 6/7] clk: tegra: cclk_lp has a pllx/2 divider Andrew Bresticker
2013-12-27 0:44 ` [PATCH 7/7] clk: tegra: use max divider if divider overflows Andrew Bresticker
2013-12-29 22:02 ` [PATCH 0/7] misc Tegra clock fixes Mike Turquette
2014-01-08 22:28 ` Andrew Bresticker
2014-01-08 22:41 ` Stephen Warren
2014-01-13 16:08 ` Peter De Schrijver
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=1388105067-24438-4-git-send-email-abrestic@chromium.org \
--to=abrestic@chromium.org \
--cc=linux-arm-kernel@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).