From patchwork Tue Jul 31 16:13:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 10551035 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8462414E0 for ; Tue, 31 Jul 2018 16:15:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71C852AE3C for ; Tue, 31 Jul 2018 16:15:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 65D282AE97; Tue, 31 Jul 2018 16:15:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 216802AE3C for ; Tue, 31 Jul 2018 16:15:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=GO+WsxjY9WyAxwUTy6yTOptMu4vixyht7BgTmEUCpTA=; b=X2DhV3z2s8glcj+/5m3EdE3B8q 8KcDHbYIwM78xxz3O6lK320EJgMBIwD3Jd0GH6BrS15FklTcWyasf1RwVDJNiypPNfyUKy/rZzZtJ DtMYt64n9WYeU7Marztbn2kLfZj2VaHnIRqWeGW0qNLyHhMc9Ho/ypEqV9Q3X7d3jXK2Z7xOpNbNa QYpmZE5jd7IXDFnohGqPk0Gmzo8r90wGQ8AMdM0gp0UQaJFvAigI0pRcUvRMRaScgm1qmb8xJtsLI 4zdKxrMssOMTwAuWLPoBzyk7l1lJVNdp9vMP7VJPQiWWrby+K0ZSJdWVuGNCczrECVqgmwOKAbCGZ rRhZU6yA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fkXIo-0003Fi-7V; Tue, 31 Jul 2018 16:15:14 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fkXHa-0001n0-0J for linux-arm-kernel@lists.infradead.org; Tue, 31 Jul 2018 16:14:00 +0000 Received: by mail-wr1-x441.google.com with SMTP id j5-v6so17289808wrr.8 for ; Tue, 31 Jul 2018 09:13:47 -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=kvjh8Av19tm70Bw3cjax1UQRlc7MGcaA63442wYqH1VGa+gvL3/PSTOBVWXnywvC7i VlsttPrTQzX3FRZ4NsMrRewQ3DOY2BREc8ge/Vc3WnqklgaTZwjA0REK5GTB7XSup2uV IVf90e7ERmMlW1a28dvJfHxkLMyUvFra8sVrA= 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=BTumxXVyU3Ia/z7EsWDhuxue8IA3lIyrmrubdA3w+9qKklzWeytJWJp+W9U8ekLmfn 06EMCw0jHhfG/43IsBQEpAQxNUqBVUvoyt5RYdm8RuUYNBabjq2izE3tYbRtG4ZgzAIZ PG79WGkctHWA446Lxs8P1llHMqIxNkisNxnT+UEhSO5oxEyOCQPpX6L6A/r1xUwKwjnd /eaB+/VhFIZSE5QbUBAVmccPEY5V9rjINIFY3cvkuSHzwRSan8kaT9baQ7R52HyjvNj2 Xl+eDmzIicL74szR02HeAIC60R01XB4zEVhpHPtKd5WqJ/yDJHXXkkHpexbbUdYOBs0M 75vw== X-Gm-Message-State: AOUpUlGsxmEv/haLOh8+QJZxuvN7h53F6AiV1BzX6qg6Q8SPR7Ew1Y7M 8m1qGHbcFqxocnhuMfPpPMnhow== X-Google-Smtp-Source: AAOMgpc98l8EnnCeCnfTBKh3JY9aMNMIylRGDIRMHl4Jh1b49Qvh/MsqbNrhlnV8VnwZggm7uujS0g== X-Received: by 2002:adf:f390:: with SMTP id m16-v6mr20839574wro.279.1533053626316; Tue, 31 Jul 2018 09:13:46 -0700 (PDT) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id t186-v6sm3643457wmf.14.2018.07.31.09.13.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 31 Jul 2018 09:13:45 -0700 (PDT) From: Georgi Djakov To: linux-pm@vger.kernel.org, gregkh@linuxfoundation.org Subject: [PATCH v7 2/8] dt-bindings: Introduce interconnect provider bindings Date: Tue, 31 Jul 2018 19:13:34 +0300 Message-Id: <20180731161340.13000-3-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180731161340.13000-1-georgi.djakov@linaro.org> References: <20180731161340.13000-1-georgi.djakov@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180731_091358_148393_0E990CF3 X-CRM114-Status: GOOD ( 13.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, lorenzo.pieralisi@arm.com, skannan@codeaurora.org, arnd@arndb.de, seansw@qti.qualcomm.com, khilman@baylibre.com, mturquette@baylibre.com, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, daidavid1@codeaurora.org, evgreen@chromium.org, linux-arm-msm@vger.kernel.org, vincent.guittot@linaro.org, georgi.djakov@linaro.org, linux-arm-kernel@lists.infradead.org, abailon@baylibre.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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>; + };