aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorGuenter Roeck <guenter.roeck@ericsson.com>2011-07-09 13:32:11 -0400
committerGuenter Roeck <guenter.roeck@ericsson.com>2011-07-28 20:02:41 -0400
commit0084e9faabbc1e228fda9c8a78ef1ea8ee97a9ae (patch)
treecf70d3d61864d225cff19c8e833de3a5baa09cdc /Documentation/hwmon
parentc6bfb767e431d3a236eab439d3660ff562598c84 (diff)
hwmon: Add new attributes to sysfs ABI
Add the following attributes to the sysfs ABI. in[0-*]_average in[0-*]_lowest in[0-*]_highest in[0-*]_reset_history in_reset_history curr[1-*]_average curr[1-*]_lowest curr[1-*]_highest curr[1-*]_reset_history curr_reset_history Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r--Documentation/hwmon/sysfs-interface46
1 files changed, 46 insertions, 0 deletions
diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface
index 8f63c244f1aa..a4aa8f600e09 100644
--- a/Documentation/hwmon/sysfs-interface
+++ b/Documentation/hwmon/sysfs-interface
@@ -139,6 +139,29 @@ in[0-*]_input Voltage input value.
139 thumb: drivers should report the voltage values at the 139 thumb: drivers should report the voltage values at the
140 "pins" of the chip. 140 "pins" of the chip.
141 141
142in[0-*]_average
143 Average voltage
144 Unit: millivolt
145 RO
146
147in[0-*]_lowest
148 Historical minimum voltage
149 Unit: millivolt
150 RO
151
152in[0-*]_highest
153 Historical maximum voltage
154 Unit: millivolt
155 RO
156
157in[0-*]_reset_history
158 Reset inX_lowest and inX_highest
159 WO
160
161in_reset_history
162 Reset inX_lowest and inX_highest for all sensors
163 WO
164
142in[0-*]_label Suggested voltage channel label. 165in[0-*]_label Suggested voltage channel label.
143 Text string 166 Text string
144 Should only be created if the driver has hints about what 167 Should only be created if the driver has hints about what
@@ -407,6 +430,29 @@ curr[1-*]_input Current input value
407 Unit: milliampere 430 Unit: milliampere
408 RO 431 RO
409 432
433curr[1-*]_average
434 Average current use
435 Unit: milliampere
436 RO
437
438curr[1-*]_lowest
439 Historical minimum current
440 Unit: milliampere
441 RO
442
443curr[1-*]_highest
444 Historical maximum current
445 Unit: milliampere
446 RO
447
448curr[1-*]_reset_history
449 Reset currX_lowest and currX_highest
450 WO
451
452curr_reset_history
453 Reset currX_lowest and currX_highest for all sensors
454 WO
455
410Also see the Alarms section for status flags associated with currents. 456Also see the Alarms section for status flags associated with currents.
411 457
412********* 458*********