get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2226559,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2226559/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/33d515f13769c685e6811463a14e111252a7c58d.1776872453.git.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": "<33d515f13769c685e6811463a14e111252a7c58d.1776872453.git.happycpu@gmail.com>",
    "date": "2026-04-22T16:05:03",
    "name": "[v1,1/2] dt-bindings: gpio: fairchild,74hc595: add registers-default property",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "d72794f981bd09c6de2b2a6c6ac8e54c2c8e9665",
    "submitter": {
        "id": 93205,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/93205/?format=api",
        "name": "Chanhong Jung",
        "email": "happycpu@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/33d515f13769c685e6811463a14e111252a7c58d.1776872453.git.happycpu@gmail.com/mbox/",
    "series": [
        {
            "id": 501038,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501038/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=501038",
            "date": "2026-04-22T16:05:02",
            "name": "gpio: 74x164: seed the chain from DT at probe time",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501038/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2226559/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2226559/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-gpio+bounces-35362-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=ma3Yr86C;\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-35362-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=\"ma3Yr86C\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.210.171",
            "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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g143Y3mvrz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 02:11:37 +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 6BF4E30A5D63\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 16:05:49 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 4351038A706;\n\tWed, 22 Apr 2026 16:05:16 +0000 (UTC)",
            "from mail-pf1-f171.google.com (mail-pf1-f171.google.com\n [209.85.210.171])\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 BECA237D124\n\tfor <linux-gpio@vger.kernel.org>; Wed, 22 Apr 2026 16:05:13 +0000 (UTC)",
            "by mail-pf1-f171.google.com with SMTP id\n d2e1a72fcca58-82f83bd32efso4438096b3a.2\n        for <linux-gpio@vger.kernel.org>;\n Wed, 22 Apr 2026 09:05:13 -0700 (PDT)",
            "from happycpu-p1.. ([121.160.151.7])\n        by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-82f8ec003dcsm18151031b3a.52.2026.04.22.09.05.10\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Wed, 22 Apr 2026 09:05:12 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776873915; cv=none;\n b=jQgqc8XcRoChmap4D7TjhML7g7wNanJyT+6fAYXzwrqXbE/DdgbDWsw+eZO89Z+8PmAvyXb1I7uEgCsGx1/n9fKdGhTCIHUO9TYUq/f8eDzLVW0mzJUlbCQ1dpMbSSE+rTsHr9Di/1Wwp1QSeeYOMQZwXUu9A2m7iO2Sn0xu4Lw=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776873915; c=relaxed/simple;\n\tbh=0oF5yLnqueqC9tyouh3AcpVVlddHY0rpyMWXyvW8cHI=;\n\th=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n\t MIME-Version;\n b=f/0w9XcvoihXmsqBHqqJYX6xJn1mYsjgEegFaXbjQjfkSMNHg5qeF1l0I9SYYiFYMk2maXh4Ps93EmIYaCuPQSsWL43+b123sWwwMHEqIEF/ez+4d6QAn/MfRRhPA4P4YH0BHn4BM5J+xqcAcSNiNwL3TRlODmKoKRtad0msVjo=",
        "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=ma3Yr86C; arc=none smtp.client-ip=209.85.210.171",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1776873913; x=1777478713;\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=hxb256EBeZtQyoihRghLekjihrjtRwmLsvJYxZ59QmU=;\n        b=ma3Yr86ClFK61Jn9bZTfZOHVCGyoV6k03Y4GxmyQyHGMxd9fVcEtJyZgdrMmBKGsxF\n         4382zRKrlJNkg5qdiyvUjKi9vppDNDgZKw/ecB1gF856ciP5vOhuiBnj+nrZwO/RAfb4\n         MuS988/lMMY7sshPvga1A93U2YuCG589vdUWFRlOslPP/QedOI8ug7SYQtf4ELIJTObQ\n         Qv+tfFuHlEbG7stq7a2eyy4lhlD/rn8/P9uG6rmuAapNUmVcLtZXpMJ3tE52ZspTZxrF\n         7T8ely/kEiAEcxC7/C3c5mBZxKyxDBJLf9H/aP0WeSXEfPDhWSyvV6OgL74pOxhYD6+b\n         0Ttw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1776873913; x=1777478713;\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=hxb256EBeZtQyoihRghLekjihrjtRwmLsvJYxZ59QmU=;\n        b=BhIQI0V8vXM+E5rrx0yV5vx2tZZbQBg/h2HQogn2j+lpG1LsE2ch2+M4tNIYoCddbC\n         Sh7LphxcE3A+PxQXIP9siMhGEXHDU7gPOS2V3D6g2Ig28Zz68/IgMpcmFKYGeLpMx9dw\n         eJyRiTqPDTfZOvCAj8qrMCzyMn4oWAu5GScO+ZbWflkyCWaegif7hARlNzgg6lC23Nk8\n         T9ThBHdp2AWXnExwBAQdr5axRnnq1+UKyRrBZx6Qq5O7hiLM0klLHbXrduFUYfXnr0rl\n         2j7SYmvz+qgA9BUPzoKDxvLgBSBEKOEXnuX46r1eK1cXc/rYDfbyD37vhyNezy07PRy0\n         2VhQ==",
        "X-Gm-Message-State": "AOJu0YwX6zk+La+lRwSYfqR2kuLhl15b47QCNeAsKCIgeoPOTxk+PINe\n\tMQLH8rBSOGr6L8OA10FnMMXq3RlhjSlXUb6fI5oGAFd6Udks9n9bzcdT",
        "X-Gm-Gg": "AeBDies9MoVKXl1eQa1SQTdCRgAUNSEWACNlX65dieN8BrG9WS3J8XD8ycilkraT7Vd\n\ttzzq5TqbEYqrXmWgVnX9To+g7M0FXYFEkrAhYBF3edOB5MN6cQoTdn2lUhl8i3nzDbaRI21keZF\n\tqCsyClERnf30oHpaIKwoXYSy0E65wNT8KANN3OFsErVT3lnZlHkEG/EHi9yNyHMcDPCGTCYX3sH\n\tg/NhAZgqBcfzQqCCGDiDTXDVp5pBjbNCMPOizHZ0bNcYL39PAx/U0xGUXC2QC4839ycHnAkEdym\n\tUzLrK57mdAqqArImK78ejxUR+Qjwyv7L1K9UE8sRE8zQpjotpmxM3dFzcg9AYgKw5CT7uu63nYi\n\t5eZbJZ5055CinHB0frK4zMAHIV0STLMZ4wi7ww5bdySpNP1oJGpqYmKC9zWS3dKki8T5m5qLlCa\n\tm2vkqdmoFGegtOfFb0R6pW50V6gVcVdudYFHN+xNhHJg63IpabuhEDHPirQi/YcxDS",
        "X-Received": "by 2002:a05:6a00:800d:b0:82c:9223:cc95 with SMTP id\n d2e1a72fcca58-82f8c7db124mr24045763b3a.1.1776873912716;\n        Wed, 22 Apr 2026 09:05:12 -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 v1 1/2] dt-bindings: gpio: fairchild,74hc595: add\n registers-default property",
        "Date": "Thu, 23 Apr 2026 01:05:03 +0900",
        "Message-Id": "\n <33d515f13769c685e6811463a14e111252a7c58d.1776872453.git.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\nDescribe a new optional 'registers-default' property that carries a u8\narray - one byte per cascaded register, in the same order used by the\ndriver's internal buffer (first byte targets the last register in the\nchain). The Linux driver change that consumes this property follows.\n\nThis property is already recognised by the corresponding U-Boot driver\n(drivers/gpio/74x164_gpio.c), so documenting it here brings the two\nbindings back in sync and allows boards to initialise the chain once\nfrom the bootloader DT and keep the same value after the kernel takes\nover.\n\nSigned-off-by: Chanhong Jung <happycpu@gmail.com>\n---\n .../devicetree/bindings/gpio/fairchild,74hc595.yaml    | 10 ++++++++++\n 1 file changed, 10 insertions(+)",
    "diff": "diff --git a/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml b/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml\nindex 23410aeca..c6221ed75 100644\n--- a/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml\n+++ b/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml\n@@ -45,6 +45,15 @@ properties:\n     $ref: /schemas/types.yaml#/definitions/uint32\n     description: Number of daisy-chained shift registers\n \n+  registers-default:\n+    $ref: /schemas/types.yaml#/definitions/uint8-array\n+    description:\n+      Initial state of the daisy-chained outputs, written by the driver\n+      before the gpiochip is registered. One byte per cascaded register,\n+      in the same order used by the driver's buffer (the first byte\n+      targets the last register in the chain). When absent, outputs come\n+      up zeroed. The number of entries must match 'registers-number'.\n+\n   enable-gpios:\n     description: GPIO connected to the OE (Output Enable) pin.\n     maxItems: 1\n@@ -79,6 +88,7 @@ examples:\n             gpio-controller;\n             #gpio-cells = <2>;\n             registers-number = <4>;\n+            registers-default = /bits/ 8 <0xff 0xff 0x00 0x00>;\n             spi-max-frequency = <100000>;\n         };\n     };\n",
    "prefixes": [
        "v1",
        "1/2"
    ]
}