diff options
author | Octav Zlatior <octav.zlatior@theobroma-systems.com> | 2015-05-27 18:02:27 +0200 |
---|---|---|
committer | Klaus Goger <klaus.goger@theobroma-systems.com> | 2015-07-30 18:53:01 +0200 |
commit | d9619b4709496273d3b1f73ea72ead643c744374 (patch) | |
tree | a38f7d949f6a46436d2559a372bc89014b6c5a35 /include | |
parent | b3bc3244ea87a85a097830529811858f00c6bfa5 (diff) |
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 <octav.zlatior@theobroma-systems.com>
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cpufreq.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 { |