Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / cpufreq / cpufreq-dt.h
blob28c8af7ec5ef3ad0aa94f43ad9129600ca094329
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2016 Linaro
4 * Viresh Kumar <viresh.kumar@linaro.org>
5 */
7 #ifndef __CPUFREQ_DT_H__
8 #define __CPUFREQ_DT_H__
10 #include <linux/types.h>
12 struct cpufreq_policy;
14 struct cpufreq_dt_platform_data {
15 bool have_governor_per_policy;
17 unsigned int (*get_intermediate)(struct cpufreq_policy *policy,
18 unsigned int index);
19 int (*target_intermediate)(struct cpufreq_policy *policy,
20 unsigned int index);
21 int (*suspend)(struct cpufreq_policy *policy);
22 int (*resume)(struct cpufreq_policy *policy);
25 #endif /* __CPUFREQ_DT_H__ */