Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6440280imu; Wed, 30 Jan 2019 14:58:59 -0800 (PST) X-Google-Smtp-Source: ALg8bN6vhsfdp/5QhmugBl9rOCOlFyWbcJrclDo4gh69o6MNNUmQSGL86LCmprzFVUSj1NUbpXdB X-Received: by 2002:a63:9501:: with SMTP id p1mr29324950pgd.149.1548889139635; Wed, 30 Jan 2019 14:58:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548889139; cv=none; d=google.com; s=arc-20160816; b=ZNZXoLLn/nxkvMTefqvbblxeJs9wA0BwpTxQkJ+SkjSRXq9VYc1ZRgaS8KTMT45jnd 027SAK3hiTH48xEqW+80Fp1V+Skd+AqjDhhja1mum8kbONDq7IfNTONNQyzTOvv3LEXN P40E12JK9Z/dqkIEYZXOmH4ViEk1gXWJQVqxqVjcVnsCJ5m4VPuW/bWV9WDWrAGq9IQF J3rLW0TQFkpiqTC3eonpSSDo5kfHL7XCSDcZyMLFv41iWjrSb1smeZD4cE2RuNck//HV 1jCycEdvww7TvSlQPYmBlVzCijsjElEDqXjkIlzaLC6j5EZKaHWMDV0Y5gasnzqtRvrq qiJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:importance:content-transfer-encoding :mime-version:subject:references:in-reply-to:message-id:cc:to:from :date; bh=SFFYfQ/3RlShito1CLujIVmUgP8KbHQzwU0m55D2LyA=; b=ee5xioiumYDYocWHKA0QnoZmH1hvm1oVNe5nRyBXMQiyxN3bYFIhL4u/XPaMNXDHAU 9cEdOQuhT+T+2qrCjSCwlL+/ZHa8hRxJ48Jbdma/Q4mU/ypiF9qjvGPf29aWuWSzdvdG iSKH8x677qqGvdWkTOeZScOgSe3gmDODsiRkMOSZJ2/XN6K7UOcCS0ZIDRX4/9M8sjgk c7jodE1MP/ZJr9qTvIh+6qtM0aj1VRRFduY3hPQH9fwz8AwHEcfsL5JOD/XNaEG5AVDr mGybA/2wSSyR7MEF5s6dYnbJ4CvTbe+tp7rWx86+K40HbFiY3qoSgsfzHtXG96aFJom/ 1ktA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d8si2632882plo.196.2019.01.30.14.58.25; Wed, 30 Jan 2019 14:58:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731700AbfA3UYH (ORCPT + 99 others); Wed, 30 Jan 2019 15:24:07 -0500 Received: from mout.kundenserver.de ([217.72.192.73]:51261 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727269AbfA3UYH (ORCPT ); Wed, 30 Jan 2019 15:24:07 -0500 Received: from oxbaltgw60.schlund.de ([172.19.246.147]) by mrelayeu.kundenserver.de (mreue106 [213.165.67.113]) with ESMTPSA (Nemesis) id 1N5FQJ-1hGwsM0VUb-011CkM; Wed, 30 Jan 2019 21:23:35 +0100 Date: Wed, 30 Jan 2019 21:23:31 +0100 (CET) From: Stefan Wahren To: Guenter Roeck Cc: Kamil Debski , Bartlomiej Zolnierkiewicz , Jean Delvare , Rob Herring , Mark Rutland , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <625436113.118199.1548879811777@email.ionos.de> In-Reply-To: <20190130172815.GC14781@roeck-us.net> References: <1548860827-29796-1-git-send-email-stefan.wahren@i2se.com> <1548860827-29796-2-git-send-email-stefan.wahren@i2se.com> <20190130172815.GC14781@roeck-us.net> Subject: Re: [PATCH RFC 1/3] dt-bindings: hwmon: Add tachometer interrupt to pwm-fan MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev47 X-Originating-Client: open-xchange-appsuite X-Provags-ID: V03:K1:ih27qXxjTclNJJD/XT4Nm1XZiqtxNMZXqH4PQj/w86o8ZiLtSoV NqRMvylY66tBKpaGjYIg5uU8lvJ4b2bL6vxwYTkmkWjXWxhWuAz1pV0uDmE0B54iyeCSuuR pvZxZ92h2pGAV/d7Z7IlcurBBnlUpmeBuuHbwGxjD19tkUInN4bwOSJQGVDD9HEQIFq6Ngv XtHNSqz2bQPVnIlYGaXSA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:UNWpgb3YUVg=:W0z1c/uwrEaKt40gbayUSN 29tHO2ls5cAPEWYcAuhe6coeu3fS2/2a0e3MOgQX9sQtgJ/VDA4pCWWTW11rzgbPbae0ptMys X+sBwbHIAcFvx5/P3ENW6Pgf0WVBXtdvmphJoEztCSucAHz+K5/Cr+J9SS0rJftRXARD00veA lZfhzkdkZSl/OrO8CNBQkDnBr5nMP2MuDVV0Kr2gKqAhT6IoeP5hAJig1dFSymr1Mq/q2X4T1 PDdOn5o374YsAxj+Dw/tPlCTuU8c6tUewXkhIx2gc6jdMFjnUbMSoy8balgCKUmWTHjmRtvVf ye+nMH2xK2Z4+IrE0MFINKV1psQcNeLnbjCq0d/XFAiW4hCtUc+nAL5Gg8ZURB+S/MFNAc7mb DEUIxeNUtq5VZiENgwb4GnZ0IYlgr1CNNzGcIZDsqKbVI5vPLH5nVmYrqTQ8W6HhP61wBrZmG baastXJy7Y2Gy0oCTpNVXntuE7wcxJWjIal7eNizYf8lT82hSyVQD8xiXFJ30HWQJtF8F+7tJ 4CVtVkrstFlR4kHkDdi/yIe0PUmOAdqjvuXEv4VV+E3n8httS+A4N1zNubvGXyD/wryz6QFQ5 zcphl8rJR4Mk8+dKCDVM+NjZdtJ6NKk6DIfA1KKYw8bcE0O1Z2Dr+5t6BXst11BXAPGGwJ8rJ lJEb414XfeolNKsHxhWRn/o4Y4EA8l/CXV2G3Q4Pl5bTB/KPl4hLE0QBFFfgm1W6s/DAf0AVX mR0rrZRss+z0IvBoSAZICTdUZmpNKg+1+psU0/NRZc9qiA8zwciFv7plPsc= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Guenter, > Guenter Roeck hat am 30. Januar 2019 um 18:28 geschrieben: > > > On Wed, Jan 30, 2019 at 04:07:05PM +0100, Stefan Wahren wrote: > > 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. > > So a hypothetical {1,4} pulse-per-revolution fan would explicitly not be > supported ? Why ? i could add an additional property to specify the pulse per revolution and use the 2 as default (according to the Intel spec for 4 pin pwm fan) which should fit in most cases. > > Guenter