blob: b8d1a521e6896ecfc563931eb73c68a2b754a6ad [file] [log] [blame]
Kaiwan N Billimoriae1a8e912006-06-12 22:00:05 +02001Kernel driver lm70
2==================
3
4Supported chip:
5 * National Semiconductor LM70
6 Datasheet: http://www.national.com/pf/LM/LM70.html
7
8Author:
9 Kaiwan N Billimoria <kaiwan@designergraphix.com>
10
11Description
12-----------
13
14This driver implements support for the National Semiconductor LM70
15temperature sensor.
16
17The LM70 temperature sensor chip supports a single temperature sensor.
18It communicates with a host processor (or microcontroller) via an
19SPI/Microwire Bus interface.
20
21Communication with the LM70 is simple: when the temperature is to be sensed,
22the driver accesses the LM70 using SPI communication: 16 SCLK cycles
23comprise the MOSI/MISO loop. At the end of the transfer, the 11-bit 2's
24complement digital temperature (sent via the SIO line), is available in the
25driver for interpretation. This driver makes use of the kernel's in-core
26SPI support.
27
Kaiwan N Billimoria2b730052009-01-07 16:37:34 +010028As a real (in-tree) example of this "SPI protocol driver" interfacing
29with a "SPI master controller driver", see drivers/spi/spi_lm70llp.c
30and its associated documentation.
31
Kaiwan N Billimoriae1a8e912006-06-12 22:00:05 +020032Thanks to
33---------
34Jean Delvare <khali@linux-fr.org> for mentoring the hwmon-side driver
35development.