From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: tegra: don't exceed AVP limits when configuring PLLP
Date: Wed, 22 Jan 2014 16:26:19 -0700 [thread overview]
Message-ID: <52E0539B.3090401@wwwdotorg.org> (raw)
In-Reply-To: <1390422075-32061-1-git-send-email-swarren@wwwdotorg.org>
On 01/22/2014 01:21 PM, Stephen Warren wrote:
> From: Jimmy Zhang <jimmzhang@nvidia.com>
>
> Based on the Tegra114 TRM, the system clock (which is the AVP clock) can
> run up to 275MHz. On power on, the default sytem clock source is set to
> PLLP_OUT0. In function clock_early_init(), PLLP_OUT0 will be set to
> 408MHz which is beyond system clock's upper limit.
>
> The fix is to set the system clock to CLK_M before initializing PLLP,
> and then switch back to PLLP_OUT4, which has an appropriate divider
> configured, after PLLP has been configured
>
> Signed-off-by: Jimmy Zhang <jimmzhang@nvidia.com>
> [swarren, significantly refactored the changes, so that AVP only runs on
> clk_m for the short duration that PLLP is being reconfigured. Fixed
> Tegra30 too]
I think I need to revise this one patch; while going through the
Tegra124 patches, I found function adjust_pllp_out_freqs(), which really
should be used by this patch.
prev parent reply other threads:[~2014-01-22 23:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-22 20:21 [U-Boot] [PATCH] ARM: tegra: don't exceed AVP limits when configuring PLLP Stephen Warren
2014-01-22 23:26 ` Stephen Warren [this message]
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=52E0539B.3090401@wwwdotorg.org \
--to=swarren@wwwdotorg.org \
--cc=u-boot@lists.denx.de \
/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.