lkml.org 
[lkml]   [2008]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 1/2] hwmon: Define sysfs interface for energy consumption register
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 *
*********

\
 
 \ /
  Last update: 2008-01-29 10:15    [W:0.033 / U:1.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site