Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1921592ybe; Tue, 3 Sep 2019 05:38:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1YdOet+c1ktTEJ7q5RrRJ8T6ZIsYx8MTaTt6wlYaXHi9NbRONrMKpqeLXzTv4kvVYWapJ X-Received: by 2002:a17:90a:feb:: with SMTP id 98mr17606297pjz.55.1567514288933; Tue, 03 Sep 2019 05:38:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567514288; cv=none; d=google.com; s=arc-20160816; b=rVIBz7NIAeYIufuVpu7MAu0GlMwAur3KTIG3krswgHqzkeCzvSjOAJe/hpw0Y7papC BSWZ3pGPiUXzVQblSNkD8Yj9zTa4cbLq5QxDY+KeZW5UEn5p5yE6vErAqB/uEkN4PCw7 hpE9M6zir5wh27JtDjlfpiOJK65V1f5nEbunPDHzM5G4tdhGGYlZjjGKvgbuNW6LtxDO i8y+du0px6JTiKqLmav3DBbRdOA7eZzgwEYLrTd0i07+BywzjlYRMw1ueqzjTdKwNpun zNMFt4bXXhuGAC7ZK3AS64zJVMhtZ7bYALNf0qCxxQaJO37fn3NBNtkHuHjcgF8BeX8p cpyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=gVfdFcq47ytYFFh9RnR9IQKNU6Nhb+U1A4Kkw1nSTV8=; b=mhS2Kx7hikHk5L7EyNP8X+PTFIEOyJPlltz6AUpr4lmc2npzAnQ7J9vKtMzHf7FnWc DBnYapFJ/DmI4i2sRHbBT9uMnKUagMPvE9GTXH5lmIHKwwoh1hd1inNcIFl3Oe1xFfm3 XGQW4Qd7JMB0pq4zDCL/82YgvG+1LyaS0rKGTF2dKJ77XnRfS4wBrMJX4WulafvCY8MK WnHfCVhPk9z0IqYWxARzqFvBoXlLsxWi3zbfTMv5UqtH3Ny7W2IvUe4sensbE8KqOqg5 dtKwL6eCRK6onlWZGV8myBQxx0H2cRM6kc+N4imNQUbzohcvHgi9njYGWj8v1NirmST9 ayAQ== 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 10si13462732pfu.47.2019.09.03.05.37.50; Tue, 03 Sep 2019 05:38:08 -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 S1728860AbfICMhA (ORCPT + 99 others); Tue, 3 Sep 2019 08:37:00 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:58599 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727667AbfICMg7 (ORCPT ); Tue, 3 Sep 2019 08:36:59 -0400 X-UUID: 7669e14dbab141eca1b31623064821ed-20190903 X-UUID: 7669e14dbab141eca1b31623064821ed-20190903 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1725135840; Tue, 03 Sep 2019 20:36:52 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 3 Sep 2019 20:36:51 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 3 Sep 2019 20:36:51 +0800 Message-ID: <1567514210.31403.8.camel@mtksdaap41> Subject: Re: [PATCH V3 08/10] dt-bindings: interconnect: add MT8183 interconnect dt-bindings From: Henry Chen To: Rob Herring CC: Georgi Djakov , Matthias Brugger , Viresh Kumar , Stephen Boyd , Ryan Case , Nicolas Boichat , Fan Chen , James Liao , Weiyi Lu , , , , Date: Tue, 3 Sep 2019 20:36:50 +0800 In-Reply-To: <20190902033045.GA10734@bogus> References: <1566995328-15158-1-git-send-email-henryc.chen@mediatek.com> <1566995328-15158-9-git-send-email-henryc.chen@mediatek.com> <20190902033045.GA10734@bogus> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2019-09-02 at 14:38 +0100, Rob Herring wrote: Hi Rob, > On Wed, Aug 28, 2019 at 08:28:46PM +0800, Henry Chen wrote: > > 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 { > > The EMI is a sub-module in the DVFSRC? This is the DDR controller or > something else? Yes, EMI is a sub-module in the DVFSRC, the EMI through interconnect framework to collect DRAM bandwidth from other device drivers and will send the bandwidth result to DVFSRC driver. > > > > + compatible = "mediatek,mt8183-emi"; > > + #interconnect-cells = <1>; > > + }; > > }; >