Messages in this thread |  | | From | "Rafael J. Wysocki" <> | | Subject | Re: [PATCH v2 3/3] PM / DEVFREQ: add sysfs interface (including user tickling) | | Date | Wed, 18 May 2011 00:41:57 +0200 |
| |
On Tuesday, May 17, 2011, MyungJoo Ham wrote: > On Thu, May 12, 2011 at 7:55 AM, Greg KH <gregkh@suse.de> wrote: > > On Wed, May 11, 2011 at 04:58:43PM +0900, MyungJoo Ham wrote: > >> 1. System-wide sysfs interface > >> - tickle_all R: number of tickle_all execution > >> W: tickle all devfreq devices > >> - min_interval R: devfreq monitoring base interval in ms > >> - monitoring R: shows whether devfreq monitoring is active or > >> not. > >> > >> 2. Device specific sysfs interface > >> - tickle R: number of tickle execution for the device > >> W: tickle the device > > > > Any sysfs file change/addition/removal needs to have a > > Documentation/ABI/ entry as well. Please add that to this patch instead > > of burying it in the changelog entry, where no one will be able to find > > it in the future. > > > > thanks, > > > > greg k-h > > > > Sure, I'll add Documentation/ABI/testing/* entries. > > However, would it be appropriate for "1. System-wide sysfs interface" > to be in "sysfs-class-power" and for "2. Device specific sysfs > interface" to be in "sysfs-devices-devfreq"? > > System-wide sysfs interface is in /sys/class/power/devfreq/* and
Hmm. Why not to use /sys/power/ that's already there?
> Device specific sysfs interface is in /sys/...DEVICE.../devfreq/* .
Thanks, Rafael
|  |