aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal/samsung/exynos_tmu_data.h
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2014-09-03 12:09:02 +0900
committerEduardo Valentin <edubezval@gmail.com>2014-11-02 23:02:48 -0400
commit56c64da7aa31c7e0422ec54e5d0ed60a98f28712 (patch)
tree3fe7e394a6cc7e9832a7933da1ab60ddf632b033 /drivers/thermal/samsung/exynos_tmu_data.h
parentthermal: samsung: Exynos5260 and Exynos5420 should not use TRIM_RELOAD flag (diff)
downloadlinux-dev-56c64da7aa31c7e0422ec54e5d0ed60a98f28712.tar.xz
linux-dev-56c64da7aa31c7e0422ec54e5d0ed60a98f28712.zip
thermal: exynos: Add support for many TRIMINFO_CTRL registers
This patch support many TRIMINFO_CTRL registers if specific Exynos SoC has one more TRIMINFO_CTRL registers. Also this patch uses proper 'RELOAD' shift/mask bit operation to set RELOAD feature instead of static value. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Zhang Rui <rui.zhang@intel.com> Cc: Eduardo Valentin <edubezval@gmail.com> Cc: Amit Daniel Kachhap <amit.daniel@samsung.com> Reviewed-by: Amit Daniel Kachhap <amit.daniel@samsung.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/samsung/exynos_tmu_data.h')
-rw-r--r--drivers/thermal/samsung/exynos_tmu_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/samsung/exynos_tmu_data.h b/drivers/thermal/samsung/exynos_tmu_data.h
index ac03b76c51cc..6b47a174c8fa 100644
--- a/drivers/thermal/samsung/exynos_tmu_data.h
+++ b/drivers/thermal/samsung/exynos_tmu_data.h
@@ -51,6 +51,7 @@
#define EXYNOS_THD_TEMP_FALL 0x54
#define EXYNOS_EMUL_CON 0x80
+#define EXYNOS_TRIMINFO_RELOAD_ENABLE 1
#define EXYNOS_TRIMINFO_25_SHIFT 0
#define EXYNOS_TRIMINFO_85_SHIFT 8
#define EXYNOS_TMU_RISE_INT_MASK 0x111