-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: dts: exynos: Add TMU node for exynos7
This patch adds TMU node, related temprature sensor and triping point data for Atlas cpu core found on exynos7 SoC. Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
- Loading branch information
Alim Akhtar
authored and
Krzysztof Kozlowski
committed
Mar 29, 2016
1 parent
f55532a
commit fbfcf4b
Showing
3 changed files
with
99 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* Device tree sources for Exynos7 TMU sensor configuration | ||
* | ||
* Copyright (c) 2016 Samsung Electronics Co., Ltd. | ||
* http://www.samsung.com | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
* | ||
*/ | ||
|
||
#include <dt-bindings/thermal/thermal_exynos.h> | ||
|
||
#thermal-sensor-cells = <0>; | ||
samsung,tmu_gain = <9>; | ||
samsung,tmu_reference_voltage = <17>; | ||
samsung,tmu_noise_cancel_mode = <4>; | ||
samsung,tmu_efuse_value = <75>; | ||
samsung,tmu_min_efuse_value = <15>; | ||
samsung,tmu_max_efuse_value = <100>; | ||
samsung,tmu_first_point_trim = <25>; | ||
samsung,tmu_second_point_trim = <85>; | ||
samsung,tmu_default_temp_offset = <50>; | ||
samsung,tmu_cal_type = <TYPE_ONE_POINT_TRIMMING>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/* | ||
* Device tree sources for default Exynos7 thermal zone definition | ||
* | ||
* Copyright (c) 2016 Samsung Electronics Co., Ltd. | ||
* http://www.samsung.com | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
* | ||
*/ | ||
|
||
trips { | ||
cpu-alert-0 { | ||
temperature = <75000>; /* millicelsius */ | ||
hysteresis = <10000>; /* millicelsius */ | ||
type = "passive"; | ||
}; | ||
cpu-alert-1 { | ||
temperature = <80000>; /* millicelsius */ | ||
hysteresis = <10000>; /* millicelsius */ | ||
type = "passive"; | ||
}; | ||
cpu-alert-2 { | ||
temperature = <85000>; /* millicelsius */ | ||
hysteresis = <10000>; /* millicelsius */ | ||
type = "passive"; | ||
}; | ||
cpu-alert-3 { | ||
temperature = <90000>; /* millicelsius */ | ||
hysteresis = <10000>; /* millicelsius */ | ||
type = "passive"; | ||
}; | ||
cpu-alert-4 { | ||
temperature = <95000>; /* millicelsius */ | ||
hysteresis = <10000>; /* millicelsius */ | ||
type = "passive"; | ||
}; | ||
cpu-alert-5 { | ||
temperature = <100000>; /* millicelsius */ | ||
hysteresis = <10000>; /* millicelsius */ | ||
type = "passive"; | ||
}; | ||
cpu-alert-6 { | ||
temperature = <110000>; /* millicelsius */ | ||
hysteresis = <10000>; /* millicelsius */ | ||
type = "passive"; | ||
}; | ||
cpu-crit-0 { | ||
temperature = <115000>; /* millicelsius */ | ||
hysteresis = <0>; /* millicelsius */ | ||
type = "critical"; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters