mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Heidelberg <david@ixit.cz>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: Dylan Van Assche <me@dylanvanassche.be>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org
Subject: Re: [PATCH 1/3] arm64: dts: qcom: sdm845-oneplus: add ath10k calibration variant
Date: Mon, 10 Nov 2025 17:04:35 +0100	[thread overview]
Message-ID: <5fbe9d10-5d6d-404c-8f47-e4a12ebe7eeb@ixit.cz> (raw)
In-Reply-To: <wqjil4hhrbsozvhwdf355dqpwu736z4x2nwnurug2bpx23ed3g@c4shkwfyohky>

On 10/11/2025 16:58, Dmitry Baryshkov wrote:
> On Mon, Nov 10, 2025 at 04:37:46PM +0100, David Heidelberg via B4 Relay wrote:
>> From: Dylan Van Assche <me@dylanvanassche.be>
>>
>> SDM845-based Oneplus 6 and 6T have their own calibration files
>> for the WCN3990 WiFi/Bluetooth radio with the ath10k driver.
>> Add the calibration variant name to the DTS to reflect this to
>> allow using the calibration files from linux-firmware.
>>
>> [David] Adjust the compatible as ath10k-calibration-variant is deprecated
>> Signed-off-by: Dylan Van Assche <me@dylanvanassche.be>
>> Signed-off-by: David Heidelberg <david@ixit.cz>
>> ---
>>   arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
>> index db6dd04c51bb5..a0c2f6efec59d 100644
>> --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
>> @@ -929,5 +929,6 @@ &wifi {
>>   	vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
>>   	vdd-3.3-ch1-supply = <&vreg_l23a_3p3>;
>>   
>> +	qcom,calibration-variant = "oneplus_sdm845";
> 
> oneplus_sdm845_6? or oneplus_6_6t? SDM845 is too broad.

I verified with 
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/ath10k/WCN3990/hw1.0/board-2.bin

$ strings board-2.bin | rg oneplus
bus=snoc,qmi-board-id=ff,qmi-chip-id=30214,variant=oneplus_sdm845mmm

$ ./ath10k-bdencoder -e ~/Downloads/board-2.bin
...
bus=snoc,qmi-board-id=ff,qmi-chip-id=30214,variant=oneplus_sdm845.bin 
created size: 19152
...

Since OP6/6T should have same WiFi.

David>
> BTW: Were those board files sent to the ath10k ML for inclusion?
> 
>>   	qcom,snoc-host-cap-8bit-quirk;
>>   };
>>
>> -- 
>> 2.51.0
>>
>>
> 
-- 
David Heidelberg


  reply	other threads:[~2025-11-10 16:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-10 15:37 [PATCH 0/3] ath10k calibration variants for sdm845 phones David Heidelberg via B4 Relay
2025-11-10 15:37 ` [PATCH 1/3] arm64: dts: qcom: sdm845-oneplus: add ath10k calibration variant David Heidelberg via B4 Relay
2025-11-10 15:58   ` Dmitry Baryshkov
2025-11-10 16:04     ` David Heidelberg [this message]
2025-11-10 20:31       ` Dmitry Baryshkov
2025-11-10 15:37 ` [PATCH 2/3] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add " David Heidelberg via B4 Relay
2025-11-10 15:58   ` Dmitry Baryshkov
2025-11-10 15:37 ` [PATCH 3/3] arm64: dts: qcom: sdm845-shift-axolotl: " David Heidelberg via B4 Relay
2025-11-10 15:59   ` Dmitry Baryshkov
2025-12-16 12:50 ` [PATCH 0/3] ath10k calibration variants for sdm845 phones David Heidelberg
2026-01-05 14:07 ` Bjorn Andersson

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=5fbe9d10-5d6d-404c-8f47-e4a12ebe7eeb@ixit.cz \
    --to=david@ixit.cz \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@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=me@dylanvanassche.be \
    --cc=phone-devel@vger.kernel.org \
    --cc=robh@kernel.org \
    /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

all inboxes | Powered by JetHome®