Received: by 10.223.185.111 with SMTP id b44csp759744wrg; Fri, 9 Mar 2018 13:11:42 -0800 (PST) X-Google-Smtp-Source: AG47ELtvouqcyvRTsw6wx7tNI8TMDMlBwXwclcjCQPb2EWFsqwAbBnnW6GVljTwaLnfNbKRC+jpp X-Received: by 10.99.179.14 with SMTP id i14mr25343073pgf.45.1520629902352; Fri, 09 Mar 2018 13:11:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520629902; cv=none; d=google.com; s=arc-20160816; b=Jv2YH5hMCiDQBsnkrn0kCtZWdeDrGlE0RzWa61K4A8r8XfTXjqwEHbx+EPv2lwjOqY 1TfqM2u+hK35b3x8vDA0dC9pJkn+nl6zwjtWujhnb5qqLReQQBx8qNgRgd5RkH7RtlWh X+Z6ejB8PSfuIzULluApJvfexzUbXW9EYwMcCTBOMQbfIh6exu2Lne2E2LCHO2HAC975 QPyhMYfhdCRsMHPmPySsBwx1JLNjb0Bu1YHFZ7p8f3YUt7NapGl/dwuCm55mk2TNo+PV JgT3bY0waPlkrxbj/0Z0ATN6EppMDxtPU707G6D0/6RxGn7aDAdtpzpPhjAqXYrEDZhY 3JQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=zGMvs2WShFG0fwUa4ySK2pAqKovLnSJWteSMzhTtPP8=; b=c87MMEC8p2k5ecD1Qxxw3vanM8ytUBMUBFTSHAmdwSa4KWZrXIqK56MXgK5KQAPa8R D506mG/FARdTsqjcIy1gUeUs+Jnc8LM7tHDaAceCuuTI3m7va4BMi0janjWF8vMYG+jj glrqedIGBh7Uotdx2hcj4QyyMk/NxkQq0OopPajSPPx0ZCTpkMCRc9qUmS3fp6WxkfU/ Ts9MtOM6L4m+x6lXz/R5GPrfat9hvCGQom8RgAVnnHKNG+r1VNtxY/Q5HyCBwDi24LKK 3ToMDgG6Y2P1wsd9p8H0/eWZuJ5fRz0h2z+vBgbRd2o05tGvkqHll0k+piG7rjse2ZdW nm9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fLkAFCxX; 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 v41si1289547pgn.30.2018.03.09.13.11.27; Fri, 09 Mar 2018 13:11:42 -0800 (PST) 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=fLkAFCxX; 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 S932741AbeCIVKX (ORCPT + 99 others); Fri, 9 Mar 2018 16:10:23 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:46847 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932661AbeCIVKQ (ORCPT ); Fri, 9 Mar 2018 16:10:16 -0500 Received: by mail-wr0-f196.google.com with SMTP id m12so10236040wrm.13 for ; Fri, 09 Mar 2018 13:10:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zGMvs2WShFG0fwUa4ySK2pAqKovLnSJWteSMzhTtPP8=; b=fLkAFCxXacLex7m4QhYKHKFRVvHC1CZ+i5OUn7+wvOIO3aPL6+3arCH4itbYMDwrDv 1PSazTQFjjCPKmeYbdHCHy9Lf4mw0KgZp6q+8/vXdPUcF4Sw1bAsvTvsuBwcqxC/qMSb JFSDlJZHRMJ1yQdZ2Rpw07S/+DOV5FEDEyKgo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=zGMvs2WShFG0fwUa4ySK2pAqKovLnSJWteSMzhTtPP8=; b=rVppMS154PjZakbdCnsFeTK2rEKvapi3zaYK5Y0nlodRRH/dxqxJOs7qadhkQCQy4V i8ktk2jEtwT+B1Hone02EAvqklaYSra99y3F4mv9PyuvjeYYcDZJsdZMCnmx6wmezc7F KNPQ82cMsmAhlsrHUZvHa4v0gdd1njfOBvOcpBaGBm+5x7nHPKheSEHm3KzlaPvHFRR/ wTr+lcwUsglHI0th01rxC1JMcwENbxcnIPPZWR9h23ekHVout2SrE2ZOyF/l5tBOSJ5M 0+vLGVKJXuHED3yyQVHw7E0xL/0jaB+RC7KJHBDtmZQaxap9/GzMbQ3E2+GEagmoE6o3 OtZg== X-Gm-Message-State: APf1xPBXKkmaVi1LxEiMFc2p2fO4sxEER9lhIJPaUT5TCpzQHnLfuIX8 R1QlrNC4gfTrSpXFmHnwzF45fwCQZ0k= X-Received: by 10.223.200.140 with SMTP id k12mr26947448wrh.191.1520629815336; Fri, 09 Mar 2018 13:10:15 -0800 (PST) Received: from mms-0441.qualcomm.mm-sol.com ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id g7sm1853118wrb.78.2018.03.09.13.10.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Mar 2018 13:10:14 -0800 (PST) From: Georgi Djakov To: linux-pm@vger.kernel.org, gregkh@linuxfoundation.org Cc: rjw@rjwysocki.net, robh+dt@kernel.org, mturquette@baylibre.com, khilman@baylibre.com, vincent.guittot@linaro.org, skannan@codeaurora.org, bjorn.andersson@linaro.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, georgi.djakov@linaro.org Subject: [PATCH v4 6/7] dt-bindings: Introduce interconnect consumers bindings Date: Fri, 9 Mar 2018 23:09:57 +0200 Message-Id: <20180309210958.16672-7-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180309210958.16672-1-georgi.djakov@linaro.org> References: <20180309210958.16672-1-georgi.djakov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. + +Example: + + sdhci@7864000 { + ... + interconnects = <&pnoc 78 &bimc 512> + interconnect-names = "memory"; + };