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: 143194 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5521187ljj; Tue, 31 Jul 2018 09:13:52 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe0urTg9jxxjI/0E1GCiparNLy9jZenmekMtZBoFMhwD/WqyVm4EQf7ccTVm4s1IlI8Vp17 X-Received: by 2002:a62:930c:: with SMTP id b12-v6mr22840898pfe.193.1533053631841; Tue, 31 Jul 2018 09:13:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533053631; cv=none; d=google.com; s=arc-20160816; b=QsDcAja6bW2lzmhrOyj4TG9iv+PtUFDEq1EookRlhHFJPkJeX4c2k1hofdH1ULtntF hdgMT42qyNiRp8LOoXMmwO4RGrfYyerlEID/gfUcj/P1UCERR768KOEj5ntNPcBS8Teu VoTU9LOQ9hcZoJDdbi0v0Xl/3YUBJxkuKaHPF5azfkXPD19Y/PzsLiPropmHAcCBw9ho 4DMsRLO0JhFdlCLFryxXizs5AuSo0JtZNDUioCRWoDV2nVK7+BjiHn2Tqp4CH5c/LKKs cBKfG2ipQqunxg4Z3R8u1c1qGk+giXWxUlqe98yjh2aatPgPhdSaOflw8auArrzQmpPt mu2g== 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=EvJwJASiRt8pF+I8KfNXc9gINW9NpXslmDWn9aVuQeOmOlfFTdOANssKX5wLPCoa7O geqLsdxZtIY3rNc/MVowVO0BVzwh8LZDi5AHjV2zvIG6p2urU+4PANGVIDBtxhiAoE4F 4NvXvl2cxHj1H0sjFQDr7C0+GoQAqN68uHg76VUZJolZAxlE2NQyHv29xgd/zn1RDu0Z bM8ltDZSXh+WU4nhIrV9LD3yUs+lVU3G61AiODRg4w2SgR42ojSTXHLKr3CVA+qAeNbM ASMYL/+AZJH5lHfSDZyj2+tcSvEykHN3xzqjNi2l2+35d2zQMwkgqe4UVYdBAuyGhX3z lpRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kvjh8Av1; 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 s2-v6si12597283pgc.447.2018.07.31.09.13.51; Tue, 31 Jul 2018 09:13:51 -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=kvjh8Av1; 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 S1732532AbeGaRyu (ORCPT + 31 others); Tue, 31 Jul 2018 13:54:50 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:42974 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728052AbeGaRyt (ORCPT ); Tue, 31 Jul 2018 13:54:49 -0400 Received: by mail-wr1-f65.google.com with SMTP id e7-v6so17260700wrs.9 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=fZxlqEnOE3DrNcqqvdgJdkKUCVffg3c7WJos76cp4lJSanctGLWVOzccZf/bMHwrUx 4yxTVl7j6y+xkan6KpSmPkJGhzeaZ1xRJx/e7EioXUkJoOHN3xOLlDxrEQaqzF2ied4V nCNakomGeFD8jUDPh6IuI6+WKgR1c7tTAxLTeAHwrQmFIaqc5MOxWUSSnwtwn3qHuLC9 IQJzEjHpsbXKs9RZ03zO1P+lj8FV+ELG03+pPjTSylsp+NMd/46ZrYalvWdQ3/Nx+yOx 3uxzSOtKC4XvHQs7LgbT8rzaYWuzSHWwp3tKNhoiJ63VEuEX9cct2uABWhgA7qa56+n6 Ya0Q== X-Gm-Message-State: AOUpUlEF2JL9ZsSBWcOcUwVU8Iwcy7V5lybMzEfajzmnMWs6rgYUALE+ Zz7ZEr+MSwx1wPuIie0YR876YQ== 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 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, arnd@arndb.de, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, georgi.djakov@linaro.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> 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>; + };