* [PATCH v3] hwmon: Add power meter spec to Documentation/hwmon/sysfs-interface
@ 2007-10-09 20:39 Darrick J. Wong
2007-10-15 15:10 ` [lm-sensors] " Jean Delvare
0 siblings, 1 reply; 3+ messages in thread
From: Darrick J. Wong @ 2007-10-09 20:39 UTC (permalink / raw)
To: Mark M. Hoffman, linux-kernel, lm-sensors
Update the hwmon sysfs interface documentation to include a specification
for power meters.
Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
---
Documentation/hwmon/sysfs-interface | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface
index db7bb4a..4e0fb20 100644
--- a/Documentation/hwmon/sysfs-interface
+++ b/Documentation/hwmon/sysfs-interface
@@ -324,6 +324,37 @@ curr[1-*]_input Current input value
Unit: milliampere
RO
+*********
+* Power *
+*********
+
+power[1-*]_average Average power use
+ Unit: microWatt
+ RO
+
+power[1-*]_average_highest Historical average maximum power use
+ Unit: microWatt
+ RO
+
+power[1-*]_average_lowest Historical average minimum power use
+ Unit: microWatt
+ RO
+
+power[1-*]_input Instantaneous power use
+ Unit: microWatt
+ RO
+
+power[1-*]_input_highest Historical maximum power use
+ Unit: microWatt
+ RO
+
+power[1-*]_input_lowest Historical minimum power use
+ Unit: microWatt
+ RO
+
+power[1-*]_reset_history Reset input_highest, input_lowest,
+ average_highest and average_lowest.
+ WO
**********
* Alarms *
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [lm-sensors] [PATCH v3] hwmon: Add power meter spec to Documentation/hwmon/sysfs-interface
2007-10-09 20:39 [PATCH v3] hwmon: Add power meter spec to Documentation/hwmon/sysfs-interface Darrick J. Wong
@ 2007-10-15 15:10 ` Jean Delvare
2007-10-16 10:35 ` Mark M. Hoffman
0 siblings, 1 reply; 3+ messages in thread
From: Jean Delvare @ 2007-10-15 15:10 UTC (permalink / raw)
To: Darrick J. Wong; +Cc: Mark M. Hoffman, linux-kernel, lm-sensors
Hi Darrick,
On Tue, 9 Oct 2007 13:39:24 -0700, Darrick J. Wong wrote:
> Update the hwmon sysfs interface documentation to include a specification
> for power meters.
>
> Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
> ---
>
> Documentation/hwmon/sysfs-interface | 31 +++++++++++++++++++++++++++++++
> 1 files changed, 31 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface
> index db7bb4a..4e0fb20 100644
> --- a/Documentation/hwmon/sysfs-interface
> +++ b/Documentation/hwmon/sysfs-interface
> @@ -324,6 +324,37 @@ curr[1-*]_input Current input value
> Unit: milliampere
> RO
>
> +*********
> +* Power *
> +*********
> +
> +power[1-*]_average Average power use
> + Unit: microWatt
> + RO
> +
> +power[1-*]_average_highest Historical average maximum power use
> + Unit: microWatt
> + RO
> +
> +power[1-*]_average_lowest Historical average minimum power use
> + Unit: microWatt
> + RO
> +
> +power[1-*]_input Instantaneous power use
> + Unit: microWatt
> + RO
> +
> +power[1-*]_input_highest Historical maximum power use
> + Unit: microWatt
> + RO
> +
> +power[1-*]_input_lowest Historical minimum power use
> + Unit: microWatt
> + RO
> +
> +power[1-*]_reset_history Reset input_highest, input_lowest,
> + average_highest and average_lowest.
> + WO
>
> **********
> * Alarms *
Looks good, thanks for your patience :)
Acked-by: Jean Delvare <khali@linux-fr.org>
Note that lm-sensors 3 still lacks support for power meters, if you
want it you'll have to submit a patch.
--
Jean Delvare
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [lm-sensors] [PATCH v3] hwmon: Add power meter spec to Documentation/hwmon/sysfs-interface
2007-10-15 15:10 ` [lm-sensors] " Jean Delvare
@ 2007-10-16 10:35 ` Mark M. Hoffman
0 siblings, 0 replies; 3+ messages in thread
From: Mark M. Hoffman @ 2007-10-16 10:35 UTC (permalink / raw)
To: Jean Delvare; +Cc: Darrick J. Wong, linux-kernel, lm-sensors
Hi:
> On Tue, 9 Oct 2007 13:39:24 -0700, Darrick J. Wong wrote:
> > Update the hwmon sysfs interface documentation to include a specification
> > for power meters.
> >
> > Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
> > ---
> >
> > Documentation/hwmon/sysfs-interface | 31 +++++++++++++++++++++++++++++++
> > 1 files changed, 31 insertions(+), 0 deletions(-)
* Jean Delvare <khali@linux-fr.org> [2007-10-15 17:10:29 +0200]:
> Looks good, thanks for your patience :)
>
> Acked-by: Jean Delvare <khali@linux-fr.org>
Applied to hwmon-2.6.git/testing, thanks.
--
Mark M. Hoffman
mhoffman@lightlink.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-16 10:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-09 20:39 [PATCH v3] hwmon: Add power meter spec to Documentation/hwmon/sysfs-interface Darrick J. Wong
2007-10-15 15:10 ` [lm-sensors] " Jean Delvare
2007-10-16 10:35 ` Mark M. Hoffman
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