lkml.org 
[lkml]   [2012]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] devfreq: Add sysfs node for representing frequency transition information.
Date
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



\
 
 \ /
  Last update: 2012-08-16 09:23    [W:0.804 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site