|
@@ -26,13 +26,7 @@
|
|
|
|
|
|
#if defined(CONFIG_CPU_EXYNOS4210)
|
|
#if defined(CONFIG_CPU_EXYNOS4210)
|
|
static const struct exynos_tmu_registers exynos4210_tmu_registers = {
|
|
static const struct exynos_tmu_registers exynos4210_tmu_registers = {
|
|
- .tmu_ctrl = EXYNOS_TMU_REG_CONTROL,
|
|
|
|
.tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP,
|
|
.tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP,
|
|
- .tmu_inten = EXYNOS_TMU_REG_INTEN,
|
|
|
|
- .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_intstat = EXYNOS_TMU_REG_INTSTAT,
|
|
.tmu_intclear = EXYNOS_TMU_REG_INTCLEAR,
|
|
.tmu_intclear = EXYNOS_TMU_REG_INTCLEAR,
|
|
};
|
|
};
|
|
@@ -80,13 +74,7 @@ struct exynos_tmu_init_data const exynos4210_default_tmu_data = {
|
|
|
|
|
|
#if defined(CONFIG_SOC_EXYNOS3250)
|
|
#if defined(CONFIG_SOC_EXYNOS3250)
|
|
static const struct exynos_tmu_registers exynos3250_tmu_registers = {
|
|
static const struct exynos_tmu_registers exynos3250_tmu_registers = {
|
|
- .tmu_ctrl = EXYNOS_TMU_REG_CONTROL,
|
|
|
|
.tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP,
|
|
.tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP,
|
|
- .tmu_inten = EXYNOS_TMU_REG_INTEN,
|
|
|
|
- .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_fall0_shift = EXYNOS_TMU_INTEN_FALL0_SHIFT,
|
|
|
|
.tmu_intstat = EXYNOS_TMU_REG_INTSTAT,
|
|
.tmu_intstat = EXYNOS_TMU_REG_INTSTAT,
|
|
.tmu_intclear = EXYNOS_TMU_REG_INTCLEAR,
|
|
.tmu_intclear = EXYNOS_TMU_REG_INTCLEAR,
|
|
.emul_con = EXYNOS_EMUL_CON,
|
|
.emul_con = EXYNOS_EMUL_CON,
|
|
@@ -147,14 +135,7 @@ struct exynos_tmu_init_data const exynos3250_default_tmu_data = {
|
|
|
|
|
|
#if defined(CONFIG_SOC_EXYNOS4412) || defined(CONFIG_SOC_EXYNOS5250)
|
|
#if defined(CONFIG_SOC_EXYNOS4412) || defined(CONFIG_SOC_EXYNOS5250)
|
|
static const struct exynos_tmu_registers exynos4412_tmu_registers = {
|
|
static const struct exynos_tmu_registers exynos4412_tmu_registers = {
|
|
- .tmu_ctrl = EXYNOS_TMU_REG_CONTROL,
|
|
|
|
.tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP,
|
|
.tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP,
|
|
- .tmu_inten = EXYNOS_TMU_REG_INTEN,
|
|
|
|
- .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,
|
|
|
|
- .inten_fall0_shift = EXYNOS_TMU_INTEN_FALL0_SHIFT,
|
|
|
|
.tmu_intstat = EXYNOS_TMU_REG_INTSTAT,
|
|
.tmu_intstat = EXYNOS_TMU_REG_INTSTAT,
|
|
.tmu_intclear = EXYNOS_TMU_REG_INTCLEAR,
|
|
.tmu_intclear = EXYNOS_TMU_REG_INTCLEAR,
|
|
.emul_con = EXYNOS_EMUL_CON,
|
|
.emul_con = EXYNOS_EMUL_CON,
|
|
@@ -227,14 +208,7 @@ struct exynos_tmu_init_data const exynos5250_default_tmu_data = {
|
|
|
|
|
|
#if defined(CONFIG_SOC_EXYNOS5260)
|
|
#if defined(CONFIG_SOC_EXYNOS5260)
|
|
static const struct exynos_tmu_registers exynos5260_tmu_registers = {
|
|
static const struct exynos_tmu_registers exynos5260_tmu_registers = {
|
|
- .tmu_ctrl = EXYNOS_TMU_REG_CONTROL,
|
|
|
|
.tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP,
|
|
.tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP,
|
|
- .tmu_inten = EXYNOS5260_TMU_REG_INTEN,
|
|
|
|
- .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,
|
|
|
|
- .inten_fall0_shift = EXYNOS_TMU_INTEN_FALL0_SHIFT,
|
|
|
|
.tmu_intstat = EXYNOS5260_TMU_REG_INTSTAT,
|
|
.tmu_intstat = EXYNOS5260_TMU_REG_INTSTAT,
|
|
.tmu_intclear = EXYNOS5260_TMU_REG_INTCLEAR,
|
|
.tmu_intclear = EXYNOS5260_TMU_REG_INTCLEAR,
|
|
.emul_con = EXYNOS5260_EMUL_CON,
|
|
.emul_con = EXYNOS5260_EMUL_CON,
|
|
@@ -297,15 +271,7 @@ struct exynos_tmu_init_data const exynos5260_default_tmu_data = {
|
|
|
|
|
|
#if defined(CONFIG_SOC_EXYNOS5420)
|
|
#if defined(CONFIG_SOC_EXYNOS5420)
|
|
static const struct exynos_tmu_registers exynos5420_tmu_registers = {
|
|
static const struct exynos_tmu_registers exynos5420_tmu_registers = {
|
|
- .tmu_ctrl = EXYNOS_TMU_REG_CONTROL,
|
|
|
|
.tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP,
|
|
.tmu_cur_temp = EXYNOS_TMU_REG_CURRENT_TEMP,
|
|
- .tmu_inten = EXYNOS_TMU_REG_INTEN,
|
|
|
|
- .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 Not availble in exynos5420 */
|
|
|
|
- .inten_rise3_shift = EXYNOS_TMU_INTEN_RISE3_SHIFT,
|
|
|
|
- .inten_fall0_shift = EXYNOS_TMU_INTEN_FALL0_SHIFT,
|
|
|
|
.tmu_intstat = EXYNOS_TMU_REG_INTSTAT,
|
|
.tmu_intstat = EXYNOS_TMU_REG_INTSTAT,
|
|
.tmu_intclear = EXYNOS_TMU_REG_INTCLEAR,
|
|
.tmu_intclear = EXYNOS_TMU_REG_INTCLEAR,
|
|
.emul_con = EXYNOS_EMUL_CON,
|
|
.emul_con = EXYNOS_EMUL_CON,
|
|
@@ -374,14 +340,7 @@ struct exynos_tmu_init_data const exynos5420_default_tmu_data = {
|
|
|
|
|
|
#if defined(CONFIG_SOC_EXYNOS5440)
|
|
#if defined(CONFIG_SOC_EXYNOS5440)
|
|
static const struct exynos_tmu_registers exynos5440_tmu_registers = {
|
|
static const struct exynos_tmu_registers exynos5440_tmu_registers = {
|
|
- .tmu_ctrl = EXYNOS5440_TMU_S0_7_CTRL,
|
|
|
|
.tmu_cur_temp = EXYNOS5440_TMU_S0_7_TEMP,
|
|
.tmu_cur_temp = EXYNOS5440_TMU_S0_7_TEMP,
|
|
- .tmu_inten = EXYNOS5440_TMU_S0_7_IRQEN,
|
|
|
|
- .inten_rise0_shift = EXYNOS5440_TMU_INTEN_RISE0_SHIFT,
|
|
|
|
- .inten_rise1_shift = EXYNOS5440_TMU_INTEN_RISE1_SHIFT,
|
|
|
|
- .inten_rise2_shift = EXYNOS5440_TMU_INTEN_RISE2_SHIFT,
|
|
|
|
- .inten_rise3_shift = EXYNOS5440_TMU_INTEN_RISE3_SHIFT,
|
|
|
|
- .inten_fall0_shift = EXYNOS5440_TMU_INTEN_FALL0_SHIFT,
|
|
|
|
.tmu_intstat = EXYNOS5440_TMU_S0_7_IRQ,
|
|
.tmu_intstat = EXYNOS5440_TMU_S0_7_IRQ,
|
|
.tmu_intclear = EXYNOS5440_TMU_S0_7_IRQ,
|
|
.tmu_intclear = EXYNOS5440_TMU_S0_7_IRQ,
|
|
.emul_con = EXYNOS5440_TMU_S0_7_DEBUG,
|
|
.emul_con = EXYNOS5440_TMU_S0_7_DEBUG,
|