From: Cheng Jiang <quic_chejiang@quicinc.com>
To: Marcel Holtmann <marcel@holtmann.org>,
Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
"Balakrishna Godavarthi" <quic_bgodavar@quicinc.com>,
Rocky Liao <quic_rjliao@quicinc.com>
Cc: <linux-bluetooth@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>,
<quic_chejiang@quicinc.com>, <quic_jiaymao@quicinc.com>,
<quic_shuaz@quicinc.com>, <quic_zijuhu@quicinc.com>,
<quic_mohamull@quicinc.com>
Subject: [PATCH v4 1/4] dt-bindings: net: bluetooth: qca: Expand firmware-name property
Date: Tue, 10 Dec 2024 23:16:33 +0800 [thread overview]
Message-ID: <20241210151636.2474809-2-quic_chejiang@quicinc.com> (raw)
In-Reply-To: <20241210151636.2474809-1-quic_chejiang@quicinc.com>
Expand the firmware-name property to specify the names of NVM and
rampatch firmware to load. This update will support loading specific
firmware (nvm and rampatch) for certain chips, like the QCA6698
Bluetooth chip, which shares the same IP core as the WCN6855 but has
different RF components and RAM sizes, requiring new firmware files.
We might use different connectivity boards on the same platform. For
example, QCA6698-based boards can support either a two-antenna or
three-antenna solution, both of which work on the sa8775p-ride platform.
Due to differences in connectivity boards and variations in RF
performance from different foundries, different NVM configurations are
used based on the board ID.
So In firmware-name, if the NVM file has an extension, the NVM file will
be used. Otherwise, the system will first try the .bNN (board ID) file,
and if that fails, it will fall back to the .bin file.
Possible configurations:
firmware-name = "QCA6698/hpnv21.bin", "QCA6698/hpbtfw21.tlv";
firmware-name = "QCA6698/hpnv21", "QCA6698/hpbtfw21.tlv";
firmware-name = "QCA6698/hpnv21.bin";
Signed-off-by: Cheng Jiang <quic_chejiang@quicinc.com>
---
.../bindings/net/bluetooth/qualcomm-bluetooth.yaml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
index 7bb68311c..2782d2325 100644
--- a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
+++ b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
@@ -101,7 +101,10 @@ properties:
max-speed: true
firmware-name:
- description: specify the name of nvm firmware to load
+ description:
+ If one item is present, specify the name of the NVM firmware to load.
+ If two items are present, the first item specifies the name of the NVM,
+ and the second specifies the name of the rampatch firmware to load.
local-bd-address: true
--
2.25.1
next prev parent reply other threads:[~2024-12-10 15:17 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-10 15:16 [PATCH v4 0/3] Expand firmware-name property to load specific Cheng Jiang
2024-12-10 15:16 ` Cheng Jiang [this message]
2024-12-11 8:53 ` [PATCH v4 1/4] dt-bindings: net: bluetooth: qca: Expand firmware-name property Krzysztof Kozlowski
2024-12-11 9:39 ` Cheng Jiang (IOE)
2024-12-11 9:48 ` Krzysztof Kozlowski
2024-12-11 10:16 ` Cheng Jiang (IOE)
2024-12-11 19:28 ` Dmitry Baryshkov
2024-12-12 5:56 ` Cheng Jiang (IOE)
2024-12-12 7:16 ` Krzysztof Kozlowski
2024-12-12 10:16 ` Cheng Jiang (IOE)
2024-12-10 15:16 ` [PATCH v4 2/4] Bluetooth: qca: Add support in firmware-name to load board specific nvm Cheng Jiang
2024-12-10 15:28 ` Dmitry Baryshkov
2024-12-11 5:53 ` Cheng Jiang (IOE)
2024-12-10 15:16 ` [PATCH v4 3/4] Bluetooth: qca: Expand firmware-name to load specific rampatch Cheng Jiang
2024-12-10 15:16 ` [PATCH v4 4/4] arm64: dts: qcom: sa8775p-ride: Add firmware-name in BT node Cheng Jiang
2024-12-11 8:53 ` [PATCH v4 0/3] Expand firmware-name property to load specific Krzysztof Kozlowski
2024-12-11 9:37 ` Cheng Jiang (IOE)
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=20241210151636.2474809-2-quic_chejiang@quicinc.com \
--to=quic_chejiang@quicinc.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.org \
--cc=quic_bgodavar@quicinc.com \
--cc=quic_jiaymao@quicinc.com \
--cc=quic_mohamull@quicinc.com \
--cc=quic_rjliao@quicinc.com \
--cc=quic_shuaz@quicinc.com \
--cc=quic_zijuhu@quicinc.com \
--cc=robh@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
all inboxes | Powered by JetHome®