Message ID | 20230919-spi-qup-dvfs-v2-0-1bac2e9ab8db@kernkonzept.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp3376324vqi; Tue, 19 Sep 2023 06:15:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFOwNO/VO5IPS/BYNbBkL7bPeW5D+Vz239mOUrceOuP+MiqYIxYYqANFg7R1LAkjW51X93r X-Received: by 2002:a05:6a20:3c88:b0:140:61f8:53f6 with SMTP id b8-20020a056a203c8800b0014061f853f6mr3489565pzj.29.1695129318308; Tue, 19 Sep 2023 06:15:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695129318; cv=none; d=google.com; s=arc-20160816; b=Eo4X8/72OYzgMGW82vTUeMB5bGAlUCGmtBhXRD64qvErlkLIonDcuOEIAMEWcBJ/gL t2WzuGnY9ZGSItYHHcYf8gRj33DjPYbwkaxPxuE8u4JSnArm/HreLVw60bpDSUXrSh3C EEXJdwriPHk8p9fp5aaawctyrfw5pBrC7K2h7fJkE3acbLjMcsnINjWRs/Khy9oVzLKf lLOQhHHyItd6AMQLhyyO+QFefWiu0iiBUejIbEniLMF7SMT41X27fvtszKiA9ITufJOK 0KB/3ucxLaGwyMOT4f+rIgJmvywyl89JxOhOkn0nXGd95nycWmnveE5gJt9AkWCvIZSK Qlgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=r3y4yFqUc5uIgQTTYbbXZv7CmCGCkwuSZZhi0rb2wK0=; fh=foxB1jkAuZMlPhPQGaYxpzfEWTSqU5/XEuwSHoI1Ndk=; b=jkMv4hfmX34FyC+gz71wvKext95TLAgQSQX+LaAOhDY0aFnTjxXWsND5H9lCOZuU6C XMJcaFgVvXav8sE4ZiwwvkbYEo14gtQ4DiiicxnX1Yq/FmXa4KPwb4KJApt2RIxAm6Rq x6JSrXKR0fzg0lW+hE+qiilatevaf7bJVEp0Z3X4sTyneZqd5KMIzqECmtyfKwouvDcm W3iDjhRRmK4qZ4dM/0vQ7H4AxCoN5fJhYSd0W2b2xVyKDdsSaDEt87yz9dSPY55Y0eZa guBluAQ1p3M0APfkbjeniWFNP6dlKl6lkByh9fOAHpjyeQDrDDAXQsrEgDqapUFXOu4H rbHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernkonzept.com header.s=mx1 header.b=pd76GLmV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernkonzept.com Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id bt11-20020a056a00438b00b00690cc6f6f38si625180pfb.76.2023.09.19.06.15.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 06:15:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernkonzept.com header.s=mx1 header.b=pd76GLmV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernkonzept.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 1481081E5564; Tue, 19 Sep 2023 05:01:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231151AbjISMAJ (ORCPT <rfc822;toshivichauhan@gmail.com> + 26 others); Tue, 19 Sep 2023 08:00:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbjISMAF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 19 Sep 2023 08:00:05 -0400 Received: from mx.kernkonzept.com (serv1.kernkonzept.com [IPv6:2a01:4f8:1c1c:b490::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48EEDF2; Tue, 19 Sep 2023 04:59:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kernkonzept.com; s=mx1; h=Cc:To:Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:From:References:In-Reply-To:Reply-To: Content-ID:Content-Description; bh=r3y4yFqUc5uIgQTTYbbXZv7CmCGCkwuSZZhi0rb2wK0=; b=pd76GLmVDxBF1mZweUcfDH4CSH DGa1R/y5nINulcIPDuIvhrDMrULp6ogSh8NLdqIMFP9J8AlsvFlHUJlDzfoqtLgCh+EbjO/MEjT9L L5/vVBWD50WxL+5s4lruIK1MVKtM5RlNxVJ7DlR34rbVak9dfIsWfiwHyq6TCwNjJFLsY8fpbA1tj E60nCsW4KeMSVnRwivOrdLR3RrGsr/7syzPmfbvSV+ofUfocJS/oPDdxsvBLg6F0mt/6ngrvpmFv9 MHiJR2RGhhRHWtHpvmTclUMIRWfrmE0dZ6L0NmbbDRSQXsjOjuZfJqW+b+XOrH0gNUSSMnVJTzOAc yE4QUqdQ==; Received: from [10.22.3.24] (helo=serv1.dd1.int.kernkonzept.com) by mx.kernkonzept.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) id 1qiZOT-004b4T-2k; Tue, 19 Sep 2023 13:59:53 +0200 From: Stephan Gerhold <stephan.gerhold@kernkonzept.com> Subject: [PATCH v2 0/4] spi: qup: Allow scaling power domains and interconnect Date: Tue, 19 Sep 2023 13:59:47 +0200 Message-Id: <20230919-spi-qup-dvfs-v2-0-1bac2e9ab8db@kernkonzept.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIADONCWUC/3XMQQ6CMBCF4auQWTumLTGCK+9hWJQyyITYlhYbl fTuVvYu/5e8b4NIgSnCpdogUOLIzpZQhwrMpO2dkIfSoISqRSsVRs+4PD0OaYx4lqNp9ImE6SW Uiw808mvnbl3piePqwnvXk/ytf6AkUWBNdaO1aI3qh+tMwc7OfsivR+Me0OWcv/JTvQOuAAAA To: Mark Brown <broonie@kernel.org> Cc: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, linux-arm-msm@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stephan Gerhold <stephan.gerhold@kernkonzept.com>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 19 Sep 2023 05:01:03 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777471919856826837 X-GMAIL-MSGID: 1777471919856826837 |
Series |
spi: qup: Allow scaling power domains and interconnect
|
|
Message
Stephan Gerhold
Sept. 19, 2023, 11:59 a.m. UTC
Make it possible to scale performance states of the power domain and
interconnect of the SPI QUP controller in relation to the selected SPI
speed / core clock. This is done separately by:
- Parsing the OPP table from the device tree for performance state
votes of the power domain
- Voting for the necessary bandwidth on the interconnect path to DRAM
Signed-off-by: Stephan Gerhold <stephan.gerhold@kernkonzept.com>
---
Changes in v2:
- Vote for bandwidth only when DMA is used and not with PIO
- Add review tags from Krzysztof and Konrad
- Link to v1: https://lore.kernel.org/r/20230912-spi-qup-dvfs-v1-0-3e38aa09c2bd@kernkonzept.com
---
Stephan Gerhold (4):
spi: dt-bindings: qup: Document power-domains and OPP
spi: qup: Parse OPP table for DVFS support
spi: dt-bindings: qup: Document interconnects
spi: qup: Vote for interconnect bandwidth to DRAM
.../devicetree/bindings/spi/qcom,spi-qup.yaml | 13 ++++++
drivers/spi/spi-qup.c | 50 +++++++++++++++++++++-
2 files changed, 62 insertions(+), 1 deletion(-)
---
base-commit: baaa2957b0c6feb4ff7806b5d8e0039bd80acbdf
change-id: 20230912-spi-qup-dvfs-71fc8a5e0cb1
Best regards,
Comments
On Tue, 19 Sep 2023 13:59:47 +0200, Stephan Gerhold wrote: > Make it possible to scale performance states of the power domain and > interconnect of the SPI QUP controller in relation to the selected SPI > speed / core clock. This is done separately by: > > - Parsing the OPP table from the device tree for performance state > votes of the power domain > - Voting for the necessary bandwidth on the interconnect path to DRAM > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/4] spi: dt-bindings: qup: Document power-domains and OPP commit: e6419c35f0d92632e06708c5610a31957f1bd6b3 [2/4] spi: qup: Parse OPP table for DVFS support commit: 287fcdaa35fc666640f805310095c52f2d818d26 [3/4] spi: dt-bindings: qup: Document interconnects commit: d15befc0cef42db7712714157d9483cab81149a1 [4/4] spi: qup: Vote for interconnect bandwidth to DRAM commit: ecdaa9473019f94e0ad6974a5f69b9be7de137d3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark