Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2226520/?format=api
{ "id": 2226520, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2226520/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260422143112.1329478-14-raymondmaoca@gmail.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.1/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": "<20260422143112.1329478-14-raymondmaoca@gmail.com>", "date": "2026-04-22T14:31:09", "name": "[13/16] spacemit: k1: append RISCV_MMODE_TIMERBASE", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "63e37b0fe45cfdfa7cc51df392761de8ad06811a", "submitter": { "id": 91989, "url": "http://patchwork.ozlabs.org/api/1.1/people/91989/?format=api", "name": "Raymond Mao", "email": "raymondmaoca@gmail.com" }, "delegate": { "id": 20174, "url": "http://patchwork.ozlabs.org/api/1.1/users/20174/?format=api", "username": "Andes", "first_name": "Andes", "last_name": "", "email": "uboot@andestech.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260422143112.1329478-14-raymondmaoca@gmail.com/mbox/", "series": [ { "id": 501020, "url": "http://patchwork.ozlabs.org/api/1.1/series/501020/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=501020", "date": "2026-04-22T14:30:56", "name": "Add PIN and SPI support for Spacemit K1", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/501020/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2226520/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2226520/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 (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=dIQD/tM1;\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=gmail.com", "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=gmail.com header.i=@gmail.com header.b=\"dIQD/tM1\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=raymondmaoca@gmail.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 4g11tk0vTrz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 00:33:50 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 4C29B8439C;\n\tWed, 22 Apr 2026 16:32:22 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id E42BD84380; Wed, 22 Apr 2026 16:32:09 +0200 (CEST)", "from mail-qt1-x833.google.com (mail-qt1-x833.google.com\n [IPv6:2607:f8b0:4864:20::833])\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 5365283F14\n for <u-boot@lists.denx.de>; Wed, 22 Apr 2026 16:32:05 +0200 (CEST)", "by mail-qt1-x833.google.com with SMTP id\n d75a77b69052e-50fb1932b62so17595431cf.2\n for <u-boot@lists.denx.de>; Wed, 22 Apr 2026 07:32:05 -0700 (PDT)", "from ubuntu.localdomain (172-97-209-197.cpe.distributel.net.\n [172.97.209.197]) by smtp.gmail.com with ESMTPSA id\n d75a77b69052e-50e394903dfsm138772501cf.26.2026.04.22.07.32.02\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 22 Apr 2026 07:32:03 -0700 (PDT)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD,FREEMAIL_FROM,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=no\n autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776868324; x=1777473124; 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=4KnABhFTiQ+hgc9Zoyavg/bcMhFeOEbPPYGyIOK6c+0=;\n b=dIQD/tM1/OEi/Z1/BvQLZwqRC+bljFD/oB0/+byQLMpXzfN0fQ6/iN+PTumgd/LRmz\n nbeRUH4d50uzwEyzLA24AXhI1i0wLjZ/VXSA6DKvB7xdH5VQrrTJKKVxPZLxmxOZLtFM\n YLn5eI9CuMGH2O4KR+7CxeJEK6Eishbq4IVd8+3bDsPKp4Ngne/QkbERdTRTdxNaZ2NX\n i7KXPK7HdSwdisYw1NOdGmPOyD/FYXjwszWvSa9cqdBd9UlB9jmVchxVYItL+rdJI9xE\n QoT8WTeFc4JBNrb+IUt90qLWMGXzwYrl5yc3OaeHFfnzcC/Qd6zNPjhjHjGYRZRXvLlp\n xdxQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776868324; x=1777473124;\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=4KnABhFTiQ+hgc9Zoyavg/bcMhFeOEbPPYGyIOK6c+0=;\n b=cGsllC2h0sK18DbOMUulfYvPMTeNYzyyLUoduvhSkfgpdfFG2TX1A32bYck5VCqnnM\n HqpoXszgjWlX5Yy4xKyP4adztnjYtyo9jYPd8++QXci3p/UDWB9XZv75A4vdXtB/DffP\n 72TfM7Uou/4ETokP1L8orU55IWGsqi11+3C7ifmz/GW/R1VDQ2ZkwQk5mHif1YN+fpop\n FeL+Lw5VZ1YSlBjUpqr30mNel8uVRi84Pv0V4vrU3793ZdZ5rNsYA2nmspkjGKPFE9Be\n wQvLZfIXsleG8AtCahe16nFTVJdkgSuRfUkxiRFWR7fj3i9Wt9zVRrmrBgekse0imAOw\n wfOA==", "X-Gm-Message-State": "AOJu0YwpyS8NR8wFKK/MaQeZgVp1gvMTTw2RpzOheHH8egzRApWy2ATs\n ZrsDTtNzYT4Uvn8NW+UIfu2Zzmd6TN0ZVnpqkTo34PD5u9ZrFql+qQZDzW6o5+ZyU5M=", "X-Gm-Gg": "AeBDievvsm4oe119oMZ3DSscK395j/Y5FzzriDyt+7+/umvtw3AGCPT08FhssnwaBAy\n B2TU/aStPsTJDvph0z6ZX/bUIkOwwTEfE7CMTZcv1CkpWXkI1VCvw7Hzb7dy5Jm7DNrov1nmyb3\n MO48k+nLOHSTVI6nQYv3ZwXHPluq8qNnwOWpsfdDY3xEsYRCsY2S2EgKh0QR92D9kZaWAWUVBfW\n fArBaD/e5yrEb/Ri5BEwfNUMOMbivwmjBtnQ1uxY7hFRzGmtlQgyJGfRRq/w/xfq7uiS6olQ2zT\n HHH02Yg9tKJ9jWFDD0NuI7IPZrIYy4nsWigkWJrkL//HM4XN6Qhvv9Uswx6Qz0dU087sDrzI8PA\n mdOwTgRoPwNx2v/sLpXQIWRVSCh23lHJH1bzBtgwomdM1jU0vZ9hjkrJThYOP557oblypG2zcGK\n M1/kGjJWzAedwv/nZSc4RAFK4uHQmjSruAP/2CEXSB3fJB+JhDKLT3SwP58IcoVa/gS42bXcyOu\n 5vHiB5Tmeto4pbTfe5iTzbAGEih+r/a", "X-Received": "by 2002:ac8:7f55:0:b0:50e:defb:9dc2 with SMTP id\n d75a77b69052e-50edefba0b3mr152357111cf.27.1776868323893;\n Wed, 22 Apr 2026 07:32:03 -0700 (PDT)", "From": "Raymond Mao <raymondmaoca@gmail.com>", "To": "u-boot@lists.denx.de", "Cc": "uboot@riscstar.com, u-boot-spacemit@groups.io, raymond.mao@riscstar.com,\n rick@andestech.com, ycliang@andestech.com, trini@konsulko.com,\n lukma@denx.de, hs@nabladev.com, jh80.chung@samsung.com, peng.fan@nxp.com,\n xypron.glpk@gmx.de, randolph@andestech.com, dlan@gentoo.org,\n junhui.liu@pigmoral.tech, neil.armstrong@linaro.org,\n quentin.schulz@cherry.de, samuel@sholland.org, raymondmaoca@gmail.com", "Subject": "[PATCH 13/16] spacemit: k1: append RISCV_MMODE_TIMERBASE", "Date": "Wed, 22 Apr 2026 10:31:09 -0400", "Message-Id": "<20260422143112.1329478-14-raymondmaoca@gmail.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20260422143112.1329478-1-raymondmaoca@gmail.com>", "References": "<20260422143112.1329478-1-raymondmaoca@gmail.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": "From: Raymond Mao <raymond.mao@riscstar.com>\n\nAppend the definition of RISCV_MMODE_TIMER_BASE & RISCV_MMODE_TIMEROFF.\nSince they're required by riscv aclint timer.\n\nSigned-off-by: Raymond Mao <raymond.mao@riscstar.com>\n---\n include/configs/k1.h | 12 +++++++-----\n 1 file changed, 7 insertions(+), 5 deletions(-)", "diff": "diff --git a/include/configs/k1.h b/include/configs/k1.h\nindex 8e148803dea..33cbbeb6fd6 100644\n--- a/include/configs/k1.h\n+++ b/include/configs/k1.h\n@@ -8,12 +8,14 @@\n #ifndef __CONFIG_H\n #define __CONFIG_H\n \n-#define CFG_SYS_SDRAM_BASE\t 0x0\n+#define CFG_SYS_SDRAM_BASE\t\t0x0\n \n-#define CFG_SYS_NS16550_CLK\t 14700000\n-#define CFG_SYS_NS16550_IER\t 0x40 /* UART Unit Enable */\n+#define CFG_SYS_NS16550_CLK\t\t14700000\n+#define CFG_SYS_NS16550_IER\t\t0x40 /* UART Unit Enable */\n \n-#define RISCV_MMODE_TIMER_FREQ\t 24000000\n-#define RISCV_SMODE_TIMER_FREQ\t 24000000\n+#define RISCV_MMODE_TIMERBASE\t\t0xe4000000\n+#define RISCV_MMODE_TIMEROFF\t\t0xbff8\n+#define RISCV_MMODE_TIMER_FREQ\t\t24000000\n+#define RISCV_SMODE_TIMER_FREQ\t\t24000000\n \n #endif /* __CONFIG_H */\n", "prefixes": [ "13/16" ] }