Akshay Saraswat | 39d182d | 2013-02-25 01:13:00 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (c) 2012 Samsung Electronics Co., Ltd. |
| 3 | * http://www.samsung.com |
| 4 | * Akshay Saraswat <akshay.s@samsung.com> |
| 5 | * |
| 6 | * EXYNOS - Thermal Management Unit |
| 7 | * |
| 8 | * See file CREDITS for list of people who contributed to this |
| 9 | * project. |
| 10 | * |
| 11 | * This program is free software; you can redistribute it and/or modify |
| 12 | * it under the terms of the GNU General Public License version 2 as |
| 13 | * published by the Free Software Foundation. |
| 14 | * You should have received a copy of the GNU General Public License |
| 15 | * along with this program; if not, write to the Free Software |
| 16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| 17 | * MA 02111-1307 USA |
| 18 | */ |
| 19 | |
| 20 | #ifndef __ASM_ARCH_TMU_H |
| 21 | #define __ASM_ARCH_TMU_H |
| 22 | |
| 23 | struct exynos5_tmu_reg { |
| 24 | unsigned triminfo; |
| 25 | unsigned rsvd1; |
| 26 | unsigned rsvd2; |
| 27 | unsigned rsvd3; |
| 28 | unsigned rsvd4; |
| 29 | unsigned triminfo_control; |
| 30 | unsigned rsvd5; |
| 31 | unsigned rsvd6; |
| 32 | unsigned tmu_control; |
| 33 | unsigned rsvd7; |
| 34 | unsigned tmu_status; |
| 35 | unsigned sampling_internal; |
| 36 | unsigned counter_value0; |
| 37 | unsigned counter_value1; |
| 38 | unsigned rsvd8; |
| 39 | unsigned rsvd9; |
| 40 | unsigned current_temp; |
| 41 | unsigned rsvd10; |
| 42 | unsigned rsvd11; |
| 43 | unsigned rsvd12; |
| 44 | unsigned threshold_temp_rise; |
| 45 | unsigned threshold_temp_fall; |
| 46 | unsigned rsvd13; |
| 47 | unsigned rsvd14; |
| 48 | unsigned past_temp3_0; |
| 49 | unsigned past_temp7_4; |
| 50 | unsigned past_temp11_8; |
| 51 | unsigned past_temp15_12; |
| 52 | unsigned inten; |
| 53 | unsigned intstat; |
| 54 | unsigned intclear; |
| 55 | unsigned rsvd15; |
| 56 | unsigned emul_con; |
| 57 | }; |
| 58 | #endif /* __ASM_ARCH_TMU_H */ |