Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3242036ybv; Mon, 24 Feb 2020 21:18:32 -0800 (PST) X-Google-Smtp-Source: APXvYqxIZmxq4NAvSxcnsDIIJ0wr1jyH0AXgk1fIfTnGBeSu9jheNi+84yZZb+Tccm7/it97vjO8 X-Received: by 2002:aca:1a05:: with SMTP id a5mr2090387oia.97.1582607912043; Mon, 24 Feb 2020 21:18:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582607912; cv=none; d=google.com; s=arc-20160816; b=I0HECwI4n5sf8RX9kEOxZujhyUl/3VW+rg30fZlYuEFmeRDCWU+CM3RevOXqb+bGaJ 0EEf8vOPX6w0MHjfbUjbbfjm3q/6KTNgjha6eNFAqFAcYAg5j1R8XxrLTxe9y2ON5JVR opHzaMXR09p6yeDlG+4huHoabRWc4jDBtHqE9ke2uqD9eCirjfnOYhiDn/kK9dBTwdyJ nr9Q8I4CfdYmjGT6EK1OC4/n5PzmpLMuGPoX26KP33LUzlomkgtHlUyokkiXmLFgFDtA DNaDTX6BMorzvPgh1qO5koUkO9skWwZlK3083ac5lWd4TmczIcGjSelnRWSGtr7gIl1n dseQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ka0sLhQPFaXTwv3tDELStRrEtg68nriJ9HVXgH82wMY=; b=FMesArHw4lT170QjZsSqr0j8ABAg9euFGext6NjvVEMXxgxs4rdzsxjKzCCC7HDPtn QG7ieWzFmpEJPqmr7GZnkqxbgeMhK1kn76Ye7aKgEue7cI7EXINaa9gXlnUQV01XqYs0 AxbjqlIiY59TNStBznl73QWICInfB2SrqorlySyvoyWQpuWLtvFakHDXKua9xbpw+zes GZyzFeiUhD9B/l1QVONsLKaRjVkPvLkhx2RWckJhZWH+JZN4CRSZGuLIiVjhykFsiR7+ cN1w6c01evXzn0K5YLO+pnfcHP6l+D/bo4hBb/nWVT6RoTnzgVM1TGztDmOAe4siPMRU hgnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MfzMx3Oo; 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 s129si6436398oig.177.2020.02.24.21.18.19; Mon, 24 Feb 2020 21:18:32 -0800 (PST) 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=MfzMx3Oo; 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 S1726019AbgBYFQu (ORCPT + 99 others); Tue, 25 Feb 2020 00:16:50 -0500 Received: from mail-pj1-f65.google.com ([209.85.216.65]:32864 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726400AbgBYFQu (ORCPT ); Tue, 25 Feb 2020 00:16:50 -0500 Received: by mail-pj1-f65.google.com with SMTP id m7so641004pjs.0 for ; Mon, 24 Feb 2020 21:16:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ka0sLhQPFaXTwv3tDELStRrEtg68nriJ9HVXgH82wMY=; b=MfzMx3OoAyEtSqpOZ0WtdfDaIjNPNeuyzCbpqjIHCgRZgMdnb82+zNuqvO6REVU3Iz o+3zenb5smKGh3pixYR+Th7xOVONXMP31NIJZl757/wtxGpCjkDfZ4NUgK1hIosRnjwv MHyju43+Ea0LICvpxU2VsKsh0K5P+E5xBE/ehqeDUd06hWz3g+VuMRdGemx5p9pnMFhD /1599Z4dFSIqEqyA5RkpiSdFKbiDLUMeavkbuhE6aWYllSUgVgsqCHV5ML0pToE/OKAI UNtCr8UEjxEPce8u3sf5Lk0XrmZy6+7fHf4CLiFctxKfHk+/zeXH/1VF6oRpWHxlgtzc oU/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ka0sLhQPFaXTwv3tDELStRrEtg68nriJ9HVXgH82wMY=; b=HOhckhHc8e6Bv3/bNX7RdnQnnZWbGJNQPZUeVIiM7vY99UsuxIglYeVhXf5CjKcXDD njQ3LOO6nQO8o/PjdxO1XufgFXB77Bks5z9tqRuKNweCvzHCYYCJhzrhltsvzcfJ2SiB eB4dV2dPzqxfeRK2f62H0wsk9mXkq5rceqVT9sp/FR//km2SeQH0ohjZulfda4FuX3mD YurmazfTmmghaQExKEX37V5aUMNug4rTuAC8eO3bmJ0CfgS33kaSOuiWUjxHRDHT9woR PmktfMFmCf/sXtfwxQoecPUnzmeeUgoszZ3Opy8AdcD1I6S4c1oUwVO0yiUq76wiZme8 vB1w== X-Gm-Message-State: APjAAAUkoqC4OqJJAba2mrftOKEaZN8kTEH/+qFz9w1O3xRyqs/4tW9I 2bmyvYuqxjX+whxegGLnlhqBeQ== X-Received: by 2002:a17:902:7048:: with SMTP id h8mr54903891plt.64.1582607808882; Mon, 24 Feb 2020 21:16:48 -0800 (PST) Received: from builder (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id c184sm15092223pfa.39.2020.02.24.21.16.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Feb 2020 21:16:47 -0800 (PST) Date: Mon, 24 Feb 2020 21:16:45 -0800 From: Bjorn Andersson To: georgi.djakov@linaro.org Cc: Sibi Sankar , robh+dt@kernel.org, evgreen@chromium.org, agross@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, mark.rutland@arm.com, daidavid1@codeaurora.org, saravanak@google.com, mka@chromium.org, linux-pm@vger.kernel.org Subject: Re: [PATCH v3 0/6] Split SDM845 interconnect nodes and consolidate RPMh support Message-ID: <20200225051645.GX3948@builder> References: <20200209183411.17195-1-sibis@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200209183411.17195-1-sibis@codeaurora.org> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun 09 Feb 10:34 PST 2020, Sibi Sankar wrote: Hi Georgi, Will you pick up the bindings and driver patches for v5.7? So that I can apply the dts patches. Regards, Bjorn > While there are no current consumers of the SDM845 interconnect device in > devicetree, take this opportunity to redefine the interconnect device nodes > as the previous definitions of using a single child node under the apps_rsc > device did not accurately capture the description of the hardware. > The Network-On-Chip (NoC) interconnect devices should be represented in a > manner akin to QCS404 platforms[1] where there is a separation of NoC devices > and its RPM/RPMh counterparts. > > The bcm-voter devices are representing the RPMh devices that the interconnect > providers need to communicate with and there can be more than one instance of > the Bus Clock Manager (BCM) which can live under different instances of Resource > State Coordinators (RSC). There are display use cases where consumers may need > to target a different bcm-voter (Some display specific RSC) than the default, > and there needs to be a way to represent this connection in devicetree. > > This patches series extends the discussions[2][3] involving the SDM845 > interconnect bindings by adding accompanying driver implementations > using the split NoC devices. Some of the code used to support the SDM845 > provider driver are refactored into common modules that can used by other > RPMh based interconnect providers such as SC7180[4]. This patch series also > updates existing sdm845 binding documentation to DT schema format using > json-schema. > > v3: > - Picked up Robs R-b for patch 1 > - Fixup qcom,bcm-voter.yaml. comments (Rob) > - Use qcom,bcm-voter instead of SoC specific compatible for > SDM845 and SC7180 (Odelu/Sibi) > - Fixup bindings check failures for qcom,sdm845.yaml > - Fixup the misc bugs. comments (Evan/Sibi) > - Fixup reg size for aggre1/2_noc > > v2: > - Reorganized dt-binding patches > - Fixed a bug that adds duplicate BCM node to voter (Georgi) > - Addressed misc. comments (Georgi) > > v1: https://lkml.org/lkml/2019/12/16/15 > > [1]: https://lkml.org/lkml/2019/6/13/143 > [2]: https://lkml.org/lkml/2019/7/19/1063 > [3]: https://lkml.org/lkml/2019/10/16/1793 > [4]: https://lkml.org/lkml/2019/11/26/389 > > David Dai (6): > dt-bindings: interconnect: Convert qcom,sdm845 to DT schema > dt-bindings: interconnect: Add YAML schemas for QCOM bcm-voter > dt-bindings: interconnect: Update Qualcomm SDM845 DT bindings > interconnect: qcom: Consolidate interconnect RPMh support > interconnect: qcom: sdm845: Split qnodes into their respective NoCs > arm64: dts: sdm845: Redefine interconnect provider DT nodes > > .../bindings/interconnect/qcom,bcm-voter.yaml | 45 + > .../bindings/interconnect/qcom,sdm845.txt | 24 - > .../bindings/interconnect/qcom,sdm845.yaml | 74 + > arch/arm64/boot/dts/qcom/sdm845.dtsi | 65 +- > drivers/interconnect/qcom/Kconfig | 13 +- > drivers/interconnect/qcom/Makefile | 4 + > drivers/interconnect/qcom/bcm-voter.c | 366 +++++ > drivers/interconnect/qcom/bcm-voter.h | 27 + > drivers/interconnect/qcom/icc-rpmh.c | 147 ++ > drivers/interconnect/qcom/icc-rpmh.h | 149 +++ > drivers/interconnect/qcom/sdm845.c | 1185 +++++++---------- > .../dt-bindings/interconnect/qcom,sdm845.h | 263 ++-- > 12 files changed, 1516 insertions(+), 846 deletions(-) > create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,bcm-voter.yaml > delete mode 100644 Documentation/devicetree/bindings/interconnect/qcom,sdm845.txt > create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,sdm845.yaml > create mode 100644 drivers/interconnect/qcom/bcm-voter.c > create mode 100644 drivers/interconnect/qcom/bcm-voter.h > create mode 100644 drivers/interconnect/qcom/icc-rpmh.c > create mode 100644 drivers/interconnect/qcom/icc-rpmh.h > > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project