lm70.rst 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Kernel driver lm70
  2. ==================
  3. Supported chips:
  4. * National Semiconductor LM70
  5. Datasheet: https://www.ti.com/product/LM70
  6. * Texas Instruments TMP121/TMP123
  7. Information: http://focus.ti.com/docs/prod/folders/print/tmp121.html
  8. * Texas Instruments TMP122/TMP124
  9. Information: https://www.ti.com/product/tmp122
  10. * Texas Instruments TMP125
  11. Information: https://www.ti.com/product/tmp125
  12. * National Semiconductor LM71
  13. Datasheet: https://www.ti.com/product/LM71
  14. * National Semiconductor LM74
  15. Datasheet: https://www.ti.com/product/LM74
  16. Author:
  17. Kaiwan N Billimoria <kaiwan@designergraphix.com>
  18. Description
  19. -----------
  20. This driver implements support for the National Semiconductor LM70
  21. temperature sensor.
  22. The LM70 temperature sensor chip supports a single temperature sensor.
  23. It communicates with a host processor (or microcontroller) via an
  24. SPI/Microwire Bus interface.
  25. Communication with the LM70 is simple: when the temperature is to be sensed,
  26. the driver accesses the LM70 using SPI communication: 16 SCLK cycles
  27. comprise the MOSI/MISO loop. At the end of the transfer, the 11-bit 2's
  28. complement digital temperature (sent via the SIO line), is available in the
  29. driver for interpretation. This driver makes use of the kernel's in-core
  30. SPI support.
  31. As a real (in-tree) example of this "SPI protocol driver" interfacing
  32. with a "SPI master controller driver", see drivers/spi/spi_lm70llp.c
  33. and its associated documentation.
  34. The LM74 and TMP121/TMP122/TMP123/TMP124 are very similar; main difference is
  35. 13-bit temperature data (0.0625 degrees celsius resolution).
  36. The TMP122/TMP124 also feature configurable temperature thresholds.
  37. The TMP125 is less accurate and provides 10-bit temperature data
  38. with 0.25 degrees Celsius resolution.
  39. The LM71 is also very similar; main difference is 14-bit temperature
  40. data (0.03125 degrees celsius resolution).
  41. Thanks to
  42. ---------
  43. Jean Delvare <jdelvare@suse.de> for mentoring the hwmon-side driver
  44. development.