From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/6] ARM: tegra: Implement clk_m
Date: Thu, 20 Aug 2015 08:58:41 -0600 [thread overview]
Message-ID: <55D5EB21.4030707@wwwdotorg.org> (raw)
In-Reply-To: <1440063743-22838-2-git-send-email-thierry.reding@gmail.com>
On 08/20/2015 03:42 AM, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
>
> On currently supported SoCs, clk_m always runs at the same frequency as
> the oscillator input. However newer SoC generations such as Tegra210 no
> longer have that restriction. Prepare for that by separating clk_m from
> the oscillator clock and allow SoC code to override the clk_m rate.
> diff --git a/arch/arm/include/asm/arch-tegra114/clock-tables.h b/arch/arm/include/asm/arch-tegra114/clock-tables.h
> index d8fa0e1d2cee..3f910f5ae8b9 100644
> --- a/arch/arm/include/asm/arch-tegra114/clock-tables.h
> +++ b/arch/arm/include/asm/arch-tegra114/clock-tables.h
> @@ -38,6 +38,7 @@ enum clock_id {
> /* These are the base clocks (inputs to the Tegra SOC) */
> CLOCK_ID_32KHZ,
> CLOCK_ID_OSC,
> + CLOCK_ID_CLK_M,
>
> CLOCK_ID_COUNT, /* number of PLLs */
> CLOCK_ID_DISPLAY2, /* placeholder */
clock.h contains the following:
/* Number of PLL-based clocks (i.e. not OSC or 32KHz) */
#define CLOCK_ID_PLL_COUNT (CLOCK_ID_COUNT - 2)
... which would need to be updated. Related, see internal bug number
1676978 to see if any of the other gotchas there affect this patch.
next prev parent reply other threads:[~2015-08-20 14:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-20 9:42 [U-Boot] [PATCH 1/6] armv8: Make COUNTER_FREQUENCY optional Thierry Reding
2015-08-20 9:42 ` [U-Boot] [PATCH 2/6] ARM: tegra: Implement clk_m Thierry Reding
2015-08-20 14:58 ` Stephen Warren [this message]
2015-08-20 16:20 ` Tom Warren
2015-08-27 17:08 ` Tom Warren
2015-08-20 9:42 ` [U-Boot] [PATCH 3/6] ARM: tegra: clk_m is the architected timer source clock Thierry Reding
2015-08-20 9:42 ` [U-Boot] [PATCH 4/6] e2220-1170: Remove hard-coded counter frequency Thierry Reding
2015-08-20 9:42 ` [U-Boot] [PATCH 5/6] p2371: " Thierry Reding
2015-08-20 15:33 ` Stephen Warren
2015-08-20 9:42 ` [U-Boot] [PATCH 6/6] p2571: " Thierry Reding
2015-08-20 15:32 ` [U-Boot] [PATCH 1/6] armv8: Make COUNTER_FREQUENCY optional Stephen Warren
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=55D5EB21.4030707@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox