From patchwork Wed Jan 30 15:07:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10788769 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 535BB17E9 for ; Wed, 30 Jan 2019 15:08:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 42FA42F6AB for ; Wed, 30 Jan 2019 15:08:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 411B32F6AC; Wed, 30 Jan 2019 15:08:24 +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 EE2FE2F6AF for ; Wed, 30 Jan 2019 15:08:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731439AbfA3PII (ORCPT ); Wed, 30 Jan 2019 10:08:08 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:50665 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731068AbfA3PII (ORCPT ); Wed, 30 Jan 2019 10:08:08 -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 1N8onQ-1hCO342xCo-015nGv; Wed, 30 Jan 2019 16:07:36 +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 0/3] hwmon: pwm-fan: Add RPM support Date: Wed, 30 Jan 2019 16:07:04 +0100 Message-Id: <1548860827-29796-1-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 X-Provags-ID: V03:K1:O0KPWkz9HK3nyFfKF7NtmuQHgVbuEd8rQEu7RyoO9NHBPe+ROfX zquxLjc3HV3gf88Qt2GJDRa4fUvv19HGBGiWBEBIYzfoxzsTB1yRJhFj43ojPp8rp54YVqY m0yymK/rSranFw1Z581eRurLVVGClPi8YqFip6unDDa5hlvyCCV8KE84FlmydQcXEr39xMe mCuLKzM9Ja0mFNOvPxWFg== X-UI-Out-Filterresults: notjunk:1;V03:K0:VZvABbrO+0U=:7+AvEAHGKk28uOXXsP57Xs 0iVWz7+beVmTrqZ8abBj8m75lY3KbhJ6STngBBW0iTTAsSJK/QW4a2Wv8utT8kX0MEE052o9a Y7cGGd9T0erTzpwNQrMr5e3CQuWJiktkNG6VaKi5Oe5/4cFwPXEQJE97T2c8a9b182vyv8n9H sV63eF3aNga7O/nyZ/GfigxR0NBjKJBxp7XiJAe0C2czesB//9eY3oGRzD2L5YXPXgoXp1YI/ 4JZ3R3PibKxSs+muNZ+D4sREfEM4p0AzJpywuqmGr1gs96A23IgxW6g8siH4n7JV7RJxvc4j8 kMoXzjm8ePANkpJ+yhln+S38qM/hYoEBX8oZZTHA/h4ozKihOa1WBBSR1t6USUN1SV+rywzSb 2pwJzCX87JqEibnOiIw4LzeRVheIVHMqvyQCuZftX2N9W2DJFtZ3NArsDocxMN5Ayy3YN57XZ 1PAEuxb6W3dKdS8Eugb8JU5/Llk74rHolmLFRP39YhwqfSDu7GUZKvHSaFNrDnJmtclR6pBzZ 2GZVkJ4yfriRuer+sftPsgYKDCcZN3ERJ67jzAob89vn+02bI/hTQu+oaUd0XLWREHkJlJ9ZY LX8Rk8W8R/pQrkwwsB2c2t0jwugCeYwE07CWaQs+r5vFsjEJM7G13d7vj/dXBV45Pp1arCEao j3HQmv6+51ImZk0tRRXCt7UuOZgZXyCjI806kRM4ypBGU3zKLUnRVnH31kECBt1SKaEEuaEtL D0gsH7J8vSFZ2R8PHiuoadkd5EHoKn+k1qGgxFpcq8ZrfWq1ZrQeU4uJc7M= 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 Contrary to the gpio-fan the pwm-fan driver isn't easy to setup with pwmconfig/fancontrol because of the missing hwmon sysfs entry for actual revolutions per minute. This series adds this feature. This series based on the recently submitted regulator support. Stefan Wahren (3): dt-bindings: hwmon: Add tachometer interrupt to pwm-fan Documentation: pwm-fan: Add description for RPM support hwmon: pwm-fan: Add RPM support via external interrupt .../devicetree/bindings/hwmon/pwm-fan.txt | 3 ++ Documentation/hwmon/pwm-fan | 4 ++ drivers/hwmon/pwm-fan.c | 55 ++++++++++++++++++++++ 3 files changed, 62 insertions(+)