From patchwork Fri Mar 9 21:09:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 131250 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1455633lja; Fri, 9 Mar 2018 13:10:19 -0800 (PST) X-Google-Smtp-Source: AG47ELt1UxI6UCQCBRv5Mqh1D9M4zLcwSrK5yNSDXLy49LJgI2VNWwpir2QGHzrGGzg6cN0+5YYN X-Received: by 2002:a17:902:7b92:: with SMTP id w18-v6mr28470647pll.159.1520629819711; Fri, 09 Mar 2018 13:10:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520629819; cv=none; d=google.com; s=arc-20160816; b=VpQQPSvYiJ7GaT8VWGg54xXIb8anMZZBuE7NVl7P+I7DBJDp9E39quBDhPkW0Hw0/z ZB1f9p51YCnuzReFZ1LdOXgXGf9Z8oLZmbDw0968AYRe8NK+zsY6G5UWreF4kBScDSV4 CBIEsB9ZW0PI6QxpZKHlR04fTEd/sEX30CpyPiV+XPL+ghnF0AxKT7t2mEM0jhhtdHUI m0Tve2ru8eVOfcVLV8fN3CJIIZ9dm0qJhWRzQStOsjnTzjFJ8FMLGLF3WIMrTNtHYTVL hOYtze+8qUmpkvesZxe/s0CLm2zQMiOqkgX4ivhKFhmt/XdSNnD4nhZj0wiTKrYYxEb5 MX7Q== 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 h1-v6si1503869plt.728.2018.03.09.13.10.19; Fri, 09 Mar 2018 13:10:19 -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 S932669AbeCIVKN (ORCPT + 28 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"; + }; +