hwmon: Add power meter spec to Documentation/hwmon/sysfs-interface
Subsystems (2)
PATCH v3 1/1 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 <[email protected]>
---
Documentation/hwmon/sysfs-interface | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-)
Documentation/hwmon/sysfs-interface +31 -0
@@ -324,6 +324,37 @@ curr[1-*]_input Current input value Unit: milliampere RO +********* +* Power * +********* + +power[1-*]_average Average power use + Unit: microWatt + RO + +power[1-*]_average_highest Historical average maximum power use + Unit: microWatt + RO + +power[1-*]_average_lowest Historical average minimum power use + Unit: microWatt + RO + +power[1-*]_input Instantaneous power use + Unit: microWatt + RO + +power[1-*]_input_highest Historical maximum power use + Unit: microWatt + RO + +power[1-*]_input_lowest Historical minimum power use + Unit: microWatt + RO + +power[1-*]_reset_history Reset input_highest, input_lowest, + average_highest and average_lowest. + WO ********** * Alarms *
Hi Darrick,
Quoted 41 lines · Darrick J. Wong
Update the hwmon sysfs interface documentation to include a specification for power meters.
Signed-off-by Darrick J. Wong <[email protected]>---
Documentation/hwmon/sysfs-interface | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-)Documentation/hwmon/sysfs-interface +24
-0@@ -324,6 +324,37 @@ curr[1-*]_input Current input value Unit: milliampere RO +********* +* Power * +********* + +power[1-*]_average Average power use + Unit: microWatt + RO + +power[1-*]_average_highest Historical average maximum power use + Unit: microWatt + RO + +power[1-*]_average_lowest Historical average minimum power use + Unit: microWatt + RO + +power[1-*]_input Instantaneous power use + Unit: microWatt + RO + +power[1-*]_input_highest Historical maximum power use + Unit: microWatt + RO +
Documentation/hwmon/sysfs-interface curr[1-*]_input Current input value · line 360
Quoted 10 lines
Documentation/hwmon/sysfs-interface +7
-0+power[1-*]_input_lowest Historical minimum power use + Unit: microWatt + RO + +power[1-*]_reset_history Reset input_highest, input_lowest, + average_highest and average_lowest. + WO ********** * Alarms *
Looks good, thanks for your patience :)
Acked-by Jean Delvare <[email protected]>
Note that lm-sensors 3 still lacks support for power meters, if you want it you'll have to submit a patch.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi:
Quoted 9 lines · Darrick J. Wong
Quoted 8 lines
Update the hwmon sysfs interface documentation to include a specification for power meters.
Signed-off-by Darrick J. Wong <[email protected]>---
Documentation/hwmon/sysfs-interface | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-)
Quoted 3 lines · Jean Delvare
Looks good, thanks for your patience :)
Acked-by Jean Delvare <[email protected]>
Applied to hwmon-2.6.git/testing, thanks.
Signature · 8 lines
Mark M. Hoffman [email protected] _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors