diff mbox

ARM: imx_v6_v7_defconfig: Select thermal related drivers

Message ID 1415285590-14868-1-git-send-email-fabio.estevam@freescale.com
State New
Headers show

Commit Message

Fabio Estevam Nov. 6, 2014, 2:53 p.m. UTC
Allow the reading of temperature in userspace via:

cat /sys/class/thermal/thermal_zone0/temp

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

Comments

Shawn Guo Nov. 11, 2014, 2:25 p.m. UTC | #1
On Thu, Nov 06, 2014 at 12:53:10PM -0200, Fabio Estevam wrote:
> Allow the reading of temperature in userspace via:
> 
> cat /sys/class/thermal/thermal_zone0/temp
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied, thanks.
diff mbox

Patch

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