aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/exynos_thermal.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/include/linux/platform_data/exynos_thermal.h b/include/linux/platform_data/exynos_thermal.h
index d6c3f93e7c62..a9e960aaf987 100644
--- a/include/linux/platform_data/exynos_thermal.h
+++ b/include/linux/platform_data/exynos_thermal.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * exynos_thermal.h - Samsung EXYNOS4 TMU (Thermal Management Unit) 2 * exynos_thermal.h - Samsung EXYNOS TMU (Thermal Management Unit)
3 * 3 *
4 * Copyright (C) 2011 Samsung Electronics 4 * Copyright (C) 2011 Samsung Electronics
5 * Donggeun Kim <dg77.kim@samsung.com> 5 * Donggeun Kim <dg77.kim@samsung.com>
@@ -28,8 +28,12 @@ enum calibration_type {
28 TYPE_NONE, 28 TYPE_NONE,
29}; 29};
30 30
31enum soc_type {
32 SOC_ARCH_EXYNOS4210 = 1,
33 SOC_ARCH_EXYNOS,
34};
31/** 35/**
32 * struct exynos4_tmu_platform_data 36 * struct exynos_tmu_platform_data
33 * @threshold: basic temperature for generating interrupt 37 * @threshold: basic temperature for generating interrupt
34 * 25 <= threshold <= 125 [unit: degree Celsius] 38 * 25 <= threshold <= 125 [unit: degree Celsius]
35 * @trigger_levels: array for each interrupt levels 39 * @trigger_levels: array for each interrupt levels
@@ -63,11 +67,15 @@ enum calibration_type {
63 * @reference_voltage: reference voltage of amplifier 67 * @reference_voltage: reference voltage of amplifier
64 * in the positive-TC generator block 68 * in the positive-TC generator block
65 * 0 <= reference_voltage <= 31 69 * 0 <= reference_voltage <= 31
70 * @noise_cancel_mode: noise cancellation mode
71 * 000, 100, 101, 110 and 111 can be different modes
72 * @type: determines the type of SOC
73 * @efuse_value: platform defined fuse value
66 * @cal_type: calibration type for temperature 74 * @cal_type: calibration type for temperature
67 * 75 *
68 * This structure is required for configuration of exynos4_tmu driver. 76 * This structure is required for configuration of exynos_tmu driver.
69 */ 77 */
70struct exynos4_tmu_platform_data { 78struct exynos_tmu_platform_data {
71 u8 threshold; 79 u8 threshold;
72 u8 trigger_levels[4]; 80 u8 trigger_levels[4];
73 bool trigger_level0_en; 81 bool trigger_level0_en;
@@ -77,7 +85,10 @@ struct exynos4_tmu_platform_data {
77 85
78 u8 gain; 86 u8 gain;
79 u8 reference_voltage; 87 u8 reference_voltage;
88 u8 noise_cancel_mode;
89 u32 efuse_value;
80 90
81 enum calibration_type cal_type; 91 enum calibration_type cal_type;
92 enum soc_type type;
82}; 93};
83#endif /* _LINUX_EXYNOS_THERMAL_H */ 94#endif /* _LINUX_EXYNOS_THERMAL_H */