diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-04-01 22:47:10 +0300 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-04-01 22:48:10 +0300 |
commit | 001a80ad40554fa84a5727f8529e685de438180c (patch) | |
tree | 0e91810b91855cfbeddc6fc36e45191afaf473d8 | |
parent | fc2b2c56b67bced8f34f1facc0eabd996b4b4f71 (diff) |
ARM: config: toradex: set delay for thermal emergency poweroff
If the delay is not set, the thermal emergency poweroff function
disabled. It leads to unable powering down the system in case of
critical temperature is reached and system tool /sbin/poweroff
is unavailable or fail.
Set the option CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS to
10 seconds. Usually it's enough to shutting system down with
/sbin/poweroff.
The forceful kernel-side emergency poweroff procedure performs only
if the system tool fails to power down the system within 10 seconds.
Related-to: ELB-3852
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
-rw-r--r-- | arch/arm/configs/toradex-imx_v6_v7_defconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/configs/toradex-imx_v6_v7_defconfig b/arch/arm/configs/toradex-imx_v6_v7_defconfig index c3f44c07ee5a..045fced4b6d6 100644 --- a/arch/arm/configs/toradex-imx_v6_v7_defconfig +++ b/arch/arm/configs/toradex-imx_v6_v7_defconfig @@ -43,7 +43,6 @@ CONFIG_SOC_IMX7D=y CONFIG_CACHE_L2X0_PMU=y CONFIG_SMP=y # CONFIG_ARM_CPU_TOPOLOGY is not set -# CONFIG_THUMB2_KERNEL is not set CONFIG_HIGHMEM=y CONFIG_FORCE_MAX_ZONEORDER=14 CONFIG_SECCOMP=y @@ -586,6 +585,8 @@ CONFIG_SENSORS_SHTC1=m CONFIG_SENSORS_SMSC47M1=m CONFIG_SENSORS_STTS751=m CONFIG_SENSORS_SMM665=m +CONFIG_THERMAL_STATISTICS=y +CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=10000 CONFIG_THERMAL_WRITABLE_TRIPS=y CONFIG_CPU_THERMAL=y CONFIG_IMX_THERMAL=y |