From patchwork Thu Apr 11 13:30:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10896029 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 5644217E0 for ; Thu, 11 Apr 2019 13:31:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A59628D7B for ; Thu, 11 Apr 2019 13:31:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3810128D8E; Thu, 11 Apr 2019 13:31:26 +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 D64FD28D81 for ; Thu, 11 Apr 2019 13:31:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726862AbfDKNbP (ORCPT ); Thu, 11 Apr 2019 09:31:15 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:53857 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726750AbfDKNbP (ORCPT ); Thu, 11 Apr 2019 09:31:15 -0400 Received: from stefan-Vostro-260.fritz.box ([109.104.50.113]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Md6ZB-1geh0C0aKR-00aGjG; Thu, 11 Apr 2019 15:30:35 +0200 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 V5 2/3] Documentation: pwm-fan: Add description for RPM support Date: Thu, 11 Apr 2019 15:30:10 +0200 Message-Id: <1554989411-23666-3-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1554989411-23666-1-git-send-email-stefan.wahren@i2se.com> References: <1554989411-23666-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:jyT+4bfq/XpXokbwRm/583mPpdzwznmhDqpzS778JiCUaGSgsET S41oxiO1ncHfXBsrZaGAVqM7v/qLYz/DgpDcZxUVVu6P9gJ5h2n2HkhUwEwDI80TbqGAL+X AxcneG57THUdJRLmoSbMvpaf2k/nAznesYY1HJrQW3D6WC+dZLjJ6zvaOqlstUsbV/YZyc5 AueRrFqgFKS+VoWpXr/BA== X-UI-Out-Filterresults: notjunk:1;V03:K0:GTUCbIHG/iA=:hGkIMcFPpzt71wthA3hzmn TN/c2a1KLGPXvoP/3t2xQo96fI9jhbKE6I7fzW+u8HRS/6PviaMWxW74sJ5kLdb8SKX8/XBL0 gewpbItNek58gsONg6hRaX6A4DZuP2Ypn5Ujn/6H+L3R+WxDbj2QVKAeH5axqr8ZXyVB+Xf1u U2kgCm7pjpppgwEYsIdYLHoY3pgqliSwlgQF7Mmuf/KHVw7iSR0evH7xytrEDjca7iaCirycb c8Fb7NP1GWIpIIxvyLrWOVTnq11v+ae+s9ts6A5c5G6AXbHx9zxPrRM2B5rvkZWGsa4MfFhqX LjdDKXEeXB5eXmbKvfsOXKkLv4pHJ4HKz5zjSg2DKa7AlHDQ1wXJl/J8m5+7iZDy3iw2vMb1r rnemmF41Eq0Vmy6/iX8vZoedwNyHvEG0UqNgWTZxTb8doxiSeF1igt7FgGLX0GZl4+NTMinqn umTD9P6/LqAMQQqfy4+m5VGgLpv6A4DdfjFg33BSBEiLdlhHXP+fkhptS1lIWW0fAG9GMbPfG HQKVZuslREWot2ZjgVwspBQ7XBT6iCENbc0+LWOdjsGC1oHDYs0ca+cpkY97q492bYsBoW39G klTnvtjFKTd9eA/V6rEV7PDkikPgVB4tV5Rk3OhqKCgHur17aD2WN1ISSlAndgKiMw58aMi1A c7lUDaylHOP/JZcAVLNQWR1XmzOqn2sxLjF7WZUlBJRnlS0LgqX+8bQNcOr9hFY0FbH9QnVZl TPbYeXsjDSkOKjqpn5WFqZlMUguVVVzO9qqyg7PcOjbvy+BEdyVL1hJX9jA= 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.