|
@@ -40,13 +40,13 @@ static const struct exynos_tmu_registers exynos4210_tmu_registers = {
|
|
|
.threshold_temp = EXYNOS4210_TMU_REG_THRESHOLD_TEMP,
|
|
|
.threshold_th0 = EXYNOS4210_TMU_REG_TRIG_LEVEL0,
|
|
|
.tmu_inten = EXYNOS_TMU_REG_INTEN,
|
|
|
- .inten_rise_mask = EXYNOS4210_TMU_TRIG_LEVEL_MASK,
|
|
|
.inten_rise0_shift = EXYNOS_TMU_INTEN_RISE0_SHIFT,
|
|
|
.inten_rise1_shift = EXYNOS_TMU_INTEN_RISE1_SHIFT,
|
|
|
.inten_rise2_shift = EXYNOS_TMU_INTEN_RISE2_SHIFT,
|
|
|
.inten_rise3_shift = EXYNOS_TMU_INTEN_RISE3_SHIFT,
|
|
|
.tmu_intstat = EXYNOS_TMU_REG_INTSTAT,
|
|
|
.tmu_intclear = EXYNOS_TMU_REG_INTCLEAR,
|
|
|
+ .intclr_rise_mask = EXYNOS4210_TMU_TRIG_LEVEL_MASK,
|
|
|
};
|
|
|
|
|
|
struct exynos_tmu_init_data const exynos4210_default_tmu_data = {
|
|
@@ -112,10 +112,6 @@ static const struct exynos_tmu_registers exynos4412_tmu_registers = {
|
|
|
.threshold_th0 = EXYNOS_THD_TEMP_RISE,
|
|
|
.threshold_th1 = EXYNOS_THD_TEMP_FALL,
|
|
|
.tmu_inten = EXYNOS_TMU_REG_INTEN,
|
|
|
- .inten_rise_mask = EXYNOS_TMU_RISE_INT_MASK,
|
|
|
- .inten_rise_shift = EXYNOS_TMU_RISE_INT_SHIFT,
|
|
|
- .inten_fall_mask = EXYNOS_TMU_FALL_INT_MASK,
|
|
|
- .inten_fall_shift = EXYNOS_TMU_FALL_INT_SHIFT,
|
|
|
.inten_rise0_shift = EXYNOS_TMU_INTEN_RISE0_SHIFT,
|
|
|
.inten_rise1_shift = EXYNOS_TMU_INTEN_RISE1_SHIFT,
|
|
|
.inten_rise2_shift = EXYNOS_TMU_INTEN_RISE2_SHIFT,
|
|
@@ -123,6 +119,10 @@ static const struct exynos_tmu_registers exynos4412_tmu_registers = {
|
|
|
.inten_fall0_shift = EXYNOS_TMU_INTEN_FALL0_SHIFT,
|
|
|
.tmu_intstat = EXYNOS_TMU_REG_INTSTAT,
|
|
|
.tmu_intclear = EXYNOS_TMU_REG_INTCLEAR,
|
|
|
+ .intclr_fall_shift = EXYNOS_TMU_CLEAR_FALL_INT_SHIFT,
|
|
|
+ .intclr_rise_shift = EXYNOS_TMU_RISE_INT_SHIFT,
|
|
|
+ .intclr_rise_mask = EXYNOS_TMU_RISE_INT_MASK,
|
|
|
+ .intclr_fall_mask = EXYNOS_TMU_FALL_INT_MASK,
|
|
|
.emul_con = EXYNOS_EMUL_CON,
|
|
|
.emul_temp_shift = EXYNOS_EMUL_DATA_SHIFT,
|
|
|
.emul_time_shift = EXYNOS_EMUL_TIME_SHIFT,
|
|
@@ -217,10 +217,6 @@ static const struct exynos_tmu_registers exynos5440_tmu_registers = {
|
|
|
.threshold_th2 = EXYNOS5440_TMU_S0_7_TH2,
|
|
|
.threshold_th3_l0_shift = EXYNOS5440_TMU_TH_RISE4_SHIFT,
|
|
|
.tmu_inten = EXYNOS5440_TMU_S0_7_IRQEN,
|
|
|
- .inten_rise_mask = EXYNOS5440_TMU_RISE_INT_MASK,
|
|
|
- .inten_rise_shift = EXYNOS5440_TMU_RISE_INT_SHIFT,
|
|
|
- .inten_fall_mask = EXYNOS5440_TMU_FALL_INT_MASK,
|
|
|
- .inten_fall_shift = EXYNOS5440_TMU_FALL_INT_SHIFT,
|
|
|
.inten_rise0_shift = EXYNOS5440_TMU_INTEN_RISE0_SHIFT,
|
|
|
.inten_rise1_shift = EXYNOS5440_TMU_INTEN_RISE1_SHIFT,
|
|
|
.inten_rise2_shift = EXYNOS5440_TMU_INTEN_RISE2_SHIFT,
|
|
@@ -228,6 +224,10 @@ static const struct exynos_tmu_registers exynos5440_tmu_registers = {
|
|
|
.inten_fall0_shift = EXYNOS5440_TMU_INTEN_FALL0_SHIFT,
|
|
|
.tmu_intstat = EXYNOS5440_TMU_S0_7_IRQ,
|
|
|
.tmu_intclear = EXYNOS5440_TMU_S0_7_IRQ,
|
|
|
+ .intclr_fall_shift = EXYNOS5440_TMU_CLEAR_FALL_INT_SHIFT,
|
|
|
+ .intclr_rise_shift = EXYNOS5440_TMU_RISE_INT_SHIFT,
|
|
|
+ .intclr_rise_mask = EXYNOS5440_TMU_RISE_INT_MASK,
|
|
|
+ .intclr_fall_mask = EXYNOS5440_TMU_FALL_INT_MASK,
|
|
|
.tmu_irqstatus = EXYNOS5440_TMU_IRQ_STATUS,
|
|
|
.emul_con = EXYNOS5440_TMU_S0_7_DEBUG,
|
|
|
.emul_temp_shift = EXYNOS_EMUL_DATA_SHIFT,
|