diff options
author | Jonghwa Lee <jonghwa3.lee@samsung.com> | 2013-02-08 02:13:06 +0100 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-02-08 13:26:07 +0100 |
commit | 4f0a6847815837b63b05fc23878ba391701d8f6a (patch) | |
tree | fd8364491e2f69887f50ee2b81d60e87b2f1b16a /include | |
parent | Thermal: Dove: Add Themal sensor support for Dove. (diff) | |
download | linux-4f0a6847815837b63b05fc23878ba391701d8f6a.tar.xz linux-4f0a6847815837b63b05fc23878ba391701d8f6a.zip |
Thermal: exynos: Add support for temperature falling interrupt.
This patch introduces using temperature falling interrupt in exynos
thermal driver. Former patch, it only use polling way to check
whether if system themperature is fallen. However, exynos SOC also
provides temperature falling interrupt way to do same things by hw.
This feature is not supported in exynos4210.
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/platform_data/exynos_thermal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/platform_data/exynos_thermal.h b/include/linux/platform_data/exynos_thermal.h index a7bdb2f63b73..da7e6274b175 100644 --- a/include/linux/platform_data/exynos_thermal.h +++ b/include/linux/platform_data/exynos_thermal.h @@ -53,6 +53,8 @@ struct freq_clip_table { * struct exynos_tmu_platform_data * @threshold: basic temperature for generating interrupt * 25 <= threshold <= 125 [unit: degree Celsius] + * @threshold_falling: differntial value for setting threshold + * of temperature falling interrupt. * @trigger_levels: array for each interrupt levels * [unit: degree Celsius] * 0: temperature for trigger_level0 interrupt @@ -97,6 +99,7 @@ struct freq_clip_table { */ struct exynos_tmu_platform_data { u8 threshold; + u8 threshold_falling; u8 trigger_levels[4]; bool trigger_level0_en; bool trigger_level1_en; |