Driver for omap34xx temperature sensor. second version.
authorPeter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
Fri, 23 May 2008 10:49:42 +0000 (13:49 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 28 May 2008 20:39:22 +0000 (13:39 -0700)
This patch adds a hwmon driver for the OMAP34xx internal temperature
sensor. I get unusually high values (80 degrees and more) from this
sensor though.

Signed-off-by: Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/omap34xx_temp.c [new file with mode: 0644]
include/asm-arm/arch-omap/control.h

index 03d5b7e..7b1f24f 100644 (file)
@@ -811,6 +811,10 @@ config SENSORS_TSC210X
          This driver can also be built as a module.  In this case
          the module will be called tsc210x_sensors.
 
+config SENSORS_OMAP34XX
+       tristate "TI OMAP34xx internal temperature sensor"
+       depends on ARCH_OMAP3 && HIGH_RES_TIMERS
+
 config HWMON_DEBUG_CHIP
        bool "Hardware Monitoring Chip debugging messages"
        default n
index 8935d9c..17c4c64 100644 (file)
@@ -73,6 +73,7 @@ obj-$(CONFIG_SENSORS_W83627EHF)       += w83627ehf.o
 obj-$(CONFIG_SENSORS_W83L785TS)        += w83l785ts.o
 obj-$(CONFIG_SENSORS_TSC210X)  += tsc210x_sensors.o
 obj-$(CONFIG_SENSORS_W83L786NG)        += w83l786ng.o
+obj-$(CONFIG_SENSORS_OMAP34XX)  += omap34xx_temp.o
 
 ifeq ($(CONFIG_HWMON_DEBUG_CHIP),y)
 EXTRA_CFLAGS += -DDEBUG
Simple merge
Simple merge