Received: by 10.223.185.111 with SMTP id b44csp760953wrg; Fri, 9 Mar 2018 13:13:07 -0800 (PST) X-Google-Smtp-Source: AG47ELs/sNKo4g+7NsCriiml805RmFkxpMz7wobhWmfjzjw9SG8kC8+sN4ykC4EuNOk/CoUrBk26 X-Received: by 10.98.25.10 with SMTP id 10mr31038720pfz.136.1520629987735; Fri, 09 Mar 2018 13:13:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520629987; cv=none; d=google.com; s=arc-20160816; b=WbUCcA1y1d4bicQhjz8ETnQdqdB6eCUpu/eoEDoKoMSOiKXm0zobY+eG1rFU67kyfH 4aapQaRTePeROTC6IWtNUyFpUcqzeezU81wyxXHP5DjW058jcPBGWvYHZ3q75SfwvAkS CQJBekrlI3YlG3PRq5dsD6W9zrdRLOHBLQ1UckxPj+KNXNHakbBrnT8u3K4BG4gby/wF V40YjurqxJPWkLzO2aZ+GTjJA/pfc9fShisCvNsxbpxauy0ShE76zKeB4Yje1c9BNuFa /GmVc7bwFiaxtYMSVY2KBp6XTLZ6t2s0ElXIGIYss9Zmv45a77vo1516vIaDNBGKdGXZ CJow== 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=wM/SaubxVX3slZlGlL5x0GjCoPJHmze/47/4joVNGN4=; b=IC1AcdiQAAvGG7ukOWnrFwXHZNyzS4z8Ahm8+ODSFbW19LVtudr6/zIURC288bv8nt DgzjIKa0f2HYv00beppVBxSxY/qalR2g7ecKk4eMU/oxkcpqM6FDaNPXaSsP2NnRHW+P iOZErEZT+d9LkHuNweiy3tq4faPadsBoGk4NASm08ZWTyY/45vBI4kv/3uD47oVXkjAx 22IZ9i0jMpDQ5dL7T+fIcs9DifIp5Vqkj1+DhH54eyBJmLigxD68pICR4tozrSZXP1FT 7LZl7MutJpe1yT7G1cpgk2rXsFl2oaJwZSLx1cjVMWJTILlmg5s+kpHqzzvymAHRsM/n k+eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KiG7aLYc; 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 t6si1250930pgq.301.2018.03.09.13.12.52; Fri, 09 Mar 2018 13:13:07 -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=KiG7aLYc; 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 S932665AbeCIVKN (ORCPT + 99 others); Fri, 9 Mar 2018 16:10:13 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:37537 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932535AbeCIVKF (ORCPT ); Fri, 9 Mar 2018 16:10:05 -0500 Received: by mail-wr0-f195.google.com with SMTP id z12so10249080wrg.4 for ; Fri, 09 Mar 2018 13:10:05 -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=wM/SaubxVX3slZlGlL5x0GjCoPJHmze/47/4joVNGN4=; b=KiG7aLYcqMBnPNzMIDQLGiXMiYRYt6oCvxtjxhbGRJIvkA/yT8+/jBgtMZ9UwANDrX ujLU2cM4osy9a/ojVnyX3bZXEL/diDVQkS67m69DNiG3abFqcZK3cBtauB6/1F9vDTBC ok5d6LavyIgd0AyeoqH8/yThyszFGE0yIML4w= 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=wM/SaubxVX3slZlGlL5x0GjCoPJHmze/47/4joVNGN4=; b=IONmA1AlL6lWLub5YdIF1R9IpYCkODDKIX9uUM3LRkZ/9pYP1hGkfM7Xh88Yd2tsQe BSI0Nt4/1uVk1DFKPbZBNYb159KyHCekGvbVgicJo5x/yjQU4aPANd6k43qfZrM7xB2m iSBBM6gjOGxHbjaieE+WcqNyzmrkjb9EhNENcwk32MfK3TTcViv701j6DO+1qnZdAIZw 2YabG6ZpSU7k00kDuWzfVYjw7y6wWQ8v62w/NyNbKLiOCqUpfQIxl6iuASwVOYY9jKCS Q5Z+Ft1Hd7wjXEgInea+w66FSjT7w5f+njiJZPGsOwyQIB2zxXdzOHeXpoAZ/P/66APp axYg== X-Gm-Message-State: APf1xPDALjIUSEC6aRFpbq5AJy7Io2Pu21hnnF6CDGq0RTRZx84C1s2W ueXj0RpZ/iWlb45+hHWwNSpg/g== X-Received: by 10.223.151.106 with SMTP id r97mr28494302wrb.203.1520629804375; Fri, 09 Mar 2018 13:10:04 -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.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Mar 2018 13:10:03 -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 2/7] dt-bindings: Introduce interconnect provider bindings Date: Fri, 9 Mar 2018 23:09:53 +0200 Message-Id: <20180309210958.16672-3-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 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 | 47 ++++++++++++++++++++++ 1 file changed, 47 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..70612bb201e4 --- /dev/null +++ b/Documentation/devicetree/bindings/interconnect/interconnect.txt @@ -0,0 +1,47 @@ +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 usecase. 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 vendor specific compatible + string +- reg : register space of the interconnect controller hardware + +Examples: + + snoc: snoc@580000 { + compatible = "qcom,msm8916-snoc"; + reg = <0x580000 0x14000>; + clock-names = "bus_clk", "bus_a_clk"; + clocks = <&rpmcc RPM_SMD_SNOC_CLK>, <&rpmcc RPM_SMD_SNOC_A_CLK>; + status = "okay"; + }; + bimc: bimc@400000 { + compatible = "qcom,msm8916-bimc"; + reg = <0x400000 0x62000>; + clock-names = "bus_clk", "bus_a_clk"; + clocks = <&rpmcc RPM_SMD_BIMC_CLK>, <&rpmcc RPM_SMD_BIMC_A_CLK>; + status = "okay"; + }; + pnoc: pnoc@500000 { + compatible = "qcom,msm8916-pnoc"; + reg = <0x500000 0x11000>; + clock-names = "bus_clk", "bus_a_clk"; + clocks = <&rpmcc RPM_SMD_PCNOC_CLK>, <&rpmcc RPM_SMD_PCNOC_A_CLK>; + status = "okay"; + }; +