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
23struct exynos5_tmu_reg {
24	u32 triminfo;
25	u32 rsvd1[4];
26	u32 triminfo_control;
27	u32 rsvd5[2];
28	u32 tmu_control;
29	u32 rsvd7;
30	u32 tmu_status;
31	u32 sampling_internal;
32	u32 counter_value0;
33	u32 counter_value1;
34	u32 rsvd8[2];
35	u32 current_temp;
36	u32 rsvd10[3];
37	u32 threshold_temp_rise;
38	u32 threshold_temp_fall;
39	u32 rsvd13[2];
40	u32 past_temp3_0;
41	u32 past_temp7_4;
42	u32 past_temp11_8;
43	u32 past_temp15_12;
44	u32 inten;
45	u32 intstat;
46	u32 intclear;
47	u32 rsvd15;
48	u32 emul_con;
49};
50#endif /* __ASM_ARCH_TMU_H */
51