diff options
author | Amit Daniel Kachhap <amit.daniel@samsung.com> | 2013-06-24 12:50:30 +0200 |
---|---|---|
committer | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-08-13 15:52:00 +0200 |
commit | bb34b4c8cfd8538376666f574ed90b03ea2b0446 (patch) | |
tree | a7f82deafa7a4f5a79c0324b53041fdea81c2f00 /drivers/thermal/samsung/exynos_thermal_common.h | |
parent | thermal: exynos: Add missing definations and code cleanup (diff) | |
download | linux-bb34b4c8cfd8538376666f574ed90b03ea2b0446.tar.xz linux-bb34b4c8cfd8538376666f574ed90b03ea2b0446.zip |
thermal: exynos: Add extra entries in the tmu platform data
This patch adds entries min_efuse_value, max_efuse_value, default_temp_offset,
trigger_type, cal_type, trim_first_point, trim_second_point, max_trigger_level
trigger_enable in the TMU platform data structure. Also the driver is modified
to use the data passed by these new platform memebers instead of the constant
macros. All these changes helps in separating the SOC specific data part from
the TMU driver.
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Acked-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Diffstat (limited to 'drivers/thermal/samsung/exynos_thermal_common.h')
-rw-r--r-- | drivers/thermal/samsung/exynos_thermal_common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/thermal/samsung/exynos_thermal_common.h b/drivers/thermal/samsung/exynos_thermal_common.h index 57ce33b39b54..fee15889f9fa 100644 --- a/drivers/thermal/samsung/exynos_thermal_common.h +++ b/drivers/thermal/samsung/exynos_thermal_common.h @@ -44,6 +44,13 @@ #define EXYNOS_ZONE_COUNT 3 +enum trigger_type { + THROTTLE_ACTIVE = 1, + THROTTLE_PASSIVE, + SW_TRIP, + HW_TRIP, +}; + /** * struct freq_clip_table * @freq_clip_max: maximum frequency allowed for this cooling state. |