[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241120095428.1122935-1-quic_chejiang@quicinc.com>
Date: Wed, 20 Nov 2024 17:54:24 +0800
From: Cheng Jiang <quic_chejiang@...cinc.com>
To: Marcel Holtmann <marcel@...tmann.org>,
Luiz Augusto von Dentz
<luiz.dentz@...il.com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski
<krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Bjorn Andersson
<andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>,
"Balakrishna
Godavarthi" <quic_bgodavar@...cinc.com>,
Rocky Liao
<quic_rjliao@...cinc.com>, <quic_zijuhu@...cinc.com>
CC: <linux-bluetooth@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-arm-msm@...r.kernel.org>,
<quic_mohamull@...cinc.com>, <quic_chejiang@...cinc.com>
Subject: [PATCH v1 0/4] Add qcom,product-variant properties in Qualcomm
Add a new property in qualcom bluetooth dts to identify the product
information, so the driver can load the proper firmware.
Several Qualcomm projects will use the same Bluetooth chip, each
focusing on different features. For instance, consumer projects
prioritize the A2DP SRC feature, while IoT projects focus on the A2DP
SINK feature. Due to the patch size, it is not feasible to include all
features in a single firmware.
Therefore, the 'product-variant' devicetree property is used to provide
product information for the Bluetooth driver to load the appropriate
firmware.
The driver will parse 'product-variant' to load firmware from different
directories. If it's not defined in dts, the default firmware will be
loaded, which is compatible with the existing implementaion.
Cheng Jiang (4):
dt-bindings: bluetooth: add 'qcom,product-variant'
dt-bindings: bluetooth: Add qca6698 compatible string
arm64: dts: qcom: sa8775p-ride: update BT nodes
Bluetooth: hci_qca: add qcom,product-variant properties
.../net/bluetooth/qualcomm-bluetooth.yaml | 8 +
arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi | 3 +-
drivers/bluetooth/btqca.c | 142 ++++++++++++++----
drivers/bluetooth/btqca.h | 11 +-
drivers/bluetooth/hci_qca.c | 73 +++++----
5 files changed, 174 insertions(+), 63 deletions(-)
base-commit: 6fb2fa9805c501d9ade047fc511961f3273cdcb5
--
2.25.1
Powered by blists - more mailing lists