patch hwmon-lm70-new-driver.patch added to gregkh-2.6
Subsystems (2)
gregkh at suse.de
AppliedThis is a note to let you know that I've just added the patch titled
Subject: [PATCH 13/14] lm70: New hardware monitoring driver
to my gregkh-2.6 tree. Its filename is
hwmon-lm70-new-driver.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/
From khali at linux-fr.org Mon Jun 12 13:00:12 2006
Date: Mon, 12 Jun 2006 22:00:05 +0200
From: Kaiwan N Billimoria <kaiwan at designergraphix.com>
To: Greg KH <greg at kroah.com>
Cc: LM Sensors <lm-sensors at lm-sensors.org>, Kaiwan N Billimoria <kaiwan at designergraphix.com>
Subject: [PATCH 13/14] lm70: New hardware monitoring driver
Message-Id: <20060612220005.cd9ce8ad.khali at linux-fr.org>
Content-Disposition: inline; filename=hwmon-lm70-new-driver.patch
From: Kaiwan N Billimoria <kaiwan at designergraphix.com>
This driver implements support for the National Semiconductor LM70 temperature sensor.
The LM70 temperature sensor chip supports a single temperature sensor. It communicates with a host processor (or microcontroller) via an SPI/Microwire Bus interface.
Communication with the LM70 is simple: when the temperature is to be sensed, the driver accesses the LM70 using SPI communication: 16 SCLK cycles comprise the MOSI/MISO loop. At the end of the transfer, the 11-bit 2's complement digital temperature (sent via the SIO line), is available in the driver for interpretation. This driver makes use of the kernel's in-core SPI support.
Documentation/hwmon/lm70 new file +31 -0
@@ -0,0 +1,31 @@ +Kernel driver lm70 +========= + +Supported chip: + * National Semiconductor LM70 + Datasheet: http://www.national.com/pf/LM/LM70.html + +Author: + Kaiwan N Billimoria <kaiwan at designergraphix.com> + +Description +----------- + +This driver implements support for the National Semiconductor LM70 +temperature sensor. + +The LM70 temperature sensor chip supports a single temperature sensor. +It communicates with a host processor (or microcontroller) via an +SPI/Microwire Bus interface. + +Communication with the LM70 is simple: when the temperature is to be sensed, +the driver accesses the LM70 using SPI communication: 16 SCLK cycles +comprise the MOSI/MISO loop. At the end of the transfer, the 11-bit 2's +complement digital temperature (sent via the SIO line), is available in the +driver for interpretation. This driver makes use of the kernel's in-core +SPI support. + +Thanks to +--------- +Jean Delvare <khali at linux-fr.org> for mentoring the hwmon-side driver +development.
drivers/hwmon/Kconfig +10 -0
@@ -204,6 +204,16 @@ This driver can also be built as a module. If so, the module will be called lm63. +config SENSORS_LM70 + tristate "National Semiconductor LM70" + depends on HWMON && SPI_MASTER && EXPERIMENTAL + help + If you say yes here you get support for the National Semiconductor + LM70 digital temperature sensor chip. + + This driver can also be built as a module. If so, the module + will be called lm70. + config SENSORS_LM75 tristate "National Semiconductor LM75 and compatibles" depends on HWMON && I2C
drivers/hwmon/lm70.c new file +165 -0
165 lines not on this page · raw message
drivers/hwmon/Makefile +1 -0
@@ -28,6 +28,7 @@ obj-$(CONFIG_SENSORS_HDAPS) += hdaps.o obj-$(CONFIG_SENSORS_IT87) += it87.o obj-$(CONFIG_SENSORS_LM63) += lm63.o +obj-$(CONFIG_SENSORS_LM70) += lm70.o obj-$(CONFIG_SENSORS_LM75) += lm75.o obj-$(CONFIG_SENSORS_LM77) += lm77.o obj-$(CONFIG_SENSORS_LM78) += lm78.o
Signature · 8 lines
Jean Delvare Patches currently in gregkh-2.6 which might be from kaiwan at designergraphix.com are i2c/hwmon-kconfig-header-fix.patch i2c/hwmon-lm70-new-driver.patch