get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2227813,
    "url": "http://patchwork.ozlabs.org/api/patches/2227813/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-pwm/patch/20260424095435.1721-1-dongxuyang@eswincomputing.com/",
    "project": {
        "id": 38,
        "url": "http://patchwork.ozlabs.org/api/projects/38/?format=api",
        "name": "Linux PWM development",
        "link_name": "linux-pwm",
        "list_id": "linux-pwm.vger.kernel.org",
        "list_email": "linux-pwm@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260424095435.1721-1-dongxuyang@eswincomputing.com>",
    "list_archive_url": null,
    "date": "2026-04-24T09:54:35",
    "name": "[v6,1/2] dt-bindings: pwm: dwc: add optional reset",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "010ad430a996f687564904b36f1bbbc6b59325cf",
    "submitter": {
        "id": 90849,
        "url": "http://patchwork.ozlabs.org/api/people/90849/?format=api",
        "name": "Xuyang Dong",
        "email": "dongxuyang@eswincomputing.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-pwm/patch/20260424095435.1721-1-dongxuyang@eswincomputing.com/mbox/",
    "series": [
        {
            "id": 501331,
            "url": "http://patchwork.ozlabs.org/api/series/501331/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-pwm/list/?series=501331",
            "date": "2026-04-24T09:45:29",
            "name": "Update designware pwm driver",
            "version": 6,
            "mbox": "http://patchwork.ozlabs.org/series/501331/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2227813/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2227813/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-pwm+bounces-8684-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-pwm@vger.kernel.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c15:e001:75::12fc:5321; helo=sin.lore.kernel.org;\n envelope-from=linux-pwm+bounces-8684-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=13.76.78.106",
            "smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=eswincomputing.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=eswincomputing.com"
        ],
        "Received": [
            "from sin.lore.kernel.org (sin.lore.kernel.org\n [IPv6:2600:3c15:e001:75::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 4g27cK4yxgz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 19:55:13 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sin.lore.kernel.org (Postfix) with ESMTP id 17ECA3002523\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 09:55:10 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 7C45533F598;\n\tFri, 24 Apr 2026 09:55:07 +0000 (UTC)",
            "from azure-sdnproxy.icoremail.net (azure-sdnproxy.icoremail.net\n [13.76.78.106])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 401662D8376;\n\tFri, 24 Apr 2026 09:55:02 +0000 (UTC)",
            "from E0005152DT.eswin.cn (unknown [10.12.96.41])\n\tby app1 (Coremail) with SMTP id TAJkCgC3THHdPetpAVgUAA--.11883S2;\n\tFri, 24 Apr 2026 17:54:39 +0800 (CST)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777024507; cv=none;\n b=hLICSPhXz9xET9jzOxmWowYg2f5BrkpasG+Qx+dnh3RZxGG+6nqhWBMGd/2sggD4twaNByTbDw+aldLM7w+2aE9JlB3kQKhASp9+1JQwTf3pxdlzW/QI/BX3gC3+nqW5G+xHkcEO1DiSJTVcSF8gR86/1RkBL09oDjXzVHH6f0I=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777024507; c=relaxed/simple;\n\tbh=QFSYqEgLy8Wzqmp/O9r2ZWk/Xpkk1QVJ7sUvqye0Oxo=;\n\th=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n\t MIME-Version;\n b=Y5e5pN3sWsXTOOFTjBRxOwF9ZBDw+sW8S2NVvkU7j93p5yX6LFxBvyEI/FDOjg1wyn9XGtHDVGGKpOIIZo5GBcpq2E50qsbgtL7v0Fn71qe2Us3pvxFeAEbYpV6WBxgTIjD2aB7ilcznrh1nhDmkXnNGVYAm9ygJSylg6VWW5Wg=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=eswincomputing.com;\n spf=pass smtp.mailfrom=eswincomputing.com;\n arc=none smtp.client-ip=13.76.78.106",
        "From": "dongxuyang@eswincomputing.com",
        "To": "ukleinek@kernel.org,\n\trobh@kernel.org,\n\tkrzk+dt@kernel.org,\n\tconor+dt@kernel.org,\n\tben-linux@fluff.org,\n\tben.dooks@codethink.co.uk,\n\tp.zabel@pengutronix.de,\n\tlinux-pwm@vger.kernel.org,\n\tdevicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org",
        "Cc": "ningyu@eswincomputing.com,\n\tlinmin@eswincomputing.com,\n\txuxiang@eswincomputing.com,\n\twangguosheng@eswincomputing.com,\n\tpinkesh.vaghela@einfochips.com,\n\tXuyang Dong <dongxuyang@eswincomputing.com>",
        "Subject": "[PATCH v6 1/2] dt-bindings: pwm: dwc: add optional reset",
        "Date": "Fri, 24 Apr 2026 17:54:35 +0800",
        "Message-Id": "<20260424095435.1721-1-dongxuyang@eswincomputing.com>",
        "X-Mailer": "git-send-email 2.31.1.windows.1",
        "In-Reply-To": "<20260424094529.1691-1-dongxuyang@eswincomputing.com>",
        "References": "<20260424094529.1691-1-dongxuyang@eswincomputing.com>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-pwm@vger.kernel.org",
        "List-Id": "<linux-pwm.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-pwm+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-pwm+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-CM-TRANSID": "TAJkCgC3THHdPetpAVgUAA--.11883S2",
        "X-Coremail-Antispam": "1UD129KBjvJXoW7Ww4fAFyUtF4DGFW3try3twb_yoW8Cr4UpF\n\t43Zr92qr1fJr13Ww4rXF18C3WaqF1kJr47Gr40qw42ka9rta1jqayakw15JFW5ArZ2qrW3\n\tWa93ur15Aw1jvr7anT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2\n\t9KBjDU0xBIdaVrnRJUUUBv14x267AKxVW8JVW5JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0\n\trVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK02\n\t1l84ACjcxK6xIIjxv20xvE14v26w1j6s0DM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4U\n\tJVWxJr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gc\n\tCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E\n\t2Ix0cI8IcVAFwI0_Jw0_WrylYx0Ex4A2jsIE14v26r4j6F4UMcvjeVCFs4IE7xkEbVWUJV\n\tW8JwACjcxG0xvY0x0EwIxGrwACjI8F5VA0II8E6IAqYI8I648v4I1lFIxGxcIEc7CjxVA2\n\tY2ka0xkIwI1lw4CEc2x0rVAKj4xxMxkF7I0En4kS14v26r1q6r43MxkIecxEwVCm-wCF04\n\tk20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18\n\tMI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_GFv_WrylIxkGc2Ij64vIr4\n\t1lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1l\n\tIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4\n\tA2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x0JUfGYJUUUUU=",
        "X-CM-SenderInfo": "pgrqw5xx1d0w46hv4xpqfrz1xxwl0woofrz/"
    },
    "content": "From: Xuyang Dong <dongxuyang@eswincomputing.com>\n\nThe DesignWare PWM includes separate reset signals dedicated to each clock\ndomain:\nThe presetn signal resets logic in pclk domain.\nThe timer_N_resetn signal resets logic in the timer_N_clk domain.\nThe resets are active-low.\n\nEIC7700 use DesignWare IP for PWM controllers. Add ESWIN EIC7700 support\n in snps,dw-apb-timers-pwm2.yaml\n\nSigned-off-by: Xuyang Dong <dongxuyang@eswincomputing.com>\n---\n .../bindings/pwm/snps,dw-apb-timers-pwm2.yaml | 25 ++++++++++++++++---\n 1 file changed, 21 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/Documentation/devicetree/bindings/pwm/snps,dw-apb-timers-pwm2.yaml b/Documentation/devicetree/bindings/pwm/snps,dw-apb-timers-pwm2.yaml\nindex 7523a89a1773..96a70e55a167 100644\n--- a/Documentation/devicetree/bindings/pwm/snps,dw-apb-timers-pwm2.yaml\n+++ b/Documentation/devicetree/bindings/pwm/snps,dw-apb-timers-pwm2.yaml\n@@ -20,12 +20,11 @@ description:\n   instead of having to encode the IP version number in the device tree\n   compatible.\n \n-allOf:\n-  - $ref: pwm.yaml#\n-\n properties:\n   compatible:\n-    const: snps,dw-apb-timers-pwm2\n+    enum:\n+      - snps,dw-apb-timers-pwm2\n+      - eswin,eic7700-pwm\n \n   reg:\n     maxItems: 1\n@@ -43,6 +42,12 @@ properties:\n       - const: bus\n       - const: timer\n \n+  resets:\n+    minItems: 1\n+    items:\n+      - description: Interface bus reset\n+      - description: PWM timer logic reset\n+\n   snps,pwm-number:\n     $ref: /schemas/types.yaml#/definitions/uint32\n     description: The number of PWM channels configured for this instance\n@@ -54,6 +59,18 @@ required:\n   - clocks\n   - clock-names\n \n+allOf:\n+  - $ref: pwm.yaml#\n+\n+  - if:\n+      properties:\n+        compatible:\n+          contains:\n+            const: eswin,eic7700-pwm\n+    then:\n+      required:\n+        - resets\n+\n additionalProperties: false\n \n examples:\n",
    "prefixes": [
        "v6",
        "1/2"
    ]
}