mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/5] Rework M.2 Bluetooth instantiation using the auxiliary bus
@ 2026-09-15 14:24 Manivannan Sadhasivam via B4 Relay
  2026-09-15 14:24 ` [PATCH 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; 10+ messages in thread
From: Manivannan Sadhasivam via B4 Relay @ 2026-09-15 14:24 UTC (permalink / raw)
  To: Marcel Holtmann, Luiz Augusto von Dentz, Bartosz Golaszewski,
	Manivannan Sadhasivam, Amitkumar Karwar, Neeraj Kale,
	Philipp Zabel
  Cc: linux-kernel, linux-bluetooth, linux-arm-msm, linux-pci,
	linux-pm, Rahul Samana, Wei Deng, Loic Poulain, Andy Shevchenko,
	Manivannan Sadhasivam

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 was creating a
devicetree node at runtime using an of_changeset. But, creating a node just for
driver matching is not recommended as per Krzysztof [1].

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. So this
series adds auxiliary driver support to hci_qca and btnxpuart drivers binding to
this device and brings up the controller over the existing UART transport.
Finally, it drops the serdev based M.2 code from both BT drivers.

Dependency
==========

This series depends on Monza series from Loic [2] and reuses its
pwrseq_is_controllable() API.

[1] https://lore.kernel.org/linux-pci/768142f0-2638-41f3-a34f-dc80bb99eb7f@kernel.org
[2] https://lore.kernel.org/all/20260904-monza-wireless-v6-0-d8c5042b3efd@oss.qualcomm.com

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
---
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             | 193 +++++++++++++++++++-----------
 drivers/bluetooth/hci_qca.c               | 138 +++++++++++++++------
 drivers/power/sequencing/Kconfig          |   2 +-
 drivers/power/sequencing/pwrseq-pcie-m2.c | 137 +++++++++++----------
 include/linux/pwrseq/pcie-m2-bt.h         |  38 ++++++
 7 files changed, 343 insertions(+), 168 deletions(-)
---
base-commit: e5e04726cdd043e309677071ab1b65a4b18f422b
change-id: 20260806-pci-m2-bt-rework-78dc2c926f00
prerequisite-message-id: 20260904-monza-wireless-v6-0-d8c5042b3efd@oss.qualcomm.com
prerequisite-patch-id: c4e777757ca9358cc4dd35e23738cd7dc1ead1a0
prerequisite-patch-id: 09600595c2e80b12eda3aae39af192847d0f03d0
prerequisite-patch-id: afe88432c4d459e9094c0e6dd31ebeab6c9f2f08
prerequisite-patch-id: 60fd7b13447ccad7546fa8e5b5609d8f133f788f
prerequisite-patch-id: 61dcbe55fdb6f33a3229c197f16a678785aa16d8
prerequisite-patch-id: 14099e5c573d7c41b899c3f9bb9126aa23f1553e
prerequisite-patch-id: 647ee15b77671054b4bb012afa9ba8694b6c86c5
prerequisite-patch-id: c3a774cae81a6fad287731a38f1b76c7e8babc4c
prerequisite-patch-id: 18b0fa62060a1a2c96e76051944d692699035572
prerequisite-patch-id: df02ab167976ac1f0d5a38c78e559a7372b16c1f
prerequisite-patch-id: 3f2dddd108677252a539cdb1eb661912836289ca

Best regards,
--  
மணிவண்ணன் சதாசிவம்



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

end of thread, other threads:[~2026-09-18  9:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-15 14:24 [PATCH 0/5] Rework M.2 Bluetooth instantiation using the auxiliary bus Manivannan Sadhasivam via B4 Relay
2026-09-15 14:24 ` [PATCH 1/5] Bluetooth: hci_qca: Add auxiliary driver for PCIe M.2 modules Manivannan Sadhasivam via B4 Relay
2026-09-16  9:39   ` Bartosz Golaszewski
2026-09-15 14:24 ` [PATCH 2/5] Bluetooth: btnxpuart: " Manivannan Sadhasivam via B4 Relay
2026-09-15 14:51   ` Andy Shevchenko
2026-09-15 14:24 ` [PATCH 3/5] power: sequencing: pcie-m2: Create auxiliary device for the M.2 BT interface Manivannan Sadhasivam via B4 Relay
2026-09-16  9:19   ` Bartosz Golaszewski
2026-09-15 14:24 ` [PATCH 4/5] Bluetooth: hci_qca: Drop serdev based M.2 power sequencing code Manivannan Sadhasivam via B4 Relay
2026-09-15 14:24 ` [PATCH 5/5] Bluetooth: btnxpuart: " Manivannan Sadhasivam via B4 Relay
2026-09-18  9:48 ` [PATCH 0/5] Rework M.2 Bluetooth instantiation using the auxiliary bus Sherry Sun

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®