summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/board-mop500.c
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2011-10-17 10:05:50 +0200
committerLee Jones <lee.jones@linaro.org>2012-01-05 10:11:24 +0000
commitee50e8b9b16dec1357450055802707d1343b91ce (patch)
treea64fc0776514ace6cccff9db8fb6852125e1bacf /arch/arm/mach-ux500/board-mop500.c
parentc1c12281a6085f092fd80023b80eb1020ee4a236 (diff)
mach-ux500: Thermal power off
To determine whether the system had a thermal power off or a regular software power off upon the next boot, the system must utilize the thermal power off bit, ThDB8500SWoff, in AB8500 register STw4500Ctrl1. Signed-off-by: Daniel Willerud <daniel.willerud@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.c')
-rw-r--r--arch/arm/mach-ux500/board-mop500.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index 3a980f5808c..be707bc18d8 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -288,6 +288,7 @@ static struct ab8500_platform_data ab8500_platdata = {
#ifdef CONFIG_PM
.pm_power_off = true,
#endif
+ .thermal_time_out = 20, /* seconds */
};
static struct resource ab8500_resources[] = {