Sekhar Nori | 6601b80 | 2009-09-22 21:14:00 +0530 | [diff] [blame] | 1 | /* |
| 2 | * TI DaVinci CPUFreq platform support. |
| 3 | * |
| 4 | * Copyright (C) 2009 Texas Instruments, Inc. http://www.ti.com/ |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License as |
| 8 | * published by the Free Software Foundation version 2. |
| 9 | * |
| 10 | * This program is distributed "as is" WITHOUT ANY WARRANTY of any |
| 11 | * kind, whether express or implied; without even the implied warranty |
| 12 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | */ |
| 15 | #ifndef _MACH_DAVINCI_CPUFREQ_H |
| 16 | #define _MACH_DAVINCI_CPUFREQ_H |
| 17 | |
| 18 | #include <linux/cpufreq.h> |
| 19 | |
| 20 | struct davinci_cpufreq_config { |
| 21 | struct cpufreq_frequency_table *freq_table; |
| 22 | int (*set_voltage) (unsigned int index); |
Sekhar Nori | 13d5e27 | 2009-10-22 15:12:16 +0530 | [diff] [blame] | 23 | int (*init) (void); |
Sekhar Nori | 6601b80 | 2009-09-22 21:14:00 +0530 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | #endif |