Message ID | 20230912-spi-qup-dvfs-v1-0-3e38aa09c2bd@kernkonzept.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp626912vqx; Tue, 12 Sep 2023 12:16:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGmRyEDbX7R/IE1dcm11sfuBOUOU3fUf+5i/tzDkJVpUPGrk0bYes5/aGYTbqWI5NQeuftg X-Received: by 2002:aca:2209:0:b0:3a7:94d3:43fe with SMTP id b9-20020aca2209000000b003a794d343femr630263oic.30.1694546173557; Tue, 12 Sep 2023 12:16:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694546173; cv=none; d=google.com; s=arc-20160816; b=KH1XDhDaBG/xmBcc007NE9oQ09x8BYd1nY10doMGIHu0Z9KcTw3t4WZkLUQenx0JIP BaNoyd2OG/Vc1l6TPzJOWuifwp32O3y38QetRxlr39FVPLegcwxFhA2dEoU9qvByo6gk HctH6A04MkfOghkbe9c4ozyOOAjckv7710OUsHvaYD7V5Ccu6cSNswKI8hzAdUQSUQqw olYAG4Y3Z+c1hhdzATeuWKlc6j+ICad2hTcGxh6DmAURu1q3J/MGovLPUT29Uy/7pUMr uJvbkG4phZqifFVUIklsBPUW+GrQt2ZtoxnqjLDfXs1hnQu69U9AJ4Yz85H2nFhZyO4c tNiw== 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=X5d4RzC/AYaU+6u1i64mjtb2PzI89u77tGMpUXMkujQ=; fh=10DQ9cLgm4jgsgyilmWpXaSieUpiqS1iqWfjfWaX8GI=; b=dPQX3PxI/sjlrivLD4lA1eRbyhZAdr+v09xqF1vTj178ZTKbm1rQxhP1+CIPzWO/2/ hO2lq0czaJLBaW87fSH+6fK0MZ9tNldQn2WnXhlkUSItjVe+waRQf5gRqmuXsYidsHV6 Nms3o8BVHyqlqBgGxKfrHNeP9hY1R5FbDd8bpOKD9Fvw0IfbK2h11whnm8BmhI+bgDuc DPTj26NGmI00F8/u0YsgG39fIQFguLLeCvc5hGORrmG+VC5Fe0YSi722fHTOkHlmE4xk C3V5sbI1u5YEobfslOe+mx1VcyxtWM9CNJ7iZboQBijdNMrW3txCY+JOX9mYYzBbPjkQ IqwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernkonzept.com header.s=mx1 header.b="Fc/S8eph"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id bg26-20020a056a02011a00b00543eeb76c52si7948073pgb.756.2023.09.12.12.16.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 12:16:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernkonzept.com header.s=mx1 header.b="Fc/S8eph"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 646CE808AB8C; Tue, 12 Sep 2023 07:31:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.8 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235939AbjILOa4 (ORCPT <rfc822;pwkd43@gmail.com> + 37 others); Tue, 12 Sep 2023 10:30:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235596AbjILOay (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 12 Sep 2023 10:30:54 -0400 Received: from mx.kernkonzept.com (serv1.kernkonzept.com [IPv6:2a01:4f8:1c1c:b490::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E08F115; Tue, 12 Sep 2023 07:30:50 -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=X5d4RzC/AYaU+6u1i64mjtb2PzI89u77tGMpUXMkujQ=; b=Fc/S8eph0RXiXyaMyyWngueNO2 FBq953keUXIJtiNeVow6xIDJOYi/87GDmPZUrZ4wr/MrV18JI7yLq2wsrVkbaGq+IDUTaQGJ/w+0i 6+aqh1OELOGoC0JTU/7rguCzTRMS3DaTq/zCOkjGPtzhNTE//RaGV3xGy5SQMrlt1gh2QguLnzb0D nOH49cJCOLKRCUevDTcF7n/GDeh/C+JcXaDU/YnoO0bCj1d9YUkl3jjqNHfalm6TX9qNUL4nXBltR JXPHnaynY3hLPRWvN1LDiP0GMQkb9LfAYz44vEs5fueY8n0VDWdHOZUtTkDxFwI0CVgrXrUWTbn52 MmNX6H6g==; 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 1qg4Pe-0034i9-0X; Tue, 12 Sep 2023 16:30:46 +0200 From: Stephan Gerhold <stephan.gerhold@kernkonzept.com> Subject: [PATCH 0/4] spi: qup: Allow scaling power domains and interconnect Date: Tue, 12 Sep 2023 16:30:35 +0200 Message-Id: <20230912-spi-qup-dvfs-v1-0-3e38aa09c2bd@kernkonzept.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAt2AGUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2MDS0Mj3eKCTN3C0gLdlLK0Yl1zw7Rki0TTVIPkJEMloJaCotS0zAqwcdG xtbUAQeNq3V4AAAA= 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>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.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> X-Mailer: b4 0.12.3 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 (groat.vger.email [0.0.0.0]); Tue, 12 Sep 2023 07:31:13 -0700 (PDT) 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 groat.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776860448403310977 X-GMAIL-MSGID: 1776860448403310977 |
Series |
spi: qup: Allow scaling power domains and interconnect
|
|
Message
Stephan Gerhold
Sept. 12, 2023, 2:30 p.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>
---
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: 678466ba68915d452c200b78d0385931e6f8e907
change-id: 20230912-spi-qup-dvfs-71fc8a5e0cb1
Best regards,