Files
linux/Documentation/hwmon/tmp102.rst
Flaviu Nistor 92842776cc hwmon: (tmp102) add support for update interval
Since the sensor supports different sampling intervals via
bits CR0 and CR1 from the CONFIG register, add support in
order for the conversion rate to be changed from user space.
Default is 4 conv/sec.

Signed-off-by: Flaviu Nistor <flaviu.nistor@gmail.com>
Link: https://lore.kernel.org/r/20260403140654.10368-1-flaviu.nistor@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2026-04-03 11:10:05 -07:00

66 lines
2.1 KiB
ReStructuredText

Kernel driver tmp102
====================
Supported chips:
* Texas Instruments TMP102
Prefix: 'tmp102'
Addresses scanned: none
Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp102.html
* Texas Instruments TMP110
Prefix: 'tmp110'
Addresses scanned: none
Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp110.html
* Texas Instruments TMP113
Prefix: 'tmp113'
Addresses scanned: none
Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp113.html
Author:
Steven King <sfking@fdwdc.com>
Description
-----------
The Texas Instruments TMP102 implements one temperature sensor. Limits can be
set through the Overtemperature Shutdown register and Hysteresis register. The
sensor is accurate to 0.5 degree over the range of -25 to +85 C, and to 1.0
degree from -40 to +125 C. Resolution of the sensor is 0.0625 degree. The
operating temperature has a minimum of -55 C and a maximum of +150 C.
The TMP102 has a programmable update rate that can select between 8, 4, 1, and
0.25 Hz.
The TMP110 and TMP113 are software compatible with TMP102, but have different
accuracy (maximum error) specifications. The TMP110 has an accuracy (maximum error)
of 1.0 degree, TMP113 has an accuracy (maximum error) of 0.3 degree, while TMP102
has an accuracy (maximum error) of 2.0 degree.
sysfs-Interface
---------------
The following list includes the sysfs attributes that the driver provides, their
permissions and a short description:
=============================== ======= ===========================================
Name Perm Description
=============================== ======= ===========================================
temp1_input: RO Temperature input
temp1_label: RO Descriptive name for the sensor
temp1_max: RW Maximum temperature
temp1_max_hyst: RW Maximum hysteresis temperature
update_interval RW Update conversions interval in milliseconds
=============================== ======= ===========================================