* [PATCH 1/2] hwmon: Define sysfs interface for energy consumption register
@ 2008-01-29 9:11 Darrick J. Wong
0 siblings, 0 replies; only message in thread
From: Darrick J. Wong @ 2008-01-29 9:11 UTC (permalink / raw)
To: Mark M. Hoffman, linux-kernel, lm-sensors
Expand the hwmon sysfs API to export energy consumption numbers.
Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
---
Documentation/hwmon/sysfs-interface | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface
index f4a8ebc..e256bed 100644
--- a/Documentation/hwmon/sysfs-interface
+++ b/Documentation/hwmon/sysfs-interface
@@ -328,6 +328,14 @@ curr[1-*]_input Current input value
Unit: milliampere
RO
+**********
+* Energy *
+**********
+
+energy[1-*]_input Instantaneous energy use
+ Unit: microJoule
+ RO
+
*********
* Power *
*********
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-29 9:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-29 9:11 [PATCH 1/2] hwmon: Define sysfs interface for energy consumption register Darrick J. Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome