hwmon: Define sysfs interface for energy consumption register
Describe the sysfs files that were introduced in the ibmaem driver. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>hifive-unleashed-5.1
parent
98dd22c3e0
commit
ddedc658fc
|
@ -329,6 +329,10 @@ power[1-*]_average Average power use
|
||||||
Unit: microWatt
|
Unit: microWatt
|
||||||
RO
|
RO
|
||||||
|
|
||||||
|
power[1-*]_average_interval Power use averaging interval
|
||||||
|
Unit: milliseconds
|
||||||
|
RW
|
||||||
|
|
||||||
power[1-*]_average_highest Historical average maximum power use
|
power[1-*]_average_highest Historical average maximum power use
|
||||||
Unit: microWatt
|
Unit: microWatt
|
||||||
RO
|
RO
|
||||||
|
@ -353,6 +357,14 @@ power[1-*]_reset_history Reset input_highest, input_lowest,
|
||||||
average_highest and average_lowest.
|
average_highest and average_lowest.
|
||||||
WO
|
WO
|
||||||
|
|
||||||
|
**********
|
||||||
|
* Energy *
|
||||||
|
**********
|
||||||
|
|
||||||
|
energy[1-*]_input Cumulative energy use
|
||||||
|
Unit: microJoule
|
||||||
|
RO
|
||||||
|
|
||||||
**********
|
**********
|
||||||
* Alarms *
|
* Alarms *
|
||||||
**********
|
**********
|
||||||
|
|
Loading…
Reference in New Issue