Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3601005imm; Tue, 29 May 2018 09:59:41 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKpaYIAmpW6gVlR1R9xCoR+kr5IIIqMlWrPdtvNmb1mmoxj/mXKaxjbJrXlvYBUGVRN5urW X-Received: by 2002:a63:8f0d:: with SMTP id n13-v6mr3641079pgd.109.1527613181086; Tue, 29 May 2018 09:59:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527613181; cv=none; d=google.com; s=arc-20160816; b=0n4z/k4ta+qrQrguiSmwtWhsA5kcxiZENoEI4atlqIUHOpapk44K5fIEF/ThhColi+ rizdN6AzGECTj1mdjrOWJNgYxTtW3ojvTkTn0WdmvK/EVVsexzc5i8FeWqv1/3DkE5sg SllIz5gzBGCtcHhs2MOkOescY9sAd21i8ai8QpQ11Egri5XdZKFrmnu5JEVTU6P8ICA9 Uz72x853kHxtPHXLgH7BmulUH9O7UOEc3/jzioMv/4IkxC38bTQpDGYFc+2rYCTHv/9R n0I+wxLdTahlkOvfjUqP0oy85yT1XXaKQ1AWbGQ1VXKonlWnkbyN3dQdGi0btA5XikNf PdgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=OCZdEQGnSoqU+WlKWC9w1bPmFq6sAKNV1Vte1YWXrPI=; b=WsV/2kZTqt78n3WQaTRMr558aVQXpXrxVSOEf/ST9luMBirNTg9U5iGqqEYR8VbIu1 CjA3yXY0+62Q6z6j209+NKGciYfpHgNrbvgCX103O4eNLwoOwDO4KatbvKWA+NoTmMCK 7BFl9UQesO0dSUR2pBd6KsbtmCgKXIW05xyk5CImXGxdtxAZi1yZJhkJKzNt8fnWcX/H nrvTgWNWfyfmRTh+Tzb0urvURqdfcm7rg0Yxqrvij6q0/z8bQzeMp2uu++DskHp21vJS l+CL5XGKCqSE073MwyesQ4reGuWfXXklg37O28Z97n2gF1wLVpJ1at8vJERfx5qPI5+J VGng== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@roeck-us.net header.s=default header.b=f/s6OuIq; 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 s7-v6si25335479pgr.670.2018.05.29.09.59.26; Tue, 29 May 2018 09:59:41 -0700 (PDT) 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; dkim=fail header.i=@roeck-us.net header.s=default header.b=f/s6OuIq; 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 S965216AbeE2Q5p (ORCPT + 99 others); Tue, 29 May 2018 12:57:45 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:32838 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935486AbeE2Q5o (ORCPT ); Tue, 29 May 2018 12:57:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=In-Reply-To:Content-Type:MIME-Version:References :Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=OCZdEQGnSoqU+WlKWC9w1bPmFq6sAKNV1Vte1YWXrPI=; b=f/s6OuIqjUQipDaCBXXRU6RErB sjjYN8Co6UAl9qFstvqwaPI9cQmkM0i83nuSMlyq2MkbPaZvhdnDt1WVM41PwtvzxKuSWVy6Az1LH OfC4U9oOtjvRNMBmOYzKVjnuMczN4wZ09+XeIibtyoLjBaiBICauObhFitF7LWTuTLGTR9+Tn/kuY GdxyQm4fV9iGT8g0LA2XtVzEBNAGVrCWZfjknxJfj7JJi79nNrXkhpVT16GkfzSaSxK4aZs7eWwMw uQgOQhj0V4QGa/+PO1Km58MFa86QyC98bWoGLmuNu2IHnh7Wy5Tcj0JvsE5hZqNmVjAujaxqZQGP+ To40ZDhQ==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:35852 helo=localhost) by bh-25.webhostbox.net with esmtpa (Exim 4.89) (envelope-from ) id 1fNhwN-002Q40-6P; Tue, 29 May 2018 16:57:43 +0000 Date: Tue, 29 May 2018 09:57:42 -0700 From: Guenter Roeck To: Tomer Maimon Cc: robh+dt@kernel.org, mark.rutland@arm.com, jdelvare@suse.com, avifishman70@gmail.com, yuenn@google.com, brendanhiggins@google.com, venture@google.com, joel@jms.id.au, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, openbmc@lists.ozlabs.org Subject: Re: [PATCH v1 1/2] dt-binding: hwmon: Add NPCM7xx PWM documentation Message-ID: <20180529165742.GE2162@roeck-us.net> References: <1527588141-18639-1-git-send-email-tmaimon77@gmail.com> <1527588141-18639-2-git-send-email-tmaimon77@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1527588141-18639-2-git-send-email-tmaimon77@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 29, 2018 at 01:02:20PM +0300, Tomer Maimon wrote: > Added device tree binding documentation for Nuvoton BMC > NPCM7xx Pulse Width Modulation (PWM) controller. > As mentioned in the other commit, this should be a pwm driver, not a hwmon driver. Guenter > Signed-off-by: Tomer Maimon > --- > .../devicetree/bindings/hwmon/npcm7xx-pwm.txt | 25 ++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/npcm7xx-pwm.txt > > diff --git a/Documentation/devicetree/bindings/hwmon/npcm7xx-pwm.txt b/Documentation/devicetree/bindings/hwmon/npcm7xx-pwm.txt > new file mode 100644 > index 000000000000..2d8a7ccdc8cf > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/npcm7xx-pwm.txt > @@ -0,0 +1,25 @@ > +Nuvoton NPCM7xx Pulse-width modulation (PWM) controller device driver > + > +The NPCM7xx has two identical PWM controller modules, > +Each module has four PWM controller outputs. > +NPCM7xx PWM controller module 0 outputs PWM0-3 and NPCM7xx PWM controller > +module 1 outputs PWM4-7. > + > +Required properties: > +- compatible : "nuvoton,npcm750-pwm" for Poleg NPCM7XX. > +- reg : Offset and length of the registers set for the device. > +- clocks : phandle of pwm reference clock. > +- pinctrl-names : a pinctrl state named "default" must be defined. > +- pinctrl-0 : phandle referencing pin configuration of the PWM ports. > + > +pwm:pwm@f0103000 { > + compatible = "nuvoton,npcm750-pwm"; > + reg = <0xf0103000 0x50 > + 0xf0104000 0x50>; > + clocks = <&clk NPCM7XX_CLK_APB3>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pwm0_pins &pwm1_pins > + &pwm2_pins &pwm3_pins > + &pwm4_pins &pwm5_pins > + &pwm6_pins &pwm7_pins>; > +}; > -- > 2.14.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html