Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2197492/?format=api
{ "id": 2197492, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2197492/?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": "<20260217-mtk-mt8189-clocks-v2-5-cd381cd05251@baylibre.com>", "date": "2026-02-17T23:30:12", "name": "[v2,5/7] clk: mediatek: add MUX_MIXED_CLR_SET_UPD_FLAGS() macro", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "4b090477b23421a9e5c85c1d64c409bd40ba4af2", "submitter": { "id": 87228, "url": "http://patchwork.ozlabs.org/api/1.0/people/87228/?format=api", "name": "David Lechner", "email": "dlechner@baylibre.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/20260217-mtk-mt8189-clocks-v2-5-cd381cd05251@baylibre.com/mbox/", "series": [ { "id": 492497, "url": "http://patchwork.ozlabs.org/api/1.0/series/492497/?format=api", "date": "2026-02-17T23:30:08", "name": "clk: mediatek: new mt8189 driver", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/492497/mbox/" } ], "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2197492/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=baylibre-com.20230601.gappssmtp.com\n header.i=@baylibre-com.20230601.gappssmtp.com header.a=rsa-sha256\n header.s=20230601 header.b=iY8HqvPP;\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=baylibre.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=baylibre-com.20230601.gappssmtp.com\n header.i=@baylibre-com.20230601.gappssmtp.com header.b=\"iY8HqvPP\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=baylibre.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=dlechner@baylibre.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 4fFwsQ1h7zz1xvq\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 10:32:10 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 1D11283D0B;\n\tWed, 18 Feb 2026 00:31:23 +0100 (CET)", "by phobos.denx.de (Postfix, from userid 109)\n id 524CD83D2E; Wed, 18 Feb 2026 00:31:19 +0100 (CET)", "from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com\n [IPv6:2607:f8b0:4864:20::32d])\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 33AAA83CB9\n for <u-boot@lists.denx.de>; Wed, 18 Feb 2026 00:31:17 +0100 (CET)", "by mail-ot1-x32d.google.com with SMTP id\n 46e09a7af769-7d18d0e6d71so3172219a34.1\n for <u-boot@lists.denx.de>; Tue, 17 Feb 2026 15:31:17 -0800 (PST)", "from [127.0.1.1] ([2600:8803:e7e4:500:b8c6:5b3:8109:1f08])\n by smtp.gmail.com with ESMTPSA id\n 46e09a7af769-7d4c7288d34sm11122198a34.18.2026.02.17.15.31.15\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 17 Feb 2026 15:31:15 -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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1771371076;\n x=1771975876;\n darn=lists.denx.de;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:from:to:cc:subject:date:message-id\n :reply-to; bh=sJeuMkg6/c0lnPQU1MBXhsOd9MnBt7w4eChECCeX1iw=;\n b=iY8HqvPPyHJSXn8o9hgESXNLtT6D/Y/bUKycYDSqBDW/sQjryGK+E0KTqrAJZNRsIA\n 9O2tOGrTUjScYE5fLigwN/qoOzI9WyIzFHLwOSAzIkDuMSyJCH+7QsZsHIJLjmfllzNG\n xbDilwW/RDMiWUW9w2LRE/AMmKXSOu5EBbVGqEJlTKSmqoKIDNNccV2CLKH1zfslRB8l\n a7SstFaEGL3xY59kqnA3h0IpyYCBCDlCRfkXVy2yazQ4lOSwNBLmxogJXCDSS9aa8h2c\n NflFDxpgpgjpdom879b3IiSOJBN88Cm0TDlK5sSVY55c87m7ETSQLDdEejMpxOHXc4aQ\n wVLg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1771371076; x=1771975876;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=sJeuMkg6/c0lnPQU1MBXhsOd9MnBt7w4eChECCeX1iw=;\n b=aL07nuVZkQKp1oOjqXpeArneWLncEPUq5r07E4BC+tuqC+Sx8YZTlrzqQIkxwJ8ARY\n a8797T0IjfEZmeVcYXOHuye9h4E5eho0BmNCZoYRelUOf3D6go/Pxt61dsJwYkVlPnne\n e7RePsEIU54YgpDSRgd3jJ9W3HwoHmtGtn7uBlLul4t/Q2RNF/Q1GnSkAHaqcgeC+/S1\n 0QGUN47UTGS4dzl1G7utVtm6EhmiVMm9vve1hmSlTfw2+BDoM8aXq2/RR7k7osDWWbP0\n Ffm4J9KI/lSsp4bXuMwCaEMjVOdi8fOTpHxqEi1qL/cE6nFbymx1gHAcWKVwQGXQam+K\n 0CyA==", "X-Forwarded-Encrypted": "i=1;\n AJvYcCXcokVY3N8d+q9A5td5C2TFw5Dvh4DdwRNTNNdclrJ7X1597+lwWUwG8GxLHIDS5p4enWpvuds=@lists.denx.de", "X-Gm-Message-State": "AOJu0YxuC3SCvO/UzGxLe0IXg6WD923+3ghjOCEkcMzJtz7I+HKJwNbF\n e7FGYrNdMLMYX6pNbKZux6HA9sg6rqcSe49djHqnFJHFfr/miP+ClTzFSDlNgWJlvkShOBsZEww\n gKhyZ", "X-Gm-Gg": "AZuq6aISRabG3Ec4P8qa7BBKIoI3nFm0SDQL0fD2p9DTv0RAcF8KB7UldyqcyCVMasZ\n PKLoaol9wGrQW4ZInsmbud2UEnFjfblocwWZwwe6eemhHdCuZcA/x2yw9BvaRqVhiJNMvKuFdQM\n 7CN8v21yQMw7EPlUwztBdIOaDY5/eNilkilhzPNpxvjt+675pXfoV5p+aWY9aTQmkaFOM7kWIzw\n T97+AmE++/8GIb4or8tW4T+A1t/zLHxAGUur+nansdl9MY+zvOP+jk2PDqMT2qo2D+WlK2rqMB/\n qVV1FxgE9uUydKA1z4kImUtK7jj9yUlPTErUTs8DqtF6BFImdtP7gcdRr84VHxEVdN7KNdxK6B9\n NczmtpxYNaJPcc46WTIf2j5PHDW2mO1tg8WKqpTzLuoo/8Pw2u5w3Phc6GiBLCVSOluj5UO3YcV\n pGLfax0ISex9SEtbA5Q+6JJtt/zuP0lLpBz9GN", "X-Received": "by 2002:a05:6830:442a:b0:7cf:dbb4:3210 with SMTP id\n 46e09a7af769-7d4d0b0019dmr7190802a34.15.1771371075885;\n Tue, 17 Feb 2026 15:31:15 -0800 (PST)", "From": "David Lechner <dlechner@baylibre.com>", "Date": "Tue, 17 Feb 2026 17:30:12 -0600", "Subject": "[PATCH v2 5/7] clk: mediatek: add MUX_MIXED_CLR_SET_UPD_FLAGS() macro", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Message-Id": "<20260217-mtk-mt8189-clocks-v2-5-cd381cd05251@baylibre.com>", "References": "<20260217-mtk-mt8189-clocks-v2-0-cd381cd05251@baylibre.com>", "In-Reply-To": "<20260217-mtk-mt8189-clocks-v2-0-cd381cd05251@baylibre.com>", "To": "Lukasz Majewski <lukma@denx.de>, Ryder Lee <ryder.lee@mediatek.com>,\n Weijie Gao <weijie.gao@mediatek.com>,\n Chunfeng Yun <chunfeng.yun@mediatek.com>,\n Igor Belwon <igor.belwon@mentallysanemainliners.org>,\n GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>,\n Tom Rini <trini@konsulko.com>", "Cc": "Julien Stephan <jstephan@baylibre.com>, u-boot@lists.denx.de,\n David Lechner <dlechner@baylibre.com>", "X-Mailer": "b4 0.14.3", "X-Developer-Signature": "v=1; a=openpgp-sha256; l=1350; i=dlechner@baylibre.com;\n h=from:subject:message-id;\n bh=+r3Mtaip08VF+oET76BCWEanas4FlGfdK9u8ImuiBEI=;\n b=owEBhAF7/pANAwAKAcLMIAH/AY/AAcsmYgBplPoq5eTcyM/ctjX8Rj5VOz+n9/IT7fLo4Ac9X\n WvHododzieJAUoEAAEKADQWIQTsGNmeYg6D1pzYaJjCzCAB/wGPwAUCaZT6KhYcZGxlY2huZXJA\n YmF5bGlicmUuY29tAAoJEMLMIAH/AY/AiskH/1hAe7hweMcJ1MzdO83aIM1JIbYTQAWPU44VVpj\n usQDFClmu++cKK1auRO7mKgxSJQY0oFrkj1CuR7BUbQUopfLFbkfiehaqrpYB7rj6CrvItj/KcL\n NQypIh3N3xJVgLIYDN33yrcg2C5mV+aEKddSN3Hd9GK7SRP/SIOkQLQe2caCSgvWceicrt+UsC7\n WZpd9rueFHkht8wlSagS+jElYvFT+nFyqSzFE9gYbed2DjWCWhqwzj2Rrr0ZBYnkJtzpyO8ikL+\n ViROjyaMNZr/SEORHF2JoEA4gpTR2t1iM1WP8pBIerOuP76pR4vJsQZRGco4Gq4BggnLKJ7jDgT\n oqIo=", "X-Developer-Key": "i=dlechner@baylibre.com; a=openpgp;\n fpr=8A73D82A6A1F509907F373881F8AF88C82F77C03", "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 new MUX_MIXED_CLR_SET_UPD_FLAGS() macro. This is the same as\nMUX_CLR_SET_UPD_FLAGS() except that it uses the parent_flags member\nof the union instead of parent.\n\nThis will be needed by the incoming mt8189 clock driver.\n\nSigned-off-by: David Lechner <dlechner@baylibre.com>\n---\n drivers/clk/mediatek/clk-mtk.h | 18 ++++++++++++++++++\n 1 file changed, 18 insertions(+)", "diff": "diff --git a/drivers/clk/mediatek/clk-mtk.h b/drivers/clk/mediatek/clk-mtk.h\nindex c6874445dbe..c4aeee49abd 100644\n--- a/drivers/clk/mediatek/clk-mtk.h\n+++ b/drivers/clk/mediatek/clk-mtk.h\n@@ -221,6 +221,24 @@ struct mtk_composite {\n \t\t.flags = _flags,\t\t\t\t\t\\\n \t}\n \n+#define MUX_MIXED_CLR_SET_UPD_FLAGS(_id, _parents, _mux_ofs, _mux_set_ofs,\\\n+\t\t\t\t _mux_clr_ofs, _shift, _width, _gate,\\\n+\t\t\t\t _upd_ofs, _upd, _flags) {\t\t\\\n+\t\t.id = _id,\t\t\t\t\t\t\\\n+\t\t.mux_reg = _mux_ofs,\t\t\t\t\t\\\n+\t\t.mux_set_reg = _mux_set_ofs,\t\t\t\t\\\n+\t\t.mux_clr_reg = _mux_clr_ofs,\t\t\t\t\\\n+\t\t.upd_reg = _upd_ofs,\t\t\t\t\t\\\n+\t\t.upd_shift = _upd,\t\t\t\t\t\\\n+\t\t.mux_shift = _shift,\t\t\t\t\t\\\n+\t\t.mux_mask = BIT(_width) - 1,\t\t\t\t\\\n+\t\t.gate_reg = _mux_ofs,\t\t\t\t\t\\\n+\t\t.gate_shift = _gate,\t\t\t\t\t\\\n+\t\t.parent_flags = _parents,\t\t\t\t\\\n+\t\t.num_parents = ARRAY_SIZE(_parents),\t\t\t\\\n+\t\t.flags = CLK_PARENT_MIXED | (_flags),\t\t\t\\\n+\t}\n+\n struct mtk_gate_regs {\n \tu32 sta_ofs;\n \tu32 clr_ofs;\n", "prefixes": [ "v2", "5/7" ] }