From patchwork Fri Mar 9 21:09:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 131252 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1455706lja; Fri, 9 Mar 2018 13:10:23 -0800 (PST) X-Google-Smtp-Source: AG47ELtu79wb+YEzzhEJxnQVed9OGArKSUZ4o0fynYMbKrWnUVjPOry3U5Tz6uyHpqv+WEvUDLpb X-Received: by 2002:a17:902:a985:: with SMTP id bh5-v6mr23245152plb.35.1520629823196; Fri, 09 Mar 2018 13:10:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520629823; cv=none; d=google.com; s=arc-20160816; b=ikEIOKowHL9TX0MEjFhckPk7f+EgIBSaDU0Hs6pZGP1tTKVON93KAWD11aMV/q2fnb GunYMAPfM46A6D2zNxsOe46gFV6ZpIDWKYnguWZH+MvsyAiDLjAk48Au2IiPIAypzN1b +GdK/yMvBCdFem9T9FC0Rjzoca3tq8YWlp3K69UZa7mHIEWhzg3w96Jbv5yxK/iJ+kUU JGJbcKcBQnqWbswZtbFUt6YEliPb9KE5LdftBqQksBSt8jJnGmWJO1YzMFHjAxEvIKKK R371zU023PpS/+PnpgwI2QgsuTA24mkNdTtOFqlJOJjLOypbIN1K4rTrGEqkM6DtvLN4 xK7w== 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=SqngCqHqs6Qq6C3RKqqv3BpJ1xf/pj2z1vDDR9CK9ipddVndll0xFlL9lvB/7iXctR ItMQnTP8scxQBYrY5cFAPzul9WrWHNltqQnzQlgy6B0xJug/6SslgrVqimnxE2l93tmZ QyvwOwJsGvr4SuVGT4Uo41P+R7vQggRXsLOponJzxtrIguOX8z7GWUHoCVTKJfvEZsro lucICfyrabM1d4v09pFcuY3vP4+PZqk7y6ZcugRA6Cl9Tdoy9RiWZniBX64Y0qLoblK/ NW2hD3Odp63gaHE+rmgGdHXDCM0JpYc67IKcUcLol4iyKfTl5TsRyBMDC4ZnVhFkXzU/ oqyQ== 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-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-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 g21si1450961pfh.379.2018.03.09.13.10.22; Fri, 09 Mar 2018 13:10:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-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-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-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 S932727AbeCIVKU (ORCPT + 11 others); Fri, 9 Mar 2018 16:10:20 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:44637 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932698AbeCIVKQ (ORCPT ); Fri, 9 Mar 2018 16:10:16 -0500 Received: by mail-wr0-f196.google.com with SMTP id v65so10247221wrc.11 for ; Fri, 09 Mar 2018 13:10:16 -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=QsxZAusKJ4rZtiSoo1f6caMrdLgM7NcQRLG82trt1HNwjwU/nMgK6PuO++lE4UEuSl hOPFCLS/Rr55Xa1E+n6bnOX7sMmUDHjeC9eEueuBqxgKWOa8QcTuKjIlx+Ccbdq41nEB sXGjrbkw8CI1CNZugx2v/0KHoksSigrSTKeku59dOSuso7lmLi4fH7BUoJpieZcHbQ1f y1YFpu7l0utMv8JXFnD0S9wAhEJzjzWLuhOsvc3oFKsMFs3eDS8I2iU6TA5wmS9a/4G3 kuMOOApSCiNKBqKE2Ia56zAsGgMpc5NUPhp7tSBNOYFG/r8ODAnpYyJvDAqOzENLcpaI mbxw== X-Gm-Message-State: APf1xPC7zDPyffbrG+ZAOtDDR3N/19KbGZ0BghUJNjUOnQmHuWhTq1l5 lilQPkHUQH8326ZBeOHT9I5lLDNqZmY= 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-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@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"; + };