From: Peter 'p2' De Schrijver Date: Fri, 23 May 2008 10:49:42 +0000 (+0300) Subject: Driver for omap34xx temperature sensor. second version. X-Git-Tag: v2.6.26-omap1~123^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26c9e17531d4b01943d3135c236a6a0f355c5163;p=pandora-kernel.git Driver for omap34xx temperature sensor. second version. 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 Signed-off-by: Tony Lindgren --- diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 03d5b7e0e5b8..7b1f24ff99fb 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -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 diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile index 8935d9c6edf6..17c4c6464952 100644 --- a/drivers/hwmon/Makefile +++ b/drivers/hwmon/Makefile @@ -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 Reading git-diff-tree failed