Thread (30 messages) 30 messages, 7 authors, 2011-12-22

[PATCH V3 4/7] cpufreq: add generic cpufreq driver

From: Richard Zhao <hidden>
Date: 2011-12-21 14:19:11
Also in: linux-devicetree

On Wed, Dec 21, 2011 at 01:49:07PM +0100, Kay Sievers wrote:
On Wed, Dec 21, 2011 at 13:12, Mark Brown
[off-list ref] wrote:
quoted
On Wed, Dec 21, 2011 at 12:44:57PM +0100, Kay Sievers wrote:
quoted
We will convert all classes to buses over time time, and have a single
type of device and a single type of subsystem.
Are there any conversions that have been done already that I can look at
for reference?
The first step is the conversion from 'sys_device' to 'device', which is here:
  http://git.kernel.org/?p=linux/kernel/git/kay/patches.git;a=tree

That should hit the tree soon, if all works according to plan. All
sys_devices and sysdev classes will be gone for forever.
Even cpu node is device, I still need to find a way to get it.  I think it's
better have another patch to fix the regulator dt binding in cpu node. I'll
not include it in this patch series.

Richard
The 'class' to 'bus' work is simpler, because the logic in both of
them is very similar and both use the same 'struct device' already.

We'll need to add some convenience APIs to bus, and add code to make
sure the converted stuff has compat symlinks in /sys/class when
needed. Then we can convert-over one 'struct class' to 'struct
bus_type' after the other until 'struct class' can be deleted.

This work has not yet started, because we are busy with the sys_device
stuff at the moment.

No new stuff should use 'struct class' or 'struct sys_device', they
should all start right away with 'struct bus_type'.

Kay
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help