lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250928-judyln-dts-v3-7-b14cf9e9a928@postmarketos.org>
Date: Sun, 28 Sep 2025 22:05:30 -0700
From: Paul Sajna <sajattack@...tmarketos.org>
To: Bjorn Andersson <andersson@...nel.org>, 
 Konrad Dybcio <konradybcio@...nel.org>, Rob Herring <robh@...nel.org>, 
 Krzysztof Kozlowski <krzk+dt@...nel.org>, 
 Conor Dooley <conor+dt@...nel.org>, David Heidelberg <david@...t.cz>
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org, 
 linux-kernel@...r.kernel.org, phone-devel@...r.kernel.org, 
 Amir Dahan <system64fumo@...tonmail.com>, 
 Christopher Brown <crispybrown@...il.com>, 
 Paul Sajna <sajattack@...tmarketos.org>
Subject: [PATCH v3 07/11] arm64: dts: qcom: sdm845-lg-{common, judyln}: Add
 wifi node

Wi-Fi now works with this patch and relevant firmware

[   21.488274] ath10k_snoc 18800000.wifi: qmi chip_id 0x30214 chip_family 0x4001 board_id 0xff soc_id 0x40030001
[   21.498477] ath10k_snoc 18800000.wifi: qmi fw_version 0x20060285 fw_build_timestamp 2020-10-12 23:35 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.2.0.c4-00645-QCAHLSWMTPLZ-1.336037.2
[   22.973165] ath10k_snoc 18800000.wifi: wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000
[   22.983265] ath10k_snoc 18800000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 0 testmode 0
[   22.992048] ath10k_snoc 18800000.wifi: firmware ver  api 5 features wowlan,mgmt-tx-by-reference,non-bmi crc32 b3d4b790
[   23.045368] ath10k_snoc 18800000.wifi: htt-ver 3.83 wmi-op 4 htt-op 3 cal file max-sta 32 raw 0 hwcrypto 1
[   23.130581] ath10k_snoc 18800000.wifi: invalid MAC address; choosing random
[   23.139008] ath: EEPROM regdomain: 0x819a
[   23.139018] ath: EEPROM indicates we should expect a country code
[   23.139029] ath: doing EEPROM country->regdmn map search
[   23.139035] ath: country maps to regdmn code: 0x5e
[   23.139042] ath: Country alpha2 being used: KR
[   23.139047] ath: Regpair used: 0x5e
[   29.382642] msm_dpu ae01000.display-controller: [drm:adreno_request_fw] loaded qcom/a630_sqe.fw from new location
[   29.395932] msm_dpu ae01000.display-controller: [drm:adreno_request_fw] loaded qcom/a630_gmu.bin from new location
[   31.774723] Bluetooth: RFCOMM TTY layer initialized
[   31.779713] Bluetooth: RFCOMM socket layer initialized
[   31.784947] Bluetooth: RFCOMM ver 1.11
[   39.138098] wlan0: authenticate with e8:9f:80:dd:68:22 (local address=ce:db:e1:ab:08:30)
[   39.146318] wlan0: send auth to e8:9f:80:dd:68:22 (try 1/3)
[   39.180484] wlan0: authenticate with e8:9f:80:dd:68:22 (local address=ce:db:e1:ab:08:30)
[   39.188697] wlan0: send auth to e8:9f:80:dd:68:22 (try 1/3)
[   39.196651] wlan0: authenticated
[   39.202286] wlan0: associate with e8:9f:80:dd:68:22 (try 1/3)
[   39.211036] wlan0: RX AssocResp from e8:9f:80:dd:68:22 (capab=0x111 status=0 aid=4)
[   39.290235] wlan0: associated
[   39.293363] wlan0: Limiting TX power to 21 (24 - 3) dBm as advertised by e8:9f:80:dd:68:22

Signed-off-by: Paul Sajna <sajattack@...tmarketos.org>
---
 arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 12 ++++++++++++
 arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts  |  4 ++++
 2 files changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
index 0f0a3f471f48e26cc48feb1551093599fcb35d7f..2aa8f7d2f80c58b5b1f66d797879c43cd6d4533e 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi
@@ -678,3 +678,15 @@ &uart9 {
 &venus {
 	status = "okay";
 };
+
+&wifi {
+	vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
+	vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
+	vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
+	vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
+	vdd-3.3-ch1-supply = <&vreg_l23a_3p3>;
+
+	qcom,snoc-host-cap-skip-quirk;
+
+	status = "okay";
+};
diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
index d60094f864605f7e454693d73efb63b9a099ecad..3106fdc9b679bc6a43a1a490c61b73a63003f7e1 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dts
@@ -151,3 +151,7 @@ &bluetooth {
 &venus {
 	firmware-name = "qcom/sdm845/lg/judyln/venus.mbn";
 };
+
+&wifi {
+	qcom,calibration-variant = "lg_judyln";
+};

-- 
2.51.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