[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4FEC948D.9080606@nvidia.com>
Date: Thu, 28 Jun 2012 22:59:49 +0530
From: Prashant G <pgaikwad@...dia.com>
To: "swarren@...dotorg.org" <swarren@...dotorg.org>,
"mturquette@...com" <mturquette@...com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
CC: Prashant Gaikwad <pgaikwad@...dia.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
"linux@....linux.org.uk" <linux@....linux.org.uk>,
"ccross@...roid.com" <ccross@...roid.com>,
"olof@...om.net" <olof@...om.net>,
Peter De Schrijver <pdeschrijver@...dia.com>
Subject: Re: [PATCH 5/6] ARM: tegra: Port tegra to generic clock framework
This patch is not delivered to all mailing lists reason being the
message body too big.
It can be viewed at https://lkml.org/lkml/2012/6/28/158
Thanks & Regards,
Prashant G
On Thursday 28 June 2012 04:07 PM, Prashant Gaikwad wrote:
> This patch converts tegra clock code to generic clock framework in following way:
> - Implement clk_ops as required by generic clk framework. (tegraXX_clocks.c)
> - Use platform specific struct clk_tegra in clk_ops implementation instead of struct clk.
> - Initialize all clock data statically. (tegraXX_clocks_data.c)
>
> Legacy framework did not have recalc_rate and is_enabled functions. Implemented these functions.
> Removed init function. It's functionality is splitted into recalc_rate and is_enabled.
>
> Static initialization is used since slab is not up in .init_early and clock
> is needed to be initialized before clockevent/clocksource initialization.
> Macros redefined for clk_tegra.
>
> Also, single struct clk_tegra is used for all type of clocks (PLL, peripheral etc.). This
> is to move quickly to generic common clock framework so that other dependent features will
> not be blocked (such as DT binding).
>
> Enabling COMMON_CLOCK config moved to ARCH_TEGRA since it is enabled for both Tegra20
> and Tegra30.
>
> Signed-off-by: Prashant Gaikwad<pgaikwad@...dia.com>
> ---
> arch/arm/Kconfig | 1 +
> arch/arm/mach-tegra/clock.h | 1 +
> arch/arm/mach-tegra/tegra20_clocks.c | 986 +++++++++--------
> arch/arm/mach-tegra/tegra20_clocks.h | 4 +
> arch/arm/mach-tegra/tegra20_clocks_data.c | 1318 +++++++++++++----------
> arch/arm/mach-tegra/tegra30_clocks.c | 1331 +++++++++++++----------
> arch/arm/mach-tegra/tegra30_clocks.h | 14 +-
> arch/arm/mach-tegra/tegra30_clocks_data.c | 1688 ++++++++++++++++-------------
> 8 files changed, 3029 insertions(+), 2314 deletions(-)
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists