Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp65463imm; Thu, 2 Aug 2018 14:03:36 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcAV8dS7d/8bsXeHiB3WLX0kgtPtN98Yx2qRybH+v8SG0RZmRdCdNLcOjXt2Q78BpWv97GZ X-Received: by 2002:a63:1d3:: with SMTP id 202-v6mr985531pgb.136.1533243816211; Thu, 02 Aug 2018 14:03:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533243816; cv=none; d=google.com; s=arc-20160816; b=K5vnic9To4/VTpB9VBlGSPoMRqtyPzPqYyMeFHiX8EN6YTvvsAYC5OXJqfkoDFOYGP MZWhqb1flVrnC2ZmenQquYr2s3jrQ//NA5ZiE1ZX0mojGBM9C8d1GGu0lp96plQzA4w1 zWz1RbPwEhl+yhru0fxVKmrFcEvkHAhk1HYESiAcku9kBlR1zjj9UjSELT1wTDAJt5E1 nVTzV0ouSGRPfTjpG3bdQpBQ76qmcjtW6YrJWaTTjBlwsKc6Z4OH204JBnB7y1bwgSA/ cbDNeF0VvVH5L7wGCEtHf/3kaVVEUegAtC678vVCyNPX1q6xJnrk+ifKKryga30frCYD AJlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=PiUXMCI2Jvc/K/TjhwWl1/iDPe6kqNgvlsrAs+1glN8=; b=U8a+2p9Fb8BYKU8gGKe0wRdxOZQ+vy92icc3d3BbHFk/B1P2i30+rw27qYs4ZB4M/Q 2JSXOYipVugwaY3YAnP1mpRppq4sHpNceeqRDL69NYZqnkw9OgOKILyMWaxs8WOntzZu gYF7r6bRlcTbcNksPS9bg/zmrAZaHDo9D3HZuoBK3iKEUzKiu8o40XgxUWwK0TAAd9E9 sSlVHzkq+8T6I9TV+L0cUE5L09ayCVlIgIJUV4jJ/16DYCFRj110yBg1l/L4crrKoaXC 3LwmeBMj1sHjYITzvQJQE8/33DLIqw/5KEyXSbYsiKCrSSBrPahspGQbiNGLTP8817Mg 8skA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vjdfK774; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31-v6si2563648pla.129.2018.08.02.14.03.21; Thu, 02 Aug 2018 14:03:36 -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=@kernel.org header.s=default header.b=vjdfK774; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726924AbeHBWzW (ORCPT + 99 others); Thu, 2 Aug 2018 18:55:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:34398 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726177AbeHBWzV (ORCPT ); Thu, 2 Aug 2018 18:55:21 -0400 Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 59FE6215E5 for ; Thu, 2 Aug 2018 21:02:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1533243749; bh=scTAeqhZUouX6gsn9zqR1xxJqYbgHQP0pD+FlHvv4Mo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=vjdfK774oFdtL0l1TRJ1xtqQ7MC+vb7lRr8/UCrmDq/g+qe65mFwhVhnGwly35QAX C288LoaBIEBWy65oYTT0i42jVZUgobcmZIiyppKZ4BZEruJU92lQ9cBNkUOnr3hEgu M55D+0ptjsIq/rf+sEvTHA8rhbbCwa3QEgq3Qhbw= Received: by mail-wm0-f52.google.com with SMTP id y9-v6so4087364wma.5 for ; Thu, 02 Aug 2018 14:02:29 -0700 (PDT) X-Gm-Message-State: AOUpUlFxQBIMhs86BY45rLTlDVyFMp4W70L0J2huZpZdl8y1BcolMcpM 8oFA/uyYlakqDBQyu4bwLOR6dAtch68aQ11VJAPbLw== X-Received: by 2002:a1c:c241:: with SMTP id s62-v6mr3143327wmf.146.1533243747674; Thu, 02 Aug 2018 14:02:27 -0700 (PDT) MIME-Version: 1.0 References: <20180731161340.13000-1-georgi.djakov@linaro.org> <20180731161340.13000-3-georgi.djakov@linaro.org> In-Reply-To: <20180731161340.13000-3-georgi.djakov@linaro.org> From: Rob Herring Date: Thu, 2 Aug 2018 15:02:16 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v7 2/8] dt-bindings: Introduce interconnect provider bindings To: georgi.djakov@linaro.org, maxime.ripard@bootlin.com Cc: linux-pm@vger.kernel.org, Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Mike Turquette , khilman@baylibre.com, Vincent Guittot , skannan@codeaurora.org, Bjorn Andersson , Amit Kucheria , seansw@qti.qualcomm.com, daidavid1@codeaurora.org, evgreen@chromium.org, Mark Rutland , Lorenzo Pieralisi , Alexandre Bailon , Arnd Bergmann , Linux Kernel Mailing List , linux-arm-kernel , linux-arm-msm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 31, 2018 at 10:13 AM Georgi Djakov wrote: > > 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). If you want the bindings reviewed, then you need to send them to the DT list. CC'ing me is pointless, I get CC'ed too many things to read. The consumer and producer binding should be a single patch. One is not useful without the other. There is also a patch series from Maxime Ripard that's addressing the same general area. See "dt-bindings: Add a dma-parent property". We don't need multiple ways to address describing the device to memory paths, so you all had better work out a common solution. Rob > > 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>; > + };