Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4184939yba; Mon, 29 Apr 2019 15:19:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqxsZBek+wKRnubyJdW1/UmJy2bM0+Ph1jDZjeMoZQBDejBrxXceNgQ7UFCRyFiQqxlEagiI X-Received: by 2002:aa7:8453:: with SMTP id r19mr66365591pfn.44.1556576372123; Mon, 29 Apr 2019 15:19:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556576372; cv=none; d=google.com; s=arc-20160816; b=v0UAAYZZXHG4/gjD7NnyFCMoXij238oBX9N5bcCCJ8fVX3GptM/HuOJKwX4Bs78OGu UwO4oOSZ/Pfp+iWtelstEYvhmeYvpcE5Ctvv5CyYwCrpzITrahWB1cHj6rB7nPDuu3yw hHuWuz40Kp9Jssp0nosj6/+ysvdhqCgKWySjUBNRAs4uFvbOzwKiwmyNxy6JvqA+HRcS IL/niG5Cniym+LFk3OJlpOuf1RyyfjsJfOzVyGO37coSSlvsOeFsqTG86aGjkWo5yRBk emAvJbTpJmZXBneHuiXzU4sMAj7ck2Ls1uECliJu0NVnxZ27guwcn+4ULzAcm6tg2bGn qm5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=LLSomgcidVOLTe6rCarJcZL8h/0AxpVsGlwcNcgeIZc=; b=prol2voznvasErAF29saK4udc+CmJw5VMQHkgjQNlvtmKHYWRm7prNUhcXzyZS6yFq jrvOiLE+potz58v3v97MyEcHRsT9FbGqNDcON3KRIXcyVBTXC1o86lTQGhCipuy7a5/o lF8k1yb8WL56HiluaZKvUfta0rEsrVf2MzL9FzXrhIT8zct9vO8ctyJYtNs+E8qtriBi M0Wv1jbWZnjLLeek3EEZrt3A+fNhgOQaahFM9+uTVU/nPenx3LXOPMnLna0nA2n2xOS9 qUq/TYok/isQb6o3CwUvjAvlZk4xObo8y/67+fQ5yod1ICT0OLWMxWO24BUy2fhqMqZv E3oQ== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5si35465521plx.407.2019.04.29.15.19.08; Mon, 29 Apr 2019 15:19:32 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729552AbfD2WQ6 (ORCPT + 99 others); Mon, 29 Apr 2019 18:16:58 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:41986 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728105AbfD2WQ6 (ORCPT ); Mon, 29 Apr 2019 18:16:58 -0400 Received: by mail-oi1-f193.google.com with SMTP id k9so6647688oig.9; Mon, 29 Apr 2019 15:16:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=LLSomgcidVOLTe6rCarJcZL8h/0AxpVsGlwcNcgeIZc=; b=GplGoXfyHoTS1OA2KkHJwgAxUwRTMZ0mm76vDcIc9zn/55cpVVeSbDMN36ZcLEkduS 1BfSZ2pskPu+Kv1WST0Z39+e45U/48zoou2N3TtWMn/K5DFsFow+CDFAeHYJRbLsclmE hxdiZNxuvuRPcYnbJ8tM9pxWeJ0lyfarrxlxVL/I+SvNadBZRRddsDcX9s4Hn/7hoe2I zUSrzm1UdC5R6LbmD+P6sUlSrYaVOKI2bF3OVSmAasMHgJIivy6yK97EBguLbDBcE/JO AWJntVCF0UrBITU0IahPkrSvpSF3l7fPv7C7tSHfdlBGiT13ubGVJ0oLnc0pSIDTstJC 8R7A== X-Gm-Message-State: APjAAAXB+yUJquQ5HmrWi0rWdNq1Eibf4lpdTEWUCUGwyrpU6laRmPif 2wO5/VrUcgMyxn43OMxl0w== X-Received: by 2002:a54:4f15:: with SMTP id e21mr980418oiy.122.1556576217427; Mon, 29 Apr 2019 15:16:57 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id 2sm13926206ots.22.2019.04.29.15.16.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Apr 2019 15:16:56 -0700 (PDT) Date: Mon, 29 Apr 2019 17:16:56 -0500 From: Rob Herring To: Georgi Djakov Cc: bjorn.andersson@linaro.org, vkoul@kernel.org, evgreen@chromium.org, daidavid1@codeaurora.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v2 1/4] dt-bindings: interconnect: Add Qualcomm QCS404 DT bindings Message-ID: <20190429221656.GA1843@bogus> References: <20190415104357.5305-1-georgi.djakov@linaro.org> <20190415104357.5305-2-georgi.djakov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190415104357.5305-2-georgi.djakov@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 15, 2019 at 01:43:54PM +0300, Georgi Djakov wrote: > The Qualcomm QCS404 platform has several buses that could be controlled > and tuned according to the bandwidth demand. > > Signed-off-by: Georgi Djakov > --- > > v2: > - No changes. > > .../bindings/interconnect/qcom,qcs404.txt | 45 +++++++++++++++++++ > 1 file changed, 45 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,qcs404.txt > > diff --git a/Documentation/devicetree/bindings/interconnect/qcom,qcs404.txt b/Documentation/devicetree/bindings/interconnect/qcom,qcs404.txt > new file mode 100644 > index 000000000000..9befcd14a5b5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/interconnect/qcom,qcs404.txt > @@ -0,0 +1,45 @@ > +Qualcomm QCS404 Network-On-Chip interconnect driver binding > +----------------------------------------------------------- > + > +Required properties : > +- compatible : shall contain only one of the following: > + "qcom,qcs404-bimc" > + "qcom,qcs404-pcnoc" > + "qcom,qcs404-snoc" > +- #interconnect-cells : should contain 1 > + > +Optional properties : > +clocks : list of phandles and specifiers to all interconnect bus clocks > +clock-names : clock names should include both "bus_clk" and "bus_a_clk" > + > +Example: > + > +rpm-glink { > + ... > + rpm_requests: glink-channel { > + ... > + bimc: interconnect@0 { Unit-address needs a 'reg' property. dtc should give you a warning (maybe W=1 is still needed). > + compatible = "qcom,qcs404-bimc"; > + #interconnect-cells = <1>; > + clock-names = "bus_clk", "bus_a_clk"; > + clocks = <&rpmcc RPM_SMD_BIMC_CLK>, > + <&rpmcc RPM_SMD_BIMC_A_CLK>; > + }; > + > + pnoc: interconnect@1 { > + compatible = "qcom,qcs404-pcnoc"; > + #interconnect-cells = <1>; > + clock-names = "bus_clk", "bus_a_clk"; > + clocks = <&rpmcc RPM_SMD_PNOC_CLK>, > + <&rpmcc RPM_SMD_PNOC_A_CLK>; > + }; > + > + snoc: interconnect@2 { > + compatible = "qcom,qcs404-snoc"; > + #interconnect-cells = <1>; > + clock-names = "bus_clk", "bus_a_clk"; > + clocks = <&rpmcc RPM_SMD_SNOC_CLK>, > + <&rpmcc RPM_SMD_SNOC_A_CLK>; > + }; > + }; > +};