get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2225394,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2225394/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260421-ten64-add-usb5744-v2-2-eaa81288e393@traverse.com.au/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260421-ten64-add-usb5744-v2-2-eaa81288e393@traverse.com.au>",
    "list_archive_url": null,
    "date": "2026-04-21T00:04:35",
    "name": "[v2,2/8] board: ten64: add fdt fixup to hide usb hub topology",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "5d804865f43ee09a770f6a0acb222641626f41d7",
    "submitter": {
        "id": 72945,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/72945/?format=api",
        "name": "Mathew McBride",
        "email": "matt@traverse.com.au"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260421-ten64-add-usb5744-v2-2-eaa81288e393@traverse.com.au/mbox/",
    "series": [
        {
            "id": 500696,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/500696/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=500696",
            "date": "2026-04-21T00:04:33",
            "name": "board: ten64: add USB Hub (USB5744) management support",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/500696/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2225394/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2225394/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=traverse.com.au header.i=@traverse.com.au\n header.a=rsa-sha256 header.s=fm1 header.b=JyQGchvL;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=messagingengine.com header.i=@messagingengine.com\n header.a=rsa-sha256 header.s=fm2 header.b=f7qsLrwW;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=traverse.com.au",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=traverse.com.au header.i=@traverse.com.au\n header.b=\"JyQGchvL\";\n\tdkim=pass (2048-bit key;\n unprotected) header.d=messagingengine.com header.i=@messagingengine.com\n header.b=\"f7qsLrwW\";\n\tdkim-atps=neutral",
            "phobos.denx.de; dmarc=none (p=none dis=none)\n header.from=traverse.com.au",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=matt@traverse.com.au"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\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 4g02g157DNz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 21 Apr 2026 10:05:17 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 4468B842E6;\n\tTue, 21 Apr 2026 02:05:03 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 82E97842C7; Tue, 21 Apr 2026 02:04:56 +0200 (CEST)",
            "from fout-b2-smtp.messagingengine.com\n (fout-b2-smtp.messagingengine.com [202.12.124.145])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 3978E8412A\n for <u-boot@lists.denx.de>; Tue, 21 Apr 2026 02:04:54 +0200 (CEST)",
            "from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45])\n by mailfout.stl.internal (Postfix) with ESMTP id 168911D0027D;\n Mon, 20 Apr 2026 20:04:53 -0400 (EDT)",
            "from phl-frontend-04 ([10.202.2.163])\n by phl-compute-05.internal (MEProxy); Mon, 20 Apr 2026 20:04:53 -0400",
            "by mail.messagingengine.com (Postfix) with ESMTPA; Mon,\n 20 Apr 2026 20:04:50 -0400 (EDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2",
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=traverse.com.au;\n h=cc:cc:content-transfer-encoding:content-type:content-type\n :date:date:from:from:in-reply-to:in-reply-to:message-id\n :mime-version:references:reply-to:subject:subject:to:to; s=fm1;\n t=1776729892; x=1776816292; bh=A/ZuL7L/tmANoKscO6vBm6eo3uMXI8ER\n xE/10cel69c=; b=JyQGchvLrqDhzzKbwxChw+wkwy+IRu3qxgdCePSK04XXiwIc\n Pe7ARVskQP5KbOkvrJTnmHvKbuZTlgWJZIEXJPRNsdy1yFjBJwxGYqHCNEsZ0BhI\n CyFiVwZ2jQ79GtjdeWiYCQXKx7mwFtmPO9ot27xJOIokBBufnkAMyU2PyElR/4cc\n sdvpI1LmDo9JQOq5mKGbn0LtillBJbXbaqq2PTM25e7iiokGD3wvLNNRocTTyb/u\n 15jKa1pTkV8dnDxS30WzRh3Wayb9XAEohBBDVveI+3RUnIRSm3XQxjp5bVy25SVQ\n GqM17G99cBC3k7c9lS6+HmLF2ohzY0p4Hzkuug==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:cc:content-transfer-encoding\n :content-type:content-type:date:date:feedback-id:feedback-id\n :from:from:in-reply-to:in-reply-to:message-id:mime-version\n :references:reply-to:subject:subject:to:to:x-me-proxy\n :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1776729892; x=\n 1776816292; bh=A/ZuL7L/tmANoKscO6vBm6eo3uMXI8ERxE/10cel69c=; b=f\n 7qsLrwWyklPVCAT0Ff3kEBMGUn9qhIbZZIwD4tktSuyEc6OyizCSvPmm1KDgtLNe\n BQ68PjIBKLl/+Jac8pFkWvjmpH4iTBAkYhvJQfeyZ0G5bnlwRKIvOU+CjsBJFybk\n RPpySk3F7bRWeC+ULOHdGrmv2hKoDIdwbXUPi5WVuMO/c6xb1CJErHVybLCBBuyy\n /ybcNAbBrd0630PKzzHkGR4DKOrmAFWaI9r1rUJYoz3HZI4vaHDJGJ3owTi/BkNM\n twOy6yhqeFtszo5mZ9Rng185+63zOzHnj6GS/Yp7I8j15ZAmYVVuOgu60DLZy2UK\n IqeWZeEsf5NMJB8/VaP3A=="
        ],
        "X-ME-Sender": "<xms:JL_maVwpvmNPrIqvVVIz6ecm_dGvtmY-6WeZAn_h2o2MHtiH4mXW3w>\n <xme:JL_maaP5fEfOcf90ULsf_S9m_67oVI--Jpjx9O6X-SA90ki053nezad9vgrWpolb3\n -CEBghHPJHVBnlOST39tArNyQKBFRjoqc6a_S2V-gfC2d2NN10rHA>",
        "X-ME-Received": "\n <xmr:JL_maTnsQrbNwMXlYulqXRpdAFy2VWYeH4XT3JaQ-AKZRdsDBfbfJm3fiY4ull3icRR6F2vta2OZaZ5ddbpZzIWX02wa0CVEVsfkSgo43eFHYIzH6agBKXUC>",
        "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdehleeludcutefuodetggdotefrod\n ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr\n ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug\n hrpefhfffugggtgffkfhgjvfevofesthejredtredtjeenucfhrhhomhepofgrthhhvgif\n ucfotgeurhhiuggvuceomhgrthhtsehtrhgrvhgvrhhsvgdrtghomhdrrghuqeenucggtf\n frrghtthgvrhhnpeffvddthfeklefffffgjeekfeetueehhfeigfffgfekudeujeehffet\n ffeltefgheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh\n hmpehmrghtthesthhrrghvvghrshgvrdgtohhmrdgruhdpnhgspghrtghpthhtohepledp\n mhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepphgrughmrghrrghordgsvghgrghrih\n esrghmugdrtghomhdprhgtphhtthhopehquhgvnhhtihhnrdhstghhuhhliiestghhvghr\n rhihrdguvgdprhgtphhtthhopehmihgthhgrlhdrshhimhgvkhesrghmugdrtghomhdprh\n gtphhtthhopehmrghrvghkrdhvrghsuhhtsehmrghilhgsohigrdhorhhgpdhrtghpthht\n ohepuhdqsghoohhtsehlihhsthhsrdguvghngidruggvpdhrtghpthhtohepphgvnhhgrd\n hfrghnsehngihprdgtohhmpdhrtghpthhtoheplhhukhgrshiirdgtiigvtghhohifshhk\n ihesthhhrghumhgrthgvtgdrtghomhdprhgtphhtthhopehtrhhinhhisehkohhnshhulh\n hkohdrtghomhdprhgtphhtthhopehmrghtthesthhrrghvvghrshgvrdgtohhmrdgruh",
        "X-ME-Proxy": "<xmx:JL_maXSA5_5FdNM1C4BsW3BwOgSQA7EXBkMm3F2mO8YEnEEiTOs4rg>\n <xmx:JL_maaXl8FEwLLKC1Sk_RP5Al_P2_iwq38uH3tAP5mFD-8cvIXhpyQ>\n <xmx:JL_maTLsy5P7EwewnfkSHr5--8e1Ou3a8W-71kS3p049aOOB9R2ZuA>\n <xmx:JL_maS22xrEAYhkwHGI1fcqR5sXPlfyx8Pup4ihQuA94rPsG721h-Q>\n <xmx:JL_mac3BECECDmDqTe4la4AaQtEHe17SuHPWAKomTrSXFTny5ing363k>",
        "Feedback-ID": "i426947f3:Fastmail",
        "From": "Mathew McBride <matt@traverse.com.au>",
        "Date": "Tue, 21 Apr 2026 10:04:35 +1000",
        "Subject": "[PATCH v2 2/8] board: ten64: add fdt fixup to hide usb hub\n topology",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Message-Id": "<20260421-ten64-add-usb5744-v2-2-eaa81288e393@traverse.com.au>",
        "References": "<20260421-ten64-add-usb5744-v2-0-eaa81288e393@traverse.com.au>",
        "In-Reply-To": "<20260421-ten64-add-usb5744-v2-0-eaa81288e393@traverse.com.au>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Tom Rini <trini@konsulko.com>,\n Lukasz Czechowski <lukasz.czechowski@thaumatec.com>,\n Quentin Schulz <quentin.schulz@cherry.de>,\n Michal Simek <michal.simek@amd.com>, Marek Vasut <marek.vasut@mailbox.org>,\n Padmarao Begari <padmarao.begari@amd.com>, Peng Fan <peng.fan@nxp.com>,\n Mathew McBride <matt@traverse.com.au>",
        "X-Mailer": "b4 0.14.3",
        "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1776729881; l=2517;\n i=matt@traverse.com.au; s=20260115; h=from:subject:message-id;\n bh=TYf5uMXoikjlmNdpwCRzD5Q2pkqjCgNW6FtGX4XoytU=;\n b=GWk08k2a/5bBxQDGlrsO/IVwy/4149A5mRNYoSF50L0aIO8pvtJ43GtWXJG+sXvLtSn7Hp2Zl\n 4Tcke9So8W9A3uqS/CKnnW4lQJZBkBMKWbeVm9uvcRNZXJXhXWRLmDf",
        "X-Developer-Key": "i=matt@traverse.com.au; a=ed25519;\n pk=SM+aGm9Y2fPJ2prfH/b5lab73fTBrKL5UsJwdzv7Pbg=",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.39",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>",
        "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "The USB Hub (microchip,usb5744) can enter a dis-/reconnect loop\nif a driver tries to re-initialise the hub over I2C.\n\nOn the Ten64 board, this process only needs to be run once\nper system reset cycle, which is carried out by U-Boot.\n\nAs there are distributions shipping with the affected\ndriver by default, the best solution is to remove\nthe USB hub toplogy information from the FDT passed\nto the operating system, so the OS won't attempt\nto re-initialise the USB hub under any circumstance.\n\nSigned-off-by: Mathew McBride <matt@traverse.com.au>\n---\n board/traverse/ten64/ten64.c | 45 ++++++++++++++++++++++++++++++++++++++++++++\n 1 file changed, 45 insertions(+)",
    "diff": "diff --git a/board/traverse/ten64/ten64.c b/board/traverse/ten64/ten64.c\nindex d41bd2e9dee..1f531d34fc8 100644\n--- a/board/traverse/ten64/ten64.c\n+++ b/board/traverse/ten64/ten64.c\n@@ -186,6 +186,50 @@ void fdt_fixup_board_enet(void *fdt)\n \t\tfdt_status_fail(fdt, offset);\n }\n \n+/* The onboard USB hub driver (microchip,usb5744)\n+ * can cause a disconnect-reconnect loop if the operating system\n+ * attempts to re-initalise the hub after U-Boot has already done it.\n+ * (This process only needs to be done once per system RESET cycle)\n+ *\n+ * To avoid this condition, make the hub topology invisible\n+ * to the operating system.\n+ * It is also required to remove the hub on boards\n+ * without it (RevD).\n+ */\n+int fdt_fixup_usb_hub(void *fdt)\n+{\n+\tint usb1_hub2744_offset, usb1_hub5744_offset;\n+\tint i2c_usb5744_offset;\n+\tint err;\n+\n+\tusb1_hub2744_offset = fdt_path_offset(fdt, \"/soc/usb@3110000/hub@1\");\n+\n+\tif (usb1_hub2744_offset < 0)\n+\t\treturn usb1_hub2744_offset;\n+\n+\terr = fdt_del_node(fdt, usb1_hub2744_offset);\n+\tif (err)\n+\t\treturn err;\n+\n+\tusb1_hub5744_offset = fdt_path_offset(fdt, \"/soc/usb@3110000/hub@2\");\n+\tif (usb1_hub5744_offset < 0)\n+\t\treturn usb1_hub5744_offset;\n+\n+\terr = fdt_del_node(fdt, usb1_hub5744_offset);\n+\tif (err)\n+\t\treturn err;\n+\n+\ti2c_usb5744_offset = fdt_path_offset(fdt, \"/soc/i2c@2000000/usb-hub@2d\");\n+\tif (i2c_usb5744_offset < 0)\n+\t\treturn i2c_usb5744_offset;\n+\n+\terr = fdt_setprop_string(fdt, i2c_usb5744_offset, \"status\", \"disabled\");\n+\tif (err)\n+\t\treturn err;\n+\n+\treturn 0;\n+}\n+\n /* Called after SoC board_late_init in fsl-layerscape/soc.c */\n int fsl_board_late_init(void)\n {\n@@ -251,6 +295,7 @@ int ft_board_setup(void *blob, struct bd_info *bd)\n \n \tfdt_fixup_icid(blob);\n \n+\tfdt_fixup_usb_hub(blob);\n \treturn 0;\n }\n \n",
    "prefixes": [
        "v2",
        "2/8"
    ]
}