2006-06-13 04:00:05 +08:00
|
|
|
Kernel driver lm70
|
|
|
|
==================
|
|
|
|
|
2009-01-07 23:37:34 +08:00
|
|
|
Supported chips:
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2006-06-13 04:00:05 +08:00
|
|
|
* National Semiconductor LM70
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2006-06-13 04:00:05 +08:00
|
|
|
Datasheet: http://www.national.com/pf/LM/LM70.html
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2009-01-07 23:37:34 +08:00
|
|
|
* Texas Instruments TMP121/TMP123
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2009-01-07 23:37:34 +08:00
|
|
|
Information: http://focus.ti.com/docs/prod/folders/print/tmp121.html
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2017-01-22 03:20:10 +08:00
|
|
|
* Texas Instruments TMP122/TMP124
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2020-07-20 01:55:12 +08:00
|
|
|
Information: https://www.ti.com/product/tmp122
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2012-09-05 17:49:14 +08:00
|
|
|
* National Semiconductor LM71
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2020-07-20 01:55:12 +08:00
|
|
|
Datasheet: https://www.ti.com/product/LM71
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2012-09-05 17:49:14 +08:00
|
|
|
* National Semiconductor LM74
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2020-07-20 01:55:12 +08:00
|
|
|
Datasheet: https://www.ti.com/product/LM74
|
2006-06-13 04:00:05 +08:00
|
|
|
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2006-06-13 04:00:05 +08:00
|
|
|
Author:
|
2019-04-17 17:46:28 +08:00
|
|
|
Kaiwan N Billimoria <kaiwan@designergraphix.com>
|
2006-06-13 04:00:05 +08:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2009-01-07 23:37:34 +08:00
|
|
|
As a real (in-tree) example of this "SPI protocol driver" interfacing
|
|
|
|
with a "SPI master controller driver", see drivers/spi/spi_lm70llp.c
|
|
|
|
and its associated documentation.
|
|
|
|
|
2017-01-22 03:20:10 +08:00
|
|
|
The LM74 and TMP121/TMP122/TMP123/TMP124 are very similar; main difference is
|
|
|
|
13-bit temperature data (0.0625 degrees celsius resolution).
|
|
|
|
|
|
|
|
The TMP122/TMP124 also feature configurable temperature thresholds.
|
2012-09-05 17:49:14 +08:00
|
|
|
|
|
|
|
The LM71 is also very similar; main difference is 14-bit temperature
|
|
|
|
data (0.03125 degrees celsius resolution).
|
2009-01-07 23:37:34 +08:00
|
|
|
|
2006-06-13 04:00:05 +08:00
|
|
|
Thanks to
|
|
|
|
---------
|
2014-01-30 03:40:08 +08:00
|
|
|
Jean Delvare <jdelvare@suse.de> for mentoring the hwmon-side driver
|
2006-06-13 04:00:05 +08:00
|
|
|
development.
|