Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
platform_data
exynos_thermal.h
Go to the documentation of this file.
1
/*
2
* exynos_thermal.h - Samsung EXYNOS TMU (Thermal Management Unit)
3
*
4
* Copyright (C) 2011 Samsung Electronics
5
* Donggeun Kim <
[email protected]
>
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
*/
21
22
#ifndef _LINUX_EXYNOS_THERMAL_H
23
#define _LINUX_EXYNOS_THERMAL_H
24
#include <
linux/cpu_cooling.h
>
25
26
enum
calibration_type
{
27
TYPE_ONE_POINT_TRIMMING
,
28
TYPE_TWO_POINT_TRIMMING
,
29
TYPE_NONE
,
30
};
31
32
enum
soc_type
{
33
SOC_ARCH_EXYNOS4210
= 1,
34
SOC_ARCH_EXYNOS
,
35
};
46
struct
freq_clip_table
{
47
unsigned
int
freq_clip_max
;
48
unsigned
int
temp_level
;
49
const
struct
cpumask
*
mask_val
;
50
};
51
98
struct
exynos_tmu_platform_data
{
99
u8
threshold
;
100
u8
trigger_levels
[4];
101
bool
trigger_level0_en
;
102
bool
trigger_level1_en
;
103
bool
trigger_level2_en
;
104
bool
trigger_level3_en
;
105
106
u8
gain
;
107
u8
reference_voltage
;
108
u8
noise_cancel_mode
;
109
u32
efuse_value
;
110
111
enum
calibration_type
cal_type
;
112
enum
soc_type
type
;
113
struct
freq_clip_table
freq_tab
[4];
114
unsigned
int
freq_tab_count
;
115
};
116
#endif
/* _LINUX_EXYNOS_THERMAL_H */
Generated on Thu Jan 10 2013 14:52:19 for Linux Kernel by
1.8.2