xref: /rk3399_rockchip-uboot/doc/device-tree-bindings/exynos/tmu.txt (revision 009d75ccc11d27b9a083375a88bb93cb746b4800)
1618766c0SAkshay SaraswatExynos Thermal management Unit
2618766c0SAkshay Saraswat
3618766c0SAkshay SaraswatRequired properties:
4618766c0SAkshay Saraswat
5618766c0SAkshay Saraswat - compatible : Should be "samsung,exynos-tmu" for TMU
6618766c0SAkshay Saraswat - samsung,min-temp : Minimum temperature value (25 degree celsius)
7618766c0SAkshay Saraswat	- Current temperature of SoC should be more than this value.
8618766c0SAkshay Saraswat - samsung,max-temp : Maximum temperature value (125 degree celsius)
9618766c0SAkshay Saraswat	- Current temperature of SoC should be less than this value.
10618766c0SAkshay Saraswat - samsung,start-warning : Temperature at which TMU starts giving warning (degree celsius)
11*871333fcSAkshay Saraswat - samsung,start-tripping : Temperature at which TMU shuts down the system (degree celsius)
12*871333fcSAkshay Saraswat - samsung,hw-tripping : Temperature at which hardware tripping should happen
13*871333fcSAkshay Saraswat	in case TMU fails to power off (degree celsius)
14618766c0SAkshay Saraswat - samsung,efuse-min-value : SOC efuse min value (Constant 40)
15618766c0SAkshay Saraswat	- efuse-value should be more than this value.
16618766c0SAkshay Saraswat - samsung,efuse-value : SOC actual efuse value (Literal value)
17618766c0SAkshay Saraswat	- This is the data trimming info.
18618766c0SAkshay Saraswat	- This value is used to calculate measuring error.
19618766c0SAkshay Saraswat - samsung,efuse-max-value : SoC max efuse value (Constant 100)
20618766c0SAkshay Saraswat	- efuse-value should be less than this value.
21618766c0SAkshay Saraswat - samsung,slope : Default value 274761730 (Constant 0x1060_8802).
22618766c0SAkshay Saraswat	- This is the default value for TMU_CONTROL register.
23618766c0SAkshay Saraswat	- It sets the gain of amplifier to the positive-tc generator block.
24618766c0SAkshay Saraswat	- It selects thermal tripping mode and enables thermal tripping.
25618766c0SAkshay Saraswat - samsung,dc-value : Measured data calibration value (Constant 25)
26618766c0SAkshay Saraswat	- Used for tempearture calculation.
27618766c0SAkshay Saraswat	- This is 25 because temperature measured is always above 25 degrees.
28618766c0SAkshay Saraswat
29618766c0SAkshay Saraswat
30618766c0SAkshay SaraswatExample:
31618766c0SAkshay Saraswat
32618766c0SAkshay Saraswattmu@10060000 {
33618766c0SAkshay Saraswat	compatible = "samsung,exynos-tmu"
34618766c0SAkshay Saraswat	samsung,min-temp = <25>;
35618766c0SAkshay Saraswat	samsung,max-temp = <125>;
36618766c0SAkshay Saraswat	samsung,start-warning = <95>;
37618766c0SAkshay Saraswat	samsung,start-tripping = <105>;
38*871333fcSAkshay Saraswat	samsung,hw-tripping = <110>;
39618766c0SAkshay Saraswat	samsung,efuse-min-value = <40>;
40618766c0SAkshay Saraswat	samsung,efuse-value = <55>;
41618766c0SAkshay Saraswat	samsung,efuse-max-value = <100>;
42618766c0SAkshay Saraswat	samsung,slope = <274761730>;
43618766c0SAkshay Saraswat	samsung,dc-value = <25>;
44618766c0SAkshay Saraswat};
45