{"id":2234405,"url":"http://patchwork.ozlabs.org/api/1.2/covers/2234405/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-pci/cover/20260507-pwrseq-m2-bt-v2-0-1740bd478539@oss.qualcomm.com/","project":{"id":28,"url":"http://patchwork.ozlabs.org/api/1.2/projects/28/?format=json","name":"Linux PCI development","link_name":"linux-pci","list_id":"linux-pci.vger.kernel.org","list_email":"linux-pci@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260507-pwrseq-m2-bt-v2-0-1740bd478539@oss.qualcomm.com>","list_archive_url":null,"date":"2026-05-07T16:06:08","name":"[v2,0/9] Fixes/improvements for the PCI M.2 power sequencing driver","submitter":{"id":91277,"url":"http://patchwork.ozlabs.org/api/1.2/people/91277/?format=json","name":"Manivannan Sadhasivam via B4 Relay","email":"devnull+manivannan.sadhasivam.oss.qualcomm.com@kernel.org"},"mbox":"http://patchwork.ozlabs.org/project/linux-pci/cover/20260507-pwrseq-m2-bt-v2-0-1740bd478539@oss.qualcomm.com/mbox/","series":[{"id":503214,"url":"http://patchwork.ozlabs.org/api/1.2/series/503214/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-pci/list/?series=503214","date":"2026-05-07T16:06:09","name":"Fixes/improvements for the PCI M.2 power sequencing driver","version":2,"mbox":"http://patchwork.ozlabs.org/series/503214/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2234405/comments/","headers":{"Return-Path":"\n <linux-pci+bounces-54098-incoming=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linux-pci@vger.kernel.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=ZB2LxOKJ;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.105.105.114; helo=tor.lore.kernel.org;\n envelope-from=linux-pci+bounces-54098-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"ZB2LxOKJ\"","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"],"Received":["from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4gBHLB1tKYz1y04\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 08 May 2026 02:11:14 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 470273063640\n\tfor <incoming@patchwork.ozlabs.org>; Thu,  7 May 2026 16:06:23 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 7C94644D6AE;\n\tThu,  7 May 2026 16:06:18 +0000 (UTC)","from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 404453EFD39;\n\tThu,  7 May 2026 16:06:18 +0000 (UTC)","by smtp.kernel.org (Postfix) with ESMTPS id E6F63C2BCB8;\n\tThu,  7 May 2026 16:06:17 +0000 (UTC)","from aws-us-west-2-korg-lkml-1.web.codeaurora.org\n (localhost.localdomain [127.0.0.1])\n\tby smtp.lore.kernel.org (Postfix) with ESMTP id D360BCD343B;\n\tThu,  7 May 2026 16:06:17 +0000 (UTC)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1778169978; cv=none;\n b=l6VISGV99LR628+YrV7Zrd5rO+sIMP/dJ6EedQimqAn4umBvlUG7OZ8fPtOAJaZSBsCcBj7nujzgQ2qhEAvhdeSZg50a+KX9DYyFyI+O9LGs50sZdXANKuoroxFH7SvwcXoiZMHglb+hB2Dslk9yb33bS7QUxYW1FAIoLFpB6Ig=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1778169978; c=relaxed/simple;\n\tbh=DI8D86bD8AE3e33QAsmWkuZyiSBpCR+NtFhwtZE0MFc=;\n\th=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc;\n b=R3NxqV7Td/+iQ48WjBZ/oc69yRTXbIxDKxff/CqzGGL1/O5GwiQr/NfDwCoiaRBoC9niIxYtsrDRlNS2hcHOvXu69W4Be0J0jkMdns0VzcSgTWDlbEK8x4N20m9VmHnwW0jKfalvMmPI1qGB88zJYqOZ4U/9S2Dw+iEj8vtiBAs=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=ZB2LxOKJ; arc=none smtp.client-ip=10.30.226.201","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1778169978;\n\tbh=DI8D86bD8AE3e33QAsmWkuZyiSBpCR+NtFhwtZE0MFc=;\n\th=From:Subject:Date:To:Cc:Reply-To:From;\n\tb=ZB2LxOKJFOJeABr1gMJpivu14C61J2QEh8fjMzkj9aRgiWgotQZ2wii8E/4TsyIfx\n\t dWryENWVSBMhwWviCRB51cH8REZ2070qdNE/OxhbFaqbzdhBDlx+vfiXQHVg87njoJ\n\t befxGoxKD406NxVoHf0DqnNlMZiv0PQ9x3v+eM1QuipdILTHDlNvvb3G5PHopQUf9v\n\t V2Hm/rDdOBBqbq8T4pCkD62XN8lOisNn9I0SGThz8R7RiJ+ODjl+MUjD0eVvFsPgcR\n\t 8JBWyjuuLffXAU4mqSp+bwdRWmy0OO8LSO/mV/+03smtoxTfYYXOJ9cPX+SFs1RzAY\n\t pbFkRYCU54WqQ==","From":"Manivannan Sadhasivam via B4 Relay\n <devnull+manivannan.sadhasivam.oss.qualcomm.com@kernel.org>","Subject":"[PATCH v2 0/9] Fixes/improvements for the PCI M.2 power sequencing\n driver","Date":"Thu, 07 May 2026 21:36:08 +0530","Message-Id":"<20260507-pwrseq-m2-bt-v2-0-1740bd478539@oss.qualcomm.com>","Precedence":"bulk","X-Mailing-List":"linux-pci@vger.kernel.org","List-Id":"<linux-pci.vger.kernel.org>","List-Subscribe":"<mailto:linux-pci+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:linux-pci+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","X-B4-Tracking":"v=1; b=H4sIAHC4/GkC/3WNwQ6CMBBEf4Xs2SVlUyB68j8MhxZWqRELXUAN4\n d8tePYyyUtm3iwgHBwLnJIFAs9OnH9GoEMCdWueN0bXRAZSVChNhP0rCA/YEdoRjW2MKTN11Gw\n hTvrAV/fedZfqxzLZO9fj5tgarZPRh8/+N2db7496zlBhSapRlOvcFPrsRdJhMo/ad10aA6p1X\n b+eodg8wQAAAA==","X-Change-ID":"20260422-pwrseq-m2-bt-abdaa71094eb","To":"Bartosz Golaszewski <brgl@kernel.org>,\n Manivannan Sadhasivam <mani@kernel.org>,\n Marcel Holtmann <marcel@holtmann.org>,\n Luiz Augusto von Dentz <luiz.dentz@gmail.com>,\n Shuai Zhang <quic_shuaz@quicinc.com>","Cc":"linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,\n linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org,\n linux-bluetooth@vger.kernel.org, Wei Deng <wei.deng@oss.qualcomm.com>,\n Luiz Augusto von Dentz <luiz.von.dentz@intel.com>,\n Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>,\n Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,\n Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,\n Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>","X-Mailer":"b4 0.15.0","X-Developer-Signature":"v=1; a=openpgp-sha256; l=2584;\n i=manivannan.sadhasivam@oss.qualcomm.com; h=from:subject:message-id;\n bh=DI8D86bD8AE3e33QAsmWkuZyiSBpCR+NtFhwtZE0MFc=;\n b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBp/Lh2l5qZXLrIeRH+CFId7hT2Ay1qhgWaR5qn5\n lX50UUrGe2JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCafy4dgAKCRBVnxHm/pHO\n 9YRkCACLd2DefFRxeOuA2LVlQF6kk8GAuQkBiUKQ5GCGiGNnm6p8Y7CaJaX9G+R0rUY7ertftpU\n n7xj4iPaax+MxIXtOsweskYcUqdoOapwOLylMi3bEhQ07roZV/45wLsPptFp4S5eZQKOe/nrpe/\n 9s/Zb0jT2NCEFpk0QDba+JHLhkXHWXmJdRKALsLGwR3l6R4hOOWpZ1raPHvTF/h4X5lkRu0lkdG\n +iq3yzmbP72EUXgj5MymLkX4O8q6F9TX1YRYNmtyH5iJZ95JISwh8WaICJCiYHrrYBBcwK559S9\n QetE/nsuX87fG/YlBpsAKgwszANhjnsUF4I0CBDotIpAPs8S","X-Developer-Key":"i=manivannan.sadhasivam@oss.qualcomm.com; a=openpgp;\n fpr=C668AEC3C3188E4C611465E7488550E901166008","X-Endpoint-Received":"by B4 Relay for\n manivannan.sadhasivam@oss.qualcomm.com/default with auth_id=461","X-Original-From":"Manivannan Sadhasivam\n <manivannan.sadhasivam@oss.qualcomm.com>","Reply-To":"manivannan.sadhasivam@oss.qualcomm.com"},"content":"Hi,\n\nThis series has several key improvements and fixes to the M.2 power sequencing\ndriver and also the BT HCI_QCA driver. Notably, this series allows the M.2 power\nsequencing driver to work with more M.2 cards, not just WCN7850. It also allows\nthe BT HCI_QCA driver to detect whether it can control BT_EN (or W_DISABLE2#)\nsignal on the connector and set the HCI_QUIRK_NON_PERSISTENT_SETUP quirk.\n\nTesting\n=======\n\nThis series was tested on Lenovo Thinkpad T14s together with the below DTS\npatches:\nhttps://github.com/Mani-Sadhasivam/linux/commit/29534d15307551b2355eb254601dec511169f0aa\nhttps://github.com/Mani-Sadhasivam/linux/commit/f4eaacfe647674be200847092b43cdef2194fc55\n\nMerge Strategy\n==============\n\nSince the BT HCI_QCA changes depend on the pwrseq changes, it would be good to\nmerge the whole series through pwrseq tree or through an immutable branch.\n\nSigned-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>\n---\nChanges in v2:\n- Dropped the pwrseq_is_fixed() change in favor or exporting pwrseq device's dev\n  pointer and using it to check for the presence of W_DISABLE2# property\n- Dropped the BT_EN fix for the Qcom WCN devices since it will be handled\n  separately\n- Collected tags\n- Link to v1: https://patch.msgid.link/20260422-pwrseq-m2-bt-v1-0-720d02545a64@oss.qualcomm.com\n\n---\nManivannan Sadhasivam (9):\n      power: sequencing: pcie-m2: Fix inconsistent function prefixes\n      power: sequencing: pcie-m2: Allow creating serdev for multiple PCI devices\n      power: sequencing: pcie-m2: Improve PCI device ID check\n      power: sequencing: pcie-m2: Create serdev for PCI devices present before probe\n      power: sequencing: pcie-m2: Create BT node based on the pci_device_id[] table\n      Bluetooth: hci_qca: Add M.2 Bluetooth device support using pwrseq\n      Bluetooth: hci_qca: Rename 'power_ctrl_enabled' to 'bt_en_available'\n      power: sequencing: Add an API to return the pwrseq device's 'dev' pointer\n      Bluetooth: hci_qca: Set 'bt_en_available' based on W_DISABLE2# presence in M.2 connector\n\n drivers/bluetooth/hci_qca.c               |  28 +++-\n drivers/power/sequencing/core.c           |   9 ++\n drivers/power/sequencing/pwrseq-pcie-m2.c | 234 ++++++++++++++++++++++--------\n include/linux/pwrseq/consumer.h           |   7 +\n 4 files changed, 217 insertions(+), 61 deletions(-)\n---\nbase-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731\nchange-id: 20260422-pwrseq-m2-bt-abdaa71094eb\n\nBest regards,\n--  \nManivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>"}