Linux Driver for TMP102



The Linux driver support the TMP102 Temperature Sensor. The Linux driver supports communication through the I2C bus and interfaces with the Hardware Monitoring sub-system.

Linux Mainline Status

Available in Linux Main line: Yes
Available through N/A

Supported Devices:
  • tmp102
Linux Source Files

The files associated with this device are:

  1. drivers/hwmon/tmp102.c
  2. Documentation/devicetree/bindings/i2c/trivial-devices.txt
  3. Documentation/hwmon/tmp102
Source Files


Linux Device Tree Documentation


Other Files



Enabling Driver Support

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

Menuconfig Location

Symbol: SENSORS_TMP102 [=y]Type  : tristatePrompt: Texas Instruments TMP102  Location:    -> Device Drivers      -> Hardware Monitoring support (HWMON [=y])  Defined at drivers/hwmon/Kconfig:1486  Depends on: HWMON [=y] && I2C [=y] && (THERMAL [=y] || !THERMAL_OF [=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
TMP102 2C digital temperature sensor, I2C/SMBus in 2.56mm2 package
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.