Received: by 10.192.165.148 with SMTP id m20csp4812288imm; Tue, 24 Apr 2018 08:47:27 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/rPywBbyel0QAv96418PehmWUy5gGy+0qSeNrCsh7kqv7IzJbc9yc+5KJ6vsm8x0hMGPLF X-Received: by 10.98.104.199 with SMTP id d190mr24202244pfc.111.1524584847603; Tue, 24 Apr 2018 08:47:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524584847; cv=none; d=google.com; s=arc-20160816; b=rhV3fb28ubg8aR0/Z7s/Anas1buP0xrhSyOOd0BKiJ5SsOzd6Sy4/GXNZ+yPSBaZGk eFY1wbCDHfDLnFBfkXdGe4AuymYQSIvtIqdTMtxXznLwYVws2AFSwZFhOe+gboH4Br5P w6G0I1Z051Gbp/TkeyzvwwKX89/eR15D0vSmF0aVBuZjnPPQQO3yYDBIJScD9mTETFxX vhweikxNpOahtue7W1cFjkCUbfitejD0sr7bsRWSG3hw9JZYmRDmszfCPAHQmEP4bY2U Y4oY5JCfQlwsPCsdoA1mVsFbC8pwkfeYxi5j0Ag1yy8C0UkCWhq2TdAdEihMM2286wuY lU0A== 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 :arc-authentication-results; bh=9MBky5KRSUbIOXlfu2budkXwW/5ULuUmgC6LYSMUeic=; b=mzDUtv6xMEWR70dqmdWC26Hq43Sccw1kJjP+NgYmYvSXl9BP6RexT8fq9VLnnAXJ3n J3QSnGNQjRy5s8tO1SFuC/jScoBTxfjHxbjMrYymGfe0eTJM3pHZ5Yel5nPvorS3g8hg /gSv+XwqNti4kFnvlkif3EuaNbVMFKqcrA0N5QqvHKAIRUNvrErXPPgxf2yfouzdrjhu KjxVqNopW2jmGGOPqe+atTB40NxWfDRKKwb2eugY/XAdg2tt6ej11TlIa+UJbmQsDOoK vU16LZJzvFgzAJ1eYKTxm0DGN8eu6BpjJLTTSqaGXq9Vckhf5iVamnhFsBu3G6Jgl8T2 468A== 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 a9si11476436pgf.259.2018.04.24.08.47.11; Tue, 24 Apr 2018 08:47:27 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751445AbeDXPpp (ORCPT + 99 others); Tue, 24 Apr 2018 11:45:45 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:50895 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750995AbeDXPpn (ORCPT ); Tue, 24 Apr 2018 11:45:43 -0400 X-UUID: ce1a7e9ba7294b819d4ae2932184b164-20180424 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 266742788; Tue, 24 Apr 2018 23:45:40 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkexhb02.mediatek.inc (172.21.101.103) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 24 Apr 2018 23:45:38 +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.1210.3 via Frontend Transport; Tue, 24 Apr 2018 23:45:38 +0800 Message-ID: <1524584738.12322.17.camel@mtkswgap22> Subject: Re: [PATCH v1 2/4] dt-bindings: clock: mediatek: add g3dsys bindings From: Sean Wang To: Rob Herring CC: , , , , , , , , , , Date: Tue, 24 Apr 2018 23:45:38 +0800 In-Reply-To: <20180424143907.eewrpzdmkhhux3lb@rob-hp-laptop> References: <4b5d243d33433f83874359794b796d4228574714.1524044917.git.sean.wang@mediatek.com> <20180424143907.eewrpzdmkhhux3lb@rob-hp-laptop> 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 Tue, 2018-04-24 at 09:39 -0500, Rob Herring wrote: > On Wed, Apr 18, 2018 at 06:24:54PM +0800, sean.wang@mediatek.com wrote: > > From: Sean Wang > > > > Add bindings to g3dsys providing necessary clock and reset control to > > Mali-450. > > > > Signed-off-by: Sean Wang > > --- > > .../bindings/arm/mediatek/mediatek,g3dsys.txt | 30 ++++++++++++++++++++++ > > 1 file changed, 30 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,g3dsys.txt > > > > diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,g3dsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,g3dsys.txt > > new file mode 100644 > > index 0000000..ff2d70c > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,g3dsys.txt > > @@ -0,0 +1,30 @@ > > +MediaTek g3dsys controller > > +============================ > > + > > +The MediaTek g3dsys controller provides various clocks and reset controller to > > +the GPU. > > + > > +Required Properties: > > + > > +- compatible: Should be: > > + - "mediatek,mt2701-g3dsys", "syscon": > > + for MT2701 SoC > > + - "mediatek,mt7623-ethsys", "mediatek,mt2701-g3dsys", "syscon": > > + for MT7623 SoC > > ethsys? > thanks! I'll also fix it up in the next version. > > +- #clock-cells: Must be 1 > > +- #reset-cells: Must be 1 > > + > > +The ethsys controller uses the common clk binding from > > +Documentation/devicetree/bindings/clock/clock-bindings.txt > > +The available clocks are defined in dt-bindings/clock/mt*-clk.h. > > + > > +Example: > > + > > +g3dsys: clock-controller@13000000 { > > + compatible = "mediatek,mt7623-g3dsys", > > + "mediatek,mt2701-g3dsys", > > + "syscon"; > > + reg = <0 0x13000000 0 0x200>; > > + #clock-cells = <1>; > > + #reset-cells = <1>; > > +}; > > -- > > 2.7.4 > >