From: Bjorn Andersson <andersson@kernel.org>
To: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
Cc: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
Konrad Dybcio <konradybcio@kernel.org>,
Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
mukesh.savaliya@oss.qualcomm.com, linux-arm-msm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: qcom: qcs6490-rb3gen2: Add SPI3 QUP core bandwidth OPP
Date: Fri, 4 Dec 2026 13:12:56 -0600 [thread overview]
Message-ID: <axMQPgprfD2-xKIT@zenbook> (raw)
In-Reply-To: <b1097812-c7e8-4c02-9fbe-f95890425917@oss.qualcomm.com>
On Tue, Oct 27, 2026 at 06:18:50PM +0530, Viken Dadhaniya wrote:
>
>
> On 10/26/2026 6:19 PM, Konrad Dybcio wrote:
> > On 10/25/26 2:43 PM, Viken Dadhaniya wrote:
> >> Short SPI transfers are sensitive to the bandwidth available on the QUP
> >> core interconnect path. An insufficient vote delays Serial Engine
> >> register and FIFO accesses, increasing command-dispatch latency.
> >>
> >> Add a dedicated SPI3 OPP table with the valid 75 MHz and 100 MHz
> >> source-clock and RPMh power-domain OPPs. Add a 100000 kBps average and
> >> peak vote for the QUP core interconnect path. This improves MCP2518FD CAN
> >> payload throughput by approximately 38%.
> >>
> >> Limit the vote to SPI3 on RB3Gen2, where it serves the MCP2518FD CAN
> >> controller and its frequent short SPI transfers. Other QUP/SPI instances
> >> do not require this vote, so avoid raising their interconnect bandwidth
> >> unnecessarily.
> >
> > You can solve the general problem OR you can do what this and
> > create more work down the line. What if I connect a MCP2518FD
> > on SPI4? SPI5? SPI6?
> >
> > Konrad
>
> I understand the concern about supporting this on other SPI instances.
> Moving the MCP2518FD would require a board wiring change and corresponding
> DT updates, which could include its bandwidth requirement. On RB3Gen2,
> it is connected to SPI3, so this patch scopes the vote to that instance.
> Other tested SPI clients do not have KPI issues, which is why I kept
> this change specific to the current board configuration.
But the opp-table defines the acceptable frequencies on the bus and map
these to bandwidth and rail requirements.
Is this really a property of the particular PCB? Isn't this a property
of kodiak itself - while the selection of which frequency to operate on
is board specific.
Regards,
Bjorn
prev parent reply other threads:[~2026-12-04 19:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-25 13:43 [PATCH] arm64: dts: qcom: qcs6490-rb3gen2: Add SPI3 QUP core bandwidth OPP Viken Dadhaniya
2026-10-26 12:49 ` Konrad Dybcio
2026-10-27 12:48 ` Viken Dadhaniya
2026-12-04 19:12 ` Bjorn Andersson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=axMQPgprfD2-xKIT@zenbook \
--to=andersson@kernel.org \
--cc=abelvesa@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mukesh.savaliya@oss.qualcomm.com \
--cc=robh@kernel.org \
--cc=viken.dadhaniya@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox