Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp793760ybl; Wed, 28 Aug 2019 05:31:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTKNL41Xdw8mEV1gowaYvtgrAmigpJk8gZuZ07/rIY7Cf0mXWip9muXoeXxj+BhWWt+P78 X-Received: by 2002:aa7:946d:: with SMTP id t13mr4474457pfq.121.1566995497886; Wed, 28 Aug 2019 05:31:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566995497; cv=none; d=google.com; s=arc-20160816; b=nolq0VNEAP9aQDHhnucDjPz0vWIKtmECtmpFhV/zw09eL7CaCyNZiGO7wokbbsZlwH IxY81O0jjjLSpwbrEzD9UnLxhifaQO8ya6AetOTFOU+OqPQX9Tre0w42nHh3jOQ/DRUr /UBu7UQtBA9If3LSW/K76kDVIOKSfcYPmAxE6eipefoOrsUoV/HbHLUcEokPhQnW5MY6 mMMwtSXJ15Xf1G2jURLvkXcPyXQqwJXR5ylygo4ck4cfLsF+Df+7XOFmV68tkU04/bb/ D0o+AjVIV8gXaf0Af+/40hipfIBNjVW8x2ym1oQVhKOLz1CJ87ZKdBSyeWnvprOMdqAe 9pFQ== 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; bh=kz2guvf+b0kQs3lRAZrdSgHrar7KHJAu5BzMHk0z5MY=; b=egDxRArITv1XWR5585USUFb0BG8QrUlLbIKhxHgYsihT9f2jCxGpuJwiUP0Es05zwq 6qeXMbOKvVbLX7Q5FQAGE26kpOBC6ED3LogXzE1fePnDoJeYnax00VSoUsXJRmXPhtjn aG6RJpEwUjexq//omawd8mno+WI6a72hLWb/XHbZK0Nbz5zKiSfENyF9x2INBaFI8tPV mGqat0T3TPhPuGhtsHOucUbP+naj8QW6GTPsy2EpBew32pA3fccVB/mxeizzIQ1LaMvn yNeIkSbHyzwq6hPpfnCGHY9zLStp82k9Z3jPFf7yU8m/FeJPvN6t7JDuOjr12Olvo6EJ 2xHQ== 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 70si1809851ple.282.2019.08.28.05.31.16; Wed, 28 Aug 2019 05:31:37 -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 S1726882AbfH1M3i (ORCPT + 99 others); Wed, 28 Aug 2019 08:29:38 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:46449 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726270AbfH1M27 (ORCPT ); Wed, 28 Aug 2019 08:28:59 -0400 X-UUID: 06d2629ad2c848d3b9bc98993c7ad187-20190828 X-UUID: 06d2629ad2c848d3b9bc98993c7ad187-20190828 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 207115948; Wed, 28 Aug 2019 20:28:52 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 28 Aug 2019 20:28:59 +0800 Received: from mtksdaap41.mediatek.inc (172.21.77.4) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 28 Aug 2019 20:28:59 +0800 From: Henry Chen To: Georgi Djakov , Rob Herring , Matthias Brugger , Viresh Kumar , Stephen Boyd , Ryan Case CC: Nicolas Boichat , Fan Chen , James Liao , Weiyi Lu , , , , , Henry Chen Subject: [PATCH V3 08/10] dt-bindings: interconnect: add MT8183 interconnect dt-bindings Date: Wed, 28 Aug 2019 20:28:46 +0800 Message-ID: <1566995328-15158-9-git-send-email-henryc.chen@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1566995328-15158-1-git-send-email-henryc.chen@mediatek.com> References: <1566995328-15158-1-git-send-email-henryc.chen@mediatek.com> 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 Add interconnect provider dt-bindings for MT8183. Signed-off-by: Henry Chen --- .../devicetree/bindings/soc/mediatek/dvfsrc.txt | 9 +++++++++ include/dt-bindings/interconnect/mtk,mt8183-emi.h | 18 ++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 include/dt-bindings/interconnect/mtk,mt8183-emi.h diff --git a/Documentation/devicetree/bindings/soc/mediatek/dvfsrc.txt b/Documentation/devicetree/bindings/soc/mediatek/dvfsrc.txt index 7f43499..da98ec9 100644 --- a/Documentation/devicetree/bindings/soc/mediatek/dvfsrc.txt +++ b/Documentation/devicetree/bindings/soc/mediatek/dvfsrc.txt @@ -12,6 +12,11 @@ Required Properties: - clock-names: Must include the following entries: "dvfsrc": DVFSRC module clock - clocks: Must contain an entry for each entry in clock-names. +- #interconnect-cells : should contain 1 +- interconnect : interconnect providers support dram bandwidth requirements. + The provider is able to communicate with the DVFSRC and send the dram + bandwidth to it. shall contain only one of the following: + "mediatek,mt8183-emi" Example: @@ -20,4 +25,8 @@ Example: reg = <0 0x10012000 0 0x1000>; clocks = <&infracfg CLK_INFRA_DVFSRC>; clock-names = "dvfsrc"; + ddr_emi: interconnect { + compatible = "mediatek,mt8183-emi"; + #interconnect-cells = <1>; + }; }; diff --git a/include/dt-bindings/interconnect/mtk,mt8183-emi.h b/include/dt-bindings/interconnect/mtk,mt8183-emi.h new file mode 100644 index 0000000..2a54856 --- /dev/null +++ b/include/dt-bindings/interconnect/mtk,mt8183-emi.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __DT_BINDINGS_INTERCONNECT_MTK_MT8183_EMI_H +#define __DT_BINDINGS_INTERCONNECT_MTK_MT8183_EMI_H + +#define MT8183_SLAVE_DDR_EMI 0 +#define MT8183_MASTER_MCUSYS 1 +#define MT8183_MASTER_GPU 2 +#define MT8183_MASTER_MMSYS 3 +#define MT8183_MASTER_MM_VPU 4 +#define MT8183_MASTER_MM_DISP 5 +#define MT8183_MASTER_MM_VDEC 6 +#define MT8183_MASTER_MM_VENC 7 +#define MT8183_MASTER_MM_CAM 8 +#define MT8183_MASTER_MM_IMG 9 +#define MT8183_MASTER_MM_MDP 10 + +#endif -- 1.9.1