brintos

brintos / linux-shallow public Read only

0
0
Text · 2.0 KiB · 02ed60d Raw
70 lines · plain
1Kernel driver lm702==================3 4Supported chips:5 6  * National Semiconductor LM707 8    Datasheet: https://www.ti.com/product/LM709 10  * Texas Instruments TMP121/TMP12311 12    Information: http://focus.ti.com/docs/prod/folders/print/tmp121.html13 14  * Texas Instruments TMP122/TMP12415 16    Information: https://www.ti.com/product/tmp12217 18  * Texas Instruments TMP12519 20    Information: https://www.ti.com/product/tmp12521 22  * National Semiconductor LM7123 24    Datasheet: https://www.ti.com/product/LM7125 26  * National Semiconductor LM7427 28    Datasheet: https://www.ti.com/product/LM7429 30 31Author:32	Kaiwan N Billimoria <kaiwan@designergraphix.com>33 34Description35-----------36 37This driver implements support for the National Semiconductor LM7038temperature sensor.39 40The LM70 temperature sensor chip supports a single temperature sensor.41It communicates with a host processor (or microcontroller) via an42SPI/Microwire Bus interface.43 44Communication with the LM70 is simple: when the temperature is to be sensed,45the driver accesses the LM70 using SPI communication: 16 SCLK cycles46comprise the MOSI/MISO loop. At the end of the transfer, the 11-bit 2's47complement digital temperature (sent via the SIO line), is available in the48driver for interpretation. This driver makes use of the kernel's in-core49SPI support.50 51As a real (in-tree) example of this "SPI protocol driver" interfacing52with a "SPI master controller driver", see drivers/spi/spi_lm70llp.c53and its associated documentation.54 55The LM74 and TMP121/TMP122/TMP123/TMP124 are very similar; main difference is5613-bit temperature data (0.0625 degrees celsius resolution).57 58The TMP122/TMP124 also feature configurable temperature thresholds.59 60The TMP125 is less accurate and provides 10-bit temperature data61with 0.25 degrees Celsius resolution.62 63The LM71 is also very similar; main difference is 14-bit temperature64data (0.03125 degrees celsius resolution).65 66Thanks to67---------68Jean Delvare <jdelvare@suse.de> for mentoring the hwmon-side driver69development.70