[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <1345099767-13467-1-git-send-email-jonghwa3.lee@samsung.com>
Date: Thu, 16 Aug 2012 15:49:25 +0900
From: Jonghwa Lee <jonghwa3.lee@...sung.com>
To: linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Cc: Kyungmin Park <kyungmin.park@...sung.com>,
MyungJoo Ham <myungjoo.ham@...sung.com>,
Mike Turquette <mturquette@...com>,
"Rafael J. Wysocki" <rjw@...k.pl>,
Xiaoguang Chen <chenxg@...vell.com>,
Jonghwa Lee <jonghwa3.lee@...sung.com>
Subject: [PATCH 0/2] devfreq: Add sysfs node for representing frequency
transition information.
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists