mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 15:13:52 +00:00
6601b8030d
Adds a basic CPUFreq driver for DaVinci devices registering with the kernel CPUFreq infrastructure. Support is added for both frequency and voltage regulation. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
26 lines
785 B
C
26 lines
785 B
C
/*
|
|
* 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);
|
|
};
|
|
|
|
#endif
|