get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2225580,
    "url": "http://patchwork.ozlabs.org/api/patches/2225580/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260421082145.824453-1-n-francis@ti.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/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": "<20260421082145.824453-1-n-francis@ti.com>",
    "list_archive_url": null,
    "date": "2026-04-21T08:21:45",
    "name": "[v2] power: regulator: tps65941: Enable FPWM bits",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "fcbe7d58ecb0c0412a9ad40728011359b268c086",
    "submitter": {
        "id": 83791,
        "url": "http://patchwork.ozlabs.org/api/people/83791/?format=api",
        "name": "Neha Malcom Francis",
        "email": "n-francis@ti.com"
    },
    "delegate": {
        "id": 12423,
        "url": "http://patchwork.ozlabs.org/api/users/12423/?format=api",
        "username": "Jaehoon",
        "first_name": "Jaehoon",
        "last_name": "Chung",
        "email": "jh80.chung@samsung.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260421082145.824453-1-n-francis@ti.com/mbox/",
    "series": [
        {
            "id": 500756,
            "url": "http://patchwork.ozlabs.org/api/series/500756/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=500756",
            "date": "2026-04-21T08:21:45",
            "name": "[v2] power: regulator: tps65941: Enable FPWM bits",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/500756/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2225580/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2225580/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 (1024-bit key;\n unprotected) header.d=ti.com header.i=@ti.com header.a=rsa-sha256\n header.s=selector1 header.b=H5I21wIX;\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=quarantine dis=none) header.from=ti.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=ti.com header.i=@ti.com header.b=\"H5I21wIX\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=quarantine dis=none) header.from=ti.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=n-francis@ti.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 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g0Fh66VKVz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 21 Apr 2026 18:21:58 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id EDDB68433B;\n\tTue, 21 Apr 2026 10:21:55 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 2D29D8436C; Tue, 21 Apr 2026 10:21:55 +0200 (CEST)",
            "from BL2PR02CU003.outbound.protection.outlook.com\n (mail-eastusazlp17011000f.outbound.protection.outlook.com\n [IPv6:2a01:111:f403:c100::f])\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 0768F8431E\n for <u-boot@lists.denx.de>; Tue, 21 Apr 2026 10:21:51 +0200 (CEST)",
            "from BN9PR03CA0274.namprd03.prod.outlook.com (2603:10b6:408:f5::9)\n by IA0PR10MB6915.namprd10.prod.outlook.com (2603:10b6:208:431::8) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9818.33; Tue, 21 Apr\n 2026 08:21:49 +0000",
            "from BN3PEPF0000B06A.namprd21.prod.outlook.com\n (2603:10b6:408:f5:cafe::a5) by BN9PR03CA0274.outlook.office365.com\n (2603:10b6:408:f5::9) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9791.48 via Frontend Transport; Tue,\n 21 Apr 2026 08:21:49 +0000",
            "from lewvzet201.ext.ti.com (198.47.23.195) by\n BN3PEPF0000B06A.mail.protection.outlook.com (10.167.243.69) with Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.9870.4 via Frontend Transport; Tue, 21 Apr 2026 08:21:49 +0000",
            "from DLEE205.ent.ti.com (157.170.170.85) by lewvzet201.ext.ti.com\n (10.4.14.104) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Tue, 21 Apr\n 2026 03:21:49 -0500",
            "from DLEE212.ent.ti.com (157.170.170.114) by DLEE205.ent.ti.com\n (157.170.170.85) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Tue, 21 Apr\n 2026 03:21:48 -0500",
            "from lelvem-mr05.itg.ti.com (10.180.75.9) by DLEE212.ent.ti.com\n (157.170.170.114) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20 via Frontend\n Transport; Tue, 21 Apr 2026 03:21:48 -0500",
            "from a0497641-HP-Z2-Tower-G9-Workstation-Desktop-PC.dhcp.ti.com\n (a0497641-hp-z2-tower-g9-workstation-desktop-pc.dhcp.ti.com [10.24.50.71])\n by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 63L8LjBI157498;\n Tue, 21 Apr 2026 03:21:46 -0500"
        ],
        "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,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,T_SPF_PERMERROR autolearn=no\n autolearn_force=no version=3.4.2",
        "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=Jrx2+krcY3pjJfiysYpjNVP3qlzK2TFVFytUdA01ixeQkE5KgLd+INPqCxt2haFnHQb9yIkVHUQW6a+5mqnrH3iiylvmu60Y2AAoXHxuhQvH1o5EaxlrF9LwQ/r+yXR48MHIdSHYlyGF8egjVCXo4sC+0BM5wfmWDtJWIoNpioPHhyBaAqTyCM1v1yjE3uCH/HVZotFi7WZHswggwJx8uP6TljLAMjH2yd7fe0lfNInBCUjWLa/lYl7mNY+wqAzDTlIj665B0mUU1I4siAO9r7Fn8ft27ax54ezzWq3DioWOlEu+tiHHHDE6nhsspAwqD0h4fNORKkM9Efib1fAV0Q==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector10001;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;\n bh=WRj/jIZ6SzgIVAjjdbEqk2kUds1n57mWNfX96XDKHco=;\n b=WWXS+5mgk3ylTkz/FY6qwvkBNjjPo6ZY0yT9sdHfQD5Kv3NqePr8wIXBwt7ivB2vCDS5lNRtKr8B9dN2IC6wTW1xc4wcXQOFpcIRJpaNhOiEE9+1+D/pNrPmmzHBNGvXaU0c7QWHlpm3Xqom94BbOwhHsAWHT454KaL6jhQ/UqVB/tSRW0UGD7kiu3l5SkAwElUJ//OUgvYA9W8NtyXUHHUVTeFZw0XFtZg9JsmqzjlZh+MQx2AwGV+zetBTFU9bKX1YWg1LZcKxas7WtBv98JYkUttXSe4dI6JVctxg6nuc+IceplqB3InVN00UBmC2APoTJlF+Cnn36CTLMI9kxQ==",
        "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass (sender ip is\n 198.47.23.195) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=ti.com;\n dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=ti.com;\n dkim=none (message not signed); arc=none (0)",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=selector1;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=WRj/jIZ6SzgIVAjjdbEqk2kUds1n57mWNfX96XDKHco=;\n b=H5I21wIXPvFETAng+o2IE5g8gplHxsxUjr6DAXbm4kvixgpCatceoPGRwJG/e4962I8YvNZO/1bIeq58QhW7BJJ7RzD1u8g4Fy0HTTF34VVuzgstalwM8yKCdVg6dqyf+5FBg3i4n3C+8dk6tO1AK+KGQkYAnct9iyKUjUPG9qU=",
        "X-MS-Exchange-Authentication-Results": "spf=pass (sender IP is 198.47.23.195)\n smtp.mailfrom=ti.com; dkim=none (message not signed) header.d=none;\n dmarc=pass\n action=none header.from=ti.com;",
        "Received-SPF": "Pass (protection.outlook.com: domain of ti.com designates\n 198.47.23.195 as permitted sender) receiver=protection.outlook.com;\n client-ip=198.47.23.195; helo=lewvzet201.ext.ti.com; pr=C",
        "From": "Neha Malcom Francis <n-francis@ti.com>",
        "To": "<trini@konsulko.com>, <jh80.chung@samsung.com>, <peng.fan@nxp.com>",
        "CC": "<j-keerthy@ti.com>, <t-fujiwara1@ti.com>, <u-boot@lists.denx.de>,\n <u-kumar1@ti.com>, <gehariprasath@ti.com>, <n-francis@ti.com>",
        "Subject": "[PATCH v2] power: regulator: tps65941: Enable FPWM bits",
        "Date": "Tue, 21 Apr 2026 13:51:45 +0530",
        "Message-ID": "<20260421082145.824453-1-n-francis@ti.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-C2ProcessedOrg": "333ef613-75bf-4e12-a4b1-8e3623f5dcea",
        "X-EOPAttributedMessage": "0",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-TrafficTypeDiagnostic": "BN3PEPF0000B06A:EE_|IA0PR10MB6915:EE_",
        "X-MS-Office365-Filtering-Correlation-Id": "8eb07929-4a22-427a-4dad-08de9f7f0924",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-AntiSpam-Relay": "0",
        "X-Microsoft-Antispam": "BCL:0;\n ARA:13230040|36860700016|376014|82310400026|1800799024|56012099003|18002099003;",
        "X-Microsoft-Antispam-Message-Info": "\n eV9BJfmkNWMvp1pViv5c195zC+BEovfvwtl735tauC7Ng2fn4b3sHfjS3PBzfFKWjWfbc4Hxad7osC5nscKH16xnqvRIiDC6RGmtS56RZTIB7RpzNFrB5CU21anxKueoLtucp0keTESLY9+uGKRhy104S1nhFuNngBTABLTMldkMyZRO77glEzO4lZLovBAIn6s03N06+SI/QF/zdEZ+zt22QBpgLUbZjP3aCUitaF5I9OAeq0CjFXSJqvWAWNi/IaJk+Jbb+jj6lG17KrL0YqLTUO1VbOK9xWqPnwW2Tq44U9atYRRHXV1BIlbVKCqE7zz9Y/hOFzoBGi2ZmjD5UxIyBJL7lpHKToJWPpHizp361K/6zpFHEvIP0LlhF4dxu5khcNXN4WMsoFt9igCk9W1et2oPXoFusfU6TfbepZrP+R/oFRVyBiZlHQlJ8PNYuiG6TZknGIlD+f5oBueEVskj9L3kYzFxXC5i6ziIphd46/D+M9owtFKpakbszbP7WEIV9bQRr37UFIHlCGY7UCNybQkGSDY3yPRmH0kq/LSm+uRe8cdFLsw/0k11AINUzAecsushT2y9veLT58kxMhwLrQ7pWLJBfpVHgPTupjkLnp7XR7nRO3OAN6/+DQNcVpmoMsLZbOZUMrqVr9t/5Y9ot+AhU5DR2AdQbqPJB6jO3NGdaslQVPG0amImK2TKAgRK2CSqpikOh0MIPwWmHFYHT0B49SLGhxDSb2lnMKA=",
        "X-Forefront-Antispam-Report": "CIP:198.47.23.195; CTRY:US; LANG:en; SCL:1; SRV:;\n IPV:NLI; SFV:NSPM; H:lewvzet201.ext.ti.com; PTR:InfoDomainNonexistent;\n CAT:NONE;\n SFS:(13230040)(36860700016)(376014)(82310400026)(1800799024)(56012099003)(18002099003);\n DIR:OUT; SFP:1101;",
        "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1",
        "X-MS-Exchange-AntiSpam-MessageData-0": "\n m575CftD3OSEXrC9a4Kb6UfoHbOxuJ/9iiphc+nE6tK8B1jHKCSTTlo0oM1+x6H0Ht/a4/9Y9M2ht3Xa2AZlO9caxe8RFJYHNjelXMu7x1NHUWkF89IYRNRKScOs39DpczSKFHSBx9m5t916KZErwa4M927snRmHwETmncYrArZo5bxE9uLyX8mk2Oluh5Ag793yr0TZIpzBwpETP4X1PHtaMINVpaD0n+OI0pA8chiIM5OpXi2wWooGWQBoC9+pNEWLN/YDd8w8y3gJdtOup06FJVw+WYtQVLh4POk25O8TH0DOll+BEfz1C6HC85VVhnhBqzBoXdp8UK/t4tJAGsrV9MCwXINMrFO9tRpMvLnsDSeW7nu1Fyv2goqNZU9F5tUqYlOYQCdM53ef+AjhoSkZDxmECG7TAK70NzPea/VhQbqJGYT3Csoo/4ATz232",
        "X-OriginatorOrg": "ti.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "21 Apr 2026 08:21:49.4994 (UTC)",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 8eb07929-4a22-427a-4dad-08de9f7f0924",
        "X-MS-Exchange-CrossTenant-Id": "e5b49634-450b-4709-8abb-1e2b19b982b7",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "\n TenantId=e5b49634-450b-4709-8abb-1e2b19b982b7; Ip=[198.47.23.195];\n Helo=[lewvzet201.ext.ti.com]",
        "X-MS-Exchange-CrossTenant-AuthSource": "\n BN3PEPF0000B06A.namprd21.prod.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "IA0PR10MB6915",
        "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": "Depending on the phase selection (single or multi), the FPWM bits\nconfigured forces the regulator to operate in PWM mode. In case of\nmulti-phase selection, the FPWM_MP bits enforce the regulator to also\noperate in multi-phase. This fixes correct multi-phase operation.\n\nWhile at this, correct incorrect macro alignment as well.\n\nFixes: 065a452ae6a1 (\"power: regulator: tps65941: add regulator support\")\nLink: https://www.ti.com/lit/ds/symlink/tps6594-q1.pdf\nSigned-off-by: Keerthy <j-keerthy@ti.com>\nSigned-off-by: Takuma Fujiwara <t-fujiwara1@ti.com>\nSigned-off-by: Neha Malcom Francis <n-francis@ti.com>\n---\nChanges since v1:\nhttps://lore.kernel.org/u-boot/20260129072857.1437272-1-n-francis@ti.com/\n- alignment correction\n- used existing macros instead of 12, 123 etc.\n\nTested on J721S2-EVM (same as v1, no logical changes)\n\nhttps://gist.github.com/nehamalcom/a74fb2a3b59421d0e04693c7d244fdb4\n\nBefore the patch, the kernel TPS6594 regulator driver would warn about\novercurrent on a buck, this was due to incorrect multi-phase configuration.\nThis patch resolves it.\n\n drivers/power/regulator/tps65941_regulator.c | 15 ++++++++++++---\n include/power/tps65941.h                     |  4 +++-\n 2 files changed, 15 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/power/regulator/tps65941_regulator.c b/drivers/power/regulator/tps65941_regulator.c\nindex 2561d6f4c6c..209968b5718 100644\n--- a/drivers/power/regulator/tps65941_regulator.c\n+++ b/drivers/power/regulator/tps65941_regulator.c\n@@ -63,13 +63,14 @@ static inline int tps65941_get_chip_id(struct udevice *dev)\n \n static int tps65941_buck_enable(struct udevice *dev, int op, bool *enable)\n {\n-\tint ret;\n+\tint ret, idx;\n \tunsigned int adr;\n \tstruct dm_regulator_uclass_plat *uc_pdata;\n \n \tuc_pdata = dev_get_uclass_plat(dev);\n \tadr = uc_pdata->ctrl_reg;\n \n+\tidx = dev->driver_data;\n \tret = pmic_reg_read(dev->parent, adr);\n \tif (ret < 0)\n \t\treturn ret;\n@@ -84,10 +85,18 @@ static int tps65941_buck_enable(struct udevice *dev, int op, bool *enable)\n \n \t\treturn 0;\n \t} else if (op == PMIC_OP_SET) {\n-\t\tif (*enable)\n+\t\tif (*enable) {\n \t\t\tret |= TPS65941_BUCK_MODE_MASK;\n-\t\telse\n+\t\t\t/* Enable FPWM */\n+\t\t\tret |= TPS65941_BUCK_FPWM_MASK;\n+\t\t\t/* If Multiphase enable FPWM_MP */\n+\t\t\tif (idx == TPS65941_BUCK_ID_12 ||\n+\t\t\t    idx == TPS65941_BUCK_ID_123 ||\n+\t\t\t    idx == TPS65941_BUCK_ID_1234)\n+\t\t\t\tret |= TPS65941_BUCK_FPWM_MP_MASK;\n+\t\t} else {\n \t\t\tret &= ~TPS65941_BUCK_MODE_MASK;\n+\t\t}\n \t\tret = pmic_reg_write(dev->parent, adr, ret);\n \t\tif (ret)\n \t\t\treturn ret;\ndiff --git a/include/power/tps65941.h b/include/power/tps65941.h\nindex a026ec56958..78e48a15972 100644\n--- a/include/power/tps65941.h\n+++ b/include/power/tps65941.h\n@@ -19,7 +19,9 @@\n #define TPS65941_BUCK_VOLT_MASK\t\t0xFF\n #define TPS65941_BUCK_VOLT_MAX_HEX\t0xFF\n #define TPS65941_BUCK_VOLT_MAX\t\t3340000\n-#define TPS65941_BUCK_MODE_MASK\t\t0x1\n+#define TPS65941_BUCK_MODE_MASK\t0x1\n+#define TPS65941_BUCK_FPWM_MASK\t0x2\n+#define TPS65941_BUCK_FPWM_MP_MASK\t0x4\n \n #define TPS65941_LDO_VOLT_MASK\t\t0x7E\n #define TPS65941_LDO_VOLT_MAX_HEX\t0x3A\n",
    "prefixes": [
        "v2"
    ]
}