Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 0/3] Bluetooth: qca: Add QCC2072 support over the M.2 auxiliary driver
@ 2026-12-02  6:14 Wei Deng
  2026-12-02  6:14 ` [PATCH 1/3] Bluetooth: qca: add QCC2072 support Wei Deng
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Wei Deng @ 2026-12-02  6:14 UTC (permalink / raw)
  To: Bartosz Golaszewski, Marcel Holtmann, Luiz Augusto von Dentz,
	Manivannan Sadhasivam
  Cc: linux-arm-msm, linux-bluetooth, linux-kernel, linux-pci, linux-pm,
	quic_chezhou, cheng.jiang, shuai.zhang, jinwang.li, xiuzhuo.shang,
	mengshi.wu, Krishna Chaitanya Chundru, Rahul Samana, Yepuri Siddu,
	Vivek Sahu, Wei Deng

The QCC2072 combo module is attached over PCIe and exposes Bluetooth over
UART. Like the other M.2 modules handled by the power sequencing driver, it
is not described in firmware and is discovered at runtime over PCIe.

This series adds QCC2072 on top of Manivannan's rework that instantiates
the M.2 Bluetooth interface as an auxiliary device, instead of creating a
devicetree node at runtime [1]. Since no devicetree node is involved any
more, there is no qcom,qcc2072-bt binding or compatible. Patch 2 uses a
plain auxiliary device name as the PCI ID driver data, and patch 3 matches
it in the hci_qca auxiliary driver.

Patch 1 adds the QCC2072 firmware naming (ORN) and the NVM + BCS
calibration handling in btqca, and routes QCC2072 through the same setup
paths in hci_qca as the other recent Qualcomm controllers.
Patch 2 adds the QCC2072 PCI ID to the M.2 power sequencer.
Patch 3 adds the QCC2072 auxiliary device ID to the hci_qca auxiliary driver.

History
=======

This series continues the QCC2072 enablement work previously posted by
Vivek Sahu and Yepuri Siddu.

Vivek posted the initial QCC2072 binding and driver support up to v5 [2].
Siddu later posted the RB3 Gen 2 Industrial BT-over-UART use case with
QCC2072 driver additions and NVM + BCS calibration handling (the first
of four patches is [3]). Rahul Samana carried that work forward in two
versions [5][4], based on creating the Bluetooth devicetree node at runtime
from the power sequencing driver.

In that thread Krzysztof objected to the qcom,qcc2072-bt compatible, since
a node created from driver code cannot be validated against a binding [6].
The same concern led to the revert of the QCC2072 PCI ID that had been
applied from Krishna Chaitanya Chundru's Eliza EVK series [7].

With the auxiliary device approach the name stored in the PCI ID table is
internal to the kernel and is not a devicetree compatible, so neither the
binding nor a devicetree change is needed. Compared to Rahul's v2, this
series therefore drops the binding and keeps only the driver changes, with
the QCC2072 case labels kept sorted as requested by Dmitry [4]. The
RB3 Gen 2 Industrial DTS patches from that version do not depend on how the
driver is matched and will be posted separately to the Qualcomm DTS tree.

Dependency
==========

This series applies on top of bluetooth-next/master and depends on
Manivannan's v2 series [1], which is not merged yet.

Testing
=======

Tested on lemans-evk with a QCC2072 M.2 module over UART, on top of
Manivannan's v2 series. The controller loads the ORN firmware (rampatch,
NVM and BCS calibration), hci0 is created and Bluetooth powers on and off
repeatedly.

[1] https://lore.kernel.org/r/20261130-pci-m2-bt-rework-v2-0-922fcad88987@oss.qualcomm.com
[2] https://lore.kernel.org/all/20260218114955.3970974-1-vivek.sahu@oss.qualcomm.com/
[3] https://lore.kernel.org/all/20260529175342.3363935-1-yepuri.siddu@oss.qualcomm.com/
[4] https://lore.kernel.org/all/20260727-rb3-industrial-bt-uart-v2-0-2d100f30e202@oss.qualcomm.com/
[5] https://lore.kernel.org/all/20260723-rb3-industrial-bt-uart-v1-0-3c8e580c09d1@oss.qualcomm.com/
[6] https://lore.kernel.org/all/9cc5af16-d95e-4f10-8b4a-5e29c136079c@kernel.org/
[7] https://lore.kernel.org/all/20260703-eliza_evk-v1-3-7624440bd76d@oss.qualcomm.com/

Signed-off-by: Wei Deng <wei.deng@oss.qualcomm.com>
---
Krishna Chaitanya Chundru (1):
      power: sequencing: pcie-m2: Add QCC2072 BT PCI device ID

Vivek Sahu (1):
      Bluetooth: qca: add QCC2072 support

Wei Deng (1):
      Bluetooth: hci_qca: Add QCC2072 to the PCIe M.2 auxiliary driver

 drivers/bluetooth/btqca.c                 | 72 ++++++++++++++++++++++++++++++-
 drivers/bluetooth/btqca.h                 |  2 +
 drivers/bluetooth/hci_qca.c               | 22 ++++++++++
 drivers/power/sequencing/pwrseq-pcie-m2.c |  2 +
 4 files changed, 97 insertions(+), 1 deletion(-)
---
base-commit: 7a1a7a5baa1e0f84d0568fc999421ee7dcbccaf5
change-id: 20261202-b4-qcc2072-aux-75d659a8c866

Best regards,
-- 
Wei Deng <wei.deng@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-12-03  0:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02  6:14 [PATCH 0/3] Bluetooth: qca: Add QCC2072 support over the M.2 auxiliary driver Wei Deng
2026-12-02  6:14 ` [PATCH 1/3] Bluetooth: qca: add QCC2072 support Wei Deng
2026-12-03  0:46   ` Bluetooth: qca: Add QCC2072 support over the M.2 auxiliary driver bluez.test.bot
2026-12-02  6:14 ` [PATCH 2/3] power: sequencing: pcie-m2: Add QCC2072 BT PCI device ID Wei Deng
2026-12-02  6:14 ` [PATCH 3/3] Bluetooth: hci_qca: Add QCC2072 to the PCIe M.2 auxiliary driver Wei Deng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox