[PATCH v2 0/5] Rework M.2 Bluetooth instantiation using the auxiliary bus
From: Manivannan Sadhasivam via B4 Relay
Date: Mon Nov 30 2026 - 07:20:02 EST
Hi,
This series reworks the PCIe M.2 Bluetooth instantiation using the auxiliary
bus.
The Bluetooth interface of the QCA2066, WCN6855, WCN7850 and NXP 88W8987
M.2 modules is accessed over UART, but the modules show up at runtime over
PCIe and are not described in firmware like devicetree. To make the serdev
bus match the Bluetooth driver, the power sequencing driver creates a
devicetree node at runtime using an of_changeset. But, creating a node just for
driver matching is not recommended as per Krzysztof.
So this series reworks the instantiation to use the auxiliary bus instead. The
power sequencing driver still allocates the UART serdev, but now hands it over
through an auxiliary device along with the power sequencing target. Add
auxiliary drivers to hci_qca and btnxpuart that bind to this device and
bring up the controller over the existing UART transport. Then drop the
serdev based M.2 code that is no longer reachable.
Dependency
==========
This series applies on top of bluetooth-next/master.
Merge Strategy
==============
All patches should go through bluetooth tree due to dependency.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxxxxxxxx>
---
Changes in v2:
- Rebased on top of bluetooth-next/master
- Incorporated comments from Andy on patch 2 and implemented the same for patch
1
- Collected tags
---
Manivannan Sadhasivam (5):
Bluetooth: hci_qca: Add auxiliary driver for PCIe M.2 modules
Bluetooth: btnxpuart: Add auxiliary driver for PCIe M.2 modules
power: sequencing: pcie-m2: Create auxiliary device for the M.2 BT interface
Bluetooth: hci_qca: Drop serdev based M.2 power sequencing code
Bluetooth: btnxpuart: Drop serdev based M.2 power sequencing code
MAINTAINERS | 1 +
drivers/bluetooth/Kconfig | 2 +
drivers/bluetooth/btnxpuart.c | 215 +++++++++++++++++++-----------
drivers/bluetooth/hci_qca.c | 161 ++++++++++++++--------
drivers/power/sequencing/Kconfig | 2 +-
drivers/power/sequencing/pwrseq-pcie-m2.c | 141 +++++++++++---------
include/linux/pwrseq/pcie-m2-bt.h | 38 ++++++
7 files changed, 363 insertions(+), 197 deletions(-)
---
base-commit: f57f78086ab54f3b3122fbaeba2c842ba7bb6d00
change-id: 20260806-pci-m2-bt-rework-78dc2c926f00
Best regards,
--
மணிவண்ணன் சதாசிவம்