aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2014-07-31 13:11:06 -0400
committerEduardo Valentin <edubezval@gmail.com>2014-11-02 22:02:48 -0500
commit99d67fb993bbe2f27b0004332218108d66c78af4 (patch)
tree4f390c8440b5ce3c0bca253917af64497f5542e5
parent9c7a87f146a642447db29327bcedfbe2163da172 (diff)
thermal: exynos: remove identical values from exynos*_tmu_registers structures
There is no need for abstracting configuration for registers that are identical on all SoC types. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Tested-by: Amit Daniel Kachhap <amit.daniel@samsung.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
-rw-r--r--drivers/thermal/samsung/exynos_tmu.c16
-rw-r--r--drivers/thermal/samsung/exynos_tmu.h15
-rw-r--r--drivers/thermal/samsung/exynos_tmu_data.c42
3 files changed, 8 insertions, 65 deletions
diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c
index 122ae663d0a8..35437dffaecc 100644
--- a/drivers/thermal/samsung/exynos_tmu.c
+++ b/drivers/thermal/samsung/exynos_tmu.c
@@ -174,7 +174,7 @@ static int exynos_tmu_initialize(struct platform_device *pdev)
174 trim_info = readl(data->base + reg->triminfo_data); 174 trim_info = readl(data->base + reg->triminfo_data);
175 } 175 }
176 data->temp_error1 = trim_info & EXYNOS_TMU_TEMP_MASK; 176 data->temp_error1 = trim_info & EXYNOS_TMU_TEMP_MASK;
177 data->temp_error2 = ((trim_info >> reg->triminfo_85_shift) & 177 data->temp_error2 = ((trim_info >> EXYNOS_TRIMINFO_85_SHIFT) &
178 EXYNOS_TMU_TEMP_MASK); 178 EXYNOS_TMU_TEMP_MASK);
179 179
180 if (!data->temp_error1 || 180 if (!data->temp_error1 ||
@@ -184,7 +184,7 @@ static int exynos_tmu_initialize(struct platform_device *pdev)
184 184
185 if (!data->temp_error2) 185 if (!data->temp_error2)
186 data->temp_error2 = 186 data->temp_error2 =
187 (pdata->efuse_value >> reg->triminfo_85_shift) & 187 (pdata->efuse_value >> EXYNOS_TRIMINFO_85_SHIFT) &
188 EXYNOS_TMU_TEMP_MASK; 188 EXYNOS_TMU_TEMP_MASK;
189 189
190 rising_threshold = readl(data->base + reg->threshold_th0); 190 rising_threshold = readl(data->base + reg->threshold_th0);
@@ -274,11 +274,11 @@ static void exynos_tmu_control(struct platform_device *pdev, bool on)
274 if (pdata->test_mux) 274 if (pdata->test_mux)
275 con |= (pdata->test_mux << reg->test_mux_addr_shift); 275 con |= (pdata->test_mux << reg->test_mux_addr_shift);
276 276
277 con &= ~(reg->buf_vref_sel_mask << reg->buf_vref_sel_shift); 277 con &= ~(EXYNOS_TMU_REF_VOLTAGE_MASK << EXYNOS_TMU_REF_VOLTAGE_SHIFT);
278 con |= pdata->reference_voltage << reg->buf_vref_sel_shift; 278 con |= pdata->reference_voltage << EXYNOS_TMU_REF_VOLTAGE_SHIFT;
279 279
280 con &= ~(reg->buf_slope_sel_mask << reg->buf_slope_sel_shift); 280 con &= ~(EXYNOS_TMU_BUF_SLOPE_SEL_MASK << EXYNOS_TMU_BUF_SLOPE_SEL_SHIFT);
281 con |= (pdata->gain << reg->buf_slope_sel_shift); 281 con |= (pdata->gain << EXYNOS_TMU_BUF_SLOPE_SEL_SHIFT);
282 282
283 if (pdata->noise_cancel_mode) { 283 if (pdata->noise_cancel_mode) {
284 con &= ~(reg->therm_trip_mode_mask << 284 con &= ~(reg->therm_trip_mode_mask <<
@@ -287,7 +287,7 @@ static void exynos_tmu_control(struct platform_device *pdev, bool on)
287 } 287 }
288 288
289 if (on) { 289 if (on) {
290 con |= (1 << reg->core_en_shift); 290 con |= (1 << EXYNOS_TMU_CORE_EN_SHIFT);
291 interrupt_en = 291 interrupt_en =
292 pdata->trigger_enable[3] << reg->inten_rise3_shift | 292 pdata->trigger_enable[3] << reg->inten_rise3_shift |
293 pdata->trigger_enable[2] << reg->inten_rise2_shift | 293 pdata->trigger_enable[2] << reg->inten_rise2_shift |
@@ -297,7 +297,7 @@ static void exynos_tmu_control(struct platform_device *pdev, bool on)
297 interrupt_en |= 297 interrupt_en |=
298 interrupt_en << reg->inten_fall0_shift; 298 interrupt_en << reg->inten_fall0_shift;
299 } else { 299 } else {
300 con &= ~(1 << reg->core_en_shift); 300 con &= ~(1 << EXYNOS_TMU_CORE_EN_SHIFT);
301 interrupt_en = 0; /* Disable all interrupts */ 301 interrupt_en = 0; /* Disable all interrupts */
302 } 302 }
303 writel(interrupt_en, data->base + reg->tmu_inten); 303 writel(interrupt_en, data->base + reg->tmu_inten);
diff --git a/drivers/thermal/samsung/exynos_tmu.h b/drivers/thermal/samsung/exynos_tmu.h
index 327c64f0721f..d503f35e3cd9 100644
--- a/drivers/thermal/samsung/exynos_tmu.h
+++ b/drivers/thermal/samsung/exynos_tmu.h
@@ -77,20 +77,12 @@ enum soc_type {
77 * bitfields. The register validity, offsets and bitfield values may vary 77 * bitfields. The register validity, offsets and bitfield values may vary
78 * slightly across different exynos SOC's. 78 * slightly across different exynos SOC's.
79 * @triminfo_data: register containing 2 pont trimming data 79 * @triminfo_data: register containing 2 pont trimming data
80 * @triminfo_25_shift: shift bit of the 25 C trim value in triminfo_data reg.
81 * @triminfo_85_shift: shift bit of the 85 C trim value in triminfo_data reg.
82 * @triminfo_ctrl: trim info controller register. 80 * @triminfo_ctrl: trim info controller register.
83 * @tmu_ctrl: TMU main controller register. 81 * @tmu_ctrl: TMU main controller register.
84 * @test_mux_addr_shift: shift bits of test mux address. 82 * @test_mux_addr_shift: shift bits of test mux address.
85 * @buf_vref_sel_shift: shift bits of reference voltage in tmu_ctrl register.
86 * @buf_vref_sel_mask: mask bits of reference voltage in tmu_ctrl register.
87 * @therm_trip_mode_shift: shift bits of tripping mode in tmu_ctrl register. 83 * @therm_trip_mode_shift: shift bits of tripping mode in tmu_ctrl register.
88 * @therm_trip_mode_mask: mask bits of tripping mode in tmu_ctrl register. 84 * @therm_trip_mode_mask: mask bits of tripping mode in tmu_ctrl register.
89 * @therm_trip_en_shift: shift bits of tripping enable in tmu_ctrl register. 85 * @therm_trip_en_shift: shift bits of tripping enable in tmu_ctrl register.
90 * @buf_slope_sel_shift: shift bits of amplifier gain value in tmu_ctrl
91 register.
92 * @buf_slope_sel_mask: mask bits of amplifier gain value in tmu_ctrl register.
93 * @core_en_shift: shift bits of TMU core enable bit in tmu_ctrl register.
94 * @tmu_status: register drescribing the TMU status. 86 * @tmu_status: register drescribing the TMU status.
95 * @tmu_cur_temp: register containing the current temperature of the TMU. 87 * @tmu_cur_temp: register containing the current temperature of the TMU.
96 * @threshold_temp: register containing the base threshold level. 88 * @threshold_temp: register containing the base threshold level.
@@ -119,22 +111,15 @@ enum soc_type {
119 */ 111 */
120struct exynos_tmu_registers { 112struct exynos_tmu_registers {
121 u32 triminfo_data; 113 u32 triminfo_data;
122 u32 triminfo_25_shift;
123 u32 triminfo_85_shift;
124 114
125 u32 triminfo_ctrl; 115 u32 triminfo_ctrl;
126 u32 triminfo_ctrl1; 116 u32 triminfo_ctrl1;
127 117
128 u32 tmu_ctrl; 118 u32 tmu_ctrl;
129 u32 test_mux_addr_shift; 119 u32 test_mux_addr_shift;
130 u32 buf_vref_sel_shift;
131 u32 buf_vref_sel_mask;
132 u32 therm_trip_mode_shift; 120 u32 therm_trip_mode_shift;
133 u32 therm_trip_mode_mask; 121 u32 therm_trip_mode_mask;
134 u32 therm_trip_en_shift; 122 u32 therm_trip_en_shift;
135 u32 buf_slope_sel_shift;
136 u32 buf_slope_sel_mask;
137 u32 core_en_shift;
138 123
139 u32 tmu_status; 124 u32 tmu_status;
140 125
diff --git a/drivers/thermal/samsung/exynos_tmu_data.c b/drivers/thermal/samsung/exynos_tmu_data.c
index 9c81515e74a9..82e0732af75f 100644
--- a/drivers/thermal/samsung/exynos_tmu_data.c
+++ b/drivers/thermal/samsung/exynos_tmu_data.c
@@ -27,14 +27,7 @@
27#if defined(CONFIG_CPU_EXYNOS4210) 27#if defined(CONFIG_CPU_EXYNOS4210)
28static const struct exynos_tmu_registers exynos4210_tmu_registers = { 28static const struct exynos_tmu_registers exynos4210_tmu_registers = {
29 .triminfo_data = EXYNOS_TMU_REG_TRIMINFO, 29 .triminfo_data = EXYNOS_TMU_REG_TRIMINFO,
30 .triminfo_25_shift = EXYNOS_TRIMINFO_25_SHIFT,
31 .triminfo_85_shift = EXYNOS_TRIMINFO_85_SHIFT,
32 .tmu_ctrl = EXYNOS_TMU_REG_CONTROL, 30 .tmu_ctrl = EXYNOS_TMU_REG_CONTROL,
33 .buf_vref_sel_shift = EXYNOS_TMU_REF_VOLTAGE_SHIFT,
34 .buf_vref_sel_mask = EXYNOS_TMU_REF_VOLTAGE_MASK,
35 .buf_slope_sel_shift = EXYNOS_TMU_BUF_SLOPE_SEL_SHIFT,
36 .buf_slope_sel_mask = EXYNOS_TMU_BUF_SLOPE_SEL_MASK,
37 .core_en_shift = EXYNOS_TMU_CORE_EN_SHIFT,
38 .tmu_status = EXYNOS_TMU_REG_STATUS, 31 .tmu_status = EXYNOS_TMU_REG_STATUS,
39 .tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP, 32 .tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP,
40 .threshold_temp = EXYNOS4210_TMU_REG_THRESHOLD_TEMP, 33 .threshold_temp = EXYNOS4210_TMU_REG_THRESHOLD_TEMP,
@@ -94,18 +87,11 @@ struct exynos_tmu_init_data const exynos4210_default_tmu_data = {
94#if defined(CONFIG_SOC_EXYNOS3250) 87#if defined(CONFIG_SOC_EXYNOS3250)
95static const struct exynos_tmu_registers exynos3250_tmu_registers = { 88static const struct exynos_tmu_registers exynos3250_tmu_registers = {
96 .triminfo_data = EXYNOS_TMU_REG_TRIMINFO, 89 .triminfo_data = EXYNOS_TMU_REG_TRIMINFO,
97 .triminfo_25_shift = EXYNOS_TRIMINFO_25_SHIFT,
98 .triminfo_85_shift = EXYNOS_TRIMINFO_85_SHIFT,
99 .tmu_ctrl = EXYNOS_TMU_REG_CONTROL, 90 .tmu_ctrl = EXYNOS_TMU_REG_CONTROL,
100 .test_mux_addr_shift = EXYNOS4412_MUX_ADDR_SHIFT, 91 .test_mux_addr_shift = EXYNOS4412_MUX_ADDR_SHIFT,
101 .buf_vref_sel_shift = EXYNOS_TMU_REF_VOLTAGE_SHIFT,
102 .buf_vref_sel_mask = EXYNOS_TMU_REF_VOLTAGE_MASK,
103 .therm_trip_mode_shift = EXYNOS_TMU_TRIP_MODE_SHIFT, 92 .therm_trip_mode_shift = EXYNOS_TMU_TRIP_MODE_SHIFT,
104 .therm_trip_mode_mask = EXYNOS_TMU_TRIP_MODE_MASK, 93 .therm_trip_mode_mask = EXYNOS_TMU_TRIP_MODE_MASK,
105 .therm_trip_en_shift = EXYNOS_TMU_THERM_TRIP_EN_SHIFT, 94 .therm_trip_en_shift = EXYNOS_TMU_THERM_TRIP_EN_SHIFT,
106 .buf_slope_sel_shift = EXYNOS_TMU_BUF_SLOPE_SEL_SHIFT,
107 .buf_slope_sel_mask = EXYNOS_TMU_BUF_SLOPE_SEL_MASK,
108 .core_en_shift = EXYNOS_TMU_CORE_EN_SHIFT,
109 .tmu_status = EXYNOS_TMU_REG_STATUS, 95 .tmu_status = EXYNOS_TMU_REG_STATUS,
110 .tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP, 96 .tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP,
111 .threshold_th0 = EXYNOS_THD_TEMP_RISE, 97 .threshold_th0 = EXYNOS_THD_TEMP_RISE,
@@ -183,19 +169,12 @@ struct exynos_tmu_init_data const exynos3250_default_tmu_data = {
183#if defined(CONFIG_SOC_EXYNOS4412) || defined(CONFIG_SOC_EXYNOS5250) 169#if defined(CONFIG_SOC_EXYNOS4412) || defined(CONFIG_SOC_EXYNOS5250)
184static const struct exynos_tmu_registers exynos4412_tmu_registers = { 170static const struct exynos_tmu_registers exynos4412_tmu_registers = {
185 .triminfo_data = EXYNOS_TMU_REG_TRIMINFO, 171 .triminfo_data = EXYNOS_TMU_REG_TRIMINFO,
186 .triminfo_25_shift = EXYNOS_TRIMINFO_25_SHIFT,
187 .triminfo_85_shift = EXYNOS_TRIMINFO_85_SHIFT,
188 .triminfo_ctrl = EXYNOS_TMU_TRIMINFO_CON, 172 .triminfo_ctrl = EXYNOS_TMU_TRIMINFO_CON,
189 .tmu_ctrl = EXYNOS_TMU_REG_CONTROL, 173 .tmu_ctrl = EXYNOS_TMU_REG_CONTROL,
190 .test_mux_addr_shift = EXYNOS4412_MUX_ADDR_SHIFT, 174 .test_mux_addr_shift = EXYNOS4412_MUX_ADDR_SHIFT,
191 .buf_vref_sel_shift = EXYNOS_TMU_REF_VOLTAGE_SHIFT,
192 .buf_vref_sel_mask = EXYNOS_TMU_REF_VOLTAGE_MASK,
193 .therm_trip_mode_shift = EXYNOS_TMU_TRIP_MODE_SHIFT, 175 .therm_trip_mode_shift = EXYNOS_TMU_TRIP_MODE_SHIFT,
194 .therm_trip_mode_mask = EXYNOS_TMU_TRIP_MODE_MASK, 176 .therm_trip_mode_mask = EXYNOS_TMU_TRIP_MODE_MASK,
195 .therm_trip_en_shift = EXYNOS_TMU_THERM_TRIP_EN_SHIFT, 177 .therm_trip_en_shift = EXYNOS_TMU_THERM_TRIP_EN_SHIFT,
196 .buf_slope_sel_shift = EXYNOS_TMU_BUF_SLOPE_SEL_SHIFT,
197 .buf_slope_sel_mask = EXYNOS_TMU_BUF_SLOPE_SEL_MASK,
198 .core_en_shift = EXYNOS_TMU_CORE_EN_SHIFT,
199 .tmu_status = EXYNOS_TMU_REG_STATUS, 178 .tmu_status = EXYNOS_TMU_REG_STATUS,
200 .tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP, 179 .tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP,
201 .threshold_th0 = EXYNOS_THD_TEMP_RISE, 180 .threshold_th0 = EXYNOS_THD_TEMP_RISE,
@@ -286,18 +265,11 @@ struct exynos_tmu_init_data const exynos5250_default_tmu_data = {
286#if defined(CONFIG_SOC_EXYNOS5260) 265#if defined(CONFIG_SOC_EXYNOS5260)
287static const struct exynos_tmu_registers exynos5260_tmu_registers = { 266static const struct exynos_tmu_registers exynos5260_tmu_registers = {
288 .triminfo_data = EXYNOS_TMU_REG_TRIMINFO, 267 .triminfo_data = EXYNOS_TMU_REG_TRIMINFO,
289 .triminfo_25_shift = EXYNOS_TRIMINFO_25_SHIFT,
290 .triminfo_85_shift = EXYNOS_TRIMINFO_85_SHIFT,
291 .tmu_ctrl = EXYNOS_TMU_REG_CONTROL, 268 .tmu_ctrl = EXYNOS_TMU_REG_CONTROL,
292 .tmu_ctrl = EXYNOS_TMU_REG_CONTROL1, 269 .tmu_ctrl = EXYNOS_TMU_REG_CONTROL1,
293 .buf_vref_sel_shift = EXYNOS_TMU_REF_VOLTAGE_SHIFT,
294 .buf_vref_sel_mask = EXYNOS_TMU_REF_VOLTAGE_MASK,
295 .therm_trip_mode_shift = EXYNOS_TMU_TRIP_MODE_SHIFT, 270 .therm_trip_mode_shift = EXYNOS_TMU_TRIP_MODE_SHIFT,
296 .therm_trip_mode_mask = EXYNOS_TMU_TRIP_MODE_MASK, 271 .therm_trip_mode_mask = EXYNOS_TMU_TRIP_MODE_MASK,
297 .therm_trip_en_shift = EXYNOS_TMU_THERM_TRIP_EN_SHIFT, 272 .therm_trip_en_shift = EXYNOS_TMU_THERM_TRIP_EN_SHIFT,
298 .buf_slope_sel_shift = EXYNOS_TMU_BUF_SLOPE_SEL_SHIFT,
299 .buf_slope_sel_mask = EXYNOS_TMU_BUF_SLOPE_SEL_MASK,
300 .core_en_shift = EXYNOS_TMU_CORE_EN_SHIFT,
301 .tmu_status = EXYNOS_TMU_REG_STATUS, 273 .tmu_status = EXYNOS_TMU_REG_STATUS,
302 .tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP, 274 .tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP,
303 .threshold_th0 = EXYNOS_THD_TEMP_RISE, 275 .threshold_th0 = EXYNOS_THD_TEMP_RISE,
@@ -378,17 +350,10 @@ struct exynos_tmu_init_data const exynos5260_default_tmu_data = {
378#if defined(CONFIG_SOC_EXYNOS5420) 350#if defined(CONFIG_SOC_EXYNOS5420)
379static const struct exynos_tmu_registers exynos5420_tmu_registers = { 351static const struct exynos_tmu_registers exynos5420_tmu_registers = {
380 .triminfo_data = EXYNOS_TMU_REG_TRIMINFO, 352 .triminfo_data = EXYNOS_TMU_REG_TRIMINFO,
381 .triminfo_25_shift = EXYNOS_TRIMINFO_25_SHIFT,
382 .triminfo_85_shift = EXYNOS_TRIMINFO_85_SHIFT,
383 .tmu_ctrl = EXYNOS_TMU_REG_CONTROL, 353 .tmu_ctrl = EXYNOS_TMU_REG_CONTROL,
384 .buf_vref_sel_shift = EXYNOS_TMU_REF_VOLTAGE_SHIFT,
385 .buf_vref_sel_mask = EXYNOS_TMU_REF_VOLTAGE_MASK,
386 .therm_trip_mode_shift = EXYNOS_TMU_TRIP_MODE_SHIFT, 354 .therm_trip_mode_shift = EXYNOS_TMU_TRIP_MODE_SHIFT,
387 .therm_trip_mode_mask = EXYNOS_TMU_TRIP_MODE_MASK, 355 .therm_trip_mode_mask = EXYNOS_TMU_TRIP_MODE_MASK,
388 .therm_trip_en_shift = EXYNOS_TMU_THERM_TRIP_EN_SHIFT, 356 .therm_trip_en_shift = EXYNOS_TMU_THERM_TRIP_EN_SHIFT,
389 .buf_slope_sel_shift = EXYNOS_TMU_BUF_SLOPE_SEL_SHIFT,
390 .buf_slope_sel_mask = EXYNOS_TMU_BUF_SLOPE_SEL_MASK,
391 .core_en_shift = EXYNOS_TMU_CORE_EN_SHIFT,
392 .tmu_status = EXYNOS_TMU_REG_STATUS, 357 .tmu_status = EXYNOS_TMU_REG_STATUS,
393 .tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP, 358 .tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP,
394 .threshold_th0 = EXYNOS_THD_TEMP_RISE, 359 .threshold_th0 = EXYNOS_THD_TEMP_RISE,
@@ -477,17 +442,10 @@ struct exynos_tmu_init_data const exynos5420_default_tmu_data = {
477#if defined(CONFIG_SOC_EXYNOS5440) 442#if defined(CONFIG_SOC_EXYNOS5440)
478static const struct exynos_tmu_registers exynos5440_tmu_registers = { 443static const struct exynos_tmu_registers exynos5440_tmu_registers = {
479 .triminfo_data = EXYNOS5440_TMU_S0_7_TRIM, 444 .triminfo_data = EXYNOS5440_TMU_S0_7_TRIM,
480 .triminfo_25_shift = EXYNOS_TRIMINFO_25_SHIFT,
481 .triminfo_85_shift = EXYNOS_TRIMINFO_85_SHIFT,
482 .tmu_ctrl = EXYNOS5440_TMU_S0_7_CTRL, 445 .tmu_ctrl = EXYNOS5440_TMU_S0_7_CTRL,
483 .buf_vref_sel_shift = EXYNOS_TMU_REF_VOLTAGE_SHIFT,
484 .buf_vref_sel_mask = EXYNOS_TMU_REF_VOLTAGE_MASK,
485 .therm_trip_mode_shift = EXYNOS_TMU_TRIP_MODE_SHIFT, 446 .therm_trip_mode_shift = EXYNOS_TMU_TRIP_MODE_SHIFT,
486 .therm_trip_mode_mask = EXYNOS_TMU_TRIP_MODE_MASK, 447 .therm_trip_mode_mask = EXYNOS_TMU_TRIP_MODE_MASK,
487 .therm_trip_en_shift = EXYNOS_TMU_THERM_TRIP_EN_SHIFT, 448 .therm_trip_en_shift = EXYNOS_TMU_THERM_TRIP_EN_SHIFT,
488 .buf_slope_sel_shift = EXYNOS_TMU_BUF_SLOPE_SEL_SHIFT,
489 .buf_slope_sel_mask = EXYNOS_TMU_BUF_SLOPE_SEL_MASK,
490 .core_en_shift = EXYNOS_TMU_CORE_EN_SHIFT,
491 .tmu_status = EXYNOS5440_TMU_S0_7_STATUS, 449 .tmu_status = EXYNOS5440_TMU_S0_7_STATUS,
492 .tmu_cur_temp = EXYNOS5440_TMU_S0_7_TEMP, 450 .tmu_cur_temp = EXYNOS5440_TMU_S0_7_TEMP,
493 .threshold_th0 = EXYNOS5440_TMU_S0_7_TH0, 451 .threshold_th0 = EXYNOS5440_TMU_S0_7_TH0,