Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2198273/?format=api
{ "id": 2198273, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2198273/?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-4-dario.binacchi@amarulasolutions.com>", "date": "2026-02-19T17:51:14", "name": "[3/8] test: spi: add sandbox_spi_get_wordlen interface", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "a18522134c63d4f23eaad6585a06b344363cb400", "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-4-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/2198273/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=CPrEMdil;\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=\"CPrEMdil\";\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 4fH1DJ2B5xz1xpl\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 20 Feb 2026 04:52:16 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id BA37E83D5D;\n\tThu, 19 Feb 2026 18:52:00 +0100 (CET)", "by phobos.denx.de (Postfix, from userid 109)\n id 5010683CEE; Thu, 19 Feb 2026 18:51:59 +0100 (CET)", "from mail-wm1-x330.google.com (mail-wm1-x330.google.com\n [IPv6:2a00:1450:4864:20::330])\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 6198583D77\n for <u-boot@lists.denx.de>; Thu, 19 Feb 2026 18:51:57 +0100 (CET)", "by mail-wm1-x330.google.com with SMTP id\n 5b1f17b1804b1-4806bf39419so16758965e9.1\n for <u-boot@lists.denx.de>; Thu, 19 Feb 2026 09:51:57 -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.54\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 19 Feb 2026 09:51:56 -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=1771523516; x=1772128316;\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=iqS8BMujc7huCljGLyRgy1F5r4IDy3eVdPIRG1EUWAw=;\n b=CPrEMdilrS32x1MNtL7Nvnh0AHeQXfJyW4RI+zKWihoWemjCYl0W7proDB1hGbq4JE\n jLooQXQCEm7Ls6OrYnJV9Abnb+Asj42bWpx5Mw0LicmoEt8BkoDpqS3UHco2DM4tUJxD\n kitQZyAbnJL2zzADQez7bfknMyfQ4iRTIAdrA=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1771523516; x=1772128316;\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=iqS8BMujc7huCljGLyRgy1F5r4IDy3eVdPIRG1EUWAw=;\n b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ktPUEGv1+VYubXq2N0nk4ctqLfXQEc2GwNRrpfdCJSYAdO5vO/rzVPC0drKlm\n QduIO1CZ2RrDZJgLDnD2xuGeclr7HgGz/Qk=", "X-Received": "by 2002:a05:600d:6413:20b0:483:78e7:ce15 with SMTP id\n 5b1f17b1804b1-483a00aa4cdmr33790975e9.13.1771523516638;\n Thu, 19 Feb 2026 09:51:56 -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 3/8] test: spi: add sandbox_spi_get_wordlen interface", "Date": "Thu, 19 Feb 2026 18:51:14 +0100", "Message-ID": "<20260219175130.2839234-4-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 the sandbox_spi_get_wordlen() public interface to retrieve the\ninternal word length state of the sandbox SPI device.\n\nThis is intended for use in sandbox SPI test cases to verify that\nthe word length is correctly propagated from the SPI uclass to\nthe driver.\n\nSigned-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>\n---\n\n arch/sandbox/include/asm/test.h | 8 ++++++++\n drivers/spi/sandbox_spi.c | 8 ++++++++\n 2 files changed, 16 insertions(+)", "diff": "diff --git a/arch/sandbox/include/asm/test.h b/arch/sandbox/include/asm/test.h\nindex 0e8d19ce2325..0438790028b9 100644\n--- a/arch/sandbox/include/asm/test.h\n+++ b/arch/sandbox/include/asm/test.h\n@@ -243,6 +243,14 @@ uint sandbox_spi_get_speed(struct udevice *dev);\n */\n uint sandbox_spi_get_mode(struct udevice *dev);\n \n+/**\n+ * sandbox_spi_get_wordlen() - Get current wordlen setting of a sandbox spi slave\n+ *\n+ * @dev: Device to check\n+ * Return: current wordlen\n+ */\n+uint sandbox_spi_get_wordlen(struct udevice *dev);\n+\n /**\n * sandbox_get_pch_spi_protect() - Get the PCI SPI protection status\n *\ndiff --git a/drivers/spi/sandbox_spi.c b/drivers/spi/sandbox_spi.c\nindex 8eed56140f6a..b035a60ef43a 100644\n--- a/drivers/spi/sandbox_spi.c\n+++ b/drivers/spi/sandbox_spi.c\n@@ -63,6 +63,14 @@ uint sandbox_spi_get_mode(struct udevice *dev)\n \treturn priv->mode;\n }\n \n+uint sandbox_spi_get_wordlen(struct udevice *slave)\n+{\n+\tstruct udevice *bus = slave->parent;\n+\tstruct sandbox_spi_priv *priv = dev_get_priv(bus);\n+\n+\treturn priv->wordlen;\n+}\n+\n static int sandbox_spi_set_wordlen(struct udevice *slave, unsigned int wordlen)\n {\n \tstruct udevice *bus = slave->parent;\n", "prefixes": [ "3/8" ] }