blob: 6ddc5b67ccb540d94d1992eb7c2f4522a7e78fa1 [file] [log] [blame]
Kaiwan N Billimoriae1a8e912006-06-12 22:00:05 +02001Kernel driver lm70
2==================
3
Manuel Laussc8ac32e2009-01-07 16:37:34 +01004Supported chips:
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03005
Kaiwan N Billimoriae1a8e912006-06-12 22:00:05 +02006 * National Semiconductor LM70
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03007
Kaiwan N Billimoriae1a8e912006-06-12 22:00:05 +02008 Datasheet: http://www.national.com/pf/LM/LM70.html
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03009
Manuel Laussc8ac32e2009-01-07 16:37:34 +010010 * Texas Instruments TMP121/TMP123
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030011
Manuel Laussc8ac32e2009-01-07 16:37:34 +010012 Information: http://focus.ti.com/docs/prod/folders/print/tmp121.html
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030013
Florian Fainelli68f0c8c2017-01-21 11:20:10 -080014 * Texas Instruments TMP122/TMP124
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030015
Alexander A. Klimovad736c12020-07-19 19:55:12 +020016 Information: https://www.ti.com/product/tmp122
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030017
Christophe Leroya86e94d2012-09-05 11:49:14 +020018 * National Semiconductor LM71
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030019
Alexander A. Klimovad736c12020-07-19 19:55:12 +020020 Datasheet: https://www.ti.com/product/LM71
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030021
Christophe Leroya86e94d2012-09-05 11:49:14 +020022 * National Semiconductor LM74
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030023
Alexander A. Klimovad736c12020-07-19 19:55:12 +020024 Datasheet: https://www.ti.com/product/LM74
Kaiwan N Billimoriae1a8e912006-06-12 22:00:05 +020025
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030026
Kaiwan N Billimoriae1a8e912006-06-12 22:00:05 +020027Author:
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030028 Kaiwan N Billimoria <kaiwan@designergraphix.com>
Kaiwan N Billimoriae1a8e912006-06-12 22:00:05 +020029
30Description
31-----------
32
33This driver implements support for the National Semiconductor LM70
34temperature sensor.
35
36The LM70 temperature sensor chip supports a single temperature sensor.
37It communicates with a host processor (or microcontroller) via an
38SPI/Microwire Bus interface.
39
40Communication with the LM70 is simple: when the temperature is to be sensed,
41the driver accesses the LM70 using SPI communication: 16 SCLK cycles
42comprise the MOSI/MISO loop. At the end of the transfer, the 11-bit 2's
43complement digital temperature (sent via the SIO line), is available in the
44driver for interpretation. This driver makes use of the kernel's in-core
45SPI support.
46
Kaiwan N Billimoria2b730052009-01-07 16:37:34 +010047As a real (in-tree) example of this "SPI protocol driver" interfacing
48with a "SPI master controller driver", see drivers/spi/spi_lm70llp.c
49and its associated documentation.
50
Florian Fainelli68f0c8c2017-01-21 11:20:10 -080051The LM74 and TMP121/TMP122/TMP123/TMP124 are very similar; main difference is
5213-bit temperature data (0.0625 degrees celsius resolution).
53
54The TMP122/TMP124 also feature configurable temperature thresholds.
Christophe Leroya86e94d2012-09-05 11:49:14 +020055
56The LM71 is also very similar; main difference is 14-bit temperature
57data (0.03125 degrees celsius resolution).
Manuel Laussc8ac32e2009-01-07 16:37:34 +010058
Kaiwan N Billimoriae1a8e912006-06-12 22:00:05 +020059Thanks to
60---------
Jean Delvare7c81c60f2014-01-29 20:40:08 +010061Jean Delvare <jdelvare@suse.de> for mentoring the hwmon-side driver
Kaiwan N Billimoriae1a8e912006-06-12 22:00:05 +020062development.