Skip to content

Commit

Permalink
hwmon: Add description of the update_rate sysfs attribute
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
  • Loading branch information
Ira W. Snyder authored and Jean Delvare committed May 27, 2010
1 parent 8c3c7a2 commit d2b847d
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Documentation/hwmon/sysfs-interface
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 *
Expand Down

0 comments on commit d2b847d

Please sign in to comment.