From patchwork Mon Jul 9 15:51:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 141456 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2823635ljj; Mon, 9 Jul 2018 08:52:53 -0700 (PDT) X-Google-Smtp-Source: AAOMgpepiwOAyK0sJvHKF5kKWsviGqBw3dJf3fOqiAbSIbweJIsmQLzGwYPp/Ie1Wdg/758ZOqiC X-Received: by 2002:a63:4386:: with SMTP id q128-v6mr19308854pga.353.1531151573464; Mon, 09 Jul 2018 08:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531151573; cv=none; d=google.com; s=arc-20160816; b=IW+AwZD/M0sDYSc0nZSGqQGJ0sP2wxUrzp7mBoUNr7NZwuSvnA5v7YrAibTBbJl59K ARB7poCgzLGp3mLwxtcvQPnlkS2FaykPzB3knn0xz/dVLNV+EPtdh372geQjGFNF5F1R ovGs/u7tuUAQquhzy5VPf/U6AlDgP/vh7T7wpc+KmNhR8B7HAizc4m72HZpdKSHdcnAH pYaM9mruRYKKe2WEs3t9mcA/jrBsHkoSduBxUmA8BZFnnnWcVzx76n01FHKI90YXMj8T OeQTILIdlr6bW/fBDkOLeCucB5t3pLZA6Ar+kPMzK1zJAJzDHRPbliFvsx9RMDwOxxyW ikkg== 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=IqhM5Ox8GZtLGas2YyRL1o8i1y7I7Q6nRSIg2WoLuIA=; b=sZxKqYvxVNjvB/ml1Y4c/fV2NjUOzxFC50pOEKMflh5vERqprHJ7TfVJlP611JWoyH DS55exQEU20dPw4tadsRPZ34efhX9e6/rJHsQja8sNGszW/Xwe0B4UaA0EOHiB1/VeJk 5dda0uXifdHKKYsy/abMNliykrGL1d0LXghcQQxunyM00dIQsmr5kFqjHaONxwF35ltS E7VCX3OHQ08zlFgcc3bYD5NTZkSiQX5aRXMHJf1yjIvkAGhfTQNEDj4QRKvZgLbb2KWr x3falTo7+13yKnF1fP5eAOJ/1ZLvtiejiaK99m4XibSzwkXUizuQBihkIRAQhWaxYLrd qBUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ev/znSSY"; 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 s36-v6si14504492pld.278.2018.07.09.08.52.53; Mon, 09 Jul 2018 08:52:53 -0700 (PDT) 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="ev/znSSY"; 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 S933004AbeGIPwu (ORCPT + 10 others); Mon, 9 Jul 2018 11:52:50 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:55169 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933845AbeGIPvV (ORCPT ); Mon, 9 Jul 2018 11:51:21 -0400 Received: by mail-wm0-f66.google.com with SMTP id i139-v6so21556738wmf.4 for ; Mon, 09 Jul 2018 08:51:20 -0700 (PDT) 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=IqhM5Ox8GZtLGas2YyRL1o8i1y7I7Q6nRSIg2WoLuIA=; b=ev/znSSYUOCgY99iFogLuTh8Rbq7ljCV1Xl3qfyfll/JVS/DbKytOCPpRkYmFo9Lhv PzT1Fwi5bUhYjBEgP5IsDGj0tKUfe5RTb7RzGZlU3MFrgSjvQkoHVYR65Q/5xXSiTstS W9EIZTsd47YQJbPm5OaMiH3e3qDMLWT3Ubvz0= 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=IqhM5Ox8GZtLGas2YyRL1o8i1y7I7Q6nRSIg2WoLuIA=; b=YXLG7PgzjWQo8mhi+p8pKtFf9GxzMgby2r9Q1WrEXC1M46fWIeshcgTLI63oAu24It c8eiQGfs8bSin3ICfpBVpej8V+4yLP9ukKPyRRITgbeFqEnE8lZNty8yKaja/Ogk2LsO DhSthAT8Aj0Xohqxjc6GLqomca1IrpxFjI4367Lr0K7zbjzVF1HIoDTFHZhEv8iadFDG NMKRe/zD1MxC51KB2GMOKcZ9/kE6VcCRKTKfjQTCm1ELRcGw9lH/TjsakSzpeyQ9S2ap 5XbJX7b7M+6UY3Kpv7pCjrb6B3MywzKvw1QI7H4xoVKvifB4Rq2pZX3jLYBi/PG5Kf38 lksg== X-Gm-Message-State: APt69E3WPVMKehcR8/VfzlnTVxqQ49xJujdWwf081zTHa7uwvd19/bkQ dJSAub5xqp4f4nS1nhr5/kORWyrynSY= X-Received: by 2002:a1c:a8f:: with SMTP id 137-v6mr11419231wmk.119.1531151479838; Mon, 09 Jul 2018 08:51:19 -0700 (PDT) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id o21-v6sm16229202wmg.28.2018.07.09.08.51.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Jul 2018 08:51:19 -0700 (PDT) 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, abailon@baylibre.com, vincent.guittot@linaro.org, skannan@codeaurora.org, bjorn.andersson@linaro.org, amit.kucheria@linaro.org, seansw@qti.qualcomm.com, daidavid1@codeaurora.org, evgreen@chromium.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, georgi.djakov@linaro.org Subject: [PATCH v6 7/8] dt-bindings: Introduce interconnect consumers bindings Date: Mon, 9 Jul 2018 18:51:03 +0300 Message-Id: <20180709155104.25528-8-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180709155104.25528-1-georgi.djakov@linaro.org> References: <20180709155104.25528-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 | 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 +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"; + };