From patchwork Mon Aug 31 11:19:58 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frans Pop X-Patchwork-Id: 44866 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n7VBK5i4028000 for ; Mon, 31 Aug 2009 11:20:06 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750873AbZHaLUA (ORCPT ); Mon, 31 Aug 2009 07:20:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751827AbZHaLUA (ORCPT ); Mon, 31 Aug 2009 07:20:00 -0400 Received: from cpsmtpm-eml102.kpnxchange.com ([195.121.3.6]:60961 "EHLO CPSMTPM-EML102.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751395AbZHaLT7 (ORCPT ); Mon, 31 Aug 2009 07:19:59 -0400 Received: from aragorn.fjphome.nl ([77.166.180.99]) by CPSMTPM-EML102.kpnxchange.com with Microsoft SMTPSVC(7.0.6001.18000); Mon, 31 Aug 2009 13:20:01 +0200 From: Frans Pop To: Zhang Rui Subject: Re: [PATCH 2/6] thermal: sysfs-api.txt - document passive attribute for thermal zones Date: Mon, 31 Aug 2009 13:19:58 +0200 User-Agent: KMail/1.9.9 Cc: "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Thomas, Sujith" , Matthew Garrett References: <1251303445-25317-1-git-send-email-elendil@planet.nl> <1251303445-25317-3-git-send-email-elendil@planet.nl> <1251706691.3483.169.camel@rzhang-dt> In-Reply-To: <1251706691.3483.169.camel@rzhang-dt> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200908311320.00632.elendil@planet.nl> X-OriginalArrivalTime: 31 Aug 2009 11:20:01.0154 (UTC) FILETIME=[FB00C620:01CA2A2C] Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org On Monday 31 August 2009, Zhang Rui wrote: > > +passive > > + Attribute is only present for zones which do not have a passive > > + cooling policy (_PSV) defined in ACPI. > > We should not involve any platform specific stuff in this > documentation. how about "Attribute is only present for zones in which > the passive cooling policy is not supported by native thermal driver" [...] > > -If the processor is listed in _PSL method, and the fan is listed in > > _AL0 -method, the sys I/F structure will be built like this: > > +If the processor is listed in _PSL method, the fan is listed in _AL0 > > +method, and the zone has a _PSV method, the sys I/F structure will > > be +built like this: > > For an ACPI thermal zone, supporting passive cooling means that both > _PSL and _PSV are available. > so I don't think we need to change this. :) OK. Updated patch below. From: Frans Pop Subject: thermal: sysfs-api.txt - document passive attribute for thermal zones Signed-off-by: Frans Pop Cc: Zhang Rui Cc: Sujith Thomas Cc: Matthew Garrett Acked-by: Zhang Rui --- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/thermal/sysfs-api.txt b/Documentation/thermal/sysfs-api.txt index 895337f..a87dc27 100644 --- a/Documentation/thermal/sysfs-api.txt +++ b/Documentation/thermal/sysfs-api.txt @@ -199,6 +199,15 @@ cdev[0-*]_trip_point point. RO, Optional +passive + Attribute is only present for zones in which the passive cooling + policy is not supported by native thermal driver. Default is zero + and can be set to a temperature (in millidegrees) to enable a + passive trip point for the zone. Activation is done by polling + with an interval of 1 second. + Unit: millidegrees Celsius + RW, Optional + ***************************** * Cooling device attributes * *****************************