PM / devfreq: Add common sysfs interfaces
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Sat, 1 Oct 2011 22:19:28 +0000 (00:19 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sat, 1 Oct 2011 22:19:28 +0000 (00:19 +0200)
commit9005b65099ee4f14b6be691c4574612fe947531a
tree5066aa8189dd6614d3418b56a9483db0f8a57aa2
parenta3c98b8b2ede1f4230f49f9af7135cd902e71e83
PM / devfreq: Add common sysfs interfaces

Device specific sysfs interface /sys/devices/.../power/devfreq_*
- governor R: name of governor
- cur_freq R: current frequency
- polling_interval R: polling interval in ms given with devfreq profile
W: update polling interval.
- central_polling R: 1 if polling is managed by devfreq framework

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Mike Turquette <mturquette@ti.com>
Acked-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
--
 Documentation/ABI/testing/sysfs-class-devfreq |   44 ++++++++++++++++
 drivers/devfreq/devfreq.c                     |   69 ++++++++++++++++++++++++++
 2 files changed, 113 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-class-devfreq
Documentation/ABI/testing/sysfs-class-devfreq [new file with mode: 0644]
drivers/devfreq/devfreq.c