linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hwmon: Add tempX_emergency to sysfs ABI
@ 2010-08-26 15:54 Guenter Roeck
       [not found] ` <1282838085-7210-1-git-send-email-guenter.roeck-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Guenter Roeck @ 2010-08-26 15:54 UTC (permalink / raw)
  To: Jean Delvare, Andrew Morton
  Cc: Randy Dunlap, Ira W. Snyder, Darrick J. Wong,
	linux-doc-u79uwXL29TY76Z2rM5mHXA,
	lm-sensors-GZX6beZjE8VD60Wz+7aTrA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA, Guenter Roeck

Signed-off-by: Guenter Roeck <guenter.roeck-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
---
tempX_emergency will be used by max6696. It can also be used for other chips
supporting three upper temperature limits.

 Documentation/hwmon/sysfs-interface |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface
index ff45d1f..1ceb2b9 100644
--- a/Documentation/hwmon/sysfs-interface
+++ b/Documentation/hwmon/sysfs-interface
@@ -310,6 +310,12 @@ temp[1-*]_crit_hyst
 		from the critical value.
 		RW
 
+temp[1-*]_emergency
+		Temperature emergency value, typically greater than
+		corresponding temp_crit values.
+		Unit: millidegree Celsius
+		RW
+
 temp[1-*]_lcrit	Temperature critical min value, typically lower than
 		corresponding temp_min values.
 		Unit: millidegree Celsius
-- 
1.7.0.87.g0901d

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon: Add tempX_emergency to sysfs ABI
       [not found] ` <1282838085-7210-1-git-send-email-guenter.roeck-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
@ 2010-08-26 16:10   ` Henrique de Moraes Holschuh
       [not found]     ` <20100826161022.GA1383-ZGHd14iZgfaRjzvQDGKj+xxZW9W5cXbT@public.gmane.org>
  2010-08-26 17:51     ` Guenter Roeck
  0 siblings, 2 replies; 5+ messages in thread
From: Henrique de Moraes Holschuh @ 2010-08-26 16:10 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: Jean Delvare, Andrew Morton, linux-doc-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	lm-sensors-GZX6beZjE8VD60Wz+7aTrA, Randy Dunlap,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA

On Thu, 26 Aug 2010, Guenter Roeck wrote:
> Signed-off-by: Guenter Roeck <guenter.roeck-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
> ---
> tempX_emergency will be used by max6696. It can also be used for other chips
> supporting three upper temperature limits.
> 
>  Documentation/hwmon/sysfs-interface |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface
> index ff45d1f..1ceb2b9 100644
> --- a/Documentation/hwmon/sysfs-interface
> +++ b/Documentation/hwmon/sysfs-interface
> @@ -310,6 +310,12 @@ temp[1-*]_crit_hyst
>  		from the critical value.
>  		RW
>  
> +temp[1-*]_emergency
> +		Temperature emergency value, typically greater than
> +		corresponding temp_crit values.
> +		Unit: millidegree Celsius
> +		RW
> +

If we have two-level alarms: critical, then emergency, it is best to have
that written down than to imply it by "typically greater than corresponding
temp_crit"...

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon: Add tempX_emergency to sysfs ABI
       [not found]     ` <20100826161022.GA1383-ZGHd14iZgfaRjzvQDGKj+xxZW9W5cXbT@public.gmane.org>
