From patchwork Mon Feb 25 15:59:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10828793 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 5A3961575 for ; Mon, 25 Feb 2019 16:00:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 44B7F2BCC1 for ; Mon, 25 Feb 2019 16:00:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5B89D2BCAE; Mon, 25 Feb 2019 16:00:31 +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 DB5712BCAD for ; Mon, 25 Feb 2019 16:00:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727704AbfBYQAa (ORCPT ); Mon, 25 Feb 2019 11:00:30 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:51621 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727659AbfBYQAa (ORCPT ); Mon, 25 Feb 2019 11:00:30 -0500 Received: from stefan-Vostro-260.fritz.box ([109.104.53.79]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mzi3l-1hBxnh38z3-00vieL; Mon, 25 Feb 2019 16:59:56 +0100 From: Stefan Wahren To: Kamil Debski , Bartlomiej Zolnierkiewicz , Jean Delvare , Guenter Roeck , Rob Herring , Mark Rutland Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Wahren Subject: [PATCH RFC V2 2/3] Documentation: pwm-fan: Add description for RPM support Date: Mon, 25 Feb 2019 16:59:18 +0100 Message-Id: <1551110359-19860-3-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1551110359-19860-1-git-send-email-stefan.wahren@i2se.com> References: <1551110359-19860-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:rDt8rM8KQB7JFkh3ue3qtgnNVwqdhgTVjkuzq7YJjfKcx4G3RLQ ZAOY6VuACZp32WN3rZ76TCxfMuEueg/h4gOamV6qi97+sWRAa3MEGLeIpzIg0Ox3X8H4AGB K7TXTDMVcUH9xuDejYbE7qBMRd+Ng66UKhhpiDDNoI5vIDCVmW5JxgvyNJxDDkcU7WEuVVa gw1k+JKQDD494X0dzxJxg== X-UI-Out-Filterresults: notjunk:1;V03:K0:YcnrOrRgbC4=:bKedZtA2+xcuV9deovjPhf o+C2kfVozulnUkG7GtEPbXm6erhPX1zyFPUqahEO7IKz7rgTK7U4p8gdcaPSIT/OZopMK6UWj dhamxS2Iip7xvuJ/ulNYVDifvfUezgP4RX+ovv65d/2nX1ghjaTwuUSkZnXrtYogoocDoRkuS TsexyT0XGPJN9UmICwIxnM8j6DBwx2IEtQoir78NSnx8ioKNv4W6VDe0IbZ7wnyyV+xqXUa1e MKvjyAz0lkUsO3Lf8XTbC2nvcsMIuJA5spEajA9NzubVzXZiq+Dfm7yLObOp+SP90ue7SO8gY RYaXxGvOT8zLXgH4AeMkjtCY8ND8XLoOv2mGfHD0FihIv6n3Faan228vC5dsHE7SPZRSIazUl 5COllol5FZ6y2pL7S92bmhvIDWewBxEqVdHSs6gPKMQD6h1/UcoYM16/tXW0hfirKA5sQNIyk QgU9Fo5ZLVEfUXVOb/kbWQ0OC2yq1Ui0VBCnrIjaAVZ6rPvUoRU0iAV5pCijEp5Trq2eTNTKT NNS42Dc3PLTehnn2Znat+BsHqJ/GUdIUFaGQBCzf6m0vj2XzdlZEVVWVUGMqwY0nWgrjNcXpi BNcGpVOzLHKfNsqrACzT++C0ec4zTbUMHqTLfI59rJUCQsO4rIptdUMNIobdppKZqFORJl9dT fv8GQjdR0MvdfeCTueq9ICJf2CvhHG+2+gB9cGlCe5nA19Tt64+uqBC9kRCCaciXbzDXTEcDL rinKUfqN+g80bRfcmZo+34Wv1BaktXJip+jTavqemJ7Nr5gO4sPhh2CuiLU= 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.