From patchwork Fri Mar 22 08:24:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10865251 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5B62813B5 for ; Fri, 22 Mar 2019 08:25:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 444CD2A545 for ; Fri, 22 Mar 2019 08:25:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 38E6B2A559; Fri, 22 Mar 2019 08:25:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D748B2A552 for ; Fri, 22 Mar 2019 08:25:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727786AbfCVIZd (ORCPT ); Fri, 22 Mar 2019 04:25:33 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:56583 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726667AbfCVIZc (ORCPT ); Fri, 22 Mar 2019 04:25:32 -0400 Received: from stefan-Vostro-260.fritz.box ([109.104.35.112]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1My6xz-1gn55a0fc7-00zVTt; Fri, 22 Mar 2019 09:24:25 +0100 From: Stefan Wahren To: Kamil Debski , Bartlomiej Zolnierkiewicz , Jean Delvare , Guenter Roeck , Rob Herring , Mark Rutland , Robin Murphy Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Wahren Subject: [PATCH V3 2/3] Documentation: pwm-fan: Add description for RPM support Date: Fri, 22 Mar 2019 09:24:02 +0100 Message-Id: <1553243043-19486-3-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1553243043-19486-1-git-send-email-stefan.wahren@i2se.com> References: <1553243043-19486-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:6uCJsKlrlqxnxJLgaVQ6cNoIxg68wTh8301VaiB3BiHDOyif4Xj bO7XxX9HK/DqNaO+1BdJ5obWvzMtP8+a3/mRtXXPiSxddvqEWnUvvXrtiYW56KcCi0AGwNy uSy9RAyAesomZZU++6g7QPgsMnZ/U264yGdhdyFjGG6caTBK6SioQ63/i7Y+xb+TdYvCyTg 7mVqgKYyEyfyGbJ2jvR6w== X-UI-Out-Filterresults: notjunk:1;V03:K0:9IjAhlSo600=:Kw5uu8QusJt5CTLCSqVOeY dV1liEaHmXA305ljBb7ZTrkGYbYJsZGos3TPRgrH5s+sKQlbF/yOGy6TxbK4f+WYuKRSNlyPB MfJ3lNoNAhldRDTD+OHpt8934M0EcA6v3LJQIEg/kKGzyrrs6LJBmxD777HlEGYc2gwvdXGr6 GkfPtoaxBtdS5roxpr3gVSwFUDBXAXA6k4GvI+Fdo0mUgAC+7dA6MgFjtSVkp6e6iedlEXEim ZcOCJKFMc+skuBs3Yq/Q7c7P9lwnlKrIpQBprm6Py9+JgpLn1vbcxEYLMUVWFvlrBP6qtpB1j +56XUuyzHps1yCXNvaaOfKby9j4m5YFScYoBJUlYYcktRtqz7VWaq1BbcPe51/rZITxZZwYPC JmNGHUvBLh69BSPEvACwYABnjnpZYTTpE6KO9C3XhAO/EbRNYmHRYK0WL0ef0/3VB2Xgyyyhw p23IG/vZddWsOykDroXUhmqnXU8B+oLO43udxUiQ8JL/T/R4En8cWY9zw+Q5aaH51MC12e4+8 gAirq4yX/oqgMkqvdj6cmlUE/NI/0dUqmZBXJ6kgomxP3/NQe2i3R4HVHrOsnuZeS2ATlS9Xi URHCL3B2X4cXbh/yIANkoypjodd2dhAfDa+2kNnYk15dYJ3LMiUNPmbMWO3qw+eHt8V/BprWt woIYOw+HEJcIoIUYI8IK23z6O5c2kMY7vk4zFjG33+a6wfm3SMzWtab/RQMlHKSg0rOFaL04D h5lhllFRNJCQQFyCHfuabdGj6ac4HrNuef1aFNQa5TMCsfS5rT40s6ya6Ck= Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds a short description for the new RPM support of the pwm-fan driver. Signed-off-by: Stefan Wahren --- Documentation/hwmon/pwm-fan | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/hwmon/pwm-fan b/Documentation/hwmon/pwm-fan index 18529d2..82fe967 100644 --- a/Documentation/hwmon/pwm-fan +++ b/Documentation/hwmon/pwm-fan @@ -15,3 +15,6 @@ The driver implements a simple interface for driving a fan connected to a PWM output. It uses the generic PWM interface, thus it can be used with a range of SoCs. The driver exposes the fan to the user space through the hwmon's sysfs interface. + +The fan rotation speed returned via the optional 'fan1_input' is extrapolated +from the sampled interrupts from the tachometer signal within 1 second.