From: Kalle Valo <kvalo@kernel.org>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: Miaoqing Pan <quic_miaoqing@quicinc.com>,
ath11k@lists.infradead.org,
Dmitry Baryshkov <dbaryshkov@gmail.com>,
linux-arm-msm@vger.kernel.org, linux-media@vger.kernel.org,
agross@kernel.org, andersson@kernel.org,
linux-kernel@vger.kernel.org, konrad.dybcio@linaro.org,
mchehab@kernel.org, quic_vgarodia@quicinc.com,
stanimir.k.varbanov@gmail.com
Subject: Re: [PATCH] arm64: dts: qcom: sa8775p-ride: add WiFi/BT nodes
Date: Mon, 09 Sep 2024 14:31:40 +0300 [thread overview]
Message-ID: <871q1tgj1f.fsf@kernel.org> (raw)
In-Reply-To: <6to5p2dgsu6pvebkmkliojv5kfhnairigd46tmbraimxij7ddu@h6ziv7uwjeeq> (Dmitry Baryshkov's message of "Fri, 6 Sep 2024 03:49:06 +0300")
Dmitry Baryshkov <dmitry.baryshkov@linaro.org> writes:
> On Fri, Sep 06, 2024 at 08:19:28AM GMT, Miaoqing Pan wrote:
>
>>
>>
>> On 9/5/2024 8:49 PM, Dmitry Baryshkov wrote:
>> > On Thu, Sep 05, 2024 at 02:48:17PM GMT, Miaoqing Pan wrote:
>> > > Add a node for the PMU module of the WCN6855 present on the sa8775p-ride
>> > > board. Assign its LDO power outputs to the existing WiFi/Bluetooth module.
>> > >
>> > > Signed-off-by: Miaoqing Pan <quic_miaoqing@quicinc.com>
>> > > ---
>> > > arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi | 119 +++++++++++++++++++++
>> > > arch/arm64/boot/dts/qcom/sa8775p.dtsi | 2 +-
>> > > 2 files changed, 120 insertions(+), 1 deletion(-)
>> > >
>> > > @@ -837,3 +939,20 @@ &usb_2_hsphy {
>> > > &xo_board_clk {
>> > > clock-frequency = <38400000>;
>> > > };
>> > > +
>> > > +&pcieport0 {
>> > > + wifi@0 {
>> > > + compatible = "pci17cb,1101";
>> > > + reg = <0x10000 0x0 0x0 0x0 0x0>;
>> > > +
>> > > + vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
>> > > + vddaon-supply = <&vreg_pmu_aon_0p59>;
>> > > + vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
>> > > + vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
>> > > + vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
>> > > + vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
>> > > + vddrfa1p7-supply = <&vreg_pmu_rfa_1p7>;
>> > > + vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
>> > > + vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
>> >
>> > Please add
>> >
>> > qcom,ath11k-calibration-variant = "name";
>>
>> No need, here the WiFi node is for 'drivers/pci/pwrctl', not ath11k driver.
>
> NAK, nodes describe hardware, not drivers. And we have had enough issues
> with the WCN wifi having collisions on the board-id / chip-id / etc.
>
> Maybe we should make calibration-data required for the DT-based systems?
> Kalle, WDYT?
I don't know exactly what hardware you are referring so this is just a
quick and vague answer, take all this as grain of salt.
I don't have any numbers but I'm assuming most of the
ath10k/ath11k/ath12k devices have the calibration data stored in OTP
inside the chip. There are also devices which store the calibration
outside the chip, for example in DT, but my understanding is that they
are a minority.
If we were to require that the calibration data needs to be in DT, and
not use OTP at all, that would limit the on types of devices ath11k can
be used. And I don't even know how we could easily extract the
calibration data from OTP and it would be extra work for everyone.
Honestly I don't really see any benefits from this, only negatives.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
next prev parent reply other threads:[~2024-09-09 11:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-05 6:48 [PATCH] arm64: dts: qcom: sa8775p-ride: add WiFi/BT nodes Miaoqing Pan
2024-09-05 12:49 ` Dmitry Baryshkov
2024-09-06 0:19 ` Miaoqing Pan
2024-09-06 0:49 ` Dmitry Baryshkov
2024-09-09 11:31 ` Kalle Valo [this message]
2024-09-09 11:50 ` Dmitry Baryshkov
2024-09-09 12:27 ` Kalle Valo
2024-09-09 12:57 ` Dmitry Baryshkov
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=871q1tgj1f.fsf@kernel.org \
--to=kvalo@kernel.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=ath11k@lists.infradead.org \
--cc=dbaryshkov@gmail.com \
--cc=dmitry.baryshkov@linaro.org \
--cc=konrad.dybcio@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=quic_miaoqing@quicinc.com \
--cc=quic_vgarodia@quicinc.com \
--cc=stanimir.k.varbanov@gmail.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