Received: by 10.192.165.156 with SMTP id m28csp1948760imm; Thu, 12 Apr 2018 06:19:49 -0700 (PDT) X-Google-Smtp-Source: AIpwx48RLmeSe4HtODZAAomqWHYF05IeWyVMuWSCkaRxIc1RffsxY3dDfW9/f/vXokvgpChm87ei X-Received: by 10.101.99.193 with SMTP id n1mr706547pgv.446.1523539189158; Thu, 12 Apr 2018 06:19:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523539189; cv=none; d=google.com; s=arc-20160816; b=VrZ6DIKj/8JhDOmGsTpw0SZJb2MJsopK1n2TJIlJAhJDnWgK4th0ZDvH5O36SSzrwy VYjqKE1WU3b8RfiUqiAGkM6O2DMFobtfYekQX1MzYIiaD50Al2PZMFG7TzhUm9rPrT8t SlcnNN8/tCdkRwxhpqH9U/75b5Osbp4rgXavkthKVmCOLxQZlv8hWhrwRHRj6vgYQH9U oUVjJN6gVfsF6ae6xJz+I2HZwrl2fjuTGPFzX/kUUO+pPqeeU+39sV9uOhfJkH4aqQb8 BeoMJZG60NezWrql99Ixa5Ms+b/+GX+aoE1AKAgG0RwGtrXuj5YL/ukbrflr8I+QnFbb Eftw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=TCLjg+lFZQUSrrz2T1N6ETDEkEy+dF1/aASVLM7Kkfs=; b=mYCLcfm5QVNciAdHDrY8OSYyjsJ0rVUN5pdJsy7RDdvxWX0Usho4gGMX6fHq+5B0jp RexrYQT5QDgXM7iT1CmorYQG+irFjPv5aCXVUl+UtR2EVIVHOxa9sMbCBdazYbmC3073 uE7YFFzZJxDIW3wTfxdNMLX+Yz120vTJcRJlTW/L/W4z0U/7yc6NrZ5vyWPyUwqWTCps 10eRyflZgD00FJAMdDWbLEW4noBILm3FB33N+w3QvnXTwbBkiSDMmwBYDN6HKCdiqvRY ZwNZ4WHqL+e3yO7Bms5SmRpLMOQzy6FUdiE2owC6MQjxED5mffg8J41aKmWxry/gvmYq zmQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=0ToL/Sin; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l27si2616423pfi.365.2018.04.12.06.19.12; Thu, 12 Apr 2018 06:19:49 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=0ToL/Sin; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753131AbeDLNPe (ORCPT + 99 others); Thu, 12 Apr 2018 09:15:34 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:37837 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753057AbeDLNPF (ORCPT ); Thu, 12 Apr 2018 09:15:05 -0400 Received: by mail-wm0-f66.google.com with SMTP id l16so5801385wmh.2 for ; Thu, 12 Apr 2018 06:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=TCLjg+lFZQUSrrz2T1N6ETDEkEy+dF1/aASVLM7Kkfs=; b=0ToL/SintjwUkjZp9HN0tajFQhpJO0a7sIhz0VvbXIFfALNSwzpjSlsqV1antlAjKM KcH/M+kgMiRk6v61oc0Ml+pFSfqN7mvvAj1Hyzu0ZFE0/9RgQq6ecM+n3vD+Eg/Dv0PS IzxdhooyqxzSj5YavGN6wx4K6Ty1tv8SpJ8e0GiuZCKk4oUU+XTm/Txz1JNzRU6Z928c Pax9NH7RftHTxj1ljC3TeDQ/Hv0XRR/z5aRSr73bKOV+/FMPxD+5FAL5R+2aDjU2FKfy B5GZtbMJFvhEKJOG3Q9QHfNAG9T7hCIu2Y53RTIlwtw+jdmy72zOBbl6ggmInanIxcOV NJJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=TCLjg+lFZQUSrrz2T1N6ETDEkEy+dF1/aASVLM7Kkfs=; b=aalweSaoizM2iE+7IDrBt12EFC9YxPc3eh1rjL+R0JtrfJEb9z2KcLw+VGyQyQe/em TKsdI1v6GPgATgH8MbU7StCvvXifdMQR0QEfiqDU/sJUMdLPXqCCgyPs2qp8ElAObEhA qDXWzYA6JMhIz2mcw+cI90TFqJD2JhALJRmL9PEr77/LRomBOTWx+jKw2KMW8pB6c862 lKzIWLfJAZKENEIG8gHcLCaK4N08b/4ZpvsJEnM8gYapyqzoB4kjfz6LxPHJK9TnOOGF f7ulFagwlZagJ/fiOnYPIcZvutiajR8GHbf8PE/fAL3dfN2Vm2tVWzpHLDP66VsFz2I2 CXkA== X-Gm-Message-State: ALQs6tBlQb056vLqyaP0uiiikDSctHSzgY5kqV15H+ndZ37BfSaA4e2M A4SC778nJNMChyIrnISVQu67Bw== X-Received: by 10.28.19.13 with SMTP id 13mr742679wmt.89.1523538903250; Thu, 12 Apr 2018 06:15:03 -0700 (PDT) Received: from [10.1.2.12] ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id d48sm5434140wrd.12.2018.04.12.06.15.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Apr 2018 06:15:02 -0700 (PDT) Subject: Re: [PATCH v4 2/7] dt-bindings: Introduce interconnect provider bindings To: Georgi Djakov , linux-pm@vger.kernel.org, gregkh@linuxfoundation.org Cc: mark.rutland@arm.com, lorenzo.pieralisi@arm.com, skannan@codeaurora.org, 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, linux-arm-msm@vger.kernel.org, davidai@quicinc.com, vincent.guittot@linaro.org, linux-arm-kernel@lists.infradead.org References: <20180309210958.16672-1-georgi.djakov@linaro.org> <20180309210958.16672-3-georgi.djakov@linaro.org> From: Neil Armstrong Organization: Baylibre Message-ID: <7723f351-2460-7378-411a-cfcdf4138d8f@baylibre.com> Date: Thu, 12 Apr 2018 15:15:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180309210958.16672-3-georgi.djakov@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/03/2018 22:09, 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). > > 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 Hi, Can't we specify the number of cells for the phandle ? It should be aligned with other consumer/provider bindings. Neil > + > +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"; > + }; > + > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel >