diff options
author | Akshay Saraswat <akshay.s@samsung.com> | 2013-02-25 01:13:06 +0000 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2013-03-12 17:07:31 +0900 |
commit | 3a0b1dae5b9b853559b87a2332a27d1ed6a91fb8 (patch) | |
tree | fa466a0120e4b4c401964149196ff319e92d82a9 /arch/arm/include | |
parent | 8afcfc212415b8bacdf08b752aef7976e7da52a8 (diff) | |
download | u-boot-imx-3a0b1dae5b9b853559b87a2332a27d1ed6a91fb8.zip u-boot-imx-3a0b1dae5b9b853559b87a2332a27d1ed6a91fb8.tar.gz u-boot-imx-3a0b1dae5b9b853559b87a2332a27d1ed6a91fb8.tar.bz2 |
Exynos5: TMU: Add hardware tripping
This adds hardware tripping at 110 degrees celsius which must enable
forced system shutdown in case TMU fails to power off.
Signed-off-by: Akshay Saraswat <akshay.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-exynos/power.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-exynos/power.h b/arch/arm/include/asm/arch-exynos/power.h index 5f26337..3549667 100644 --- a/arch/arm/include/asm/arch-exynos/power.h +++ b/arch/arm/include/asm/arch-exynos/power.h @@ -857,6 +857,9 @@ void set_mipi_phy_ctrl(unsigned int dev_index, unsigned int enable); void set_usbhost_phy_ctrl(unsigned int enable); +/* Enables hardware tripping to power off the system when TMU fails */ +void set_hw_thermal_trip(void); + #define POWER_USB_HOST_PHY_CTRL_EN (1 << 0) #define POWER_USB_HOST_PHY_CTRL_DISABLE (0 << 0) @@ -865,6 +868,7 @@ void set_dp_phy_ctrl(unsigned int enable); #define EXYNOS_DP_PHY_ENABLE (1 << 0) #define EXYNOS_PS_HOLD_CONTROL_DATA_HIGH (1 << 8) +#define POWER_ENABLE_HW_TRIP (1UL << 31) /* * Set ps_hold data driving value high |