Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp707820ybl; Wed, 14 Aug 2019 04:54:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBdSXNNjnnL/2q4pqEbgCZ2keVgn8RSMNDibwd6tWxz+7saZrmhmBUZJCV+ajOogbR2oiW X-Received: by 2002:a17:902:7781:: with SMTP id o1mr41936486pll.205.1565783679343; Wed, 14 Aug 2019 04:54:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565783679; cv=none; d=google.com; s=arc-20160816; b=svEt+9VpZU2R/Au/IP9cOGtrEhoSbhIXLzb2lfwBw6xx/F+Wp3KFle+O7Qv5p6sY1W ylNETJSzXwG2NhZIuY/uSHQXOtdBvOSFdHq53OlFETEwajJYuyLNVFDXBu8IFpYN7RHx +IDMqT9ee6+DM5VNsexQLJQVtBbxp6olmiF8xxc/fvEqQ3LTzRb5NCmdwmllEzwsXgTD Gqswefc9sJm863RThsJijKX1zMQZq2EGhnkkW/GF4obS3f4mJJDiMNaJVFlYl5qEHVyl +5cdtsc8J9F4mEfRc0UKYuyE2umvCUjjvrEw96pxT0hnVQI31j2lQ8tcc8EK37vl6nxH XY0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id; bh=LgesvbpwTxMA6ifJyAGmi6BmHo6Kx9sMWt5whTDi3r4=; b=Xa8KW1FzHOeGD5z3DCDMxfebIfevwse66V9QAHwC0+XpBY6YPuRnoYaBHk8pr/l8O7 EnsHMBkiMOGIu2NnjhUMRIXJWyLhwtGBiPr1y+xyso74d7D9zfZ/BEyemy4UwyPC00go uD0cbQ+Oj1BkUBDtcI+Ny+vJysN7jSDOSSvIbxUD4MtpXWMHo/HsL7isgXtIH0cv4TXR bRTZ93veoOGpNURdapwSJx+ci0M6OLPgQgm01YD18daYSS6WB+1VRtuaUBlFtPEIixIl sGqBxbGbF97Q6UHi4be0Xd/qPSbUxba57sOvIfZRYYsXqrK+0kVEC7ZGd7BYEzO78Zz9 kcBw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j12si35680889pgp.261.2019.08.14.04.54.22; Wed, 14 Aug 2019 04:54:39 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727010AbfHNLwa (ORCPT + 99 others); Wed, 14 Aug 2019 07:52:30 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:32990 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726230AbfHNLwa (ORCPT ); Wed, 14 Aug 2019 07:52:30 -0400 X-UUID: a4df54e80d774f549f332572e73bbba6-20190814 X-UUID: a4df54e80d774f549f332572e73bbba6-20190814 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0707 with TLS) with ESMTP id 1127642859; Wed, 14 Aug 2019 19:52:20 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 14 Aug 2019 19:52:24 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 14 Aug 2019 19:52:23 +0800 Message-ID: <1565783543.7006.8.camel@mtkswgap22> Subject: Re: [PATCH v2 9/10] dt-bindings: pwm: update bindings for MT7628 SoC From: Ryder Lee To: Sam Shih CC: Rob Herring , Mark Rutland , Matthias Brugger , Thierry Reding , John Crispin , , , , Date: Wed, 14 Aug 2019 19:52:23 +0800 In-Reply-To: <1565779497-23621-2-git-send-email-sam.shih@mediatek.com> References: <621e49c01b943edb6ddac9182f34719eb0727f01.1548313019.git.ryder.lee@mediatek.com> <1565779497-23621-2-git-send-email-sam.shih@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2019-08-14 at 18:43 +0800, Sam Shih wrote: > From: sam shih > > This updates bindings for MT7628 pwm controller. > > Signed-off-by: Sam Shih > --- > .../devicetree/bindings/pwm/pwm-mediatek.txt | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt b/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt > index c7bd5633d1eb..9d2d893a07ff 100644 > --- a/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt > +++ b/Documentation/devicetree/bindings/pwm/pwm-mediatek.txt > @@ -21,6 +21,8 @@ Required properties: > - pinctrl-0: One property must exist for each entry in pinctrl-names. > See pinctrl/pinctrl-bindings.txt for details of the property values. > - num-pwms: the number of PWM channels. > + - clock-frequency: fix clock frequency, this is an optional property, only use in MT7628 SoC > + for period calculation. This SoC has no complex clock tree. Optional properties: - clock-frequency: ... > Example: > pwm0: pwm@11006000 { > @@ -40,3 +42,13 @@ Example: > pinctrl-0 = <&pwm0_pins>; > num-pwms = <5>; > }; Add a blank here > +MT7628 Example: > + pwm: pwm@5000 { > + compatible = "mediatek,mt7628-pwm"; > + reg = <0x5000 0x1000>; > + #pwm-cells = <2>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pwm0_pins>, <&pwm1_pins>; > + num-pwms = <4>; > + clock-frequency = <100000>; > + };