@ 2010-08-26 17:08       ` Guenter Roeck
  0 siblings, 0 replies; 5+ messages in thread
From: Guenter Roeck @ 2010-08-26 17:08 UTC (permalink / raw)
  To: Henrique de Moraes Holschuh
  Cc: Jean Delvare, Andrew Morton,
	linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org, Randy Dunlap,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On Thu, Aug 26, 2010 at 12:10:23PM -0400, Henrique de Moraes Holschuh wrote:
> On Thu, 26 Aug 2010, Guenter Roeck wrote:
> > Signed-off-by: Guenter Roeck <guenter.roeck-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
> > ---
> > tempX_emergency will be used by max6696. It can also be used for other chips
> > supporting three upper temperature limits.
> > 
> >  Documentation/hwmon/sysfs-interface |    6 ++++++
> >  1 files changed, 6 insertions(+), 0 deletions(-)
> > 
> > diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface
> > index ff45d1f..1ceb2b9 100644
> > --- a/Documentation/hwmon/sysfs-interface
> > +++ b/Documentation/hwmon/sysfs-interface
> > @@ -310,6 +310,12 @@ temp[1-*]_crit_hyst
> >  		from the critical value.
> >  		RW
> >  
> > +temp[1-*]_emergency
> > +		Temperature emergency value, typically greater than
> > +		corresponding temp_crit values.
> > +		Unit: millidegree Celsius
> > +		RW
> > +
> 
> If we have two-level alarms: critical, then emergency, it is best to have
> that written down than to imply it by "typically greater than corresponding
> temp_crit"...
> 
Do you have a better wording in mind ?

Guenter

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon: Add tempX_emergency to sysfs ABI
  2010-08-26 16:10   ` [lm-sensors] " Henrique de Moraes Holschuh
       [not found]     ` <20100826161022.GA1383-ZGHd14iZgfaRjzvQDGKj+xxZW9W5cXbT@public.gmane.org>
@ 2010-08-26 17:51     ` Guenter Roeck
  2010-08-27  3:45       ` Henrique de Moraes Holschuh
  1 sibling, 1 reply; 5+ messages in thread
From: Guenter Roeck @ 2010-08-26 17:51 UTC (permalink / raw)
  To: Henrique de Moraes Holschuh
  Cc: Jean Delvare, Andrew Morton, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org,
	Randy Dunlap, linux-i2c@vger.kernel.org

On Thu, Aug 26, 2010 at 12:10:23PM -0400, Henrique de Moraes Holschuh wrote:
> On Thu, 26 Aug 2010, Guenter Roeck wrote:
> > Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
> > ---
> > tempX_emergency will be used by max6696. It can also be used for other chips
> > supporting three upper temperature limits.
> > 
> >  Documentation/hwmon/sysfs-interface |    6 ++++++
> >  1 files changed, 6 insertions(+), 0 deletions(-)
> > 
> > diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface
> > index ff45d1f..1ceb2b9 100644
> > --- a/Documentation/hwmon/sysfs-interface
> > +++ b/Documentation/hwmon/sysfs-interface
> > @@ -310,6 +310,12 @@ temp[1-*]_crit_hyst
> >  		from the critical value.
> >  		RW
> >  
> > +temp[1-*]_emergency
> > +		Temperature emergency value, typically greater than
> > +		corresponding temp_crit values.
> > +		Unit: millidegree Celsius
> > +		RW
> > +
> 
> If we have two-level alarms: critical, then emergency, it is best to have
> that written down than to imply it by "typically greater than corresponding
> temp_crit"...
> 
How about:
        Temperature emergency max value, for chips supporting more than
        two upper temperature limits. Must be equal or greater than
        corresponding temp_crit values.
        Unit: millidegree Celsius
        RW

Guenter

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon: Add tempX_emergency to sysfs ABI
  2010-08-26 17:51     ` Guenter Roeck
@ 2010-08-27  3:45       ` Henrique de Moraes Holschuh
  0 siblings, 0 replies; 5+ messages in thread
From: Henrique de Moraes Holschuh @ 2010-08-27  3:45 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: Jean Delvare, Andrew Morton, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org,
	Randy Dunlap, linux-i2c@vger.kernel.org

On Thu, 26 Aug 2010, Guenter Roeck wrote:
> > > +temp[1-*]_emergency
> > > +		Temperature emergency value, typically greater than
> > > +		corresponding temp_crit values.
> > > +		Unit: millidegree Celsius
> > > +		RW
> > > +
> > 
> > If we have two-level alarms: critical, then emergency, it is best to have
> > that written down than to imply it by "typically greater than corresponding
> > temp_crit"...
> > 
> How about:
>         Temperature emergency max value, for chips supporting more than
>         two upper temperature limits. Must be equal or greater than
>         corresponding temp_crit values.
>         Unit: millidegree Celsius
>         RW

Much better, thank you.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-08-27  3:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-26 15:54 [PATCH] hwmon: Add tempX_emergency to sysfs ABI Guenter Roeck
     [not found] ` <1282838085-7210-1-git-send-email-guenter.roeck-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
2010-08-26 16:10   ` [lm-sensors] " Henrique de Moraes Holschuh
     [not found]     ` <20100826161022.GA1383-ZGHd14iZgfaRjzvQDGKj+xxZW9W5cXbT@public.gmane.org>
2010-08-26 17:08       ` Guenter Roeck
2010-08-26 17:51     ` Guenter Roeck
2010-08-27  3:45       ` Henrique de Moraes Holschuh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).