From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: Marijn Suijten <marijn.suijten@somainline.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Konrad Dybcio <konrad.dybcio@linaro.org>
Subject: [PATCH 3/4] arm64: dts: qcom: sm6375-pdx225: Enable ATH10K WiFi
Date: Wed, 27 Sep 2023 11:21:42 +0200 [thread overview]
Message-ID: <20230927-topic-6375_stuff-v1-3-12243e36b45c@linaro.org> (raw)
In-Reply-To: <20230927-topic-6375_stuff-v1-0-12243e36b45c@linaro.org>
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.
Enable it and tighten the relevant regulators.
[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
[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>
---
.../boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts b/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts
index 964fe86a18ef..bbec7aee60be 100644
--- a/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts
+++ b/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts
@@ -311,7 +311,7 @@ pm6125_l20: l20 {
pm6125_l21: l21 {
regulator-min-microvolt = <3000000>;
- regulator-max-microvolt = <3400000>;
+ regulator-max-microvolt = <3312000>;
};
pm6125_l22: l22 {
@@ -322,7 +322,7 @@ pm6125_l22: l22 {
pm6125_l23: l23 {
regulator-min-microvolt = <3000000>;
- regulator-max-microvolt = <3400000>;
+ regulator-max-microvolt = <3312000>;
};
pm6125_l24: l24 {
@@ -345,8 +345,8 @@ pmr735a_l1: l1 {
};
pmr735a_l2: l2 {
- regulator-min-microvolt = <352000>;
- regulator-max-microvolt = <796000>;
+ regulator-min-microvolt = <640000>;
+ regulator-max-microvolt = <640000>;
};
pmr735a_l3: l3 {
@@ -433,6 +433,15 @@ &usb_1_hsphy {
status = "okay";
};
+&wifi {
+ vdd-0.8-cx-mx-supply = <&pmr735a_l2>;
+ vdd-1.8-xo-supply = <&pm6125_l16>;
+ vdd-1.3-rfa-supply = <&pm6125_l2>;
+ vdd-3.3-ch0-supply = <&pm6125_l23>;
+ vdd-3.3-ch1-supply = <&pm6125_l21>;
+ status = "okay";
+};
+
&xo_board_clk {
clock-frequency = <19200000>;
};
--
2.42.0
next prev parent reply other threads:[~2023-09-27 9:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-27 9:21 [PATCH 0/4] SM6375 features Konrad Dybcio
2023-09-27 9:21 ` [PATCH 1/4] arm64: dts: qcom: sm6375: Add UART1 Konrad Dybcio
2023-09-27 10:59 ` Bryan O'Donoghue
2023-09-27 9:21 ` [PATCH 2/4] arm64: dts: qcom: sm6375-pdx225: Enable MSS Konrad Dybcio
2023-09-27 9:21 ` Konrad Dybcio [this message]
2023-09-27 9:21 ` [PATCH 4/4] arm64: dts: qcom: sm6375-pdx225: Add USBPHY regulators Konrad Dybcio
2023-09-27 11:01 ` Bryan O'Donoghue
2023-09-27 11:05 ` Konrad Dybcio
2023-09-27 11:16 ` Bryan O'Donoghue
2023-09-27 11:20 ` Konrad Dybcio
2023-10-16 18:25 ` [PATCH 0/4] SM6375 features 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=20230927-topic-6375_stuff-v1-3-12243e36b45c@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marijn.suijten@somainline.org \
--cc=robh+dt@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;
as well as URLs for NNTP newsgroup(s).