Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2220086imm; Tue, 10 Jul 2018 15:45:47 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeifB1naklKjMYn2bLe3ZovitLs6uSVpk0faI2q1bECwBT/VITM8X1Vj8vAESdyTW2VymEe X-Received: by 2002:a63:e318:: with SMTP id f24-v6mr20615971pgh.175.1531262747433; Tue, 10 Jul 2018 15:45:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531262747; cv=none; d=google.com; s=arc-20160816; b=utkW9n0zgEoN/aFJeMUL2nGnQmdojGoJz9qV0GCD6xrrk1fZGef4FJgpt0EuADjD5+ Icl5qMPfkXU4kvIZQKjxLvy23pOHVPNAzTCBsBMZL95rbE88EL2fPxSIOx+eCj19UE2B usUufsIJ1sZP3VqPPKJVc4a4ax3buuxgf7PF5hC+jXTMNLAlF9DpeP/EiYHHfK4R8DRL qPPnrkdlftRAR1NJyyuwbuWpVcb60raLawLfq2+VKtZZvOLzI12w61by0ELu6gmw2Ygg yJs905xhcw02a8JOvTRAbzKOrdvd0G0hazZOqfwAuLbnotuIy8mt2wai2ksYQXfK5L/6 KmiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=VArQud8KYfMjVdJrHxkkOvXx4t4xEHTiSs2W4gYn+VA=; b=q77S9Sxpxy5r6Eebe5MKet9ksBrru5KebENsxOeemR9Yc6YVadimlHUdyVeVELPSJD Ix9NQDSeOO9n2LOc+nxRwib1X0Do+OdD23vDoKcnTZM+UkJxm1ujC1Ho8EXgWYO4E/gi Ph1+M/tlJ38NBJUV9apPiA7rpSpEMYNgc+CkTbPmHTnKGRCqwwJbVdAwRGP9RUkhvUp3 poX0tyaC8F3Q7pU+LqlrZBphUSkAR8TyE2S0RN1Hs9z8s/eGHokq4w+T/UcChNg4BYnp wwlRHuO2b6EaT6cT5ki9Rtbyu3dpltkTDyLeNX7m0FWT68wzPEucE3hrf1+CXd10CVii NO4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=aviucKNn; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y86-v6si626866pfi.195.2018.07.10.15.45.32; Tue, 10 Jul 2018 15:45:47 -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=@chromium.org header.s=google header.b=aviucKNn; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732659AbeGJWoQ (ORCPT + 99 others); Tue, 10 Jul 2018 18:44:16 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:37007 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732242AbeGJWoP (ORCPT ); Tue, 10 Jul 2018 18:44:15 -0400 Received: by mail-lj1-f193.google.com with SMTP id v9-v6so7634118ljk.4 for ; Tue, 10 Jul 2018 15:43:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VArQud8KYfMjVdJrHxkkOvXx4t4xEHTiSs2W4gYn+VA=; b=aviucKNn7cgNnDPiFH43MUb9PE/5bOvPOcbAIbP9TG8NPCalydSbbmE4/2aYnc5zRA RdgReLNVEeUsb1h7LuQF1+wO2Mo+yRkFuKNY6YbOYEjuL3pK+V+jtXC+ubBzCr48AANf XPpryHBgdXU9nOBdeq7EAXrzSmpHjqNpA8Djc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VArQud8KYfMjVdJrHxkkOvXx4t4xEHTiSs2W4gYn+VA=; b=PWYzBSb+ss1kkO8tpHL3qPpuiVfhdR95n1W2PGHfs9SKsJYZBwpUMZlxlWPrGAvJ0r hjqznI5YK50g4oYJdBluqoFlZKDMYC9Y3PShVR4sYs47nT5XZxyeJmXNoDoNCXmKLqr7 fvFWf33IrV+mxmqTU6uTKjPccn2PL3OOjvp4IeDo+QDxmPX0jSPB/9m3Hbulgg7lSlMu CoAi8m1sUtFgRvYxN9WqzKGdTCprxO5c6AufCbBUXUh1gErY7a9jmWotJiKArJa4XTTx y8l8uTJ8YBibdl3vvdC6TWqFr33a881ib2qMUBsBSMuBTzupIkXMSuB8PQ6pseGVwlfl KY8g== X-Gm-Message-State: APt69E1UKk/M6Yiqg5xX2zNWZdPNIUs31Lf67gwk1MVLXAVIets1+l07 9dSCe/NIZojSi8SYgYGq7P4X45R5IIE= X-Received: by 2002:a2e:5f5b:: with SMTP id t88-v6mr17047519ljb.140.1531262579100; Tue, 10 Jul 2018 15:42:59 -0700 (PDT) Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com. [209.85.215.48]) by smtp.gmail.com with ESMTPSA id g2-v6sm4036434lfb.52.2018.07.10.15.42.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jul 2018 15:42:59 -0700 (PDT) Received: by mail-lf0-f48.google.com with SMTP id b22-v6so7246033lfa.3 for ; Tue, 10 Jul 2018 15:42:58 -0700 (PDT) X-Received: by 2002:a19:d405:: with SMTP id l5-v6mr3957382lfg.28.1531262127467; Tue, 10 Jul 2018 15:35:27 -0700 (PDT) MIME-Version: 1.0 References: <20180709155104.25528-1-georgi.djakov@linaro.org> <20180709155104.25528-8-georgi.djakov@linaro.org> In-Reply-To: <20180709155104.25528-8-georgi.djakov@linaro.org> From: Evan Green Date: Tue, 10 Jul 2018 15:34:51 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 7/8] dt-bindings: Introduce interconnect consumers bindings To: georgi.djakov@linaro.org Cc: linux-pm@vger.kernel.org, gregkh@linuxfoundation.org, rjw@rjwysocki.net, robh+dt@kernel.org, Michael Turquette , khilman@baylibre.com, Alexandre Bailon , Vincent Guittot , Saravana Kannan , Bjorn Andersson , amit.kucheria@linaro.org, seansw@qti.qualcomm.com, daidavid1@codeaurora.org, mka@chromium.org, mark.rutland@arm.com, lorenzo.pieralisi@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, tfiga@chromium.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 9, 2018 at 8:51 AM Georgi Djakov wrote: > > Add documentation for the interconnect consumer bindings, that will allow > to link a device node (consumer) to its interconnect controller hardware. > > Tha aim is to enable drivers to request a framework API to configure an > interconnect path by providing their struct device pointer and a name. > > Signed-off-by: Georgi Djakov > --- > .../bindings/interconnect/interconnect.txt | 27 +++++++++++++++++++ > 1 file changed, 27 insertions(+) > > diff --git a/Documentation/devicetree/bindings/interconnect/interconnect.txt b/Documentation/devicetree/bindings/interconnect/interconnect.txt > index 6e2b2971b094..0ad65dccbe8b 100644 > --- a/Documentation/devicetree/bindings/interconnect/interconnect.txt > +++ b/Documentation/devicetree/bindings/interconnect/interconnect.txt > @@ -31,3 +31,30 @@ Example: > clocks = <&rpmcc RPM_SMD_SNOC_CLK>, > <&rpmcc RPM_SMD_SNOC_A_CLK>; > }; > + > + > += interconnect consumers = > + > +The interconnect consumers are device nodes which consume the interconnect > +path(s) provided by the interconnect provider. There can be multiple I wonder if this sentence could be more descriptive. Maybe something like: The interconnect consumers are device nodes which dynamically express their bandwidth requirements along interconnect paths they are connected to. ...or choose a better one if this one's a mouthful. > +interconnect providers on a SoC and the consumer may consume multiple paths > +from different providers depending on use case and the components it has to > +interact with. > + > +Required properties: > +interconnects : Pairs of phandles and interconnect provider specifier to denote > + the edge source and destination ports of the interconnect path. > + > +Optional properties: > +interconnect-names : List of interconnect path name strings sorted in the same > + order as the interconnects property. Consumers drivers will use > + interconnect-names to match interconnect paths with interconnect > + specifiers. > + > +Example: > + > + sdhci@7864000 { > + ... > + interconnects = <&pnoc MASTER_SDCC_1 &bimc SLAVE_EBI_CH0>; > + interconnect-names = "ddr"; > + };