From patchwork Wed Aug 26 16:17:21 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frans Pop X-Patchwork-Id: 44071 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 n7QGK8xr025977 for ; Wed, 26 Aug 2009 16:20:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751836AbZHZQS0 (ORCPT ); Wed, 26 Aug 2009 12:18:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751801AbZHZQSU (ORCPT ); Wed, 26 Aug 2009 12:18:20 -0400 Received: from cpsmtpm-eml105.kpnxchange.com ([195.121.3.9]:63740 "EHLO CPSMTPM-EML105.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750716AbZHZQRZ (ORCPT ); Wed, 26 Aug 2009 12:17:25 -0400 Received: from elrond.fjphome.nl ([77.166.180.99]) by CPSMTPM-EML105.kpnxchange.com with Microsoft SMTPSVC(7.0.6001.18000); Wed, 26 Aug 2009 18:17:25 +0200 Received: from aragorn.fjphome.nl ([10.19.66.13]) by elrond.fjphome.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1MgLBd-0001D3-DZ; Wed, 26 Aug 2009 18:17:25 +0200 Received: from fjp by aragorn.fjphome.nl with local (Exim 4.69) (envelope-from ) id 1MgLBd-0007My-5w; Wed, 26 Aug 2009 18:17:25 +0200 From: Frans Pop To: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Frans Pop , Zhang Rui , Sujith Thomas , Matthew Garrett Subject: [PATCH 2/6] thermal: sysfs-api.txt - document passive attribute for thermal zones Date: Wed, 26 Aug 2009 18:17:21 +0200 Message-Id: <1251303445-25317-3-git-send-email-elendil@planet.nl> X-Mailer: git-send-email 1.5.6.5 In-Reply-To: <1251303445-25317-1-git-send-email-elendil@planet.nl> References: <1251303445-25317-1-git-send-email-elendil@planet.nl> X-OriginalArrivalTime: 26 Aug 2009 16:17:25.0459 (UTC) FILETIME=[B2F8E230:01CA2668] Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Signed-off-by: Frans Pop Cc: Zhang Rui Cc: Sujith Thomas Cc: Matthew Garrett --- 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..2a036eb 100644 --- a/Documentation/thermal/sysfs-api.txt +++ b/Documentation/thermal/sysfs-api.txt @@ -3,7 +3,7 @@ Generic Thermal Sysfs driver How To Written by Sujith Thomas , Zhang Rui -Updated: 2 January 2008 +Updated: 21 August 2009 Copyright (c) 2008 Intel Corporation @@ -199,6 +199,15 @@ cdev[0-*]_trip_point point. RO, Optional +passive + Attribute is only present for zones which do not have a passive + cooling policy (_PSV) defined in ACPI. 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 * ***************************** @@ -230,8 +239,9 @@ thermal_zone_device (thermal_zone1) with 4 trip points in all. It has one processor and one fan, which are both registered as thermal_cooling_device. -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: /sys/class/thermal: