From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Konrad Dybcio <konrad.dybcio@linaro.org>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Kees Cook <keescook@chromium.org>,
Tony Luck <tony.luck@intel.com>,
"Guilherme G. Piccoli" <gpiccoli@igalia.com>
Cc: Marijn Suijten <marijn.suijten@somainline.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org
Subject: Re: [PATCH 4/4] arm64: dts: qcom: sm6115p-j606f: Enable ATH10K WiFi
Date: Thu, 6 Apr 2023 20:51:20 +0300 [thread overview]
Message-ID: <7476b5ba-426c-3701-c4aa-d3e2db3de112@linaro.org> (raw)
In-Reply-To: <20230406-topic-lenovo_features-v1-4-c73a5180e48e@linaro.org>
On 06/04/2023 18:25, Konrad Dybcio wrote:
> Enable the onboard QCA Wi-Fi. HW identifiers for reference:
> qmi chip_id 0x320 chip_family 0x4001 board_id 0xff soc_id 0x400e0000
>
> Firmware sources:
> /vendor/firmware_mnt/image/wlanmdsp.bin -> qcom/.../wlanmdsp.mbn
> /vendor/firmware_mnt/image/bdwlan.bXX [1] -> [2] -> ath10k/.../board-2.bin
> [3] -> ath10k/.../firmware-5.bin
>
> Not sure where 3 comes from on the device itself, gotta investigate that..
>
> According to [4], it's called WCN3990_STRAIT.
>
> [1] XX = board_id printed when the file is missing or by your downstream
> kernel firmware loader in the dmesg; if XX=ff, use bdwlan.bin
Since the board_id is 0xff, please add qcom,ath10k-calibration-variant
Ideally, could you please send the bdwlan to ath10k for inclusion, see
https://wireless.wiki.kernel.org/en/users/drivers/ath10k/boardfiles .
>
> [2] https://github.com/jhugo/linux/blob/5.5rc2_wifi/README
> [3] https://github.com/kvalo/ath10k-firmware/blob/master/WCN3990/hw1.0/HL3.1/WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1/firmware-5.bin
> [4] https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/wlan/qca-wifi-host-cmn/-/blob/LA.VENDOR.1.0.r1-20700-WAIPIO.QSSI13.0/hif/src/hif_hw_version.h#L55
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts
> index 2aac25171dec..4ba8e59a27d8 100644
> --- a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts
> +++ b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts
> @@ -315,6 +315,14 @@ &usb_hsphy {
> status = "okay";
> };
>
> +&wifi {
> + vdd-0.8-cx-mx-supply = <&pm6125_l8>;
> + vdd-1.8-xo-supply = <&pm6125_l16>;
> + vdd-1.3-rfa-supply = <&pm6125_l17>;
> + vdd-3.3-ch0-supply = <&pm6125_l23>;
> + status = "okay";
> +};
> +
> &xo_board {
> clock-frequency = <19200000>;
> };
>
--
With best wishes
Dmitry
next prev parent reply other threads:[~2023-04-06 17:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-06 15:25 [PATCH 0/4] Tab P11 features Konrad Dybcio
2023-04-06 15:25 ` [PATCH 1/4] arm64: dts: qcom: sm6115-j606f: Add ramoops node Konrad Dybcio
2023-04-06 17:54 ` Dmitry Baryshkov
2023-04-06 18:29 ` Konrad Dybcio
2023-04-06 15:25 ` [PATCH 2/4] arm64: dts: qcom: sm6115: Add RMTFS Konrad Dybcio
2023-04-06 17:52 ` Dmitry Baryshkov
2023-04-06 15:25 ` [PATCH 3/4] arm64: dts: qcom: sm6115p-j606f: Enable remoteprocs Konrad Dybcio
2023-04-06 17:51 ` Dmitry Baryshkov
2023-04-06 15:25 ` [PATCH 4/4] arm64: dts: qcom: sm6115p-j606f: Enable ATH10K WiFi Konrad Dybcio
2023-04-06 17:51 ` Dmitry Baryshkov [this message]
2023-04-06 18:32 ` Konrad Dybcio
2023-04-06 18:56 ` Dmitry Baryshkov
2023-04-07 13:27 ` 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=7476b5ba-426c-3701-c4aa-d3e2db3de112@linaro.org \
--to=dmitry.baryshkov@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gpiccoli@igalia.com \
--cc=keescook@chromium.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marijn.suijten@somainline.org \
--cc=robh+dt@kernel.org \
--cc=tony.luck@intel.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
all inboxes | Powered by JetHome®