diff options
author | Amit Daniel Kachhap <amit.daniel@samsung.com> | 2013-06-24 06:50:32 -0400 |
---|---|---|
committer | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-08-13 09:52:01 -0400 |
commit | 7ca04e587ee5d391fecd477f9a3dd725c3e21f23 (patch) | |
tree | 739059dc7730144ffbf2b998ddeab65fc7f33532 /drivers/thermal/samsung/exynos_tmu_data.h | |
parent | b8d582b9405c75506f4adff9abd4afbe7b698b61 (diff) |
thermal: exynos: Support thermal tripping
TMU urgently sends active-high signal (thermal trip) to PMU, and thermal
tripping by hardware logic. Thermal tripping means that PMU cuts off the
whole power of SoC by controlling external voltage regulator.
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Acked-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Diffstat (limited to 'drivers/thermal/samsung/exynos_tmu_data.h')
-rw-r--r-- | drivers/thermal/samsung/exynos_tmu_data.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/thermal/samsung/exynos_tmu_data.h b/drivers/thermal/samsung/exynos_tmu_data.h index 0e2244fb8bd1..4acf070c4817 100644 --- a/drivers/thermal/samsung/exynos_tmu_data.h +++ b/drivers/thermal/samsung/exynos_tmu_data.h | |||
@@ -91,6 +91,8 @@ | |||
91 | #define EXYNOS_EMUL_DATA_MASK 0xFF | 91 | #define EXYNOS_EMUL_DATA_MASK 0xFF |
92 | #define EXYNOS_EMUL_ENABLE 0x1 | 92 | #define EXYNOS_EMUL_ENABLE 0x1 |
93 | 93 | ||
94 | #define EXYNOS_MAX_TRIGGER_PER_REG 4 | ||
95 | |||
94 | #if defined(CONFIG_CPU_EXYNOS4210) | 96 | #if defined(CONFIG_CPU_EXYNOS4210) |
95 | extern struct exynos_tmu_platform_data const exynos4210_default_tmu_data; | 97 | extern struct exynos_tmu_platform_data const exynos4210_default_tmu_data; |
96 | #define EXYNOS4210_TMU_DRV_DATA (&exynos4210_default_tmu_data) | 98 | #define EXYNOS4210_TMU_DRV_DATA (&exynos4210_default_tmu_data) |