Linux Driver for LM70



The Linux driver supports the LM70 series of Temperature Sensors. The Linux driver supports communication through the SPI bus and interfaces with the Hardware Monitoring sub-system.

Linux Mainline Status

Available in Linux Main line: Yes
Available through git.ti.com: N/A

Supported Devices:
  • lm70
  • tmp121
  • lm71
  • lm74
Linux Source Files

The files associated with this device are:

  1. drivers/hwmon/lm70.c
  2. Documentation/hwmon/lm70
Source Files


Other Files



Enabling Driver Support

Configure kernel with "make menuconfig" (alternatively use "make xconfig" or"make nconfig")

Menuconfig Location

Symbol: SENSORS_LM70 [=y]Type  : tristatePrompt: National Semiconductor LM70 and compatibles  Location:    -> Device Drivers      -> Hardware Monitoring support (HWMON [=y])  Defined at drivers/hwmon/Kconfig:903  Depends on: HWMON [=y] && SPI_MASTER [=y]

Fixes and Code Enhancements


If there are fixes and or code enhancements that need to be added to thisdriver please either1. Send the patches to the relevant Linux Kernel community as listed in the maintainers file located: Hereor2.  Contact your TI representative.


Digital temperature sensors
LM70 ±2°C  Temperature Sensor with SPI Interface LM71 ±1.5°C Temperature Sensor with SPI Interface LM74 ±1.25°C Temperature Sensor with SPI Interface TMP121 1.5°C 2.7V to 5.5V digital temperature sensor with SPI interface in SOT-23
Download View video with transcript Video

Support & training

TI E2E™ forums with technical support from TI engineers

View all forum topics

Content is provided "as is" by TI and community contributors and does not constitute TI specifications. See terms of use.

If you have questions about quality, packaging or ordering TI products, see TI support.