Kaiwan N Billimoria | e1a8e91 | 2006-06-12 22:00:05 +0200 | [diff] [blame] | 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 | |
Kaiwan N Billimoria | 2b73005 | 2009-01-07 16:37:34 +0100 | [diff] [blame^] | 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 | |
Kaiwan N Billimoria | e1a8e91 | 2006-06-12 22:00:05 +0200 | [diff] [blame] | 32 | Thanks to |
| 33 | --------- |
| 34 | Jean Delvare <khali@linux-fr.org> for mentoring the hwmon-side driver |
| 35 | development. |