Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5979064imu; Mon, 21 Jan 2019 00:45:16 -0800 (PST) X-Google-Smtp-Source: ALg8bN5IRv66stxpCDbJmuycWZjqvOK2S9rogTsoWlLoW3arzryUonQq4Op2p2EPbcY0KlJKBp59 X-Received: by 2002:a63:b30f:: with SMTP id i15mr27562166pgf.240.1548060316201; Mon, 21 Jan 2019 00:45:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548060316; cv=none; d=google.com; s=arc-20160816; b=kizgVcmGiXcSWqvXLItj+oQAMHbo2YnUxfmNome/T1qxle+d9kpl9+OPlBZVzqDjqw 2ygHYeoWWyhLBJRvPHzajHGufXRerT+sVBpr7yV55f5FyDzv4i37XhwW3Mpeecm0kShC sj82GRrebq4budN7WcMYs7mbNOjOZMGQ3iDk2ergbfwYYCPrfWbOMtj2Z59UvGepeESF pie6c+UqnDzKX+P2utE9V0KAjXlVwsjZe2lMVlWtTOlIDW4syagB5F4SK7veGHMpV83v 0NxVdx/VP1CsI+eWyEx8WHKwtirU+ml24Tba7iNS0ptgGIoScjw5wn4mREo2u+ei0/bV EfaQ== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=A6RYa/98aZ/Vmztv+LLqnoM9OviEiQWQDAiZXcqeCok=; b=kK/FtQv0bgK2PHwnwMOQBP02HgNkokCNV7CBxKkvpCjuc+qlWSp80aamr3rt8K4uey HWfIZIkk3TlKFnbtE9v9WiizbebVmLi7DLTcTBIHFJ4daPXzWpP5JXLs7ethRCnycJE9 qd0XA3l9X1+WhKIkEowhkGZUIIUr22olpCgG6iKr0rahnYuZ/nGLbjtzHSWlXeFo8Ccv ZvkGSUJuSbQEIF7rc6XUH8ZXppWL+7HUvX6/jhj8ylac5D+pKaHRtInsyNmXzoSj/ZO+ WRGDR1vHdvW96qJUOwQl7hZKX7/dFWp5NOFQerD8edVh+Er34CqNr+AF/5TLPPs4SWMf PuYA== 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 x1si12320670plb.366.2019.01.21.00.45.00; Mon, 21 Jan 2019 00:45:16 -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 S1729542AbfAUInO (ORCPT + 99 others); Mon, 21 Jan 2019 03:43:14 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:42945 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729051AbfAUInN (ORCPT ); Mon, 21 Jan 2019 03:43:13 -0500 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1glVAd-0002pF-AB; Mon, 21 Jan 2019 09:43:03 +0100 Received: from ukl by ptx.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1glVAb-0000NW-Tw; Mon, 21 Jan 2019 09:43:01 +0100 Date: Mon, 21 Jan 2019 09:43:01 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Matthias Brugger Cc: Ryder Lee , Thierry Reding , Sean Wang , Weijie Gao , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH v1 2/5] dt-bindings: pwm: add a property "mediatek,num-pwms" Message-ID: <20190121084301.s5cx27sbywu2yr3m@pengutronix.de> References: <7e1de17a43f2cde73aecd2773e2b3a5fdfd294f3.1547781007.git.ryder.lee@mediatek.com> <7d387d2a-74f0-c6c7-aa2d-cf9b87579682@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7d387d2a-74f0-c6c7-aa2d-cf9b87579682@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 18, 2019 at 09:44:49AM +0100, Matthias Brugger wrote: > > > On 18/01/2019 04:24, Ryder Lee wrote: > > This adds a property "mediatek,num-pwms" in example so that we could > > set the number of PWM channels via device tree. > > > > Signed-off-by: Ryder Lee > > Reviewed-by: Matthias Brugger > > --- > > Changes since v1: add a Reviewed-by tag. > > --- > > Documentation/devicetree/bindings/pwm/pwm-mediatek.txt | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt b/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt > > index 991728c..f9e2d1f 100644 > > --- a/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt > > +++ b/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt > > @@ -20,6 +20,7 @@ Required properties: > > - pinctrl-names: Must contain a "default" entry. > > - pinctrl-0: One property must exist for each entry in pinctrl-names. > > See pinctrl/pinctrl-bindings.txt for details of the property values. > > + - mediatek,num-pwms: the number of PWM channels. > > > > Example: > > pwm0: pwm@11006000 { > > @@ -37,4 +38,5 @@ Example: > > "pwm3", "pwm4", "pwm5"; > > pinctrl-names = "default"; > > pinctrl-0 = <&pwm0_pins>; > > + mediatek,num-pwms = <5>; > > }; > > > > Wasn't there a comment in the last version to use num-pwms instead of > mediatek,num-pwms? > > Uwe I think you requested that. I think it is sensible, but it needs Thierry's blessing. Unfortunately he seems busy with other stuff and getting feedback from him needs patience. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |