aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal/samsung/exynos_tmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/thermal/samsung/exynos_tmu.h')
-rw-r--r--drivers/thermal/samsung/exynos_tmu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/thermal/samsung/exynos_tmu.h b/drivers/thermal/samsung/exynos_tmu.h
index 25c48d49ad47..b364c9eee701 100644
--- a/drivers/thermal/samsung/exynos_tmu.h
+++ b/drivers/thermal/samsung/exynos_tmu.h
@@ -28,6 +28,8 @@
28 28
29enum calibration_type { 29enum calibration_type {
30 TYPE_ONE_POINT_TRIMMING, 30 TYPE_ONE_POINT_TRIMMING,
31 TYPE_ONE_POINT_TRIMMING_25,
32 TYPE_ONE_POINT_TRIMMING_85,
31 TYPE_TWO_POINT_TRIMMING, 33 TYPE_TWO_POINT_TRIMMING,
32 TYPE_NONE, 34 TYPE_NONE,
33}; 35};
@@ -90,6 +92,10 @@ enum soc_type {
90 * @buf_slope_sel_shift: shift bits of amplifier gain value in tmu_ctrl 92 * @buf_slope_sel_shift: shift bits of amplifier gain value in tmu_ctrl
91 register. 93 register.
92 * @buf_slope_sel_mask: mask bits of amplifier gain value in tmu_ctrl register. 94 * @buf_slope_sel_mask: mask bits of amplifier gain value in tmu_ctrl register.
95 * @calib_mode_shift: shift bits of calibration mode value in tmu_ctrl
96 register.
97 * @calib_mode_mask: mask bits of calibration mode value in tmu_ctrl
98 register.
93 * @therm_trip_tq_en_shift: shift bits of thermal trip enable by TQ pin in 99 * @therm_trip_tq_en_shift: shift bits of thermal trip enable by TQ pin in
94 tmu_ctrl register. 100 tmu_ctrl register.
95 * @core_en_shift: shift bits of TMU core enable bit in tmu_ctrl register. 101 * @core_en_shift: shift bits of TMU core enable bit in tmu_ctrl register.
@@ -151,6 +157,8 @@ struct exynos_tmu_registers {
151 u32 therm_trip_en_shift; 157 u32 therm_trip_en_shift;
152 u32 buf_slope_sel_shift; 158 u32 buf_slope_sel_shift;
153 u32 buf_slope_sel_mask; 159 u32 buf_slope_sel_mask;
160 u32 calib_mode_shift;
161 u32 calib_mode_mask;
154 u32 therm_trip_tq_en_shift; 162 u32 therm_trip_tq_en_shift;
155 u32 core_en_shift; 163 u32 core_en_shift;
156 164