Linux PCI subsystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Rework M.2 Bluetooth instantiation using the auxiliary bus
@ 2026-11-30 12:19 Manivannan Sadhasivam via B4 Relay
  2026-11-30 12:19 ` [PATCH v2 1/5] Bluetooth: hci_qca: Add auxiliary driver for PCIe M.2 modules Manivannan Sadhasivam via B4 Relay
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Manivannan Sadhasivam via B4 Relay @ 2026-11-30 12:19 UTC (permalink / raw)
  To: Marcel Holtmann, Luiz Augusto von Dentz, Bartosz Golaszewski,
	Manivannan Sadhasivam, Song Xue, Alex Zhou, Amitkumar Karwar,
	Neeraj Kale, Philipp Zabel
  Cc: linux-kernel, linux-bluetooth, linux-arm-msm, linux-pci, linux-pm,
	Wei Deng, Andy Shevchenko, Rahul Samana, Loic Poulain,
	Manivannan Sadhasivam, Bartosz Golaszewski, Sherry Sun

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@oss.qualcomm.com>
---
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,
--  
மணிவண்ணன் சதாசிவம்



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

end of thread, other threads:[~2026-11-30 12:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 12:19 [PATCH v2 0/5] Rework M.2 Bluetooth instantiation using the auxiliary bus Manivannan Sadhasivam via B4 Relay
2026-11-30 12:19 ` [PATCH v2 1/5] Bluetooth: hci_qca: Add auxiliary driver for PCIe M.2 modules Manivannan Sadhasivam via B4 Relay
2026-11-30 12:38   ` sashiko-bot
2026-11-30 12:49   ` Loic Poulain
2026-11-30 12:19 ` [PATCH v2 2/5] Bluetooth: btnxpuart: " Manivannan Sadhasivam via B4 Relay
2026-11-30 12:36   ` sashiko-bot
2026-11-30 12:19 ` [PATCH v2 3/5] power: sequencing: pcie-m2: Create auxiliary device for the M.2 BT interface Manivannan Sadhasivam via B4 Relay
2026-11-30 12:36   ` sashiko-bot
2026-11-30 12:19 ` [PATCH v2 4/5] Bluetooth: hci_qca: Drop serdev based M.2 power sequencing code Manivannan Sadhasivam via B4 Relay
2026-11-30 12:19 ` [PATCH v2 5/5] Bluetooth: btnxpuart: " Manivannan Sadhasivam via B4 Relay
2026-11-30 12:38 ` [PATCH v2 0/5] Rework M.2 Bluetooth instantiation using the auxiliary bus sashiko-bot

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