Fixes/improvements for the PCI M.2 power sequencing driver
Get series with b4
b4 am [email protected] change-id 20260422-pwrseq-m2-bt-abdaa71094ebVersions newest first
- v3 Latest9 patches 3 repliesIn review
- v29 patches 6 repliesSuperseded
- v112 patches 13 repliesSuperseded
Changes in v3 from the cover letter
- Renamed __pwrseq_pcie_m2_create_serdev() to pwrseq_pcie_m2_create_serdev_one()
- Moved the pwrseq patches together for creating the immutable pwrseq branch
- Collected tags
Patches in v3 No applies recorded yet
Reviews trailers per patch
4 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Wei Deng | Konrad Dybcio | Bartosz Golaszewski | Dmitry Baryshkov |
|---|---|---|---|---|
| 1/9 | T-b | |||
| 2/9 | T-b | |||
| 3/9 | T-b | R-b | ||
| 4/9 | T-b | |||
| 5/9 | T-b | |||
| 6/9 | T-b | |||
| 7/9 | T-b | R-b | R-b | |
| 8/9 | T-b | R-b | R-b | |
| 9/9 | T-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v3 0/9] Fixes/improvements for the PCI M.2 power sequencing driver
Hi,
This series has several key improvements and fixes to the M.2 power sequencing driver and also the BT HCI_QCA driver. Notably, this series allows the M.2 power sequencing driver to work with more M.2 cards, not just WCN7850. It also allows the BT HCI_QCA driver to detect whether it can control BT_EN (or W_DISABLE2#) signal on the connector and set the HCI_QUIRK_NON_PERSISTENT_SETUP quirk.
Testing
=======
This series was tested on Lenovo Thinkpad T14s together with the below DTS patches:
https://github.com/Mani-Sadhasivam/linux/commit/29534d15307551b2355eb254601dec511169f0aa
https://github.com/Mani-Sadhasivam/linux/commit/f4eaacfe647674be200847092b43cdef2194fc55
Merge Strategy
==============
Since the BT HCI_QCA changes depend on the pwrseq changes, it would be good to merge the whole series through pwrseq tree or through an immutable branch.
---
Changes in v3:
- Renamed __pwrseq_pcie_m2_create_serdev() to pwrseq_pcie_m2_create_serdev_one()
- Moved the pwrseq patches together for creating the immutable pwrseq branch
- Collected tags
Changes in v2:
- Dropped the pwrseq_is_fixed() change in favor or exporting pwrseq device's dev pointer and using it to check for the presence of W_DISABLE2# property
- Dropped the BT_EN fix for the Qcom WCN devices since it will be handled separately
- Collected tags
- Link to v1: https://patch.msgid.link/[email protected]
---
Manivannan Sadhasivam (9):
power: sequencing: pcie-m2: Fix inconsistent function prefixes
power: sequencing: pcie-m2: Allow creating serdev for multiple PCI devices
power: sequencing: pcie-m2: Improve PCI device ID check
power: sequencing: pcie-m2: Create serdev for PCI devices present before probe
power: sequencing: pcie-m2: Create BT node based on the pci_device_id[] table
power: sequencing: Add an API to return the pwrseq device's 'dev' pointer
Bluetooth: hci_qca: Add M.2 Bluetooth device support using pwrseq
Bluetooth: hci_qca: Rename 'power_ctrl_enabled' to 'bt_en_available'
Bluetooth: hci_qca: Set 'bt_en_available' based on W_DISABLE2# presence in M.2 connector
drivers/bluetooth/hci_qca.c | 28 +++- drivers/power/sequencing/core.c | 9 ++ drivers/power/sequencing/pwrseq-pcie-m2.c | 232 ++++++++++++++++++++++-------- include/linux/pwrseq/consumer.h | 7 + 4 files changed, 215 insertions(+), 61 deletions(-)
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260422-pwrseq-m2-bt-abdaa71094eb
Best regards,
Signature · 1 line
Manivannan Sadhasivam <[email protected]>