Thread (36 messages) flat view 36 messages, 6 authors, 2013-08-09

[PATCH 1/6] clk: Tegra: Add CPU0 clock driver

From: viresh.kumar@linaro.org (Viresh Kumar)
Date: 2013-08-07 17:45:15
Also in: linux-pm, lkml

On 7 August 2013 23:08, Stephen Warren [off-list ref] wrote:
On 08/07/2013 08:46 AM, Viresh Kumar wrote:
quoted
This patch adds CPU0's clk driver for Tegra. It will be used by the generic
cpufreq-cpu0 driver to get/set cpu clk.

Most of the platform specific bits are picked from tegra-cpufreq.c.
Hmmm. I'm not sure if it makes sense to represent this as a clock
object; isn't this more of a virtual construct that manages the rate of
the clock, rather than an actual clock? The actual clock already exists
as "cpu".
I see it as this: There is a clock in system for cpu, call it "cpu". Now we
must be able to provide get/set routines for it. A set should set the
frequency to whatever is asked for and should really worry about how
that is being set. This part is internal to "cpu" clk.

This is what cpufreq-cpu0 driver should expect and does. Current "cpu"
clock implemented doesn't provide this facility ? And so this wrapper
made sense to me.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help