- Subject: Re: [PATCH v4 4/7] cpufreq: add clk-reg cpufreq driver
- From: Richard Zhao <richard.zhao@xxxxxxxxxxxxx>
- Date: Tue, 27 Dec 2011 09:51:10 +0800
- Cc: Richard Zhao <richard.zhao@xxxxxxxxxx>, <davej@xxxxxxxxxx>, <linaro-dev@xxxxxxxxxxxxxxxx>, <arnd@xxxxxxxx>, <mark.langsdorf@xxxxxxxxxxx>, <patches@xxxxxxxxxx>, <marc.zyngier@xxxxxxx>, <catalin.marinas@xxxxxxx>, <devicetree-discuss@xxxxxxxxxxxxxxxx>, <rdunlap@xxxxxxxxxxxx>, <cpufreq@xxxxxxxxxxxxxxx>, <grant.likely@xxxxxxxxxxxx>, <bryanh@xxxxxxxxxxxxxx>, <eric.miao@xxxxxxxxxx>, <kernel@xxxxxxxxxxxxxx>, <jamie@xxxxxxxxxxxxx>, <linux@xxxxxxxxxxxxxxxx>, <davidb@xxxxxxxxxxxxxx>, <shawn.guo@xxxxxxxxxx>, <rob.herring@xxxxxxxxxxx>, <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>
- In-reply-to: <20111226142234.GH8722@opensource.wolfsonmicro.com>
- References: <1324537753-30590-5-git-send-email-richard.zhao@linaro.org> <20111223131851.GB13175@sirena.org.uk> <20111224085539.GA1892@richard-laptop> <20111224122411.GA13778@sirena.org.uk> <20111224132831.GB1803@richard-laptop> <20111224134227.GA20908@opensource.wolfsonmicro.com> <20111224155227.GC1803@richard-laptop> <20111226111030.GC8722@opensource.wolfsonmicro.com> <20111226134449.GA4259@richard-laptop> <20111226142234.GH8722@opensource.wolfsonmicro.com>
- User-agent: Mutt/1.5.21 (2010-09-15)
On Mon, Dec 26, 2011 at 02:22:34PM +0000, Mark Brown wrote:
> On Mon, Dec 26, 2011 at 09:44:52PM +0800, Richard Zhao wrote:
> > On Mon, Dec 26, 2011 at 11:10:30AM +0000, Mark Brown wrote:
>
> Fix your mailer to word wrap properly please.
If you mean last mail I sent, I didn't see anything wrong. I use
mutt.
>
> > > The *call* is there in the regulator subsystem, it's just that none of
> > > the drivers back it up with an actual implementation yet. Which turns
> > > out to be a good thing as cpufreq can't currently understand variable
> > > latencies and the governors don't deal well with non-trivial latencies
> > > anyway.
>
> > but clk API don't have such calls. and many SoCs only adjust clk
> > frequencies, using one single voltage.
>
> I've not suggested doing this in the clock API, only for the regulator.
> For the clocks it's less clear that it's useful as you don't have the
> bulk operations and it's much rarer to need them.
>
> > > The problem with device tree is that once you've defined a binding
> > > you're stuck with it, it's very hard to change - witness all the magic
> > > number based stuff with the interrupt bindings for example
>
> > So what's your suggestion? We can not set transition_latency to set
> > random number.
>
> As I've repeatedly said I think you should define it to be the latency
> for the SoC only, not for the regulators.
Sometimes, regulators are in SoC too. To avoid confusion, I'll use below:
clk-trans-latency = <61036>;
Thanks
Richard
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]