[PATCH 0/2] devfreq: Add sysfs node for representing frequencytransition information.

From: Jonghwa Lee
Date: Thu Aug 16 2012 - 02:49:26 EST


This patchset adds sysfs node to devfreq's frame work to measure trasition of frequency on runtime.
It will be created under '/sys/class/devfreq/<device name>/' as the name of 'trans_state'.
It contains transition table which represents total number of transition of each frerquency state to
others and also time spent the state.

--- example for device having 3 frequency levels ----------------------------------------------------
<freq level #1> <freq level #2> <freq level #3> time_spent
* <freq level #1> # of freq1 to freq2 # of freq1 to freq3 t1
<freq level #2> # of freq2 to freq1 # of freq2 to freq3 t2
<freq level #3> # of freq3 to freq1 # of freq3 to freq2 t3
total transition : N
-----------------------------------------------------------------------------------------------------
('*' represents last frequency changed at the time you inspect the node.)

Patch 1: Make sysfs node to DEVFREQ frame work.
Patch 2: Initialize freq_table and max_state in exynos4 devfreq driver to be
used for frequency trnasition measurement.

Jonghwa Lee (2):
devfreq: Add sysfs node for representing frequency transition
information.
devfreq: exynos4: Support initialization of freq_table and max_state
of devfreq's profile.

drivers/devfreq/devfreq.c | 89 +++++++++++++++++++++++++++++++++++++++++
drivers/devfreq/exynos4_bus.c | 30 +++++++++++++-
include/linux/devfreq.h | 9 ++++
3 files changed, 127 insertions(+), 1 deletions(-)

--
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/