diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-09-09 16:48:08 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-09-13 02:39:12 +0200 |
commit | 297a66221d2bed61e7d74d11bf071c7b489fc33d (patch) | |
tree | e5547e9a3c08c930f1919f33e1ca32e03373db0e /drivers/cpufreq/cpufreq-dt.h | |
parent | 33cc4fc1b2147ee3cf36d02c1106456cb276c043 (diff) | |
download | linux-297a66221d2bed61e7d74d11bf071c7b489fc33d.tar.gz linux-297a66221d2bed61e7d74d11bf071c7b489fc33d.tar.bz2 linux-297a66221d2bed61e7d74d11bf071c7b489fc33d.zip |
cpufreq: dt: Support governor tunables per policy
The cpufreq-dt driver is also used for systems with multiple
clock/voltage domains for CPUs, i.e. multiple cpufreq policies in a
system.
And in such cases the platform users may want to enable "governor
tunables per policy". Support that via platform data, as not all users
of the driver would want that behavior.
Reported-by: Juri Lelli <Juri.Lelli@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq-dt.h')
-rw-r--r-- | drivers/cpufreq/cpufreq-dt.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpufreq-dt.h b/drivers/cpufreq/cpufreq-dt.h new file mode 100644 index 000000000000..54d774e46c43 --- /dev/null +++ b/drivers/cpufreq/cpufreq-dt.h @@ -0,0 +1,19 @@ +/* + * Copyright (C) 2016 Linaro + * Viresh Kumar <viresh.kumar@linaro.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __CPUFREQ_DT_H__ +#define __CPUFREQ_DT_H__ + +#include <linux/types.h> + +struct cpufreq_dt_platform_data { + bool have_governor_per_policy; +}; + +#endif /* __CPUFREQ_DT_H__ */ |