Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1050575ybg; Wed, 23 Oct 2019 09:37:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqwi/TbX3oRVBvsjlNHKpc7TvVqtEBL/cIPbUa5knyAmzALG3/voxYNa7d5v5vjWFI36NGOn X-Received: by 2002:a05:6402:1006:: with SMTP id c6mr11189522edu.2.1571848649965; Wed, 23 Oct 2019 09:37:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571848649; cv=none; d=google.com; s=arc-20160816; b=oeZyKno6gJZ7F5S12mP4NU7cEInPt+CM5ZdWsDtv9CEZaT4oRNW9vu3E92Sy3bMia2 OI7ZIEe087/thYTa9xdC3TmeoB+nuwHIh2fHP2A/abzB1LHmTUIBKNdZsi4d45PFFQiA I2bNN6YJbtI0LjceUIqNVORsGdDYoN81gR2TaoMML72IWmIqQNbcWk/jlEQ8aULZf/GG o4hkAEb0qc7RA8meM/nn19SetWdA8Al+flSiKLBO5F6HXJDP8xzU73Dw8AE68BJ96KbO CbzOlyJOOWDqmIQvDDYP5HJDHt4ZtByoLyZvIHIWDhO6mDDYV7XPTkUD1Wvj35ZUlhZW DjPA== 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:date:message-id:openpgp :from:references:cc:to:subject:dkim-signature; bh=wDYk9ecxVmBs+fLPH4NRWrGaP2z4tJFrCfIWmLCCUuk=; b=pBPnYUwytSI7ONdT44HZlU7vy08bGqvjipTvOggi+YFzeXX//UCpKBOS+dpbAUOAsb IriVyXLR/Y8005uTIeECXkU8UHCT65fXZ9XGAO6uqVY383JHt/N+KqWBwUXsIM1sYw5d HcMaiIMEKbj/08JTkLRdp7KFcqGS0W/lKDBC3N1k0wJ5DbGEUlSbpf8mcFAhRBaMYOQ0 0lAu1b+I5GWZ61VoKKOeLiXSybRdqZoP8SMbKIqAnF0BJDWUxf4MOS5aARI9kX18yjuV 40rzvpUcjgDgone+KJBFHIl+e6MVT6LaaKaT6MDHSZ6jpFAGZzgNzEQwuBU0zA4fWNUa y6RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KaGKOlu8; 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 g17si3455665ejs.350.2019.10.23.09.37.06; Wed, 23 Oct 2019 09:37:29 -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=KaGKOlu8; 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 S1733292AbfJWLuZ (ORCPT + 99 others); Wed, 23 Oct 2019 07:50:25 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:55148 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733180AbfJWLuY (ORCPT ); Wed, 23 Oct 2019 07:50:24 -0400 Received: by mail-wm1-f65.google.com with SMTP id g7so2816598wmk.4 for ; Wed, 23 Oct 2019 04:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:openpgp:message-id:date:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=wDYk9ecxVmBs+fLPH4NRWrGaP2z4tJFrCfIWmLCCUuk=; b=KaGKOlu8YrKxfNkM1N0LQQcM5xZYyJR+rVFsi0De4kZtD7uAZp8VWGNqlQVeo6Im52 iPmveajFItIOTHJix9H0JOU+2IVkb3BXnkxcsGeB2IWfNLlGAoE9FCXLBHyKfqi002RB 1EQMmowGvO9CHqnXHRlpH8E6VVat2qBPT3f9AZ1JJbuebnSSJltD7LldgvpkgjMEgP6M zSVgR0OQiBwAeECibJD/ho4PYMaQaVPRSqhQ26NBkxpRRAZd0X0S7Mk0OEeBwkOBYEh4 BZGLuIEk96a2BdRQPZBV3JKVM19Bsy6TH88FO8K63nuOSCDEHaMpCn/5OHhgbZCWLO6g JTPQ== 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:openpgp:message-id :date:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=wDYk9ecxVmBs+fLPH4NRWrGaP2z4tJFrCfIWmLCCUuk=; b=TttOcesXnTKzA+RQOCN5IWOIXQQQwe/O3UUcO/rp9JUiWU7QaGDyNQzAUSX+Zn+Pom 28GKtAqNaa6wQBK10w2dAu25b4g0UfaZrc/7Nqpps4TmuOphlhmk1b1gniMXQew7D1jm /3GcfQZlNW36h3AtVbhMkUpgjTAA45In2UayEHcnEoBfjFq2uw38gg7ba8GqPtkLjM5k QqAwtwkSt+sCVZmrVdoXHAqYeD0AwZXMUPx/FmrtmK9c3wINg43pkioEvuq5XbbchyyN IvnjLbOiCFxpkNGvtrGabY0fbKKwKnI0xy2ONZ6k+KLmh8BX1qApAS8GT0WjMeRSkJ3S fFSA== X-Gm-Message-State: APjAAAV/K0DDCDs7lS843Y3ieYa5E8wm3oGAkahOUUz5m5vzKmcuB7Vv Kagn2MarImJ9xhieMmVTTO1jZQ== X-Received: by 2002:a05:600c:2214:: with SMTP id z20mr7692758wml.10.1571831422367; Wed, 23 Oct 2019 04:50:22 -0700 (PDT) Received: from [192.168.27.135] ([37.157.136.206]) by smtp.googlemail.com with ESMTPSA id j19sm38467203wre.0.2019.10.23.04.50.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Oct 2019 04:50:21 -0700 (PDT) Subject: Re: [PATCH 5/5] ARM: dts: qcom: msm8974: add interconnect nodes To: Brian Masney , agross@kernel.org, bjorn.andersson@linaro.org Cc: robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20191013080804.10231-1-masneyb@onstation.org> <20191013080804.10231-6-masneyb@onstation.org> From: Georgi Djakov Openpgp: preference=signencrypt Message-ID: Date: Wed, 23 Oct 2019 14:50:19 +0300 MIME-Version: 1.0 In-Reply-To: <20191013080804.10231-6-masneyb@onstation.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Brian, Thanks for the patch! On 13.10.19 г. 11:08 ч., Brian Masney wrote: > Add interconnect nodes that's needed to support bus scaling. > > Signed-off-by: Brian Masney > --- > arch/arm/boot/dts/qcom-msm8974.dtsi | 60 +++++++++++++++++++++++++++++ > 1 file changed, 60 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi > index bdbde5125a56..ed98d14a88b1 100644 > --- a/arch/arm/boot/dts/qcom-msm8974.dtsi > +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi > @@ -1,6 +1,7 @@ > // SPDX-License-Identifier: GPL-2.0 > /dts-v1/; > > +#include > #include > #include > #include > @@ -1106,6 +1107,60 @@ > }; > }; > > + bimc: interconnect@fc380000 { > + reg = <0xfc380000 0x6a000>; > + compatible = "qcom,msm8974-bimc"; > + #interconnect-cells = <1>; > + clock-names = "bus", "bus_a"; > + clocks = <&rpmcc RPM_SMD_BIMC_CLK>, > + <&rpmcc RPM_SMD_BIMC_A_CLK>; > + }; > + > + cnoc: interconnect@fc480000 { > + reg = <0xfc480000 0x4000>; > + compatible = "qcom,msm8974-cnoc"; > + #interconnect-cells = <1>; > + clock-names = "bus", "bus_a"; > + clocks = <&rpmcc RPM_SMD_CNOC_CLK>, > + <&rpmcc RPM_SMD_CNOC_A_CLK>; > + }; > + > + mmssnoc: interconnect@fc478000 { > + reg = <0xfc478000 0x4000>; > + compatible = "qcom,msm8974-mmssnoc"; > + #interconnect-cells = <1>; > + clock-names = "bus", "bus_a"; > + clocks = <&mmcc MMSS_S0_AXI_CLK>, > + <&mmcc MMSS_S0_AXI_CLK>; > + }; > + > + ocmemnoc: interconnect@fc470000 { > + reg = <0xfc470000 0x4000>; > + compatible = "qcom,msm8974-ocmemnoc"; > + #interconnect-cells = <1>; > + clock-names = "bus", "bus_a"; > + clocks = <&rpmcc RPM_SMD_OCMEMGX_CLK>, > + <&rpmcc RPM_SMD_OCMEMGX_A_CLK>; > + }; > + > + pnoc: interconnect@fc468000 { > + reg = <0xfc468000 0x4000>; > + compatible = "qcom,msm8974-pnoc"; > + #interconnect-cells = <1>; > + clock-names = "bus", "bus_a"; > + clocks = <&rpmcc RPM_SMD_PNOC_CLK>, > + <&rpmcc RPM_SMD_PNOC_A_CLK>; > + }; > + > + snoc: interconnect@fc460000 { > + reg = <0xfc460000 0x4000>; > + compatible = "qcom,msm8974-snoc"; > + #interconnect-cells = <1>; > + clock-names = "bus", "bus_a"; > + clocks = <&rpmcc RPM_SMD_SNOC_CLK>, > + <&rpmcc RPM_SMD_SNOC_A_CLK>; > + }; It would have been nice to have the DT nodes sorted by address, but i suppose it doesn't make much difference, as the rest of the nodes in this file are unsorted anyway. > + > mdss: mdss@fd900000 { > status = "disabled"; > > @@ -1152,6 +1207,11 @@ > "core", > "vsync"; > > + interconnects = <&mmssnoc MNOC_MAS_GRAPHICS_3D &bimc BIMC_SLV_EBI_CH0>, > + <&ocmemnoc OCMEM_VNOC_MAS_GFX3D &ocmemnoc OCMEM_SLV_OCMEM>; Who will be the requesting bandwidth to DDR and ocmem? Is it the display or GPU or both? The above seem like GPU-related interconnects, so maybe these properties should be in the GPU DT node. > + interconnect-names = "mdp0-mem", > + "mdp1-mem"; As the second path is not to DDR, but to ocmem, it might be better to call it something like "gpu-ocmem". Thanks, Georgi > + > ports { > #address-cells = <1>; > #size-cells = <0>; >