[PATCH] ARM: imx_v6_v7_defconfig: Select thermal related drivers

Fabio Estevam fabio.estevam at freescale.com
Thu Nov 6 06:53:10 PST 2014


Allow the reading of temperature in userspace via:

cat /sys/class/thermal/thermal_zone0/temp

Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
 arch/arm/configs/imx_v6_v7_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index 6790f1b..7bef517 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -164,6 +164,9 @@ CONFIG_GPIO_SYSFS=y
 CONFIG_GPIO_MC9S08DZ60=y
 CONFIG_GPIO_STMPE=y
 # CONFIG_HWMON is not set
+CONFIG_THERMAL=y
+CONFIG_CPU_THERMAL=y
+CONFIG_IMX_THERMAL=y
 CONFIG_WATCHDOG=y
 CONFIG_IMX2_WDT=y
 CONFIG_MFD_DA9052_I2C=y
-- 
1.9.1




More information about the linux-arm-kernel mailing list