Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151022
b: refs/heads/master
c: cd4e96c
h: refs/heads/master
v: v3
  • Loading branch information
Andre Prendel authored and Jean Delvare committed Jun 15, 2009
1 parent aea5f4d commit f7bbac1
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fce0758f5990b34af4ffba589b23f25c700beb2f
refs/heads/master: cd4e96c5dd4a72bdc54ea9981e02465708c204d3
19 changes: 19 additions & 0 deletions trunk/Documentation/hwmon/sysfs-interface
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ are interpreted as 0! For more on how written strings are interpreted see the
[0-*] denotes any positive number starting from 0
[1-*] denotes any positive number starting from 1
RO read only value
WO write only value
RW read/write value

Read/write values may be read-only for some chips, depending on the
Expand Down Expand Up @@ -295,6 +296,24 @@ temp[1-*]_label Suggested temperature channel label.
user-space.
RO

temp[1-*]_lowest
Historical minimum temperature
Unit: millidegree Celsius
RO

temp[1-*]_highest
Historical maximum temperature
Unit: millidegree Celsius
RO

temp[1-*]_reset_history
Reset temp_lowest and temp_highest
WO

temp_reset_history
Reset temp_lowest and temp_highest for all sensors
WO

Some chips measure temperature using external thermistors and an ADC, and
report the temperature measurement as a voltage. Converting this voltage
back to a temperature (or the other way around for limits) requires
Expand Down
42 changes: 42 additions & 0 deletions trunk/Documentation/hwmon/tmp401
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
Kernel driver tmp401
====================

Supported chips:
* Texas Instruments TMP401
Prefix: 'tmp401'
Addresses scanned: I2C 0x4c
Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp401.html
* Texas Instruments TMP411
Prefix: 'tmp411'
Addresses scanned: I2C 0x4c
Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp411.html

Authors:
Hans de Goede <hdegoede@redhat.com>
Andre Prendel <andre.prendel@gmx.de>

Description
-----------

This driver implements support for Texas Instruments TMP401 and
TMP411 chips. These chips implements one remote and one local
temperature sensor. Temperature is measured in degrees
Celsius. Resolution of the remote sensor is 0.0625 degree. Local
sensor resolution can be set to 0.5, 0.25, 0.125 or 0.0625 degree (not
supported by the driver so far, so using the default resolution of 0.5
degree).

The driver provides the common sysfs-interface for temperatures (see
/Documentation/hwmon/sysfs-interface under Temperatures).

The TMP411 chip is compatible with TMP401. It provides some additional
features.

* Minimum and Maximum temperature measured since power-on, chip-reset

Exported via sysfs attributes tempX_lowest and tempX_highest.

* Reset of historical minimum/maximum temperature measurements

Exported via sysfs attribute temp_reset_history. Writing 1 to this
file triggers a reset.

0 comments on commit f7bbac1

Please sign in to comment.