summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/davinci-cpufreq.h
blob: bc208c64e3d7544b1958181425b4ae0896167355 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * TI DaVinci CPUFreq platform support.
 *
 * Copyright (C) 2009 Texas Instruments, Inc. https://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 */