Commit 38fb56a223be9ec860e69e723d32c95fd70ad0b8

Authored by Darrick J. Wong
Committed by Mark M. Hoffman
1 parent dbeeb816e8

hwmon: Add power meter spec to Documentation/hwmon/sysfs-interface

Update the hwmon sysfs interface documentation to include a specification
for power meters.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>

Showing 1 changed file with 31 additions and 0 deletions Side-by-side Diff

Documentation/hwmon/sysfs-interface
... ... @@ -328,6 +328,37 @@
328 328 Unit: milliampere
329 329 RO
330 330  
  331 +*********
  332 +* Power *
  333 +*********
  334 +
  335 +power[1-*]_average Average power use
  336 + Unit: microWatt
  337 + RO
  338 +
  339 +power[1-*]_average_highest Historical average maximum power use
  340 + Unit: microWatt
  341 + RO
  342 +
  343 +power[1-*]_average_lowest Historical average minimum power use
  344 + Unit: microWatt
  345 + RO
  346 +
  347 +power[1-*]_input Instantaneous power use
  348 + Unit: microWatt
  349 + RO
  350 +
  351 +power[1-*]_input_highest Historical maximum power use
  352 + Unit: microWatt
  353 + RO
  354 +
  355 +power[1-*]_input_lowest Historical minimum power use
  356 + Unit: microWatt
  357 + RO
  358 +
  359 +power[1-*]_reset_history Reset input_highest, input_lowest,
  360 + average_highest and average_lowest.
  361 + WO
331 362  
332 363 **********
333 364 * Alarms *