get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2217584,
    "url": "http://patchwork.ozlabs.org/api/patches/2217584/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260330083429.359819-4-l.scorcia@gmail.com/",
    "project": {
        "id": 42,
        "url": "http://patchwork.ozlabs.org/api/projects/42/?format=api",
        "name": "Linux GPIO development",
        "link_name": "linux-gpio",
        "list_id": "linux-gpio.vger.kernel.org",
        "list_email": "linux-gpio@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260330083429.359819-4-l.scorcia@gmail.com>",
    "list_archive_url": null,
    "date": "2026-03-30T08:29:37",
    "name": "[v4,3/9] regulator: dt-bindings: Add MediaTek MT6392 PMIC",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f98cd24232d79eb8ed3fb2ea366416b92d5938df",
    "submitter": {
        "id": 92693,
        "url": "http://patchwork.ozlabs.org/api/people/92693/?format=api",
        "name": "Luca Leonardo Scorcia",
        "email": "l.scorcia@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260330083429.359819-4-l.scorcia@gmail.com/mbox/",
    "series": [
        {
            "id": 497975,
            "url": "http://patchwork.ozlabs.org/api/series/497975/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=497975",
            "date": "2026-03-30T08:29:34",
            "name": "Add support for mt6392 PMIC",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/497975/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217584/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217584/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-gpio+bounces-34394-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-gpio@vger.kernel.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=MzpN8aJe;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=104.64.211.4; helo=sin.lore.kernel.org;\n envelope-from=linux-gpio+bounces-34394-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=\"MzpN8aJe\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.128.53",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=gmail.com"
        ],
        "Received": [
            "from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])\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 4fkl3x17Xcz1yG8\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 30 Mar 2026 19:37:17 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sin.lore.kernel.org (Postfix) with ESMTP id E8445300603A\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 30 Mar 2026 08:35:26 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 30A583A7855;\n\tMon, 30 Mar 2026 08:35:24 +0000 (UTC)",
            "from mail-wm1-f53.google.com (mail-wm1-f53.google.com\n [209.85.128.53])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 75FAA3AD519\n\tfor <linux-gpio@vger.kernel.org>; Mon, 30 Mar 2026 08:35:22 +0000 (UTC)",
            "by mail-wm1-f53.google.com with SMTP id\n 5b1f17b1804b1-486fe655187so54350615e9.2\n        for <linux-gpio@vger.kernel.org>;\n Mon, 30 Mar 2026 01:35:22 -0700 (PDT)",
            "from luca-vm.lan ([154.61.61.58])\n        by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48722c6b495sm508329995e9.2.2026.03.30.01.35.19\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Mon, 30 Mar 2026 01:35:20 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774859724; cv=none;\n b=XvtdiZyNm73S1goHV8LXK5WsoPbvbi2NCaXYGdsQzDMeLcbzn/QfFUzIK63sazYfjjAQ6F6Tlc93ZnUcIFTgdVDe2OC6kvK5ZPgSfFtcHmgRKGdHGCYZjWOfh1ga5TOy2Q990PWg5o1CtxsAQ1V3P9aNzMZ6+BJqkWnzn6vVLBw=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774859724; c=relaxed/simple;\n\tbh=sRQA5QLHO2sUZDXytYhE/C8tMIpR3aUH3LvjIZmVSNY=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=JeqGJmgRSEwk2/rlqFIA+PtfujG8QlYUfRXHaSdw2hnZkQiNFlZz0PfHgsDeJbLICKUC9fkVnIq7VskV9DARSWDuvksr78BwkL7VIfzMjQJJxj5RLsDORhrjjE6oai94uxMeeeJA+xr97U6w7dwWfFdoyCd/Tbr1SDqnRDWn8OI=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com;\n spf=pass smtp.mailfrom=gmail.com;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=MzpN8aJe; arc=none smtp.client-ip=209.85.128.53",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1774859721; x=1775464521;\n darn=vger.kernel.org;\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=eZY/r0Q2Y0NxdHq45+egYGlikRLogBMu0oJhE3y/Rf0=;\n        b=MzpN8aJeZpXu2RJOLjRHo1Srmmmz9+ALJEZkI2XHIpbr1OR6s3X26O43cYGDechbLp\n         fzM7a/DsHbu24VsAMuvHVc1S06HA4lTvItPF0Vge5CS81xqA7A2u1FKsA4REnJbYlAc6\n         7qjRMvm9Lx5b1PSlf2T2YMT1P83+y4Roht7+Q6GO8Sj6IMo6Nv15hNgnJegmSD8Z5/qZ\n         Vis+K51n2pqurFLni6dS3a9PAoeRK2EASIYtXB4XelzBzifyFDZnLXWKwn7hJqRffwvR\n         7pMazMt+zJdGVQiMvZn/qi6iaqohPzNHYKzysXd1t39DtJpDgpE7SpEajC4GsWaKX22n\n         oGow==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1774859721; x=1775464521;\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=eZY/r0Q2Y0NxdHq45+egYGlikRLogBMu0oJhE3y/Rf0=;\n        b=VHtYtDnm6qyruI/vim8ldPed58swJF2ZIoFpL7I8aCWdwx359hsvI6m+gBMZrqtXMM\n         r18fQjhW23MQKiTFty203EEuGQ9+9rNvYDDLEAFWp9wVhFR8eq9NZcA14wT7u944ooxF\n         V6CKV+1s34vsX3InQJA82aB+BlroUIkfzSk5DIzremgng4R+1cKKtkZREDU4apX85mLY\n         +QMOBRb0O6NfPTYh97nN9nGb1DIYQXsNc8ZN7R7UzeeEF8lLPvjg/WLO5tOzYSL9B0Rt\n         tmhfWNUbdWpFDTeb5pkmhiA3bqYxC0MnUua6UaDOmDsqGTrQqakpn5vNQK4BC6NwmpmH\n         1EJA==",
        "X-Forwarded-Encrypted": "i=1;\n AJvYcCX6niHLlY96T4eORQTcUE5bPH0vni25Hj7Bny5ft9sUUvlBkYXDkMwoXCvoyqVZMBluS5MsBCX+rLJg@vger.kernel.org",
        "X-Gm-Message-State": "AOJu0Yyub+49zNwvds/gCdymW5M8X4/1YkINTJzG85hP3bIe9A8p3m6j\n\t7WViCtC7nEVjCU0P/Qal0Y8mmh0M23Atpft0Tfmzyl/CBiSWdcR53WIM",
        "X-Gm-Gg": "ATEYQzwoG7ciMuu+VxvzdM8mqnbBOiaNMrPHkCKFISOI2chqARHmUggPt5qGS75eJJQ\n\tTyl/xAqqvHBdBIMP6Z//AubfupaZYa21/4Z2c4rl7/UlEUMPH6uZD79vBnKbYHjTu05ElWd1k+5\n\t/dY7PZaMzcYleyo4UkeZFhs6irBPmMlN/MsXSvKsJVrh7sX7StFygCF8IhcTH8+M6PFJq3XR+2E\n\thBGZtl8dRpWbxKS1DOUgd92UGAVIKDnsFGXqDXGPd0JSS11y3Ch1UyHRF7DER2PXCegPRm1cI0q\n\tf1tpj618OWzon/IuXmVuWqpVGLuy8yzP7hUA4KiZee7hrArQdNyqvxjbTzpzOKj48p52A2zVdpS\n\tGAz9M19wgHJDFUDqJ7cbkDEQd0E3OGXXAYhbOg1fxpkKS8OavmENExOes3V04BfzqnmBTNAolzM\n\tFdqYHGR8okrHsh8YS7aUY=",
        "X-Received": "by 2002:a05:600c:4e15:b0:486:ff92:63e5 with SMTP id\n 5b1f17b1804b1-48727d4583dmr192584345e9.6.1774859720682;\n        Mon, 30 Mar 2026 01:35:20 -0700 (PDT)",
        "From": "Luca Leonardo Scorcia <l.scorcia@gmail.com>",
        "To": "linux-mediatek@lists.infradead.org",
        "Cc": "Luca Leonardo Scorcia <l.scorcia@gmail.com>,\n\tDmitry Torokhov <dmitry.torokhov@gmail.com>,\n\tRob Herring <robh@kernel.org>,\n\tKrzysztof Kozlowski <krzk+dt@kernel.org>,\n\tConor Dooley <conor+dt@kernel.org>,\n\tSen Chu <sen.chu@mediatek.com>,\n\tSean Wang <sean.wang@mediatek.com>,\n\tMacpaul Lin <macpaul.lin@mediatek.com>,\n\tLee Jones <lee@kernel.org>,\n\tMatthias Brugger <matthias.bgg@gmail.com>,\n\tAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>,\n\tLinus Walleij <linusw@kernel.org>,\n\tLiam Girdwood <lgirdwood@gmail.com>,\n\tMark Brown <broonie@kernel.org>,\n\tJulien Massot <julien.massot@collabora.com>,\n\tGary Bisson <bisson.gary@gmail.com>,\n\tLouis-Alexis Eyraud <louisalexis.eyraud@collabora.com>,\n\tVal Packett <val@packett.cool>,\n\tFabien Parent <parent.f@gmail.com>,\n\tChen Zhong <chen.zhong@mediatek.com>,\n\tlinux-input@vger.kernel.org,\n\tdevicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\tlinux-pm@vger.kernel.org,\n\tlinux-arm-kernel@lists.infradead.org,\n\tlinux-gpio@vger.kernel.org",
        "Subject": "[PATCH v4 3/9] regulator: dt-bindings: Add MediaTek MT6392 PMIC",
        "Date": "Mon, 30 Mar 2026 09:29:37 +0100",
        "Message-ID": "<20260330083429.359819-4-l.scorcia@gmail.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260330083429.359819-1-l.scorcia@gmail.com>",
        "References": "<20260330083429.359819-1-l.scorcia@gmail.com>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-gpio@vger.kernel.org",
        "List-Id": "<linux-gpio.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-gpio+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-gpio+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit"
    },
    "content": "Add bindings for the regulators found in the MediaTek MT6392 PMIC,\nusually found in board designs using the MediaTek MT8516/MT8167 SoCs.\n\nSigned-off-by: Luca Leonardo Scorcia <l.scorcia@gmail.com>\n---\n .../regulator/mediatek,mt6392-regulator.yaml  | 74 +++++++++++++++++++\n .../regulator/mediatek,mt6392-regulator.h     | 24 ++++++\n 2 files changed, 98 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/regulator/mediatek,mt6392-regulator.yaml\n create mode 100644 include/dt-bindings/regulator/mediatek,mt6392-regulator.h",
    "diff": "diff --git a/Documentation/devicetree/bindings/regulator/mediatek,mt6392-regulator.yaml b/Documentation/devicetree/bindings/regulator/mediatek,mt6392-regulator.yaml\nnew file mode 100644\nindex 000000000000..24fbaef0e717\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/regulator/mediatek,mt6392-regulator.yaml\n@@ -0,0 +1,74 @@\n+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)\n+%YAML 1.2\n+---\n+$id: http://devicetree.org/schemas/regulator/mediatek,mt6392-regulator.yaml#\n+$schema: http://devicetree.org/meta-schemas/core.yaml#\n+\n+title: MediaTek MT6392 regulator\n+\n+description:\n+  Regulator node of the PMIC. This node should under the PMIC's device node.\n+  MT6392 is a power management system chip containing three buck converters and\n+  23 LDOs. All voltage regulators provided by the PMIC are described as\n+  sub-nodes of this node.\n+\n+properties:\n+  vproc-supply:\n+    description: Supply for buck regulator vproc\n+  vcore-supply:\n+    description: Supply for buck regulator vcore\n+  vsys-supply:\n+    description: Supply for buck regulator vsys\n+  avddldo-supply:\n+    description: |\n+      Supply for AVDD LDOs (vm, vio18, vcn18, vcamd, vcamio). According to the data sheet\n+      this is an internal supply derived from vsys.\n+  ldo1-supply:\n+    description: Supply for LDOs group 1 (vaud28, vxo22, vaud22, vadc18, vcama, vrtc)\n+  ldo2-supply:\n+    description: Supply for LDOs group 2 (vcn35, vio28, vmc, vmch, vefuse, vdig18)\n+  ldo3-supply:\n+    description: Supply for LDOs group 3 (vusb, vemc3v3, vcamaf, vgp1, vgp2, vm25)\n+\n+patternProperties:\n+  \"^v(core|proc|sys)$\":\n+    description: Buck regulators\n+    type: object\n+    $ref: regulator.yaml#\n+    properties:\n+      regulator-allowed-modes:\n+        description: |\n+          BUCK regulators can set regulator-initial-mode and regulator-allowed-modes to\n+          values specified in dt-bindings/regulator/mediatek,mt6392-regulator.h\n+        items:\n+          enum: [0, 1]\n+    unevaluatedProperties: false\n+\n+  \"^v(adc18|camio|cn18|io18|xo22|m25|aud28|io28|rtc|vusb)$\":\n+    description: LDOs with fixed output and mode setting\n+    type: object\n+    $ref: regulator.yaml#\n+    properties:\n+      regulator-allowed-modes:\n+        description: |\n+          LDO regulators can set regulator-initial-mode and regulator-allowed-modes to\n+          values specified in dt-bindings/regulator/mediatek,mt6392-regulator.h\n+        items:\n+          enum: [0, 1]\n+    unevaluatedProperties: false\n+\n+  \"^v(cama|dig18)$\":\n+    description: LDOs with fixed output without mode setting\n+    type: object\n+    $ref: regulator.yaml#\n+    unevaluatedProperties: false\n+\n+  \"^v(aud22|camaf|camd|cn35|efuse|emc3v3|gp1|gp2|m|mc|mch)$\":\n+    description: LDOs with adjustable output\n+    type: object\n+    $ref: regulator.yaml#\n+    properties:\n+      regulator-allowed-modes: false\n+    unevaluatedProperties: false\n+\n+additionalProperties: false\ndiff --git a/include/dt-bindings/regulator/mediatek,mt6392-regulator.h b/include/dt-bindings/regulator/mediatek,mt6392-regulator.h\nnew file mode 100644\nindex 000000000000..8bd1a13faad8\n--- /dev/null\n+++ b/include/dt-bindings/regulator/mediatek,mt6392-regulator.h\n@@ -0,0 +1,24 @@\n+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */\n+\n+#ifndef _DT_BINDINGS_REGULATOR_MEDIATEK_MT6392_H_\n+#define _DT_BINDINGS_REGULATOR_MEDIATEK_MT6392_H_\n+\n+/*\n+ * Buck mode constants which may be used in devicetree properties (eg.\n+ * regulator-initial-mode, regulator-allowed-modes).\n+ * See the manufacturer's datasheet for more information on these modes.\n+ */\n+\n+#define MT6392_BUCK_MODE_AUTO\t\t0\n+#define MT6392_BUCK_MODE_FORCE_PWM\t1\n+\n+/*\n+ * LDO mode constants which may be used in devicetree properties (eg.\n+ * regulator-initial-mode, regulator-allowed-modes).\n+ * See the manufacturer's datasheet for more information on these modes.\n+ */\n+\n+#define MT6392_LDO_MODE_NORMAL\t\t0\n+#define MT6392_LDO_MODE_LP\t\t1\n+\n+#endif\n",
    "prefixes": [
        "v4",
        "3/9"
    ]
}