[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <231fae33-4d3b-47f9-a824-ea752f8a23ae@quicinc.com>
Date: Tue, 3 Dec 2024 14:41:04 +0530
From: Raj Kumar Bhagat <quic_rajkbhag@...cinc.com>
To: Konrad Dybcio <konrad.dybcio@....qualcomm.com>,
<ath12k@...ts.infradead.org>
CC: <linux-wireless@...r.kernel.org>, Kalle Valo <kvalo@...nel.org>,
"Rob
Herring" <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
"Conor
Dooley" <conor+dt@...nel.org>,
Jeff Johnson <jjohnson@...nel.org>,
"Bjorn
Andersson" <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-arm-msm@...r.kernel.org>,
Balamurugan S <quic_bselvara@...cinc.com>,
"P Praneesh" <quic_ppranees@...cinc.com>
Subject: Re: [PATCH v2 09/22] wifi: ath12k: avoid m3 firmware download in AHB
device IPQ5332
On 10/19/2024 1:30 AM, Konrad Dybcio wrote:
> On 15.10.2024 8:26 PM, Raj Kumar Bhagat wrote:
>> From: Balamurugan S <quic_bselvara@...cinc.com>
>>
>> Current ath12k devices, QCN9274 and WCN7850, supports m3.bin firmware
>> download through ath12k driver. The new ath12k AHB based device
>> IPQ5332 supports m3 firmware download through remoteproc driver.
>>
>> Hence, add new parameter (m3_fw_support) in ath12k_hw_params to avoid
>> m3 firmware download in IPQ5332.
>>
>> Tested-on: IPQ5332 hw1.0 AHB WLAN.WBE.1.3.1-00130-QCAHKSWPL_SILICONZ-1
>> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00210-QCAHKSWPL_SILICONZ-1
>>
>> Signed-off-by: Balamurugan S <quic_bselvara@...cinc.com>
>> Co-developed-by: P Praneesh <quic_ppranees@...cinc.com>
>> Signed-off-by: P Praneesh <quic_ppranees@...cinc.com>
>> Signed-off-by: Raj Kumar Bhagat <quic_rajkbhag@...cinc.com>
>> ---
>> drivers/net/wireless/ath/ath12k/hw.c | 8 ++++++++
>> drivers/net/wireless/ath/ath12k/hw.h | 2 ++
>> drivers/net/wireless/ath/ath12k/qmi.c | 28 ++++++++++++++++-----------
>> 3 files changed, 27 insertions(+), 11 deletions(-)
>>
>> diff --git a/drivers/net/wireless/ath/ath12k/hw.c b/drivers/net/wireless/ath/ath12k/hw.c
>> index e5e2164c27d2..a4e0c21ac4b7 100644
>> --- a/drivers/net/wireless/ath/ath12k/hw.c
>> +++ b/drivers/net/wireless/ath/ath12k/hw.c
>> @@ -1299,6 +1299,8 @@ static const struct ath12k_hw_params ath12k_hw_params[] = {
>> .iova_mask = 0,
>>
>> .supports_aspm = false,
>> +
>> + .m3_fw_support = true,
>
> 'support for m3 firmware' is not a fitting term.. maybe "needs_m3_fw"?
>
The name "m3_fw_support" is inherited from ath11k, for ath12k we could
change it to "needs_m3_fw".
Powered by blists - more mailing lists