1 /* linux/arch/arm/mach-s5pv310/include/mach/regs-thermal.h
3 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com/
6 * S5PV310 - Clock register definitions
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #ifndef __ASM_ARCH_REGS_THERMAL_H
14 #define __ASM_ARCH_REGS_THERMAL_H __FILE__
16 #define TRIMINFO (0x0)
18 #define TMU_CON0 (0x20)
19 #define TMU_STATUS (0x28)
20 #define SAMPLING_INTERNAL (0x2C)
21 #define CNT_VALUE0 (0x30)
22 #define CNT_VALUE1 (0x34)
24 #define CURRENT_TEMP (0x40)
25 #define THRESHOLD_TEMP (0x44)
27 #define TRG_LEV0 (0x50)
28 #define TRG_LEV1 (0x54)
29 #define TRG_LEV2 (0x58)
30 #define TRG_LEV3 (0x5C)
32 #define PAST_TMEP0 (0x60)
33 #define PAST_TMEP1 (0x64)
34 #define PAST_TMEP2 (0x68)
35 #define PAST_TMEP3 (0x6C)
38 #define INTSTAT (0x74)
39 #define INTCLEAR (0x78)
44 #define INTEN3 (1<<12)
47 #define INTSTAT1 (1<<4)
48 #define INTSTAT2 (1<<8)
49 #define INTSTAT3 (1<<12)
51 #define TRIM_TEMP_MASK (0xFF)
54 #define INTCLEAR1 (1<<4)
55 #define INTCLEAR2 (1<<8)
56 #define INTCLEAR3 (1<<12)
57 #define INTCLEARALL (INTCLEAR0 | INTCLEAR1 |\
58 INTCLEAR2 | INTCLEAR2)