Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2226323/?format=api
{ "id": 2226323, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2226323/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260422-pwrseq-m2-bt-v1-11-720d02545a64@oss.qualcomm.com/", "project": { "id": 28, "url": "http://patchwork.ozlabs.org/api/1.1/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 }, "msgid": "<20260422-pwrseq-m2-bt-v1-11-720d02545a64@oss.qualcomm.com>", "date": "2026-04-22T11:24:52", "name": "[11/12] Bluetooth: hci_qca: Check whether the M.2 UART interface is fixed or not", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "09906aa5946892d2049ddc64236d3f1f413d9745", "submitter": { "id": 91277, "url": "http://patchwork.ozlabs.org/api/1.1/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/20260422-pwrseq-m2-bt-v1-11-720d02545a64@oss.qualcomm.com/mbox/", "series": [ { "id": 500992, "url": "http://patchwork.ozlabs.org/api/1.1/series/500992/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=500992", "date": "2026-04-22T11:24:41", "name": "Fixes/improvements for the PCI M.2 power sequencing driver", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/500992/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2226323/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2226323/checks/", "tags": {}, "headers": { "Return-Path": "\n <linux-pci+bounces-52966-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=b1Cz3LBh;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=linux-pci+bounces-52966-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=\"b1Cz3LBh\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201" ], "Received": [ "from tor.lore.kernel.org (tor.lore.kernel.org\n [IPv6:2600:3c04:e001:36c::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 4g0xmH73qFz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 21:27:59 +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 14B8B3069715\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 11:25:39 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id F02D83D3D1A;\n\tWed, 22 Apr 2026 11:25:13 +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 28F883D093E;\n\tWed, 22 Apr 2026 11:25:13 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPS id 0E3D1C2BCB8;\n\tWed, 22 Apr 2026 11:25:13 +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 06985F8FA9E;\n\tWed, 22 Apr 2026 11:25:13 +0000 (UTC)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776857113; cv=none;\n b=h1Pj7VvVHB55fsWM0SKnL8rfwsxZ3p2ODbEm2UCee91amQd1wmImVx22eQk2gCad9K8vEbaNJfrCX1xFiC/uUUGISYHaVOkfmFjcKgN9Tx2DynBdS3YV4ZK2479igy2TR/D8kVlwbI3hLiKoM3qrbznmqgQ86v8MAl4BUirVjyE=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776857113; c=relaxed/simple;\n\tbh=Z2XhQFgSczXs6etj6Kn9gFI9cgZPNFDDhuehnrLVz74=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=pf1Nb8I5ZYuzX1GRy4qTpTxsmG48mC7NjzRGlJGn4M49Waz1U4NNtGmqKflZV5KrnIiTY6PIj7sWQ7eGJa/YNwmEuqDZ/iH/1k4pJomZUJIZUZFuRoxAlurvXYAS9bemjnBnXVKDOE4/cB2WWsGbcbsPbnG1hbl4RYfsd/DT6f0=", "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=b1Cz3LBh; 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=1776857113;\n\tbh=Z2XhQFgSczXs6etj6Kn9gFI9cgZPNFDDhuehnrLVz74=;\n\th=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From;\n\tb=b1Cz3LBhxbeq2LUjcli9VxWIWXdR3eYAI7Zbv5ir8grKEv5nkKP7YSSyszJ9fA6hq\n\t yqmQx1XSYR2hwjKYir0Gumb6uacJpAEW2yDyYPoyC/z7zahK10jsxaGsFsuldw46SM\n\t o+5hb9eTb12sbFj1ZxNaUjsSRIVPtC72a/Z9mJDfvMDI4qbIvR/Y7cDt0h4Az0pjQ/\n\t ZllZNu94n+q+CSR1G/AkAlgwWWq5cwvOTNGioC/nweV4a72qGBTyJ6v9ID2BoZqg9F\n\t BSNpVuIlvV2VDK/5+iPnRAvP6KEqP0tCVdY19CdHk6W7VFJvgL6NnDx1REVdQ+geXi\n\t YiIVrst69W8Rw==", "From": "Manivannan Sadhasivam via B4 Relay\n <devnull+manivannan.sadhasivam.oss.qualcomm.com@kernel.org>", "Date": "Wed, 22 Apr 2026 16:54:52 +0530", "Subject": "[PATCH 11/12] Bluetooth: hci_qca: Check whether the M.2 UART\n interface is fixed or not", "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": "<20260422-pwrseq-m2-bt-v1-11-720d02545a64@oss.qualcomm.com>", "References": "<20260422-pwrseq-m2-bt-v1-0-720d02545a64@oss.qualcomm.com>", "In-Reply-To": "<20260422-pwrseq-m2-bt-v1-0-720d02545a64@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=1019;\n i=manivannan.sadhasivam@oss.qualcomm.com; h=from:subject:message-id;\n bh=QIQ7zI+FcCO4Ozijr68y6L0R3ZFIXMS+JR88yCNclek=;\n b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBp6LAVR3W3V/KaHFdujOJwfJZ0I+8jLydfeBZ8c\n C328qYFsrOJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCaeiwFQAKCRBVnxHm/pHO\n 9YQwB/0SQX+/Rbzc9tYYkKZ8hAXIlBudrTL7cV4f3GeBe+ZtK6NTWCunNb7eXa9yuHvHCd9rl3k\n q3rztVESPA7EUkULnNf3vf69nKap5M8nXd5LoUFcL6F/3b4WhDkUoAPCC4dpT1fYfLR4kqp4k/F\n adD+fVrocmi0ny4WJxDSF31GfJjsi+Hkp23SqSfIOvgcU/d3sTZVro8VRjvt64KXqfbgWf5rZtg\n qhYP9GXbF/4T6a83od1As5/ZPGYlb1DJPYysyepKTx91EWhl78i48qE4wM2oLiMv3ohsqVyqKUy\n B73fONwa5nr+RdRHt8DVLfnQtWt6ukk5yzMGy8jpFxfpcwvG", "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\nIn the M.2 connector, the UART interface is controlled through the\nW_DISABLE2# signal. But the BT driver cannot know directly whether this\nsignal is available or not.\n\nHence, use the new pwrseq API 'pwrseq_is_fixed()' to check whether the UART\ninterface on the M.2 connector is fixed or controllable and set the\n'bt_en_available' flag accordingly.\n\nSigned-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>\n---\n drivers/bluetooth/hci_qca.c | 4 ++++\n 1 file changed, 4 insertions(+)", "diff": "diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c\nindex 3e71a72ea7c7..27e52b08ec47 100644\n--- a/drivers/bluetooth/hci_qca.c\n+++ b/drivers/bluetooth/hci_qca.c\n@@ -2453,6 +2453,10 @@ static int qca_serdev_probe(struct serdev_device *serdev)\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\tif (pwrseq_is_fixed(qcadev->bt_power->pwrseq))\n+\t\t\t\tbt_en_available = false;\n+\n \t\t\tbreak;\n \t\t}\n \n", "prefixes": [ "11/12" ] }