Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (tmp401) Add documentation

Documentation for the tmp401 driver.

The documentation describes the tmp401 driver and the supported Texas
Instruments TMP401 and TMP411 temperature sensor chips.

Further documentation for new sysfs attributes supported by this
driver is added to Documentation/hwmon/sysfs-interface.

Signed-off-by: Andre Prendel <andre.prendel@gmx.de>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>

authored by

Andre Prendel and committed by
Jean Delvare
cd4e96c5 fce0758f

+61
+19
Documentation/hwmon/sysfs-interface
··· 70 70 [0-*] denotes any positive number starting from 0 71 71 [1-*] denotes any positive number starting from 1 72 72 RO read only value 73 + WO write only value 73 74 RW read/write value 74 75 75 76 Read/write values may be read-only for some chips, depending on the ··· 295 294 doesn't. In all other cases, the label is provided by 296 295 user-space. 297 296 RO 297 + 298 + temp[1-*]_lowest 299 + Historical minimum temperature 300 + Unit: millidegree Celsius 301 + RO 302 + 303 + temp[1-*]_highest 304 + Historical maximum temperature 305 + Unit: millidegree Celsius 306 + RO 307 + 308 + temp[1-*]_reset_history 309 + Reset temp_lowest and temp_highest 310 + WO 311 + 312 + temp_reset_history 313 + Reset temp_lowest and temp_highest for all sensors 314 + WO 298 315 299 316 Some chips measure temperature using external thermistors and an ADC, and 300 317 report the temperature measurement as a voltage. Converting this voltage
+42
Documentation/hwmon/tmp401
··· 1 + Kernel driver tmp401 2 + ==================== 3 + 4 + Supported chips: 5 + * Texas Instruments TMP401 6 + Prefix: 'tmp401' 7 + Addresses scanned: I2C 0x4c 8 + Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp401.html 9 + * Texas Instruments TMP411 10 + Prefix: 'tmp411' 11 + Addresses scanned: I2C 0x4c 12 + Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp411.html 13 + 14 + Authors: 15 + Hans de Goede <hdegoede@redhat.com> 16 + Andre Prendel <andre.prendel@gmx.de> 17 + 18 + Description 19 + ----------- 20 + 21 + This driver implements support for Texas Instruments TMP401 and 22 + TMP411 chips. These chips implements one remote and one local 23 + temperature sensor. Temperature is measured in degrees 24 + Celsius. Resolution of the remote sensor is 0.0625 degree. Local 25 + sensor resolution can be set to 0.5, 0.25, 0.125 or 0.0625 degree (not 26 + supported by the driver so far, so using the default resolution of 0.5 27 + degree). 28 + 29 + The driver provides the common sysfs-interface for temperatures (see 30 + /Documentation/hwmon/sysfs-interface under Temperatures). 31 + 32 + The TMP411 chip is compatible with TMP401. It provides some additional 33 + features. 34 + 35 + * Minimum and Maximum temperature measured since power-on, chip-reset 36 + 37 + Exported via sysfs attributes tempX_lowest and tempX_highest. 38 + 39 + * Reset of historical minimum/maximum temperature measurements 40 + 41 + Exported via sysfs attribute temp_reset_history. Writing 1 to this 42 + file triggers a reset.