From patchwork Wed Mar 30 00:41:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srikar Srimath Tirumala X-Patchwork-Id: 8691811 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5C658C0553 for ; Wed, 30 Mar 2016 00:41:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9032B20351 for ; Wed, 30 Mar 2016 00:41:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A586320142 for ; Wed, 30 Mar 2016 00:41:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758263AbcC3Ald (ORCPT ); Tue, 29 Mar 2016 20:41:33 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:9377 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757182AbcC3Alc (ORCPT ); Tue, 29 Mar 2016 20:41:32 -0400 Received: from hqnvupgp08.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com id ; Tue, 29 Mar 2016 17:41:09 -0700 Received: from hqemhub02.nvidia.com ([172.20.150.31]) by hqnvupgp08.nvidia.com (PGP Universal service); Tue, 29 Mar 2016 17:40:16 -0700 X-PGP-Universal: processed; by hqnvupgp08.nvidia.com on Tue, 29 Mar 2016 17:40:16 -0700 Received: from srikars-mint.nvidia.com (172.20.144.16) by hqemhub02.nvidia.com (172.20.150.31) with Microsoft SMTP Server id 8.3.406.0; Tue, 29 Mar 2016 17:41:31 -0700 From: Srikar Srimath Tirumala To: edubezval@gmail.com, rui.zhang@intel.com, srinivas.pandruvada@intel.com, linux-pm@vger.kernel.org, linux-tegra@vger.kernel.org CC: mlongnecker@nvidia.com, Srikar Srimath Tirumala Subject: [PATCH v3 4/4] thermal: update documentation for new device ops Date: Tue, 29 Mar 2016 17:41:37 -0700 Message-ID: <1459298497-29481-5-git-send-email-srikars@nvidia.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1459298497-29481-1-git-send-email-srikars@nvidia.com> References: <1459298497-29481-1-git-send-email-srikars@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add documentation for two new thermal_zone_device_ops. Change-Id: Id1c5cc2ae4051a398dfe81c7ff0b27c1eab02579 Signed-off-by: Srikar Srimath Tirumala --- Documentation/thermal/sysfs-api.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/thermal/sysfs-api.txt b/Documentation/thermal/sysfs-api.txt index ed419d6..13344167 100644 --- a/Documentation/thermal/sysfs-api.txt +++ b/Documentation/thermal/sysfs-api.txt @@ -59,6 +59,11 @@ temperature) and throttle appropriate devices. will be fired. .set_emul_temp: set the emulation temperature which helps in debugging different threshold temperature points. + .get_trip_state: get the current state (TRIPPED or NOT_TRIPPED) of a + certain trip point. + .set_trip_state: set the state of a certain trip point. + .enb_temp_notify: check if temperature notifications are enabled for a + certain trip point. tzp: thermal zone platform parameters. passive_delay: number of milliseconds to wait between polls when performing passive cooling.