From 6bdad5c64b0482e61d20e22ddcfae40b2aa9f83f Mon Sep 17 00:00:00 2001 From: Amit Daniel Kachhap Date: Mon, 12 Dec 2011 11:01:39 +0530 Subject: 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 --- include/linux/platform_data/exynos4_tmu.h | 4 ++++ 1 file changed, 4 insertions(+) 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 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 */ -- cgit v1.2.3