Received: by 10.213.65.68 with SMTP id h4csp1128603imn; Sun, 18 Mar 2018 16:02:08 -0700 (PDT) X-Google-Smtp-Source: AG47ELt2ZuWNwBnAPeauU1PYJdiPPXxf9akzlWqi6BJ5BTfyM+FQ3WVhanDXjp5OSrpZwEsS8N8p X-Received: by 2002:a17:902:788b:: with SMTP id q11-v6mr10100741pll.234.1521414128348; Sun, 18 Mar 2018 16:02:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521414128; cv=none; d=google.com; s=arc-20160816; b=ZYfo4rkXpLOgJXv8u5B9aD8D47EtexyYsqat9iXwLMn0wWRgoU4WVuUNWClFXsf9Vt RwCHd8yLkYhAUqDMot7bjS+KiTlRx7CMt5dsNMCva0hHXyEq9ZaJX7P8j/voAl99xaun kkB6+2Z3uTcLxg1sw0SKk9IIxe6Bovy5l2zZTENRLuZL0MqK1q0cIQ0HJBwfr111U4XG edoC0z9qdcz8jgm7fWjyvRLYLRgms2ep+EEzYUioOSidEvxZ/S66rcvsd72seA2rMgcJ x9gQZ0hJcgEKLJ2DOMKDsqRgM9toFjxCtkAc2ZT+Ijlw3+2ZB+VbZMBZKXHSJ1iA0JXc 1T2Q== 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:dkim-signature:arc-authentication-results; bh=JSB+aQl9YtatODbtQOJL8q5uG12qf6amy8G1m51kxSk=; b=GGuLCFo3U8ubj4FPR8Sv1bdl4JQBhBWGaJu2n/Xn1fbG5jgtnvaaoNdw+VJmpKrwm0 EecrhtMspNWFXVbcOKNzzdS/5RShMiI2IKXQvHvQ+3djLqVLt2741h6WBjioWRSq8Fkp plfXzcEKYoPKd6O5EbRxDYX2nQVByw250KZDD/PKqFF5WF+AjqmWWUv/yg2hKgg0ltZF Y7n4Fu6x0IdLiUmWR9HDjNM41GDQAEWCFlL+gBoqDAw0d01qVtqPmvQEQujXP01BzI0z q5jE2+c9Ap5ZPBpbZHMrl/eaKdpBmnPL3Z1LH71ddXjsyqPrt5MFMq/QmVGfotiMTPdw 4p7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g0aROU/t; 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 v190si8690630pgb.67.2018.03.18.16.01.54; Sun, 18 Mar 2018 16:02: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; dkim=pass header.i=@linaro.org header.s=google header.b=g0aROU/t; 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 S1755068AbeCRWuC (ORCPT + 99 others); Sun, 18 Mar 2018 18:50:02 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:43932 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755055AbeCRWt7 (ORCPT ); Sun, 18 Mar 2018 18:49:59 -0400 Received: by mail-pl0-f66.google.com with SMTP id f23-v6so9104740plr.10 for ; Sun, 18 Mar 2018 15:49:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=JSB+aQl9YtatODbtQOJL8q5uG12qf6amy8G1m51kxSk=; b=g0aROU/t8aqrA5x06PsI2/kake+W8rFzAnJB4XXEVUYdP3ouyamoD6ttXz2lz6Mu7T lsgFhhObxKgPdtSkqZuQDfADcdTZi2X2Abj3lC719+xubignyJj8Gi4DHrmfZxLLEzy6 wPkbknAQyVKpZdt0u+ST9o2LHzVojlgWIQ4Lk= 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=JSB+aQl9YtatODbtQOJL8q5uG12qf6amy8G1m51kxSk=; b=T5wZSXmz9v0RNaBNwUYzpVjHDtz4GTHjELs84CFak31aLOP4lL7zeDnKICQnEuAD0q 1t0VaCt9Ox0EIUqovqxtHjGk6TTkT/x7ac9GOCb7Pp2L/pMYHzBuoXrIV9+y+qW8stq6 cqCjjbtOtTGl/FdTU1vkV8+eXB5fJYyq19kfcD1UaUVOHFfkR643IbDnIEDJxGh4d0xL eWaH5vNzXbO/dOg4xiASfQ2XncrSrjyAVVgB/Ok66hjk4RIJ9D/WouSa4Hy8f160ZJGQ fhE/X96KKpILRk8FYZhlK3D78jEISpxoztmyQuwYJBytJkHID+PSNkYWSVhCXg0Ag6kF urVw== X-Gm-Message-State: AElRT7EFxNSB2pn8cA+ffOkVTLVEJLCFOPqwO/Ugm7JxiJKbpeREuxjD QPL2T79V2WWTMw8NyR2XQ/6fuw== X-Received: by 2002:a17:902:a24:: with SMTP id 33-v6mr9686382plo.72.1521413398571; Sun, 18 Mar 2018 15:49:58 -0700 (PDT) Received: from tuxbook-pro (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id a3sm25262946pfh.120.2018.03.18.15.49.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 18 Mar 2018 15:49:57 -0700 (PDT) Date: Sun, 18 Mar 2018 15:49:57 -0700 From: Bjorn Andersson To: Georgi Djakov Cc: linux-pm@vger.kernel.org, gregkh@linuxfoundation.org, rjw@rjwysocki.net, robh+dt@kernel.org, mturquette@baylibre.com, khilman@baylibre.com, vincent.guittot@linaro.org, skannan@codeaurora.org, amit.kucheria@linaro.org, seansw@qti.qualcomm.com, davidai@quicinc.com, 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 Subject: Re: [PATCH v4 6/7] dt-bindings: Introduce interconnect consumers bindings Message-ID: <20180318224957.GP5626@tuxbook-pro> References: <20180309210958.16672-1-georgi.djakov@linaro.org> <20180309210958.16672-7-georgi.djakov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180309210958.16672-7-georgi.djakov@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 09 Mar 13:09 PST 2018, 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 | 23 ++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/Documentation/devicetree/bindings/interconnect/interconnect.txt b/Documentation/devicetree/bindings/interconnect/interconnect.txt > index 70612bb201e4..7935abf10c4b 100644 > --- a/Documentation/devicetree/bindings/interconnect/interconnect.txt > +++ b/Documentation/devicetree/bindings/interconnect/interconnect.txt > @@ -45,3 +45,26 @@ Examples: > status = "okay"; > }; > > += interconnect consumers = > + > +The interconnect consumers are device nodes which consume the interconnect > +path(s) provided by the interconnect provider. There can be multiple > +interconnect providers on a SoC and the consumer may consume multiple paths > +from different providers depending on usecase and the components it has to > +interact with. > + > +Required-properties: > +interconnects: Pairs of phandles and interconnect provider specifier to denote > + the source and the destination port of the interconnect path. > +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. Analog to other subsystems the -names property should be optional, at least when there's only a single entry in interconnects. > + > +Example: > + > + sdhci@7864000 { > + ... > + interconnects = <&pnoc 78 &bimc 512> > + interconnect-names = "memory"; > + }; Regards, Bjorn