get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2229094/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2229094,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2229094/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260427-mainline-send-v1-sending-v2-2-dcaa9178007b@alex-min.fr/",
    "project": {
        "id": 42,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/42/?format=api",
        "name": "Linux GPIO development",
        "link_name": "linux-gpio",
        "list_id": "linux-gpio.vger.kernel.org",
        "list_email": "linux-gpio@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260427-mainline-send-v1-sending-v2-2-dcaa9178007b@alex-min.fr>",
    "date": "2026-04-27T19:34:48",
    "name": "[v2,2/8] dt-bindings: extcon: qcom,pm8941-misc: Add PM8921 compatible",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "838986d049d952629f9344f6d1812dc3af8a159c",
    "submitter": {
        "id": 93203,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/93203/?format=api",
        "name": "Alexandre MINETTE via B4 Relay",
        "email": "devnull+contact.alex-min.fr@kernel.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260427-mainline-send-v1-sending-v2-2-dcaa9178007b@alex-min.fr/mbox/",
    "series": [
        {
            "id": 501713,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501713/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=501713",
            "date": "2026-04-27T19:34:50",
            "name": "Add Samsung Galaxy S4 support",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/501713/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2229094/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2229094/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-gpio+bounces-35614-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-gpio@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=roqEVmXE;\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-gpio+bounces-35614-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=\"roqEVmXE\"",
            "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 4g4DMs4NqKz1yHX\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 05:36:41 +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 5FBD63072AB0\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 19:34:56 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 3B0D24218AA;\n\tMon, 27 Apr 2026 19:34:51 +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 D9C223914E1;\n\tMon, 27 Apr 2026 19:34:50 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPS id 8E3C4C2BCC4;\n\tMon, 27 Apr 2026 19:34:50 +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 86559FF886F;\n\tMon, 27 Apr 2026 19:34:50 +0000 (UTC)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777318490; cv=none;\n b=PWeb2spLHtGRfLsT1hh0W8sdAWkc1cxcXFadNKkmNMCqhZrMofSMB4nVupkxSsZzfE9qt3HhpbeLH8ibo+EkaIx3km51iBOA5T+Qcmtjnh/cw1kUCDqR0gKVjY0vFgCtw3lyC3XHwSx5Uql8dMR3X+1sApzZfjod6v4FaOyjp7M=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777318490; c=relaxed/simple;\n\tbh=Bb1lbtQItfW5BTJKMAd/sfKV3J+o1fT9fhNTOqbzM2k=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=Ppbfxo/vcLTHjPN2BeEUbxSS1nrdKQ4gPlhv4kUpuiGJB52RLZy9/CpwWVrcken33+t2wb7mWCtIzfwe1zqdabKxOIxd9WLfgrf6yYjwZVIcyMugH9b4Eeba5xx19dC/KUPF8K9Ppa1nAd6SmN6rfuWQf0aV/Sn//RkE2pNaqRg=",
        "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=roqEVmXE; 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=1777318490;\n\tbh=Bb1lbtQItfW5BTJKMAd/sfKV3J+o1fT9fhNTOqbzM2k=;\n\th=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From;\n\tb=roqEVmXEAzDySkh8mMNxD4+M1WkwqfDzYTbkkVO46nhpnt6Jer+q3SiCoP1kDI/hD\n\t XUK4EyERAv7YBKcwa6zLcpoaKDg9y8WkIcs7seOkgEyZYnEiCm/YM/imxGjorswG/q\n\t FtSE76fBGA4aJXsqoTn8wnrsnpB9Fn3kgfW7aod9puiRjGv/eHGfCpN4qOgAm5h86R\n\t QGtVBVp/9YT2bO5c2buVwPR1RezzjkYVl2FM955mj/kTmsJdDLMQSPGMVNG6gHpEj8\n\t +w7W0ZoALxUeMf1OktWR+wyw8j2MwfLUP6KFeluc7EPSq1mClJNg8IjFRIxjvLdma9\n\t snaBxXmacyQ4w==",
        "From": "Alexandre MINETTE via B4 Relay <devnull+contact.alex-min.fr@kernel.org>",
        "Date": "Mon, 27 Apr 2026 21:34:48 +0200",
        "Subject": "[PATCH v2 2/8] dt-bindings: extcon: qcom,pm8941-misc: Add PM8921\n compatible",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-gpio@vger.kernel.org",
        "List-Id": "<linux-gpio.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-gpio+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-gpio+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Message-Id": "<20260427-mainline-send-v1-sending-v2-2-dcaa9178007b@alex-min.fr>",
        "References": "<20260427-mainline-send-v1-sending-v2-0-dcaa9178007b@alex-min.fr>",
        "In-Reply-To": "<20260427-mainline-send-v1-sending-v2-0-dcaa9178007b@alex-min.fr>",
        "To": "Bjorn Andersson <andersson@kernel.org>,\n Konrad Dybcio <konradybcio@kernel.org>, Rob Herring <robh@kernel.org>,\n Krzysztof Kozlowski <krzk+dt@kernel.org>,\n Conor Dooley <conor+dt@kernel.org>, MyungJoo Ham <myungjoo.ham@samsung.com>,\n Chanwoo Choi <cw00.choi@samsung.com>,\n Guru Das Srinagesh <linux@gurudas.dev>, Linus Walleij <linusw@kernel.org>,\n Rob Clark <robin.clark@oss.qualcomm.com>, Joerg Roedel <joro@8bytes.org>,\n Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>,\n Kees Cook <kees@kernel.org>, Tony Luck <tony.luck@intel.com>,\n \"Guilherme G. Piccoli\" <gpiccoli@igalia.com>",
        "Cc": "linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,\n linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org,\n iommu@lists.linux.dev, phone-devel@vger.kernel.org,\n Alexandre MINETTE <contact@alex-min.fr>",
        "X-Mailer": "b4 0.13.0",
        "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1777318488; l=1745;\n i=contact@alex-min.fr; s=20260421; h=from:subject:message-id;\n bh=5UIfYQUdRZLRDt1LSWl5X2pDrLJ84c7SqdbQApH5K2U=;\n b=oXTU0+0R9FAs0PpW+YQSjiyd25xzBt0VxQScacWPCwQ9P7UXv7hzkwboxvLfIMU37he/4Vjoy\n r0DacSZ8fOPDldzx0fPqoSi1Pc+1UQJtvhfL+NhA96KdmwTvbizGOkd",
        "X-Developer-Key": "i=contact@alex-min.fr; a=ed25519;\n pk=KOCaxY4v16ptaT0uk1FRkuaDF2n1JhmnYwLiqWD76M4=",
        "X-Endpoint-Received": "by B4 Relay for contact@alex-min.fr/20260421 with\n auth_id=743",
        "X-Original-From": "Alexandre MINETTE <contact@alex-min.fr>",
        "Reply-To": "contact@alex-min.fr"
    },
    "content": "From: Alexandre MINETTE <contact@alex-min.fr>\n\nPM8921 provides USB ID detection through the USB_ID_IN interrupt, which\nAPQ8064 boards use for OTG role detection.\n\nThe Qualcomm PMIC misc extcon binding only needs the interrupt\ndescription for this use case. Allow qcom,pm8921-misc without requiring\na register resource so boards can describe PM8921 USB ID detection.\n\nSigned-off-by: Alexandre MINETTE <contact@alex-min.fr>\n---\n .../devicetree/bindings/extcon/qcom,pm8941-misc.yaml    | 17 +++++++++++++----\n 1 file changed, 13 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml b/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml\nindex 6b80518cbf62..4e3d0aadb83c 100644\n--- a/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml\n+++ b/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml\n@@ -4,7 +4,7 @@\n $id: http://devicetree.org/schemas/extcon/qcom,pm8941-misc.yaml#\n $schema: http://devicetree.org/meta-schemas/core.yaml#\n \n-title: Qualcomm Technologies, Inc. PM8941 USB ID Extcon device\n+title: Qualcomm Technologies, Inc. PMIC USB ID Extcon device\n \n maintainers:\n   - Guru Das Srinagesh <quic_gurus@quicinc.com>\n@@ -15,8 +15,9 @@ description: |\n \n properties:\n   compatible:\n-    items:\n-      - const: qcom,pm8941-misc\n+    enum:\n+      - qcom,pm8921-misc\n+      - qcom,pm8941-misc\n \n   reg:\n     maxItems: 1\n@@ -37,10 +38,18 @@ properties:\n           - const: usb_vbus\n required:\n   - compatible\n-  - reg\n   - interrupts\n   - interrupt-names\n \n+allOf:\n+  - if:\n+      properties:\n+        compatible:\n+          const: qcom,pm8941-misc\n+    then:\n+      required:\n+        - reg\n+\n additionalProperties: false\n \n examples:\n",
    "prefixes": [
        "v2",
        "2/8"
    ]
}