diff options
author | Amit Daniel Kachhap <amit.kachhap@linaro.org> | 2011-12-12 11:01:39 +0530 |
---|---|---|
committer | Amit Daniel Kachhap <amit.kachhap@linaro.org> | 2011-12-14 21:57:23 +0530 |
commit | 6bdad5c64b0482e61d20e22ddcfae40b2aa9f83f (patch) | |
tree | 3531e7ee0b83409b57f77ce71801eeaf109aeb89 | |
parent | 15bfc7956f3fef104c3b3d14a414f9e80eb94d41 (diff) |
hwmon: exynos4: Add cpu frequency clip data for certain threshold
This patch helps to modify the exynos4 tmu to get the frequency clipping
data from the platform if needed for a temperature trip points.
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@linaro.org>
-rw-r--r-- | include/linux/platform_data/exynos4_tmu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/platform_data/exynos4_tmu.h b/include/linux/platform_data/exynos4_tmu.h index 39e038cca59..f655dcdd6b1 100644 --- a/include/linux/platform_data/exynos4_tmu.h +++ b/include/linux/platform_data/exynos4_tmu.h @@ -21,6 +21,7 @@ #ifndef _LINUX_EXYNOS4_TMU_H #define _LINUX_EXYNOS4_TMU_H +#include <linux/cpu_cooling.h> enum calibration_type { TYPE_ONE_POINT_TRIMMING, @@ -79,5 +80,8 @@ struct exynos4_tmu_platform_data { u8 reference_voltage; enum calibration_type cal_type; + + struct freq_pctg_table freq_tab[4]; + unsigned int level_count; }; #endif /* _LINUX_EXYNOS4_TMU_H */ |