diff options
| author | Rafael J. Wysocki <[email protected]> | 2019-02-19 10:21:01 +0100 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2019-02-19 10:21:01 +0100 |
| commit | ab0ef5d53267df51994f3898bf7c7fe755c38527 (patch) | |
| tree | 1002241a481c429d30f224322521e91f65826dde /include/linux | |
| parent | b8bd1581aa6110eb234c0d424eccd3f32d7317e6 (diff) | |
| parent | 40b46b3b2f098e3740f65024099a7c55ff4b9866 (diff) | |
Merge branch 'cpufreq/arm/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm into pm-cpufreq
Pull cpufreq drivers material for v5.1 from Viresh Kumar:
"This contains:
- Minor cleanups for pcc, longhaul, powerenv and speedstep drivers (Yangtao Li).
- Moving configuration data out of mach directory for davinci (Bartosz Golaszewski)."
* 'cpufreq/arm/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm:
cpufreq: davinci: move configuration to include/linux/platform_data
cpufreq: speedstep: convert BUG() to BUG_ON()
cpufreq: powernv: fix missing check of return value in init_powernv_pstates()
cpufreq: longhaul: remove unneeded semicolon
cpufreq: pcc-cpufreq: remove unneeded semicolon
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/platform_data/davinci-cpufreq.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/platform_data/davinci-cpufreq.h b/include/linux/platform_data/davinci-cpufreq.h new file mode 100644 index 000000000000..3fbf9f2793b5 --- /dev/null +++ b/include/linux/platform_data/davinci-cpufreq.h @@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * TI DaVinci CPUFreq platform support. + * + * Copyright (C) 2009 Texas Instruments, Inc. http://www.ti.com/ + */ + +#ifndef _MACH_DAVINCI_CPUFREQ_H +#define _MACH_DAVINCI_CPUFREQ_H + +#include <linux/cpufreq.h> + +struct davinci_cpufreq_config { + struct cpufreq_frequency_table *freq_table; + int (*set_voltage)(unsigned int index); + int (*init)(void); +}; + +#endif /* _MACH_DAVINCI_CPUFREQ_H */ |