xref: /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/exynos/tmu.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunExynos Thermal management Unit
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun - compatible : Should be "samsung,exynos-tmu" for TMU
6*4882a593Smuzhiyun - samsung,min-temp : Minimum temperature value (25 degree celsius)
7*4882a593Smuzhiyun	- Current temperature of SoC should be more than this value.
8*4882a593Smuzhiyun - samsung,max-temp : Maximum temperature value (125 degree celsius)
9*4882a593Smuzhiyun	- Current temperature of SoC should be less than this value.
10*4882a593Smuzhiyun - samsung,start-warning : Temperature at which TMU starts giving warning (degree celsius)
11*4882a593Smuzhiyun - samsung,start-tripping : Temperature at which TMU shuts down the system (degree celsius)
12*4882a593Smuzhiyun - samsung,hw-tripping : Temperature at which hardware tripping should happen
13*4882a593Smuzhiyun	in case TMU fails to power off (degree celsius)
14*4882a593Smuzhiyun - samsung,efuse-min-value : SOC efuse min value (Constant 40)
15*4882a593Smuzhiyun	- efuse-value should be more than this value.
16*4882a593Smuzhiyun - samsung,efuse-value : SOC actual efuse value (Literal value)
17*4882a593Smuzhiyun	- This is the data trimming info.
18*4882a593Smuzhiyun	- This value is used to calculate measuring error.
19*4882a593Smuzhiyun - samsung,efuse-max-value : SoC max efuse value (Constant 100)
20*4882a593Smuzhiyun	- efuse-value should be less than this value.
21*4882a593Smuzhiyun - samsung,slope : Default value 274761730 (Constant 0x1060_8802).
22*4882a593Smuzhiyun	- This is the default value for TMU_CONTROL register.
23*4882a593Smuzhiyun	- It sets the gain of amplifier to the positive-tc generator block.
24*4882a593Smuzhiyun	- It selects thermal tripping mode and enables thermal tripping.
25*4882a593Smuzhiyun - samsung,dc-value : Measured data calibration value (Constant 25)
26*4882a593Smuzhiyun	- Used for tempearture calculation.
27*4882a593Smuzhiyun	- This is 25 because temperature measured is always above 25 degrees.
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunExample:
31*4882a593Smuzhiyun
32*4882a593Smuzhiyuntmu@10060000 {
33*4882a593Smuzhiyun	compatible = "samsung,exynos-tmu"
34*4882a593Smuzhiyun	samsung,min-temp = <25>;
35*4882a593Smuzhiyun	samsung,max-temp = <125>;
36*4882a593Smuzhiyun	samsung,start-warning = <95>;
37*4882a593Smuzhiyun	samsung,start-tripping = <105>;
38*4882a593Smuzhiyun	samsung,hw-tripping = <110>;
39*4882a593Smuzhiyun	samsung,efuse-min-value = <40>;
40*4882a593Smuzhiyun	samsung,efuse-value = <55>;
41*4882a593Smuzhiyun	samsung,efuse-max-value = <100>;
42*4882a593Smuzhiyun	samsung,slope = <274761730>;
43*4882a593Smuzhiyun	samsung,dc-value = <25>;
44*4882a593Smuzhiyun};
45