From patchwork Wed Jan 30 15:07:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10788767 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 42EE76C2 for ; Wed, 30 Jan 2019 15:08:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31A532F272 for ; Wed, 30 Jan 2019 15:08:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2FC552F519; Wed, 30 Jan 2019 15:08:19 +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 B19E22F6AB for ; Wed, 30 Jan 2019 15:08:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728111AbfA3PIN (ORCPT ); Wed, 30 Jan 2019 10:08:13 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:39497 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731398AbfA3PII (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 1MZCSt-1gbP4K00xd-00V5PO; 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 1/3] dt-bindings: hwmon: Add tachometer interrupt to pwm-fan Date: Wed, 30 Jan 2019 16:07:05 +0100 Message-Id: <1548860827-29796-2-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:rpmX0OqnhUWw39eh95mqXLGvwhXBdHLqF9lnRb5QAST3LBzXHkj LSb+h/tXe+z/daqnLB1VWfnGdcm/8xHkf+m3SqSeo1AFtpLiIUmb+cVgqQBDSvoQkXnyWD4 TVthKb7siumaFPNJf1sBACCkWOuV9mn1uA54I6OLdQumESzjRkKcUSOruVSK0Kv9qbED9ij bxYEoiRU08vpA0sCZ0QiQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:z6IWSm/u2Fc=:M8nIZ9TnFr3rhR2vRkc6vO y4czcvB0OmQvoYrlY2kXAOZ6X7JCq+st67oITufgPT2iYnqRYV5DRhwfWc2yIO3Ki0VeB/eEj DjGy2KXC2WCW5w1hYqV4GlVQgTEUl2WIK0E+bu6uavShta3bPDfldokbkR8/lehFT4JFM+nxs VqeZePhanPkkrmG5jYxvkrei3tebuxZWl/zzb4nde+/WoHtCPLAdfpcYPNfQszq+WvixEpebT GOjwW/nAN5H0C41k3luw7y4D3nGx82f1hBDMvt2NOhjanDa1fOIARyxMBZi9YtOivzvEFm3Tb x6lDuiEoh1ehebyUvHeutZERc631EIGdQd3mcL9CteJJTlE/JwbIP6UfXWJSQ0zaZtLSf69/p swvzbesdJEzCzxL9bGcg8Uo90dGbRH6yMthXVa1V/kEZtlVez/lhz67kAA/7f8AppNelbgEOe 8GSzIijB4AhB4b7nMzXP2vPR8V1dJcFNqDvQGjOjNy3FLxCbGmKYIiivbdI7m63U7L/qYvdsC t8WtOHQZyifdRbUrHxvD3zMyHLU3Vl3/ecPLgQ3DliDaQ/hz4bgJ7w7eelRHa4wuDawjIjawJ iVeP7rDqBy/1+CNyZn1BrxrN4GEMuekPf7GPeoIBhCeMCgbWiYPyCAIUQD+F1JPy/arN34wU+ RvU0FH/HucZHJG5T37p9lWd2kFUWSBlfyWkvj6JaDLcaKa3WKyX/C2D4tk+IGMFzDG4ng9MbT sYaPXusPABIydO0k6eJgjcPYe7Spi0QhhkUxhdKfH3A84aRBObkWGsRjH/0= 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 the tachometer interrupt to the pwm-fan binding, which is necessary for RPM support. Signed-off-by: Stefan Wahren --- Documentation/devicetree/bindings/hwmon/pwm-fan.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/hwmon/pwm-fan.txt b/Documentation/devicetree/bindings/hwmon/pwm-fan.txt index 49ca5d8..7f69b0b 100644 --- a/Documentation/devicetree/bindings/hwmon/pwm-fan.txt +++ b/Documentation/devicetree/bindings/hwmon/pwm-fan.txt @@ -8,6 +8,9 @@ Required properties: Optional properties: - fan-supply : phandle to the regulator that provides power to the fan +- interrupts : contains a single interrupt specifier which describes the + tachometer pin output of a 2 pulse-per-revolution fan. + See interrupt-controller/interrupts.txt for the format. Example: fan0: pwm-fan {