Patchwork [U-Boot,9/9,v9] EXYNOS5: FDT: Add a H/W-trip member to TMU node

login
register
mail settings
Submitter Akshay Saraswat
Date Feb. 6, 2013, 1:18 p.m.
Message ID <1360156726-13315-10-git-send-email-akshay.s@samsung.com>
Download mbox | patch
Permalink /patch/218597/
State Superseded
Delegated to: Minkyu Kang
Headers show

Comments

Akshay Saraswat - Feb. 6, 2013, 1:18 p.m.
This adds a member to TMU FDT node for providing hardware
tripping temperature threshold.

Signed-off-by: Akshay Saraswat <akshay.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
---
Changes since v8:
	- None.

 board/samsung/dts/exynos5250-smdk5250.dts |    1 +
 doc/device-tree-bindings/exynos/tmu.txt   |    5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

Patch

diff --git a/board/samsung/dts/exynos5250-smdk5250.dts b/board/samsung/dts/exynos5250-smdk5250.dts
index 00dac40..1c2d52d 100644
--- a/board/samsung/dts/exynos5250-smdk5250.dts
+++ b/board/samsung/dts/exynos5250-smdk5250.dts
@@ -72,6 +72,7 @@ 
 		samsung,max-temp	= <125>;
 		samsung,start-warning	= <95>;
 		samsung,start-tripping	= <105>;
+		samsung,hw-tripping	= <110>;
 		samsung,efuse-min-value	= <40>;
 		samsung,efuse-value	= <55>;
 		samsung,efuse-max-value	= <100>;
diff --git a/doc/device-tree-bindings/exynos/tmu.txt b/doc/device-tree-bindings/exynos/tmu.txt
index b911a52..a7492f9 100644
--- a/doc/device-tree-bindings/exynos/tmu.txt
+++ b/doc/device-tree-bindings/exynos/tmu.txt
@@ -13,7 +13,9 @@  Required properties:
  - samsung,max-temp : Maximum temperature value (125 degree celsius)
 	- Current temperature of SoC should be less than this value.
  - samsung,start-warning : Temperature at which TMU starts giving warning (degree celsius)
- - samsung,start-tripping : Temperature at which system will trip and shutdown (degree celsius)
+ - samsung,start-tripping : Temperature at which TMU shuts down the system (degree celsius)
+ - samsung,hw-tripping : Temperature at which hardware tripping should happen
+	in case TMU fails to power off (degree celsius)
  - samsung,efuse-min-value : SOC efuse min value (Constant 40)
 	- efuse-value should be more than this value.
  - samsung,efuse-value : SOC actual efuse value (Literal value)
@@ -38,6 +40,7 @@  tmu@10060000 {
 	samsung,max-temp = <125>;
 	samsung,start-warning = <95>;
 	samsung,start-tripping = <105>;
+	samsung,hw-tripping = <110>;
 	samsung,efuse-min-value = <40>;
 	samsung,efuse-value = <55>;
 	samsung,efuse-max-value = <100>;