[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080129091114.GI2549@tree.beaverton.ibm.com>
Date: Tue, 29 Jan 2008 01:11:14 -0800
From: "Darrick J. Wong" <djwong@...ibm.com>
To: "Mark M. Hoffman" <mhoffman@...htlink.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
lm-sensors <lm-sensors@...sensors.org>
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@...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 *
*********
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists