Skip to contentSkip to conversation

hwmon: Define sysfs interface for energy consumption register

PATCH New Darrick J. Wong 1 participant 1 message Jan 29, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 hwmon: Define sysfs interface for energy consumption register

Expand the hwmon sysfs API to export energy consumption numbers.

---

 Documentation/hwmon/sysfs-interface |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
Documentation/hwmon/sysfs-interface +8 -0
index f4a8ebc..e256bed 100644
@@ -328,6 +328,14 @@ curr[1-*]_input	Current input value
 		Unit: milliampere
 		RO
 
+**********
+* Energy *
+**********
+
+energy[1-*]_input		Instantaneous energy use
+				Unit: microJoule
+				RO
+
 *********
 * Power *
 *********

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors