Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp691667imm; Mon, 9 Jul 2018 08:57:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcoQPxqIbz3aPTaoz+SIXQoIXuwfLqLBJnXMzMvMIpXtNQzYDFMAD60rvuX4WTngdccBcnc X-Received: by 2002:a17:902:7106:: with SMTP id a6-v6mr21503523pll.28.1531151835356; Mon, 09 Jul 2018 08:57:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531151835; cv=none; d=google.com; s=arc-20160816; b=bBWRubjWz2E3ToPlmgg6LH7xYsMue9GNhzhitdsh8s73B9Nys2P0tHSLt+Ik6E7/p9 Ar2kF64tBnZ7I4Pl1FaX1veOteHOKsDGqMi5WNZc8A0V1moXdUzwP5pH13UY+1KRoquj p3aBmbv2P9wIALhL9i5ognuUGeCXqrkN39PysROvgLCSaN3snKSgH9VAGlgvDXpqATIT Vvu+4nve5FvqF284B3KYjXvBFpx9axLRub0FdzEfvKfw65zeLmV9v9l338ZZW5CKXsPU T75fUoKdvlhYWj0OHU+kUyYVjxXIreJOgGnP/6pvN7Xw8fHvT2mjL64DjpJwD8cSeFad VaiA== 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=ciWHyLMikqH3wKENiDm/GxmXb1N461xZPfHB5KvcB1o=; b=nbBrHh178YlqR/DwBaB6saHnhrVjTK6RRVW1BPCfOHffD9GG75KiGgo8IMWM8Cnu+Q bc3sDnHOQatS8S4G7uaadRWBV9OUzjv7KPekdnoZ8d37DjMF2ITlgjjozR70qJXH0NMc hrTUmclPHzBH84PTRlfHTIkkU0wXUicgH7x+ExDBlhM/utb7vVVbbl06WC1+n0pZBW0+ fTXJr5hi4oVgX4UWCw+/3jJC8f1FG2bJTvVhBAhkEWiJpFe6uIHwUFcVh6w7X8N3ORWC +cKBTK2i14zggI8sk3mIFoggESIaQTGiHitEpJbDvqAbyG0k+wR8v1dMZl1b7xenr/Cz EpEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="RpZIPx/b"; 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 t66-v6si13716802pgt.538.2018.07.09.08.57.00; Mon, 09 Jul 2018 08:57:15 -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="RpZIPx/b"; 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 S933634AbeGIPzj (ORCPT + 99 others); Mon, 9 Jul 2018 11:55:39 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:41187 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933328AbeGIPvL (ORCPT ); Mon, 9 Jul 2018 11:51:11 -0400 Received: by mail-wr1-f67.google.com with SMTP id j5-v6so4991932wrr.8 for ; Mon, 09 Jul 2018 08:51:11 -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=ciWHyLMikqH3wKENiDm/GxmXb1N461xZPfHB5KvcB1o=; b=RpZIPx/beUHRYti0cQ744TwtbMvSNQQPb29N9xR6xlvLjFNzkXijkASH1thcPbhx4X AteMQP0KOH3YQWSq/pwtEVJ6xxySNUrwSrwZkw3wWycGiuUScWXVfFuiieHZ4hY/jp1G 9fkUbuFQMqehVLNUclSBcO1q9gk7u+r+vRt6s= 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=ciWHyLMikqH3wKENiDm/GxmXb1N461xZPfHB5KvcB1o=; b=FizC7UGzO+6aIHFYiI1wgeSXIFXNrwZH6VYZmUAzRUXr8W44VuopQleG2joRvJGuvJ cbRu08Ras4dYPCkUjW/RPJi9/zJSeoQE9AZIPOD9vr6d8uf3plqBzhb8Xo0wI3U4VPb3 jpoBZyjeJmlPDCUmHYUzv7Na1v0jm6rB/Hj8gFg4vGHVBEMP7P4nG5aHtJIIz3NsHo04 Uy4vC5WSGoZIwJJ1ySOEl1AnsoL0V7pXRkzkqUnynrFpZVTEV1IY8xTaxTpru3mmBmpp 8s7i+xkZ0ejjOqvYlCrH4th5qT1Qw+hwD8XB/Z8/IIFOgr5XHnGyN4im5/ofw59Vk4pj SYRw== X-Gm-Message-State: APt69E3tmS/diMPA0/6N+84ob4V/wxmVe5z4f0pnY9ua/wBkKUrmCmUo kyGKJGwFFHLsJnZLdLMQEFZ47w== X-Received: by 2002:a5d:4c4c:: with SMTP id n12-v6mr14513762wrt.71.1531151470880; Mon, 09 Jul 2018 08:51:10 -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.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Jul 2018 08:51:10 -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 2/8] dt-bindings: Introduce interconnect provider bindings Date: Mon, 9 Jul 2018 18:50:58 +0300 Message-Id: <20180709155104.25528-3-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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This binding is intended to represent the interconnect hardware present in some of the modern SoCs. Currently it consists only of a binding for the interconnect hardware devices (provider). Signed-off-by: Georgi Djakov --- .../bindings/interconnect/interconnect.txt | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/interconnect/interconnect.txt diff --git a/Documentation/devicetree/bindings/interconnect/interconnect.txt b/Documentation/devicetree/bindings/interconnect/interconnect.txt new file mode 100644 index 000000000000..6e2b2971b094 --- /dev/null +++ b/Documentation/devicetree/bindings/interconnect/interconnect.txt @@ -0,0 +1,33 @@ +Interconnect Provider Device Tree Bindings +========================================= + +The purpose of this document is to define a common set of generic interconnect +providers/consumers properties. + + += interconnect providers = + +The interconnect provider binding is intended to represent the interconnect +controllers in the system. Each provider registers a set of interconnect +nodes, which expose the interconnect related capabilities of the interconnect +to consumer drivers. These capabilities can be throughput, latency, priority +etc. The consumer drivers set constraints on interconnect path (or endpoints) +depending on the use case. Interconnect providers can also be interconnect +consumers, such as in the case where two network-on-chip fabrics interface +directly + +Required properties: +- compatible : contains the interconnect provider compatible string +- #interconnect-cells : number of cells in a interconnect specifier needed to + encode the interconnect node id + +Example: + + snoc: snoc@580000 { + compatible = "qcom,msm8916-snoc"; + #interconnect-cells = <1>; + reg = <0x580000 0x14000>; + clock-names = "bus_clk", "bus_a_clk"; + clocks = <&rpmcc RPM_SMD_SNOC_CLK>, + <&rpmcc RPM_SMD_SNOC_A_CLK>; + };