MLK-14291 ARM: config: imx: Allow changing trip temperatures from userspace
authorIrina Tirdea <irina.tirdea@nxp.com>
Tue, 28 Feb 2017 16:01:28 +0000 (18:01 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:10:48 +0000 (15:10 -0500)
The temperature trip points should be writable from userspace to
allow testing the thermal driver. This is a new configuration
option added in 4.9 and needed to allow the functionality
introduced by commit fc4fcd689419
("MLK-11705 thermal: imx: make the critical trip temp changable for test").

Signed-off-by: Irina Tirdea <irina.tirdea@nxp.com>
arch/arm/configs/imx_v7_defconfig

index beca60a..311607e 100644 (file)
@@ -211,6 +211,7 @@ CONFIG_POWER_RESET_SYSCON_POWEROFF=y
 CONFIG_SENSORS_MAX17135=y
 CONFIG_SENSORS_MAG3110=y
 CONFIG_THERMAL=y
+CONFIG_THERMAL_WRITABLE_TRIPS=y
 CONFIG_CPU_THERMAL=y
 CONFIG_IMX_THERMAL=y
 CONFIG_DEVICE_THERMAL=y