Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2234428/?format=api
{ "id": 2234428, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2234428/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260507-pwrseq-m2-bt-v2-9-1740bd478539@oss.qualcomm.com/", "project": { "id": 28, "url": "http://patchwork.ozlabs.org/api/1.2/projects/28/?format=api", "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-9-1740bd478539@oss.qualcomm.com>", "list_archive_url": null, "date": "2026-05-07T16:06:17", "name": "[v2,9/9] Bluetooth: hci_qca: Set 'bt_en_available' based on W_DISABLE2# presence in M.2 connector", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "25daeb1ecbefe5c73944d839e8eef735b670754e", "submitter": { "id": 91277, "url": "http://patchwork.ozlabs.org/api/1.2/people/91277/?format=api", "name": "Manivannan Sadhasivam via B4 Relay", "email": "devnull+manivannan.sadhasivam.oss.qualcomm.com@kernel.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260507-pwrseq-m2-bt-v2-9-1740bd478539@oss.qualcomm.com/mbox/", "series": [ { "id": 503214, "url": "http://patchwork.ozlabs.org/api/1.2/series/503214/?format=api", "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/patches/2234428/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2234428/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-pci+bounces-54105-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=qGykYgPG;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-pci+bounces-54105-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=\"qGykYgPG\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201" ], "Received": [ "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\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 4gBHNp4YKWz1y04\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 08 May 2026 02:13:30 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id F3A9730A2307\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 7 May 2026 16:06:53 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 7079C46AEFA;\n\tThu, 7 May 2026 16:06:19 +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 9E9504508F2;\n\tThu, 7 May 2026 16:06:18 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPS id 8353AC2BCB2;\n\tThu, 7 May 2026 16:06:18 +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 7B2FDCD3442;\n\tThu, 7 May 2026 16:06:18 +0000 (UTC)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1778169978; cv=none;\n b=dayUQaHH2AcMD2FeDTt2QtEoLK+WIDKFvQdVpDnkvIzhl0VAz8fK57qWrNVfG7g61mGeaoSdd7aO2Zeu0We6tF3utbzuEXjB9wbWc34pr6wZ894fIkjF9yvHqBSbNHtydT2uFdPww2yxNEoFx+/Lzs/yt5XKjEc5DFQvT9wmb4I=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1778169978; c=relaxed/simple;\n\tbh=aNhmryQKE395W4APYigHylzo2/j+j50biYPcg5iB8Ns=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=D9enl6YdhPCDOWsQVpVc9Tsa4Y2Onz9ewkPAXYVZCcu22IxQEoTqlj3JQFCUg4HpcwuMneTRGsVjpMmiKRK+rt/QmY94RmQicIp/+G6lF3dYApOcj80Pla4hmTRb+eL7N5eFS0TXXLPQnGhuSE99lvRWvwdU4bco17crAWqSvTo=", "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=qGykYgPG; 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=aNhmryQKE395W4APYigHylzo2/j+j50biYPcg5iB8Ns=;\n\th=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From;\n\tb=qGykYgPGQ1F1vJkiDVZ3m6JEZ0OwWb8W/escRi1aoONHoqCqMOKzkPISI9Xzx4NNH\n\t WuF1ZUBTdm/hbeym2W+xTHSab9HhSCibBnV/jHS2mz0/Ujxa7RdByDskZev4h3r7qH\n\t hDrl0e/tfm4XPgBMBb3M8zTrOguTmDAOG7FQoU11kPkGtpCMb4GTPIM6w2OVgDCZPB\n\t CxC07yCUm4lZp1NxtfuIxSedoTEnIon4xX8zN40h6WMliuq5PNN1j4Is1EhhA0k/M3\n\t EZFzrYOsngYvlSmet6uroOUIedNnaYNwK7O+wduZJX0p6JCmpWKilPjWjO5Wua+c44\n\t FSO3IZrZSWpkw==", "From": "Manivannan Sadhasivam via B4 Relay\n <devnull+manivannan.sadhasivam.oss.qualcomm.com@kernel.org>", "Date": "Thu, 07 May 2026 21:36:17 +0530", "Subject": "[PATCH v2 9/9] Bluetooth: hci_qca: Set 'bt_en_available' based on\n W_DISABLE2# presence in M.2 connector", "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", "Message-Id": "<20260507-pwrseq-m2-bt-v2-9-1740bd478539@oss.qualcomm.com>", "References": "<20260507-pwrseq-m2-bt-v2-0-1740bd478539@oss.qualcomm.com>", "In-Reply-To": "<20260507-pwrseq-m2-bt-v2-0-1740bd478539@oss.qualcomm.com>", "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>", "X-Mailer": "b4 0.15.0", "X-Developer-Signature": "v=1; a=openpgp-sha256; l=1280;\n i=manivannan.sadhasivam@oss.qualcomm.com; h=from:subject:message-id;\n bh=kT/daCATvUeblQjstk/xz8aGuQ4+x8sVK/KhZTDC6as=;\n b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBp/Lh3qBHbqcZIzl+5YqO+PrOKii2iHINB9NljG\n TRznrWuJaGJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCafy4dwAKCRBVnxHm/pHO\n 9dQAB/9HaNIKcu7vecDN+DH8+r+PzhQyxhZlVjgokj6XPnBAtQXxdPZn699QwTXKoypwr4XcS65\n 2J+gS2k8DRc3GVP3nADCvi0rLacpymyyucsPKiAmZGVXOn24XH6YDzhoO3ki4OUyfsb+D7D7GbR\n E2e8KpXCaVg94siJVNbfD9z+U6fyUEQvJ3G5vG0+DN4wcNxD9huMPcL74NCw+6eYjfy7Pwyo2VI\n 6hf6age9p8eUQ+OriJXToL6Dt0nQjzSBbVUNpnMCKZc7CgCgbSQfGRJZw1ZeAy62ADFx7cgdm9i\n 2yfrUrQ9Mfhm29bBqDTYgAHGqMWqkxmqF7A5IFBI/YzDbZUK", "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": "From: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>\n\nCheck if the M.2 connector supports the W_DISABLE2# property or not by\nquerying the pwrseq provider's DT node. If not available, then set\n'bt_en_available' flag to 'false'. This flag is used to set the\nHCI_QUIRK_NON_PERSISTENT_SETUP HCI quirk, which informs the HCI layer\nwhether the shutdown() callback for the device can be triggered or not.\n\nSigned-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>\n---\n drivers/bluetooth/hci_qca.c | 7 +++++++\n 1 file changed, 7 insertions(+)", "diff": "diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c\nindex 3e71a72ea7c7..b5439b9956cf 100644\n--- a/drivers/bluetooth/hci_qca.c\n+++ b/drivers/bluetooth/hci_qca.c\n@@ -2449,10 +2449,17 @@ static int qca_serdev_probe(struct serdev_device *serdev)\n \t\t * the M.2 Key E connector.\n \t\t */\n \t\tif (of_graph_is_present(dev_of_node(&serdev->ctrl->dev))) {\n+\t\t\tstruct device *dev;\n+\n \t\t\tqcadev->bt_power->pwrseq = devm_pwrseq_get(&serdev->ctrl->dev,\n \t\t\t\t\t\t\t\t \"uart\");\n \t\t\tif (IS_ERR(qcadev->bt_power->pwrseq))\n \t\t\t\treturn PTR_ERR(qcadev->bt_power->pwrseq);\n+\n+\t\t\tdev = pwrseq_to_device(qcadev->bt_power->pwrseq);\n+\t\t\tif (!device_property_present(dev, \"w-disable2-gpios\"))\n+\t\t\t\tbt_en_available = false;\n+\n \t\t\tbreak;\n \t\t}\n \n", "prefixes": [ "v2", "9/9" ] }