From patchwork Wed Jun 20 12:11:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 139314 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp711382lji; Wed, 20 Jun 2018 05:11:54 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJntcR3YYcxv91f4rv7GUa1npi6sAudQG53veTrJYsTJqs/Iow4YWHNeoZe4UmRFcTkcfa6 X-Received: by 2002:a63:721d:: with SMTP id n29-v6mr18140778pgc.194.1529496714179; Wed, 20 Jun 2018 05:11:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529496714; cv=none; d=google.com; s=arc-20160816; b=UOD1K2W5B2QyyThZA9+yfU0Ns1b1Oa12+bXyciI8WwHBRujdBiHD78Epo7WCuewkhi MdYm0FxC4XcuUgWrfMhaTur4C0YzMCaGRqEfsJkDqwQwr6OOkHFjPC6qn1kirDV1op5/ XICCVlCOK7/XkWclW12GHCE//blDEWbwkbYWDE0jIPUBhNwQ0CwnUeAThnvFeSToEwkx avT1YyWFeC9vIGiL0bXsgjzn1bwjeTA9JsN2gMVBr1Nfiq/PvFH+6ba3pPKV38p3ge2F qtSSBIrYlGCj1+S7boB67DTmc+C3TaHbiXQoq/py8LdjAKh18kmIMGGrGZ6l9eUtJuGq Dttw== 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=BYixQF4jp3Wk/qmXovYZdHZftjxIiZRwcjd6WOVAEpc=; b=mJ1WE4nd5v5WWwMX6jg/tIluMk2bFOyZSmLIEUfmXD9WI02Rpzc+Mj71W53TysCpfO 3UilLYlHaYoNigEbkq6Zmk4p30bn+9GwmwjG/lOHtD0iGh3FFWOfnNARu0HEFpC62LHL mPW0g6lgK4FdxOc8U9wpLUx4lYn1NRbxhvqW8da2jujcnzF1/I6D45ldwzQE5LFWMxAt bTsqF8uw+zRojTyHkkyskfbDtIeFfFGcoRrbYu1m/djy5Psc18xPVCbDwkqEFFTLDq6d KX1KbD1RjsJU0qi11NGCL22xD3jeOqlkuEhdtA5f6+X1MRiSnEdfRkcdT22TI6VaObLQ jEgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="bOi5mrP/"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (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 s25-v6si1697670pgd.188.2018.06.20.05.11.53; Wed, 20 Jun 2018 05:11:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="bOi5mrP/"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753594AbeFTMLv (ORCPT + 13 others); Wed, 20 Jun 2018 08:11:51 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:36969 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752856AbeFTMLs (ORCPT ); Wed, 20 Jun 2018 08:11:48 -0400 Received: by mail-wm0-f66.google.com with SMTP id r125-v6so6458081wmg.2 for ; Wed, 20 Jun 2018 05:11:48 -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=bOi5mrP/4LiYJ4u28w3KB9wzX2SLOuq0WuDuGCV7jdYDtZDXAzNCDCLYRgALYhRcT/ lo0N2teZp8EtW2P52+nGLNhxjUnsry+K3eRKIU0+wVQzCGleLdCAj4aso139Om+LyQsc hkrt1fw7YtkRtFMpxfqrlwM34I2Ph/P0Fobqs= 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=jPST6y5ej9Z1M5jOTXI69KPLxbD/X8avPVxrPCa/uXXqUd2BX9IOSWROcqitWgPEt8 7dnUNrMJ5+FQcvdWYL9CqMvLpPGMXpbU/G8bwnoGxM8NykD4bLIstwCT7VJQa76vNf3v qfdZfWnGkCiwYyN9rJGDv6KZuCFqDoyWaaJiOiIFUUGU+b2JKplDQB82At3XP+HjRFZo qWqn/pKmPBGFC1DS9x9Dai+VxGlN4IfX42SS/ntLO+Kni5Ab0yFoYv6zaNUVDnhUOG9w uYhR17aQy10J4zjOLB71WrjYVqym0hzTElwEykDYnv/8LM4r5PVxaQ9IBKJ+dj+AnFzn PuyQ== X-Gm-Message-State: APt69E02wKyVRXPLXBH/+hOOuWzHNnHWj3YuW+zeuM3CxKaa3B70pUzx y0MaSgZDSWzkJTWHQOiVdwVfmA== X-Received: by 2002:a1c:69d7:: with SMTP id z84-v6mr1441571wmh.147.1529496707592; Wed, 20 Jun 2018 05:11:47 -0700 (PDT) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id e14-v6sm1656483wmh.17.2018.06.20.05.11.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Jun 2018 05:11:46 -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, 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, mark.rutland@arm.com, lorenzo.pieralisi@arm.com, abailon@baylibre.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, georgi.djakov@linaro.org Subject: [PATCH v5 2/8] dt-bindings: Introduce interconnect provider bindings Date: Wed, 20 Jun 2018 15:11:35 +0300 Message-Id: <20180620121141.15403-3-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180620121141.15403-1-georgi.djakov@linaro.org> References: <20180620121141.15403-1-georgi.djakov@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>; + };