Received: by 10.192.165.148 with SMTP id m20csp435700imm; Fri, 27 Apr 2018 01:16:17 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqd6nL5166T1rQe5gm+ia5mFcMiS5Ffd5Y/b7nRKxtM2EcLuRHu7mpGHwVvsFHpyXXMBpyK X-Received: by 2002:a65:5b8a:: with SMTP id i10-v6mr1299887pgr.431.1524816977378; Fri, 27 Apr 2018 01:16:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524816977; cv=none; d=google.com; s=arc-20160816; b=pqCz0UIoL8asxQOLSjDD34NzrWNpLigSDXsp7KkQkEwyI5PKwR4DBuXQMUvNB9oCu1 jR5jYsus2jl9P0HshEbVbJZhkIUijaodaWoGvPk7hsz7/fGd/cNF00dbnreBmIhSNXUk NILRVR2xS0I2LcXXe54Zm1mtCUp1Wu40Sp2qU5RKT+3GBqgO3qtqDg1zGpS64WOHvQqD UuEXRSzXACVQmOPU/PdC5q2jf324UoXnQyCSLc1vePQLf5slb9ZyaiDfCSYgCbGmHHWf qNNo8K5HXx44GJGuLhFX6HeGdFlYUxkIbDNR0pX6XyD3jTOQtVa2juc9DB9OXsub4dd6 093A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=52Xi81njFMNSvCdbY8KC8rtw2/PtgW3lpb991FuRKiM=; b=Xq6JMcjzeC9/SYMSFCcZwYNYQvnYY+Z377e8m8aB5zW+XlLYhoCTLAY5vcPDTxrS8d fwQZvHSfBpSu7RnOaQav7S+A+BsCMF/u60nZlrLPl4KdtuDDWCFwQbyGFtMgRrGcSHpH TcVJMqKbaL2SS1hMQB/MVTx1uEBiheuwZ1PikXaA3Q9Ca/xvevoZwpQNB29UlIMUU9EV QeZ15RRDbwqpoRXmaWX5mzumWkasAQcIFnga8JYujAv673PuFis9hWMnTzyBKx/Q7DxD RSN77Y0wCFPWKzXuKYmFBF4IcqAZiQiysFm4OhxIZHnTdL8mgL2d7vaxvI62ezwgXMcb kWpg== 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 u13-v6si780309pgq.469.2018.04.27.01.16.03; Fri, 27 Apr 2018 01:16:17 -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 S1757682AbeD0IO4 (ORCPT + 99 others); Fri, 27 Apr 2018 04:14:56 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:16422 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1757593AbeD0IOx (ORCPT ); Fri, 27 Apr 2018 04:14:53 -0400 X-UUID: ca02fbf927fc40ed8afd4f71dffb025b-20180427 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 534401716; Fri, 27 Apr 2018 16:14:50 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 27 Apr 2018 16:14:48 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Fri, 27 Apr 2018 16:14:48 +0800 From: To: , , , , , CC: , , , , , Sean Wang Subject: [PATCH v2 2/6] dt-bindings: clock: mediatek: add g3dsys bindings Date: Fri, 27 Apr 2018 16:14:43 +0800 Message-ID: <665c38d5803573aa9a01471253f406301b1123a1.1524816502.git.sean.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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..7de43bf --- /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-g3dsys", "mediatek,mt2701-g3dsys", "syscon": + for MT7623 SoC +- #clock-cells: Must be 1 +- #reset-cells: Must be 1 + +The g3dsys 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