Viresh Kumar | 297a662 | 2016-09-09 16:48:08 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2016 Linaro |
| 3 | * Viresh Kumar <viresh.kumar@linaro.org> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 as |
| 7 | * published by the Free Software Foundation. |
| 8 | */ |
| 9 | |
| 10 | #ifndef __CPUFREQ_DT_H__ |
| 11 | #define __CPUFREQ_DT_H__ |
| 12 | |
| 13 | #include <linux/types.h> |
| 14 | |
Viresh Kumar | 6778270 | 2018-04-24 15:09:45 +0530 | [diff] [blame] | 15 | struct cpufreq_policy; |
| 16 | |
Viresh Kumar | 297a662 | 2016-09-09 16:48:08 +0530 | [diff] [blame] | 17 | struct cpufreq_dt_platform_data { |
| 18 | bool have_governor_per_policy; |
Viresh Kumar | 6778270 | 2018-04-24 15:09:45 +0530 | [diff] [blame] | 19 | |
| 20 | int (*suspend)(struct cpufreq_policy *policy); |
| 21 | int (*resume)(struct cpufreq_policy *policy); |
Viresh Kumar | 297a662 | 2016-09-09 16:48:08 +0530 | [diff] [blame] | 22 | }; |
| 23 | |
| 24 | #endif /* __CPUFREQ_DT_H__ */ |