Received: by 10.213.65.68 with SMTP id h4csp1386641imn; Mon, 19 Mar 2018 02:43:26 -0700 (PDT) X-Google-Smtp-Source: AG47ELuEEObkkl9NXh8z+nRBzCdz8N7oBJ6+da/Ha+iChtMVCWA7ljRAIxWoBvzG+CZdm8L4EBxX X-Received: by 2002:a17:902:ba96:: with SMTP id k22-v6mr11853370pls.111.1521452606505; Mon, 19 Mar 2018 02:43:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521452606; cv=none; d=google.com; s=arc-20160816; b=Yd/JE3+uznYqyjgQQ7ro8loNSs+DKeU+k0PleZw9JQmN1PzZ51zZzK5YQiSWg+m8jj Q635BzlIO/wDr9CcO9bvOfy0plwGTfNmPLhQhRatN3KQsKLRADdxy/lcHvPZo6AQ9ZW2 OgOk7cyH1C4mpr7IrZO/xqbegXGbKAfX9Plbv05UzWjLCoT1dY/PGVn3juSpebAJ65dd OVV6KF3gAEg80R86akeLo03Hlqpq/R10OzqW1n+HGsHiTY457XcvD/YaQHJufT2GN9ga cphcPisMT7QaOxbmdL0Pih2M1KyMuNc/HRLTaWd+4UeJZm3shjS6fahbLkDvTdTisaNC ovpw== 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:from :references:cc:to:subject:dkim-signature:arc-authentication-results; bh=jYrz/f6picjr3xb1PTLePUhgadv4zBvy0oO56i/DxDk=; b=HF63PQHpY112FEB46+UQ+Txk/PtisrSWI4lyuvaLjyLpYSEZmCxUne1rPvattolKZe Ztnwh8be7lUtSM3vBej/4DYSrSLS9u99yUWZBcGhFPPf+IMDqYfJzBvSA1/2+nW9BmdC pJI922MMd3Y9AzFd8IIL1qFgzQy2uFDDDR+nvlwrdded65IjcIdgfZIUG9P2fuJcIKDB kD56hrmuVeKjSxUezTL2DE5h5IWRpU1Ob2ThNii2FIns42OErz+8ux4HeKZVmz7LH6tR 0HuXBrnBowZESCEII4gb9m/1HP1qyuXAxKuV5+1vDVka0ywH0VHNLUaY9zhI2m/vHnm0 a/5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=de/LfyFe; 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 a19-v6si9052778plm.121.2018.03.19.02.43.12; Mon, 19 Mar 2018 02:43:26 -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=de/LfyFe; 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 S932666AbeCSJlx (ORCPT + 99 others); Mon, 19 Mar 2018 05:41:53 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:39400 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932415AbeCSJlt (ORCPT ); Mon, 19 Mar 2018 05:41:49 -0400 Received: by mail-wm0-f68.google.com with SMTP id f125so5886075wme.4 for ; Mon, 19 Mar 2018 02:41:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=jYrz/f6picjr3xb1PTLePUhgadv4zBvy0oO56i/DxDk=; b=de/LfyFeSJG/ikQkhepejDMMrZ6k3EgqUP5QQLgoGKTZznRSzzHkUmqJ4r9hl4gg0o +bcKb6RQvclYKzy9ILpZENP0JTT6QD5O/d8t17Z2ideyvsxRbv9Wh27ertDqJ4poyaXA fdVG4L0rnz9R71nZaryPOBfMTs2RSkJBtltys= 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:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=jYrz/f6picjr3xb1PTLePUhgadv4zBvy0oO56i/DxDk=; b=K12wIPeLiNVcObMOcEnCdTCEzCTNLEfcUyd75asOQS9Ic33yx9eG+Y0frpIRBLeTP1 acLtE5D9r/TA61orUcFY9UxXSRn4LaSmkckQ1nDmZji7eKFF/xXEt0oR2WtJlibH1bzn 13KRTa65XP8aqAQA6Fcnepr786LcjtlCT1WJBpLEU3A8Fa+4h2W3NsUGexZfx1+oh/Da Kdq1+2bdOhu2/5+zbPmg4F8pFu/SF0Usf15Y4LRqXx7s04riOH05mdFUuiJv1M14BVTx goLJ8Wlnw7jcq/Yu1v+SX1Aa4ZTpWbHjk3f2Y7ggkH1Y7UWfwIVqRjZw3gLAGCyblw7U XIYQ== X-Gm-Message-State: AElRT7EV2UgNgERZFhMv3cagYTCZw2Gu3lHWfN3teEtwGmjXZZMxogJB ZOuFu9DWOi3pAMNuOc+5AKAb2w== X-Received: by 10.80.141.1 with SMTP id s1mr8793733eds.234.1521452507985; Mon, 19 Mar 2018 02:41:47 -0700 (PDT) Received: from [10.44.66.8] ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id c35sm6122920edb.87.2018.03.19.02.41.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Mar 2018 02:41:47 -0700 (PDT) Subject: Re: [PATCH v4 6/7] dt-bindings: Introduce interconnect consumers bindings To: Bjorn Andersson 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 References: <20180309210958.16672-1-georgi.djakov@linaro.org> <20180309210958.16672-7-georgi.djakov@linaro.org> <20180318224957.GP5626@tuxbook-pro> From: Georgi Djakov Message-ID: <79b65ce6-1e4e-a8f5-b9ac-1993fca5108a@linaro.org> Date: Mon, 19 Mar 2018 17:41:36 +0800 MIME-Version: 1.0 In-Reply-To: <20180318224957.GP5626@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 03/19/2018 06:49 AM, Bjorn Andersson wrote: > 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. > Will do it. Thanks, Georgi