- Subject: Re: [PATCH V3 4/7] cpufreq: add generic cpufreq driver
- From: Arnd Bergmann <arnd@xxxxxxxx>
- Date: Wed, 21 Dec 2011 09:43:34 +0000
- Cc: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, linux@xxxxxxxxxxxxxxxx, mark.langsdorf@xxxxxxxxxxx, patches@xxxxxxxxxx, marc.zyngier@xxxxxxx, catalin.marinas@xxxxxxx, devicetree-discuss@xxxxxxxxxxxxxxxx, bryanh@xxxxxxxxxxxxxx, cpufreq@xxxxxxxxxxxxxxx, grant.likely@xxxxxxxxxxxx, jamie@xxxxxxxxxxxxx, rdunlap@xxxxxxxxxxxx, eric.miao@xxxxxxxxxx, kernel@xxxxxxxxxxxxxx, davej@xxxxxxxxxx, linaro-dev@xxxxxxxxxxxxxxxx, davidb@xxxxxxxxxxxxxx, shawn.guo@xxxxxxxxxx, rob.herring@xxxxxxxxxxx, Richard Zhao <richard.zhao@xxxxxxxxxx>, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, Greg KH <greg@xxxxxxxxx>, Kay Sievers <kay.sievers@xxxxxxxx>
- In-reply-to: <20111221092739.GI15863@b20223-02.ap.freescale.net>
- References: <1324264903-15395-1-git-send-email-richard.zhao@linaro.org> <20111221012046.GE15863@b20223-02.ap.freescale.net> <20111221092739.GI15863@b20223-02.ap.freescale.net>
- User-agent: KMail/1.12.2 (Linux/3.2.0-rc1+; KDE/4.3.2; x86_64; ; )
On Wednesday 21 December 2011, Richard Zhao wrote:
> On Wed, Dec 21, 2011 at 09:20:46AM +0800, Richard Zhao wrote:
> > > > > You also need to define how the core supplies get looked up.
> > >
> > > > It's pure software. platform uses this driver have to define "cpu" consumer.
> > >
> > > You still need to define this in the binding.
> > You mean regulator DT binding? already in ? I'll check it.
> Mark, cpu node is not a struct device, sys_device instead. I can not find
> regulator via device/dt node. Can I still use the string to get regulator
> after converting to DT?
I believe Kay and Greg have the plan to unify "class" and "bus" in sysfs, which
implies turning sys_device into a derived class of device instead of kobject.
If that understanding is correct, we might as well do that now so we can
attach a device_node to a sys_device.
Kay, does this make sense?
Arnd
--
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]