From d9619b4709496273d3b1f73ea72ead643c744374 Mon Sep 17 00:00:00 2001 From: Octav Zlatior Date: Wed, 27 May 2015 18:02:27 +0200 Subject: cpufreq: adds custom sampling-rate support in dt This allows the setting of a sampling-rate property for a cpu in the device-tree; if set, this will override the defaut sampling rate calculation Signed-off-by: Octav Zlatior Signed-off-by: Christoph Muellner --- include/linux/cpufreq.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/linux/cpufreq.h') diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 2ee4888c1f47..61f05a1ba139 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -49,6 +49,9 @@ struct cpufreq_cpuinfo { /* in 10^(-9) s = nanoseconds */ unsigned int transition_latency; + + /* in 10^(-9) s = nanoseconds */ + unsigned int sampling_rate; }; struct cpufreq_real_policy { -- cgit v1.2.3