Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp397053yba; Fri, 5 Apr 2019 08:48:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqwvQDUzje49oehHlynQqFOW8yqE8o7c39TPRocr7fi2fvarcPI59Uo2wqUGe7/Xr2Pe5S/b X-Received: by 2002:a17:902:7044:: with SMTP id h4mr13749497plt.274.1554479310852; Fri, 05 Apr 2019 08:48:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554479310; cv=none; d=google.com; s=arc-20160816; b=B+Ps2BjrJGx8UNYZX8862zi0KAwILBkEFhO+RZNstdJHRM3qBprZRYDoGqWCsJLJAB jfNQSCk017moGTnS+UOXFcw6iHlrQ3eoa8CQ5a+nz0Iq5Zik2okGxK1y6jmL344Kpf+K 8Ch7k8/R8I7Hgoau12rZyavLPcKo2IGIYIAbN9Sa2t0XHdVAYHKP8KynjTzhC826nPe+ FT1SCAy7kWh9EelF6bXkCRfNetlj9BITmk59KuFz3CO3AEtFMkKcCzRkRvSqlA++8q74 yTBOkFP8ske6Sg0FCrTYWxnu4iZHFl/huJLm0bqzzrbJgg46/6C/WmRwd3HAsNj5ImrE gTsg== 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 :content-language:in-reply-to:mime-version:date:message-id:autocrypt :openpgp:from:references:cc:to:subject:dkim-signature; bh=ehJt99eJpY8nkQ0hoktuTKxGJ3XNJVUyU/PWnVd8elw=; b=F1VJG7eHDyD/zwUF6/EguxoYUwmhDB+fjYOr31Tgf5SMluJKdOGWdz5KJ/6DHMObGR W4uedA0nSAK0p/tegtoW+2jcly2LMSi3KQmcFq/jIV0spwi8zZq3JOzDG4LKe/hfXh/T QM6u7sdwgBSSXICeBIW0t0DIv0bYtvannGDdOmtwJPCBU5L8sdjusXj7AJ0g+z7YhjQ0 FEh8aEJzYuaFSmyRI7JZ7NxDpyAgoVWE/xE3hRAjcK/uSGaZnY7fqEPdWX2jQgzThwIw WVAK7+kIkygLvbDBtzwGUJa+sFbgzKm+7BdeLvckVG6AC1pGhvOJABVPUKPoMa5clbNK BZNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UFnv+2F1; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u10si13328166pga.205.2019.04.05.08.48.14; Fri, 05 Apr 2019 08:48:30 -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; dkim=pass header.i=@linaro.org header.s=google header.b=UFnv+2F1; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731455AbfDEPqz (ORCPT + 99 others); Fri, 5 Apr 2019 11:46:55 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:43543 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726643AbfDEPqz (ORCPT ); Fri, 5 Apr 2019 11:46:55 -0400 Received: by mail-lf1-f67.google.com with SMTP id g7so4702720lfh.10 for ; Fri, 05 Apr 2019 08:46:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ehJt99eJpY8nkQ0hoktuTKxGJ3XNJVUyU/PWnVd8elw=; b=UFnv+2F1/maoQV9Rb60WyQR2Oy2ItCHpG9hQRWV5iW6adeq0p1+bvPAYbKU+H4FPHJ 6ePD9/AOMZDkGJsVMFxKJRvkS/NATIz48JxMO5/7vtrlhT7ohzKEdbu7mkn+1d3kZ3l5 +QTyDY6X2RgBGqNK8RSspbE3+rDozr/YWeM8sejWbA+TETDDlDIwGBBDrWuiNDVNuH0t OdHFERWR7FVtjMC8ZzyXwSvNLnojllu+JYdzHWQyLMwC3Kj5NjNng+isTQ4z3F+ZCL0s 3pLRaUlqmt//Zl/vsFpiyz3iDFO42rHPTx2lR+6yvdlqzOamqwG72e8z4JyevsF1uYkH ylIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ehJt99eJpY8nkQ0hoktuTKxGJ3XNJVUyU/PWnVd8elw=; b=gfjO3GDvUVD1lB+Jd4rsquyywhiD0g1ZUlrY7CRuiiAoYU7a5g94nt8aLzRQHEycbT qsy8YQREa5bZ6X4PxW6BpCdnIaooGsUBuSCoLA/NZhhUOs2BPdAtiCC/eGqBgszLrLei eYpvZMp2G3HuNPMXjVN9DIh7kLEoV5U6TFx6ggQN5mC9nRu0zR/S50T6RSMZECZw3QMg 8+VfsCwr/RyhTMdGtzsij9hlB+na5KMHbNnyvigI+A+2+okhyIA9qX1gHq7lrKQKpSgG gc0xPXAucWF2jaWQB7ILUEetu4H2BK5RiKFdgjz6RnDUIDU6czfwshSMgwjBIJRvcpNm rZXQ== X-Gm-Message-State: APjAAAWzyraQMqSrRzcjkpJ+Qic/4hA06bju+FBhodpyy9B9SZdyCuAj HxeMZUm+JDqIi2Xfsy8Ckc8TxA== X-Received: by 2002:a19:7916:: with SMTP id u22mr7344861lfc.144.1554479212547; Fri, 05 Apr 2019 08:46:52 -0700 (PDT) Received: from [10.44.66.8] ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id f4sm4875609ljg.37.2019.04.05.08.46.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Apr 2019 08:46:51 -0700 (PDT) Subject: Re: [PATCH 1/3] dt-bindings: interconnect: Add Qualcomm QCS404 DT bindings To: Bjorn Andersson Cc: robh+dt@kernel.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 References: <20190405035446.31886-1-georgi.djakov@linaro.org> <20190405035446.31886-2-georgi.djakov@linaro.org> <20190405143254.GM1843@tuxbook-pro> From: Georgi Djakov Openpgp: preference=signencrypt Autocrypt: addr=georgi.djakov@linaro.org; prefer-encrypt=mutual; keydata= mQINBFjTuRcBEACyAOVzghvyN19Sa/Nit4LPBWkICi5W20p6bwiZvdjhtuh50H5q4ktyxJtp 1+s8dMSa/j58hAWhrc2SNL3fttOCo+MM1bQWwe8uMBQJP4swgXf5ZUYkSssQlXxGKqBSbWLB uFHOOBTzaQBaNgsdXo+mQ1h8UCgM0zQOmbs2ort8aHnH2i65oLs5/Xgv/Qivde/FcFtvEFaL 0TZ7odM67u+M32VetH5nBVPESmnEDjRBPw/DOPhFBPXtal53ZFiiRr6Bm1qKVu3dOEYXHHDt nF13gB+vBZ6x5pjl02NUEucSHQiuCc2Aaavo6xnuBc3lnd4z/xk6GLBqFP3P/eJ56eJv4d0B 0LLgQ7c1T3fU4/5NDRRCnyk6HJ5+HSxD4KVuluj0jnXW4CKzFkKaTxOp7jE6ZD/9Sh74DM8v etN8uwDjtYsM07I3Szlh/I+iThxe/4zVtUQsvgXjwuoOOBWWc4m4KKg+W4zm8bSCqrd1DUgL f67WiEZgvN7tPXEzi84zT1PiUOM98dOnmREIamSpKOKFereIrKX2IcnZn8jyycE12zMkk+Sc ASMfXhfywB0tXRNmzsywdxQFcJ6jblP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ql1omgEpjnFsPsyFebzcKGbdEr6vySGa3Cof+miX06hQXKe99a5+eHNhtZJcMAIO89wZmj 7ayYJIXFqjl/X0KBcCbiAl4vbdBw1bqFnO4zd1lMXKVoa29UHqby4MPbQhjWNVv9kqp8A39+ E9xw890l1xdERkjVKX6IEJu2hf7X3MMl9tOjBK6MvdOUxvh1bNNmXh7OlBL1MpJYY/ydIm3B KEmKjLDvB0pePJkdTw== Message-ID: <9ee2c9b2-f201-abfb-be60-180befa9dc6d@linaro.org> Date: Fri, 5 Apr 2019 22:46:39 +0700 MIME-Version: 1.0 In-Reply-To: <20190405143254.GM1843@tuxbook-pro> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, On 4/5/19 21:32, Bjorn Andersson wrote: > On Fri 05 Apr 10:54 +07 2019, 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 >> --- >> .../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..2ea63ea827d7 >> --- /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" > > As this is a hardware block available in mmio register space I think you > better represent this on the mmio (soc) bus - and then represent the > link to rpm as a child node of the rpm. The mmio register space is not used for expressing bandwidth needs, but contains mostly QoS related stuff. We do not support QoS for now and that's why i haven't included it. When we decide to support QoS, we can add the nodes for the QoS registers and then reference them with some DT property like qcom,qos = <&bimc_qos>; Thanks, Georgi > > Apart from that this looks good. > > Regards, > Bjorn > >> + "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 { >> + 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>; >> + }; >> + }; >> +};