From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796411579; b=45Wwd3UEXfP2nbvN9q95Af4D6j97cnodK03vHM2Ew4kKJ2ZvTIqTBbvXYkBDHkl+8izJ 4dU0GX39BER1NTQCh31IeQHjOsf5UWv1codIwF3X0838NOmBANuGEv9+UFk5GnHKt7kTE 6WlVPqJJUpNPu5hklSEdb2qq7d9Mb3gfc6i3+YMaaKrDD2G53tMHbT0PKl1VVDXJSuOVg zAjSB0XQ0dA3xJty38EHPXO9AnR4fGSeq31/QZQlkjVxKKhpM498j/YuITM6wUVlOiSHO CttSHx8yM0LbWys/ZypuohoZA3N1LWEGHwTHeTJh7sXgEv5nDkKeCPeyuvmQ9nC4WsA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796411579; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=9q6TbgKsXL5muV/+EWhaTJ9G/HL0Ss61WNzBa5LKUgs=; b=OknoTKwHA+gAfXQva5Fl8BKTzuiAG8b5uRb3vrTpi0oYH1rlnPqeYLHzZ9WOaDw/A06w WVstystMIyn/+Gpfmz5w95NxaEeMRSThVvc/VCj3v62Q4fix6zxPq1jl/ZBKWJNjj9VOV JupWjkHGISQf79NsEoN+AYgqWc+02E+ymdGOGXkItKTndVX4WtYJGvRcQiqoc7dVzJyah 2HCH+RS+AInv8OzOZzAPIdZWdzpJTHK8FQ3MY4EkNbjVxhP6IkLMk/fDzlCHqHQKZ/maT ZqYTSPFF48SVTGt0F+9PBZEe7S4A/XH+W+w5BiASjv8ogZ4BDHkuhP7enUk3/m3ZH/g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=YDoCJI00; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DAA1C606A322; Fri, 4 Dec 2026 19:12:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=YDoCJI00 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3CFC1F0093B; Fri, 4 Dec 2026 19:12:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796411579; bh=9q6TbgKsXL5muV/+EWhaTJ9G/HL0Ss61WNzBa5LKUgs=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=YDoCJI00zKt+A2ltID0sEzOuEI9Z43mfZmOtXNRqGAwfRJahXFL6kPwIxsRp843BV qqjGOhUvO8V4cj/sTdoCzsod4D//XHQmQlUodbaExQo5+zfVWSmj+5RR0cNNNZ/Xw2 n1UP6wQ8RKIIaJnHzjVRbChCK/SN1EvwNJfI/QKV1OLzqYGA62xmXY1/fEs4mHqFjJ s+XejpKYMbHOAlkblNd4KoLfm35itLz7tGV5ZucUZTd3eawXDpRuLmmPgUePARBQJ6 Yg6AgbfdgHhsmFvwJcgK+hyWefYxR5nvoqW16RfoLUl07gx5FBfNmZPtastm7iaOtq 034F5GfrLP2tw== Date: Fri, 4 Dec 2026 13:12:56 -0600 From: Bjorn Andersson To: Viken Dadhaniya Cc: Konrad Dybcio , Konrad Dybcio , Abel Vesa , Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 Message-ID: References: <20261025-qcs6490-spi3-opp-table-v1-1-d0e0be6ed1b7@oss.qualcomm.com> <2e928aaf-0659-4bc2-b6f7-e2a0a5e8d3f1@oss.qualcomm.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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