1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * TI DaVinci CPUFreq platform support. 4 * 5 * Copyright (C) 2009 Texas Instruments, Inc. https://www.ti.com/ 6 */ 7 8 #ifndef _MACH_DAVINCI_CPUFREQ_H 9 #define _MACH_DAVINCI_CPUFREQ_H 10 11 #include <linux/cpufreq.h> 12 13 struct davinci_cpufreq_config { 14 struct cpufreq_frequency_table *freq_table; 15 int (*set_voltage)(unsigned int index); 16 int (*init)(void); 17 }; 18 19 #endif /* _MACH_DAVINCI_CPUFREQ_H */ 20