get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2229985,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2229985/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260429035134.1023330-2-happycpu@gmail.com/",
    "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": "<20260429035134.1023330-2-happycpu@gmail.com>",
    "date": "2026-04-29T03:51:33",
    "name": "[v2,1/2] dt-bindings: gpio: fairchild,74hc595: add lines-initial-states property",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "cf72af9aefb2e0936594fe5fca63a54f9672be56",
    "submitter": {
        "id": 93205,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/93205/?format=api",
        "name": "정찬홍",
        "email": "happycpu@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260429035134.1023330-2-happycpu@gmail.com/mbox/",
    "series": [
        {
            "id": 501980,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501980/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=501980",
            "date": "2026-04-29T03:51:33",
            "name": "[v2,1/2] dt-bindings: gpio: fairchild,74hc595: add lines-initial-states property",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/501980/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2229985/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2229985/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-gpio+bounces-35745-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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=ffqmqJpU;\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-gpio+bounces-35745-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=\"ffqmqJpU\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.210.176",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=gmail.com"
        ],
        "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 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g53Nz4HMSz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 13:55:31 +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 45AE8307C7C9\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 03:51:48 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 6210338424F;\n\tWed, 29 Apr 2026 03:51:42 +0000 (UTC)",
            "from mail-pf1-f176.google.com (mail-pf1-f176.google.com\n [209.85.210.176])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 065D23502A4\n\tfor <linux-gpio@vger.kernel.org>; Wed, 29 Apr 2026 03:51:40 +0000 (UTC)",
            "by mail-pf1-f176.google.com with SMTP id\n d2e1a72fcca58-82f351ca23cso6227861b3a.2\n        for <linux-gpio@vger.kernel.org>;\n Tue, 28 Apr 2026 20:51:40 -0700 (PDT)",
            "from happycpu-p1.. ([121.160.151.7])\n        by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-834ed5f30ddsm502899b3a.26.2026.04.28.20.51.38\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Tue, 28 Apr 2026 20:51:39 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777434702; cv=none;\n b=JVafnz5pDpfel6FqliONzwx8gIG5AxlYrM85wPoR6imiuZyq0RaRAXIgHb8KPDOxGLrTdv9h1XFjLYGDmjU7/SJJeyb8Oli7/reAPqj8vTnttN3SaXfJgGW3+whGrwrOpnWZLsdMvpdnKsPa1J4YN4zVhdbGXXeZXhgUcRFL1Hk=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777434702; c=relaxed/simple;\n\tbh=vPQUThWy67wfMYeJwrPcsHxWfcPcFCsMgNrLSkwoj8g=;\n\th=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n\t MIME-Version;\n b=Bjp76DxVJGrwzRyiK9pLIl6cvDXrbjla3GsAzU13bPzC9cYkfrGXJYLJGM6Tqlea5tJ9UZ2Glx58N9CP7LF6kQQn7Z4n4pi57E9LumUzADFn2Rd5+5t4q5yvgVgeJvuBu3Uq0/0jj2zpxee8D68iwy5djCqkWpwcFC9vVm12x/8=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com;\n spf=pass smtp.mailfrom=gmail.com;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=ffqmqJpU; arc=none smtp.client-ip=209.85.210.176",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1777434700; x=1778039500;\n darn=vger.kernel.org;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=QbH/TGRF6PfMqJsI3EAcyASyeCufTbbYiyEWVPz+mLo=;\n        b=ffqmqJpUSQqknQC3oMOW6lJQDl0bUCO4Ncez+D4Q9R86sT4UusGPMz2//OMCWzb2GO\n         iNGwHOBMXjNK+OsL3cQJ2CTKThbjjeZ8njo41PSv61xRkNlItEvu979eCRgyKDruo9YN\n         QtIr0hNTtg2b6LRySAnDcnCr2FRSUg0/kfLSlqLSXAtpVJ0NzAh+UVkyA2OWAxq1aEiw\n         J1fqA6ysGfGGtXCKhbqDYVnEcFzAYzTmbFC69Fdk/RoJ8yeBZBD14xNovAdKV2wlvHo1\n         i77GTmY8+2AyzTGG0txSSuX/c9IGKW79GrCuJzP9Bt3iq0Y+WYSmjRovfMfnFLM28xxl\n         4PSw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1777434700; x=1778039500;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n         :to:cc:subject:date:message-id:reply-to;\n        bh=QbH/TGRF6PfMqJsI3EAcyASyeCufTbbYiyEWVPz+mLo=;\n        b=j5XwB+F5+k50vor6l6lGUJTQvNs5T7DLysZRvpFiM5q4iHLPoADg72zihC5NAjnB5K\n         Uxjmk8XJ6+IIsq8nA2eAq4S0hGrCn69BN+8rJ3hsvCbxBWSrxhYDDbF2NkDyr2NCnWfO\n         rBNTp9q05Pvbuq9Y5QIU2UuYWOxrs5PUcOQ7n6SCDkXxq9Oj/1PIJ5v3xwgiT+rnNXvx\n         PPYwYEyvFoL3iUlNIXkpjNcc6Pa6wPVMvwcYJoUk9UjtwHXvvilejh4mARxFz/tEAotA\n         WDNxmXtp1+LTSr/FSX1yqHlVwceS4OsOwcbZPtpKLJNKFh/FydYKxaz23pgzCjmZHFwZ\n         3yCQ==",
        "X-Gm-Message-State": "AOJu0YyM55COW28EKaNGZiyI0pNu6J9dWkfzp0Wpc0WfYl2LAIrHg4HA\n\tX3HEtK3iKLANQSFPq4TMw7q/akqXcANrLQ02bheGGtdkDuBTWaRjEiRM",
        "X-Gm-Gg": "AeBDieu3CIEQ8NFdtpkBvXdvHC1SAlLzVnHdMcUVzLpULswxhnPrNHv32pvFjYGhtKy\n\tINx1Oi6j7JDlo0PuRCAd3QIudsUuLfXwvaYGyrNNpoDkAefMmwQ4aOzErvndvP1qzM/n9rqrHlq\n\tB66824YT0lO1CObggGNux9BtUP5ZOsjq1F56dfnXywbqjT5SXPoGfXnWPlOB5tqgXf0zLHlXnPE\n\td630E0+5fsf+rPwAk794WWgCijsNzJ2gqZKHnyyx+SHAajFv/AeOqN1KF7L1yQSDDsK5bVPwPEQ\n\trAkda4d+l2Cg3W7DsMJa+TmnRI5IqFSI1qWa7sVheuZc2QsjQGQmq9Z0ouMz5zkV1oM0ZTj8ALU\n\tFMZcYLKCIcxnqgqrC31/k1HdnkPu314WOZwoOnMDnqdR9FCPjJv2WjF7566vGZ4kMYjM7Z1B0oV\n\tL65jWvMiBOIyT7lzupSFeJb94qtrFRMBnw1mTCzMN1rlDMQW6n6LJjNBh+uaW5yFWrw53XWkBr/\n\tRU=",
        "X-Received": "by 2002:a05:6a00:1953:b0:82f:4867:5876 with SMTP id\n d2e1a72fcca58-834ddc95779mr5627069b3a.50.1777434700304;\n        Tue, 28 Apr 2026 20:51:40 -0700 (PDT)",
        "From": "Chanhong Jung <happycpu@gmail.com>",
        "To": "Linus Walleij <linusw@kernel.org>,\n\tBartosz Golaszewski <brgl@kernel.org>,\n\tRob Herring <robh@kernel.org>,\n\tKrzysztof Kozlowski <krzk+dt@kernel.org>,\n\tConor Dooley <conor+dt@kernel.org>,\n\tMaxime Ripard <mripard@kernel.org>",
        "Cc": "linux-gpio@vger.kernel.org,\n\tdevicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org",
        "Subject": "[PATCH v2 1/2] dt-bindings: gpio: fairchild,74hc595: add\n lines-initial-states property",
        "Date": "Wed, 29 Apr 2026 12:51:33 +0900",
        "Message-Id": "<20260429035134.1023330-2-happycpu@gmail.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<cover.1776872453.git.happycpu@gmail.com>",
        "References": "<cover.1776872453.git.happycpu@gmail.com>",
        "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-Transfer-Encoding": "8bit"
    },
    "content": "The 74HC595 and 74LVC594 shift registers latch their outputs until the\nfirst serial write, so boards that depend on a specific power-on pattern\n(for example active-low indicators, reset lines, or other signals that\nmust come up non-zero) have no way to express that today: the Linux\ndriver always writes zeros from its zero-initialised buffer during\nprobe.\n\nDocument support for the existing lines-initial-states bitmask, already\ndefined for nxp,pcf8575, so the same convention covers this output-only\ndevice. Bit N corresponds to GPIO line N. Because the 74HC595/74LVC594\nfamily is push-pull output only (no input mode, no high-impedance state\nunder software control), bit=0 drives the line low and bit=1 drives it\nhigh; this differs from nxp,pcf8575, where the 0/1 polarity reflects the\nquasi-bidirectional nature of that part.\n\nThe bitmask covers up to 32 lines, which fits the typical 1-4 chip\ncascades that appear in tree. Should longer chains require seeding in\nthe future, the property can be extended to a uint32-array without\nbreaking the bit-N-equals-line-N convention.\n\nSuggested-by: Linus Walleij <linus.walleij@linaro.org>\nSigned-off-by: Chanhong Jung <happycpu@gmail.com>\n---\n .../devicetree/bindings/gpio/fairchild,74hc595.yaml | 13 +++++++++++++\n 1 file changed, 13 insertions(+)",
    "diff": "diff --git a/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml b/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml\nindex 23410aeca..451538df6 100644\n--- a/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml\n+++ b/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml\n@@ -45,6 +45,18 @@ properties:\n     $ref: /schemas/types.yaml#/definitions/uint32\n     description: Number of daisy-chained shift registers\n \n+  lines-initial-states:\n+    $ref: /schemas/types.yaml#/definitions/uint32\n+    description:\n+      Bitmask that specifies the initial state of each output line, written\n+      by the driver before the gpiochip is registered. Bit N corresponds to\n+      GPIO line N, following the convention already documented for\n+      nxp,pcf8575. Because the 74HC595/74LVC594 family is push-pull output\n+      only, a bit set to zero drives the line low and a bit set to one\n+      drives it high. The bitmask covers up to 32 lines (four cascaded\n+      registers); outputs beyond that come up zeroed. When the property is\n+      absent all outputs come up low, preserving the previous behaviour.\n+\n   enable-gpios:\n     description: GPIO connected to the OE (Output Enable) pin.\n     maxItems: 1\n@@ -79,6 +91,7 @@ examples:\n             gpio-controller;\n             #gpio-cells = <2>;\n             registers-number = <4>;\n+            lines-initial-states = <0xffff0000>;\n             spi-max-frequency = <100000>;\n         };\n     };\n",
    "prefixes": [
        "v2",
        "1/2"
    ]
}