arm64: dts: qcom: sm6375-pdx225: Enable ATH10K WiFi
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Wed, 27 Sep 2023 09:21:42 +0000 (11:21 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 16 Oct 2023 03:43:39 +0000 (20:43 -0700)
commit6ffcd65f27d7d083b9bfae56c9b5fe1a0b7500f8
treef322c2592659cb471750cc9989bebff46afb8751
parentea6b3c61559f647d183322fc5431f2a5e78123d3
arm64: dts: qcom: sm6375-pdx225: Enable ATH10K WiFi

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>
Link: https://lore.kernel.org/r/20230927-topic-6375_stuff-v1-3-12243e36b45c@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts