]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
hwmon: Add description of the update_rate sysfs attribute
authorIra W. Snyder <iws@ovro.caltech.edu>
Thu, 27 May 2010 17:58:45 +0000 (19:58 +0200)
committerJean Delvare <khali@linux-fr.org>
Thu, 27 May 2010 17:58:45 +0000 (19:58 +0200)
The update_rate attribute can be used by drivers to let userspace choose
the update rate of the chip, if it is configurable.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Documentation/hwmon/sysfs-interface

index 3de6b0bcb1474ecda75e9aa4ff275d3b3af67a6f..d4e2917c6f18b69d9e9a36e39d228ab36bd3d87b 100644 (file)
@@ -80,9 +80,9 @@ All entries (except name) are optional, and should only be created in a
 given driver if the chip has the feature.
 
 
-********
-* Name *
-********
+*********************
+* Global attributes *
+*********************
 
 name           The chip name.
                This should be a short, lowercase string, not containing
@@ -91,6 +91,13 @@ name         The chip name.
                I2C devices get this attribute created automatically.
                RO
 
+update_rate    The rate at which the chip will update readings.
+               Unit: millisecond
+               RW
+               Some devices have a variable update rate. This attribute
+               can be used to change the update rate to the desired
+               frequency.
+
 
 ************
 * Voltages *