hwmon: (lm70) Code streamlining and cleanup
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / Documentation / hwmon / lm70
CommitLineData
e1a8e913
KB
1Kernel 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
2b730051
KB
28As 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
e1a8e913
KB
32Thanks to
33---------
34Jean Delvare <khali@linux-fr.org> for mentoring the hwmon-side driver
35development.