aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon/sysfs-interface
diff options
context:
space:
mode:
authorGuenter Roeck <guenter.roeck@ericsson.com>2010-06-28 16:22:27 -0400
committerGuenter Roeck <guenter.roeck@ericsson.com>2011-01-08 13:55:49 -0500
commit581693b51e44bb2c0cca16ab0c8d3cb535fd2ac8 (patch)
treefb856e64f4fefaecc3c9809b9220c61f6c6a4c2a /Documentation/hwmon/sysfs-interface
parentae9e0ce73e9fc55a620e0b3bd4a154330a7e64cc (diff)
hwmon: sysfs ABI updates
Add attributes supported by various PMBus devices to hwmon sysfs ABI. Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'Documentation/hwmon/sysfs-interface')
-rw-r--r--Documentation/hwmon/sysfs-interface40
1 files changed, 33 insertions, 7 deletions
diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface
index 645699010551..5997b5efc1cb 100644
--- a/Documentation/hwmon/sysfs-interface
+++ b/Documentation/hwmon/sysfs-interface
@@ -384,10 +384,20 @@ curr[1-*]_min Current min value.
384 Unit: milliampere 384 Unit: milliampere
385 RW 385 RW
386 386
387curr[1-*]_lcrit Current critical low value
388 Unit: milliampere
389 RW
390
391curr[1-*]_crit Current critical high value.
392 Unit: milliampere
393 RW
394
387curr[1-*]_input Current input value 395curr[1-*]_input Current input value
388 Unit: milliampere 396 Unit: milliampere
389 RO 397 RO
390 398
399Also see the Alarms section for status flags associated with currents.
400
391********* 401*********
392* Power * 402* Power *
393********* 403*********
@@ -450,13 +460,6 @@ power[1-*]_accuracy Accuracy of the power meter.
450 Unit: Percent 460 Unit: Percent
451 RO 461 RO
452 462
453power[1-*]_alarm 1 if the system is drawing more power than the
454 cap allows; 0 otherwise. A poll notification is
455 sent to this file when the power use exceeds the
456 cap. This file only appears if the cap is known
457 to be enforced by hardware.
458 RO
459
460power[1-*]_cap If power use rises above this limit, the 463power[1-*]_cap If power use rises above this limit, the
461 system should take action to reduce power use. 464 system should take action to reduce power use.
462 A poll notification is sent to this file if the 465 A poll notification is sent to this file if the
@@ -479,6 +482,20 @@ power[1-*]_cap_min Minimum cap that can be set.
479 Unit: microWatt 482 Unit: microWatt
480 RO 483 RO
481 484
485power[1-*]_max Maximum power.
486 Unit: microWatt
487 RW
488
489power[1-*]_crit Critical maximum power.
490 If power rises to or above this limit, the
491 system is expected take drastic action to reduce
492 power consumption, such as a system shutdown or
493 a forced powerdown of some devices.
494 Unit: microWatt
495 RW
496
497Also see the Alarms section for status flags associated with power readings.
498
482********** 499**********
483* Energy * 500* Energy *
484********** 501**********
@@ -501,6 +518,7 @@ implementation.
501 518
502in[0-*]_alarm 519in[0-*]_alarm
503curr[1-*]_alarm 520curr[1-*]_alarm
521power[1-*]_alarm
504fan[1-*]_alarm 522fan[1-*]_alarm
505temp[1-*]_alarm 523temp[1-*]_alarm
506 Channel alarm 524 Channel alarm
@@ -512,12 +530,20 @@ OR
512 530
513in[0-*]_min_alarm 531in[0-*]_min_alarm
514in[0-*]_max_alarm 532in[0-*]_max_alarm
533in[0-*]_lcrit_alarm
534in[0-*]_crit_alarm
515curr[1-*]_min_alarm 535curr[1-*]_min_alarm
516curr[1-*]_max_alarm 536curr[1-*]_max_alarm
537curr[1-*]_lcrit_alarm
538curr[1-*]_crit_alarm
539power[1-*]_cap_alarm
540power[1-*]_max_alarm
541power[1-*]_crit_alarm
517fan[1-*]_min_alarm 542fan[1-*]_min_alarm
518fan[1-*]_max_alarm 543fan[1-*]_max_alarm
519temp[1-*]_min_alarm 544temp[1-*]_min_alarm
520temp[1-*]_max_alarm 545temp[1-*]_max_alarm
546temp[1-*]_lcrit_alarm
521temp[1-*]_crit_alarm 547temp[1-*]_crit_alarm
522temp[1-*]_emergency_alarm 548temp[1-*]_emergency_alarm
523 Limit alarm 549 Limit alarm