diff options
author | Guenter Roeck <guenter.roeck@ericsson.com> | 2010-06-28 16:22:27 -0400 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-01-08 13:55:49 -0500 |
commit | 581693b51e44bb2c0cca16ab0c8d3cb535fd2ac8 (patch) | |
tree | fb856e64f4fefaecc3c9809b9220c61f6c6a4c2a /Documentation/hwmon | |
parent | ae9e0ce73e9fc55a620e0b3bd4a154330a7e64cc (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')
-rw-r--r-- | Documentation/hwmon/sysfs-interface | 40 |
1 files changed, 33 insertions, 7 deletions
diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface index 64569901055..5997b5efc1c 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 | ||
387 | curr[1-*]_lcrit Current critical low value | ||
388 | Unit: milliampere | ||
389 | RW | ||
390 | |||
391 | curr[1-*]_crit Current critical high value. | ||
392 | Unit: milliampere | ||
393 | RW | ||
394 | |||
387 | curr[1-*]_input Current input value | 395 | curr[1-*]_input Current input value |
388 | Unit: milliampere | 396 | Unit: milliampere |
389 | RO | 397 | RO |
390 | 398 | ||
399 | Also 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 | ||
453 | power[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 | |||
460 | power[1-*]_cap If power use rises above this limit, the | 463 | power[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 | ||
485 | power[1-*]_max Maximum power. | ||
486 | Unit: microWatt | ||
487 | RW | ||
488 | |||
489 | power[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 | |||
497 | Also 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 | ||
502 | in[0-*]_alarm | 519 | in[0-*]_alarm |
503 | curr[1-*]_alarm | 520 | curr[1-*]_alarm |
521 | power[1-*]_alarm | ||
504 | fan[1-*]_alarm | 522 | fan[1-*]_alarm |
505 | temp[1-*]_alarm | 523 | temp[1-*]_alarm |
506 | Channel alarm | 524 | Channel alarm |
@@ -512,12 +530,20 @@ OR | |||
512 | 530 | ||
513 | in[0-*]_min_alarm | 531 | in[0-*]_min_alarm |
514 | in[0-*]_max_alarm | 532 | in[0-*]_max_alarm |
533 | in[0-*]_lcrit_alarm | ||
534 | in[0-*]_crit_alarm | ||
515 | curr[1-*]_min_alarm | 535 | curr[1-*]_min_alarm |
516 | curr[1-*]_max_alarm | 536 | curr[1-*]_max_alarm |
537 | curr[1-*]_lcrit_alarm | ||
538 | curr[1-*]_crit_alarm | ||
539 | power[1-*]_cap_alarm | ||
540 | power[1-*]_max_alarm | ||
541 | power[1-*]_crit_alarm | ||
517 | fan[1-*]_min_alarm | 542 | fan[1-*]_min_alarm |
518 | fan[1-*]_max_alarm | 543 | fan[1-*]_max_alarm |
519 | temp[1-*]_min_alarm | 544 | temp[1-*]_min_alarm |
520 | temp[1-*]_max_alarm | 545 | temp[1-*]_max_alarm |
546 | temp[1-*]_lcrit_alarm | ||
521 | temp[1-*]_crit_alarm | 547 | temp[1-*]_crit_alarm |
522 | temp[1-*]_emergency_alarm | 548 | temp[1-*]_emergency_alarm |
523 | Limit alarm | 549 | Limit alarm |