Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2198274/?format=api
{ "id": 2198274, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2198274/?format=api", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.0/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 }, "msgid": "<20260219175130.2839234-5-dario.binacchi@amarulasolutions.com>", "date": "2026-02-19T17:51:15", "name": "[4/8] test: dm: spi: add testcase for spi_set_wordlen()", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "95391022688dc68acdb2d98572a02487008c44d0", "submitter": { "id": 83038, "url": "http://patchwork.ozlabs.org/api/1.0/people/83038/?format=api", "name": "Dario Binacchi", "email": "dario.binacchi@amarulasolutions.com" }, "delegate": { "id": 3651, "url": "http://patchwork.ozlabs.org/api/1.0/users/3651/?format=api", "username": "trini", "first_name": "Tom", "last_name": "Rini", "email": "trini@ti.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260219175130.2839234-5-dario.binacchi@amarulasolutions.com/mbox/", "series": [ { "id": 492708, "url": "http://patchwork.ozlabs.org/api/1.0/series/492708/?format=api", "date": "2026-02-19T17:51:11", "name": "video: support Rocktech RK050HR345-CT106A panel", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/492708/mbox/" } ], "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2198274/checks/", "tags": {}, "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 (1024-bit key;\n unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com\n header.a=rsa-sha256 header.s=google header.b=olDn/XRn;\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=pass (p=none dis=none) header.from=amarulasolutions.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com\n header.b=\"olDn/XRn\";\n\tdkim-atps=neutral", "phobos.denx.de; dmarc=pass (p=none dis=none)\n header.from=amarulasolutions.com", "phobos.denx.de; spf=pass\n smtp.mailfrom=dario.binacchi@amarulasolutions.com" ], "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 4fH1DT5KfNz1xpl\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 20 Feb 2026 04:52:25 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 2D68683DF3;\n\tThu, 19 Feb 2026 18:52:08 +0100 (CET)", "by phobos.denx.de (Postfix, from userid 109)\n id 34DD183DCB; Thu, 19 Feb 2026 18:52:06 +0100 (CET)", "from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com\n [IPv6:2a00:1450:4864:20::32f])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 4BF3783CEE\n for <u-boot@lists.denx.de>; Thu, 19 Feb 2026 18:52:04 +0100 (CET)", "by mail-wm1-x32f.google.com with SMTP id\n 5b1f17b1804b1-4806f3fc50bso14030785e9.0\n for <u-boot@lists.denx.de>; Thu, 19 Feb 2026 09:52:04 -0800 (PST)", "from dario-ThinkPad-P14s-Gen-5.homenet.telecomitalia.it\n (host-95-248-31-95.retail.telecomitalia.it. [95.248.31.95])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-483a31b0e63sm35485005e9.2.2026.02.19.09.51.56\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 19 Feb 2026 09:52:03 -0800 (PST)" ], "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_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=amarulasolutions.com; s=google; t=1771523523; x=1772128323;\n darn=lists.denx.de;\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=RCHtgDZvfTFI4kdVn/tCFXNLzJyuLrLIYxBP/bv67wk=;\n b=olDn/XRnMh5Dcafc94NcxP0cOEd96EpuDmq+zv1KQp6JsZucMVdF7KNL2Za0N0/CpU\n fpdf1WhX/gfFEUiN/0Zxn7W6MBfEQDTcf4yt8aFRz6RbCepNaXZQwKcspSfHug5IdldI\n BCjtkMXM7rdkSPAeBGPn25Onftipryg/Wu810=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1771523523; x=1772128323;\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=RCHtgDZvfTFI4kdVn/tCFXNLzJyuLrLIYxBP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v3hXzBx0Y7HXgaVl+U7gZMioPrRNBXiMPtcBwIDqzwZopsjvDO1vXQxUVDWcWxcBVrAEVET\n 4UeGZ+eBFfKpBvM6gxqpzitZ", "X-Received": "by 2002:a05:600c:698c:b0:477:5ad9:6df1 with SMTP id\n 5b1f17b1804b1-48379b932b7mr339624495e9.3.1771523523473;\n Thu, 19 Feb 2026 09:52:03 -0800 (PST)", "From": "Dario Binacchi <dario.binacchi@amarulasolutions.com>", "To": "u-boot@lists.denx.de", "Cc": "Patrice Chotard <patrice.chotard@foss.st.com>,\n linux-amarula@amarulasolutions.com,\n Patrick Delaunay <patrick.delaunay@foss.st.com>,\n Dario Binacchi <dario.binacchi@amarulasolutions.com>,\n Jagan Teki <jagan@amarulasolutions.com>, Simon Glass <sjg@chromium.org>,\n Tom Rini <trini@konsulko.com>", "Subject": "[PATCH 4/8] test: dm: spi: add testcase for spi_set_wordlen()", "Date": "Thu, 19 Feb 2026 18:51:15 +0100", "Message-ID": "<20260219175130.2839234-5-dario.binacchi@amarulasolutions.com>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20260219175130.2839234-1-dario.binacchi@amarulasolutions.com>", "References": "<20260219175130.2839234-1-dario.binacchi@amarulasolutions.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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": "Add a unit test to verify that the SPI word length configuration is\ncorrectly handled by the SPI uclass and successfully passed down to\nthe sandbox driver.\n\nSigned-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>\n---\n\n test/dm/spi.c | 16 ++++++++++++++++\n 1 file changed, 16 insertions(+)", "diff": "diff --git a/test/dm/spi.c b/test/dm/spi.c\nindex 249a9238fedc..a89ba06274fc 100644\n--- a/test/dm/spi.c\n+++ b/test/dm/spi.c\n@@ -170,6 +170,22 @@ static int dm_test_spi_claim_bus(struct unit_test_state *uts)\n }\n DM_TEST(dm_test_spi_claim_bus, UTF_SCAN_PDATA | UTF_SCAN_FDT);\n \n+static int dm_test_spi_set_wordlen(struct unit_test_state *uts)\n+{\n+\tstruct spi_slave *slave;\n+\tstruct udevice *bus;\n+\tconst int busnum = 0, cs = 0;\n+\n+\tut_assertok(spi_get_bus_and_cs(busnum, cs, &bus, &slave));\n+\tut_assertok(spi_set_wordlen(slave, 8));\n+\tut_asserteq(8, sandbox_spi_get_wordlen(slave->dev));\n+\tut_assertok(spi_set_wordlen(slave, 9));\n+\tut_asserteq(9, sandbox_spi_get_wordlen(slave->dev));\n+\n+\treturn 0;\n+}\n+DM_TEST(dm_test_spi_set_wordlen, UTF_SCAN_PDATA | UTF_SCAN_FDT);\n+\n /* Test that sandbox SPI works correctly */\n static int dm_test_spi_xfer(struct unit_test_state *uts)\n {\n", "prefixes": [ "4/8" ] }