Commit d2b847d489ee4e9921bc61f47c3d0e992692fc0f
Committed by
Jean Delvare
1 parent
8c3c7a256f
Exists in
master
and in
7 other branches
hwmon: Add description of the update_rate sysfs attribute
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>
Showing 1 changed file with 10 additions and 3 deletions Side-by-side Diff
Documentation/hwmon/sysfs-interface
... | ... | @@ -80,9 +80,9 @@ |
80 | 80 | given driver if the chip has the feature. |
81 | 81 | |
82 | 82 | |
83 | -******** | |
84 | -* Name * | |
85 | -******** | |
83 | +********************* | |
84 | +* Global attributes * | |
85 | +********************* | |
86 | 86 | |
87 | 87 | name The chip name. |
88 | 88 | This should be a short, lowercase string, not containing |
... | ... | @@ -90,6 +90,13 @@ |
90 | 90 | the only mandatory attribute. |
91 | 91 | I2C devices get this attribute created automatically. |
92 | 92 | RO |
93 | + | |
94 | +update_rate The rate at which the chip will update readings. | |
95 | + Unit: millisecond | |
96 | + RW | |
97 | + Some devices have a variable update rate. This attribute | |
98 | + can be used to change the update rate to the desired | |
99 | + frequency. | |
93 | 100 | |
94 | 101 | |
95 | 102 | ************ |