From patchwork Wed Jan 30 15:07:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10788765 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 AE7AC6C2 for ; Wed, 30 Jan 2019 15:08:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9AA952F683 for ; Wed, 30 Jan 2019 15:08:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9873E2F6A6; Wed, 30 Jan 2019 15:08:09 +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 905EE2F6AB for ; Wed, 30 Jan 2019 15:08:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727356AbfA3PII (ORCPT ); Wed, 30 Jan 2019 10:08:08 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:46205 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727371AbfA3PIH (ORCPT ); Wed, 30 Jan 2019 10:08:07 -0500 Received: from stefan-Vostro-260.fritz.box ([109.104.32.180]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M6DSo-1gmdSz1Fai-006hqN; Wed, 30 Jan 2019 16:07:37 +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 2/3] Documentation: pwm-fan: Add description for RPM support Date: Wed, 30 Jan 2019 16:07:06 +0100 Message-Id: <1548860827-29796-3-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548860827-29796-1-git-send-email-stefan.wahren@i2se.com> References: <1548860827-29796-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:/YIqKdqgVDmYWEMiLNtyELC/NS1lKvJ0Jspw1LEnainiPq0TU80 aOfym8HojknQ5XmBInoMITqNHXkBdTupzva1jaoVRS3jGzd6i0B59WbgWTmTcwBKDhO8wjr 3t20HPdXrzajtTc3IRAW8LGfU8qilgIIG5lkf1xzVvBHjA5aU0ZgXOJTHWrexLXg0vfCH6t 9LKMRZSXMwsZ5IR893u1g== X-UI-Out-Filterresults: notjunk:1;V03:K0:3rWlNTitYmI=:j1cLP4tlq6KCZeJ5ltKeBC GtDSBTxSCpr4gTR8xRASzN7rAlljpStiU0MFvOBaDcSmKd+qGX3Oxvb31lyULMJLAAFYxGJ/l v/APg/bbe8O+ZLn3NNYWX2EpeaaJ9HRFtleYttwOa6t85IkXsm40TY8HVdAZtiS3CoFgraaKM 1u5+kOCS/e/PQkL5gUFGT4aSS5t9W20txGu0yJu1m56xWvFk+gFFQUkoOpMhd0jFSoUxhmNDK 8s8tymjJeqeikSCqmX2QlTLOJvL9ir2G1kKQLkN6QdWq33WmEj+2IOGLTbRSX1/xHIAGGrb4r xmN99EqAqsVwNNOe/346gMWzZyslauk/TqzeAt1Wdf6hYO1lEaZ5WPO6Ih1J9fVp78BXt2tLy LHoHKnUVeWmmVR+4oE7q9hlRk83P9vo+UAAx4PUhSMQnTGnmxiJQhKtTgGpQByarJsVjLZlR1 fvF/TmCk4cvgvL1C6oiIAbsB2DalKFuhBL8fkUc437E80DwZ92zJVSw0i2hBQHpJlqYVZNyZx eXTdnDmaXtS2Z/RhtuumGPb2K/bM2Hinp+ukOR65a741JdQiTxLG+4jYsCVuiY39lhOFIFWrx FtJgNHG/FRPZvq8otRgdC36o3AznOfJxUqyDIRkIbVM1aK71SKIMcS1hEGPEJ7YdhDhFm1Bam J0mR13mXMaySKb1LZbjCSRtwadfNx3pg564PKdsmglsRnJlQMo0p4kbscxWnlxztJw+zML5UX LWCl4XnuWZ3e0cge+fOpmUNjB0cD38j5VV2uv9z1isJF0MZeR//Tvwk1CDE= 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/hwmon/pwm-fan b/Documentation/hwmon/pwm-fan index 18529d2..a1ba34c 100644 --- a/Documentation/hwmon/pwm-fan +++ b/Documentation/hwmon/pwm-fan @@ -15,3 +15,7 @@ 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 measured fan rotation speed returned via 'fan1_input' is derived +from the sampled interrupts from the tachometer signal by assuming +a 2 pulse-per-revolution fan.