* [PATCH] clk: tegra: add KBC clock for Tegra20
@ 2013-01-11 23:17 Stephen Warren
2013-01-22 18:23 ` Mike Turquette
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Warren @ 2013-01-11 23:17 UTC (permalink / raw)
To: linux-arm-kernel
From: Stephen Warren <swarren@nvidia.com>
This clock has been missing from all our upstream clock drivers. Add it
by copying the tegra_clk_periph_gate() call from Tegra30; the data
matches what's in the ChromeOS kernel for this clock.
Cc: Prashant Gaikwad <pgaikwad@nvidia.com>
Cc: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
Mike, I'd need to apply this to the Tegra tree as part of the common
clock framework conversion.
drivers/clk/tegra/clk-tegra20.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/clk/tegra/clk-tegra20.c b/drivers/clk/tegra/clk-tegra20.c
index f40b6f7..5847b5e 100644
--- a/drivers/clk/tegra/clk-tegra20.c
+++ b/drivers/clk/tegra/clk-tegra20.c
@@ -896,6 +896,13 @@ static void __init tegra20_periph_clk_init(void)
clk_register_clkdev(clk, NULL, "timer");
clks[timer] = clk;
+ /* kbc */
+ clk = tegra_clk_periph_gate("kbc", "clk_32k", TEGRA_PERIPH_NO_RESET |
+ TEGRA_PERIPH_ON_APB, clk_base, 0,
+ 36, &periph_h_regs, periph_clk_enb_refcnt);
+ clk_register_clkdev(clk, NULL, "tegra-kbc");
+ clks[kbc] = clk;
+
/* csus */
clk = tegra_clk_periph_gate("csus", "clk_m", TEGRA_PERIPH_NO_RESET,
clk_base, 0, 92, &periph_u_regs,
--
1.7.10.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] clk: tegra: add KBC clock for Tegra20
2013-01-11 23:17 [PATCH] clk: tegra: add KBC clock for Tegra20 Stephen Warren
@ 2013-01-22 18:23 ` Mike Turquette
2013-01-22 18:26 ` Stephen Warren
0 siblings, 1 reply; 4+ messages in thread
From: Mike Turquette @ 2013-01-22 18:23 UTC (permalink / raw)
To: linux-arm-kernel
Quoting Stephen Warren (2013-01-11 15:17:42)
> From: Stephen Warren <swarren@nvidia.com>
>
> This clock has been missing from all our upstream clock drivers. Add it
> by copying the tegra_clk_periph_gate() call from Tegra30; the data
> matches what's in the ChromeOS kernel for this clock.
>
> Cc: Prashant Gaikwad <pgaikwad@nvidia.com>
> Cc: Peter De Schrijver <pdeschrijver@nvidia.com>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> Mike, I'd need to apply this to the Tegra tree as part of the common
> clock framework conversion.
>
Is this patch going to be rolled into patch 6/9 of the larger tegra ccf
series?
Thanks,
Mike
> drivers/clk/tegra/clk-tegra20.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/drivers/clk/tegra/clk-tegra20.c b/drivers/clk/tegra/clk-tegra20.c
> index f40b6f7..5847b5e 100644
> --- a/drivers/clk/tegra/clk-tegra20.c
> +++ b/drivers/clk/tegra/clk-tegra20.c
> @@ -896,6 +896,13 @@ static void __init tegra20_periph_clk_init(void)
> clk_register_clkdev(clk, NULL, "timer");
> clks[timer] = clk;
>
> + /* kbc */
> + clk = tegra_clk_periph_gate("kbc", "clk_32k", TEGRA_PERIPH_NO_RESET |
> + TEGRA_PERIPH_ON_APB, clk_base, 0,
> + 36, &periph_h_regs, periph_clk_enb_refcnt);
> + clk_register_clkdev(clk, NULL, "tegra-kbc");
> + clks[kbc] = clk;
> +
> /* csus */
> clk = tegra_clk_periph_gate("csus", "clk_m", TEGRA_PERIPH_NO_RESET,
> clk_base, 0, 92, &periph_u_regs,
> --
> 1.7.10.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] clk: tegra: add KBC clock for Tegra20
2013-01-22 18:23 ` Mike Turquette
@ 2013-01-22 18:26 ` Stephen Warren
2013-01-22 18:54 ` Mike Turquette
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Warren @ 2013-01-22 18:26 UTC (permalink / raw)
To: linux-arm-kernel
On 01/22/2013 11:23 AM, Mike Turquette wrote:
> Quoting Stephen Warren (2013-01-11 15:17:42)
>> From: Stephen Warren <swarren@nvidia.com>
>>
>> This clock has been missing from all our upstream clock drivers. Add it
>> by copying the tegra_clk_periph_gate() call from Tegra30; the data
>> matches what's in the ChromeOS kernel for this clock.
>>
>> Cc: Prashant Gaikwad <pgaikwad@nvidia.com>
>> Cc: Peter De Schrijver <pdeschrijver@nvidia.com>
>> Signed-off-by: Stephen Warren <swarren@nvidia.com>
>> ---
>> Mike, I'd need to apply this to the Tegra tree as part of the common
>> clock framework conversion.
>>
>
> Is this patch going to be rolled into patch 6/9 of the larger tegra ccf
> series?
In the latest Tegra CCF series that I posted, I've rolled all these
small fixes in already.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] clk: tegra: add KBC clock for Tegra20
2013-01-22 18:26 ` Stephen Warren
@ 2013-01-22 18:54 ` Mike Turquette
0 siblings, 0 replies; 4+ messages in thread
From: Mike Turquette @ 2013-01-22 18:54 UTC (permalink / raw)
To: linux-arm-kernel
Quoting Stephen Warren (2013-01-22 10:26:05)
> On 01/22/2013 11:23 AM, Mike Turquette wrote:
> > Quoting Stephen Warren (2013-01-11 15:17:42)
> >> From: Stephen Warren <swarren@nvidia.com>
> >>
> >> This clock has been missing from all our upstream clock drivers. Add it
> >> by copying the tegra_clk_periph_gate() call from Tegra30; the data
> >> matches what's in the ChromeOS kernel for this clock.
> >>
> >> Cc: Prashant Gaikwad <pgaikwad@nvidia.com>
> >> Cc: Peter De Schrijver <pdeschrijver@nvidia.com>
> >> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> >> ---
> >> Mike, I'd need to apply this to the Tegra tree as part of the common
> >> clock framework conversion.
> >>
> >
> > Is this patch going to be rolled into patch 6/9 of the larger tegra ccf
> > series?
>
> In the latest Tegra CCF series that I posted, I've rolled all these
> small fixes in already.
Right, I just realized that there is a V6 but it has only the three
patches affecting drivers/clk/* instead of the larger nine patch series.
Scanning my inbox I mistakenly thought those were unrelated series.
Regards,
Mike
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-01-22 18:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-11 23:17 [PATCH] clk: tegra: add KBC clock for Tegra20 Stephen Warren
2013-01-22 18:23 ` Mike Turquette
2013-01-22 18:26 ` Stephen Warren
2013-01-22 18:54 ` Mike Turquette
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).