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