2009-09-22 09:44:00 -06:00
|
|
|
/*
|
|
|
|
* TI DaVinci CPUFreq platform support.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2009 Texas Instruments, Inc. http://www.ti.com/
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation version 2.
|
|
|
|
*
|
|
|
|
* This program is distributed "as is" WITHOUT ANY WARRANTY of any
|
|
|
|
* kind, whether express or implied; without even the implied warranty
|
|
|
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
#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);
|
2009-10-22 03:42:16 -06:00
|
|
|
int (*init) (void);
|
2009-09-22 09:44:00 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|