get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2175067,
    "url": "http://patchwork.ozlabs.org/api/1.0/patches/2175067/?format=api",
    "project": {
        "id": 38,
        "url": "http://patchwork.ozlabs.org/api/1.0/projects/38/?format=api",
        "name": "Linux PWM development",
        "link_name": "linux-pwm",
        "list_id": "linux-pwm.vger.kernel.org",
        "list_email": "linux-pwm@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20251217082504.80226-4-richard.genoud@bootlin.com>",
    "date": "2025-12-17T08:25:03",
    "name": "[v2,3/4] arm64: dts: allwinner: h616: add PWM controller",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "5922a47ea853f77c5b00b1a191e7361bbb9dabde",
    "submitter": {
        "id": 88519,
        "url": "http://patchwork.ozlabs.org/api/1.0/people/88519/?format=api",
        "name": "Richard Genoud",
        "email": "richard.genoud@bootlin.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-pwm/patch/20251217082504.80226-4-richard.genoud@bootlin.com/mbox/",
    "series": [
        {
            "id": 485644,
            "url": "http://patchwork.ozlabs.org/api/1.0/series/485644/?format=api",
            "date": "2025-12-17T08:25:01",
            "name": "Introduce Allwinner H616 PWM controller",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/485644/mbox/"
        }
    ],
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2175067/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-pwm+bounces-7805-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-pwm@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=bootlin.com header.i=@bootlin.com header.a=rsa-sha256\n header.s=dkim header.b=U8AhfwTm;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.105.105.114; helo=tor.lore.kernel.org;\n envelope-from=linux-pwm+bounces-7805-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com\n header.b=\"U8AhfwTm\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=185.246.85.4",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=bootlin.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=bootlin.com"
        ],
        "Received": [
            "from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])\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 4dWRhx10Ptz1y2F\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 17 Dec 2025 19:26:25 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id E46AB304615A\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 17 Dec 2025 08:25:42 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 4E76720CCE4;\n\tWed, 17 Dec 2025 08:25:39 +0000 (UTC)",
            "from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 43DAE33EB07;\n\tWed, 17 Dec 2025 08:25:33 +0000 (UTC)",
            "from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233])\n\tby smtpout-03.galae.net (Postfix) with ESMTPS id 8A3B34E41C51;\n\tWed, 17 Dec 2025 08:25:32 +0000 (UTC)",
            "from mail.galae.net (mail.galae.net [212.83.136.155])\n\tby smtpout-01.galae.net (Postfix) with ESMTPS id 5B16D6072F;\n\tWed, 17 Dec 2025 08:25:32 +0000 (UTC)",
            "from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id 0079F119502E3;\n\tWed, 17 Dec 2025 09:25:27 +0100 (CET)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1765959937; cv=none;\n b=bfTtx2y1ExHSFrNl6Pv/1CTSIbx5qscOq/wufcRDGYYOVaVcypIe0kt6egSSjv4BrrT6J1Vwhik6TPmzo3sub4LnE1NeDTzhTK8wEqc5PDjgW0a0GcO2mdATrRvy/pvqySlK3PSZdDjerGGavYz19EjRlD9hF1TqqpSQXKRBG0M=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1765959937; c=relaxed/simple;\n\tbh=evFZwjlzvXHjkqK0R2AFe3sUyEqQ9n7YUfDCJh3pUhI=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=Bjji38wq9xan2492fxjrUhnsP4RNw4ZdbegwHlztHM7h6W37/nOwdw91+SejTf6vuDxv1M0FVQ4sD8saoy2X1KnRCuGTLFpXKJ97ZB8+kuk92WQBwr//fPRtb4qLD9VgBrZWuMkOVokwTR/YLG96GtwBjUsqguxBgNd/6CWOo0A=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=bootlin.com;\n spf=pass smtp.mailfrom=bootlin.com;\n dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com\n header.b=U8AhfwTm; arc=none smtp.client-ip=185.246.85.4",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim;\n\tt=1765959929; h=from:subject:date:message-id:to:cc:mime-version:\n\t content-transfer-encoding:in-reply-to:references;\n\tbh=aEM5QbdUXJsRLpURVvs7QvZzTARrGZdkj7npX4h2AHg=;\n\tb=U8AhfwTmv42+iyY4wmGOZfLDUHZG27Q5ff7hdfcZu88RprrIP8d0vS1cIF8wM+Oz1sOOGS\n\tYmTiHbZx+VgpQnIUhOYQ5hDOUMKZYtq7kzVCcuF8mqw42D/QQgbLzqQDs0vwEDPrlkjLxm\n\tjFDNKEZcCg4qucRvrT4fPox5YjszphmoKOzzl0X+iLBg3N5JSuYEnc0k1uKYi5SC25GxE6\n\tNmfRcCJY+dc+eiIaQnFRHnA9SddSCHY01n02PV/eA6XIAMnlwS73SqWqywgFGTp1zzGnJS\n\tJJqj+Gir9Aja9kpo2rKbMwKLQkRQu6bhVAVkNp/xwcuAk2UQz24qcEq0HDaO0A==",
        "From": "Richard Genoud <richard.genoud@bootlin.com>",
        "To": "=?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <u.kleine-koenig@baylibre.com>,\n Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,\n Conor Dooley <conor+dt@kernel.org>, Chen-Yu Tsai <wens@csie.org>,\n Jernej Skrabec <jernej.skrabec@gmail.com>,\n Samuel Holland <samuel@sholland.org>, Philipp Zabel <p.zabel@pengutronix.de>",
        "Cc": "Thomas Petazzoni <thomas.petazzoni@bootlin.com>,\n\tlinux-pwm@vger.kernel.org,\n\tdevicetree@vger.kernel.org,\n\tlinux-arm-kernel@lists.infradead.org,\n\tlinux-sunxi@lists.linux.dev,\n\tlinux-kernel@vger.kernel.org,\n\tRichard Genoud <richard.genoud@bootlin.com>,\n\tJoao Schim <joao@schimsalabim.eu>",
        "Subject": "[PATCH v2 3/4] arm64: dts: allwinner: h616: add PWM controller",
        "Date": "Wed, 17 Dec 2025 09:25:03 +0100",
        "Message-ID": "<20251217082504.80226-4-richard.genoud@bootlin.com>",
        "X-Mailer": "git-send-email 2.47.3",
        "In-Reply-To": "<20251217082504.80226-1-richard.genoud@bootlin.com>",
        "References": "<20251217082504.80226-1-richard.genoud@bootlin.com>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-pwm@vger.kernel.org",
        "List-Id": "<linux-pwm.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-pwm+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-pwm+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Last-TLS-Session-Version": "TLSv1.3"
    },
    "content": "The H616 has a PWM controller that can provide PWM signals, but also\nplain clocks.\n\nAdd the PWM controller node and pins in the device tree.\n\nTested-by: Joao Schim <joao@schimsalabim.eu>\nSigned-off-by: Richard Genoud <richard.genoud@bootlin.com>\n---\n .../arm64/boot/dts/allwinner/sun50i-h616.dtsi | 47 +++++++++++++++++++\n 1 file changed, 47 insertions(+)",
    "diff": "diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi\nindex 8d1110c14bad..1c7628a6e4bb 100644\n--- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi\n+++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi\n@@ -236,6 +236,17 @@ watchdog: watchdog@30090a0 {\n \t\t\tclocks = <&osc24M>;\n \t\t};\n \n+\t\tpwm: pwm@300a000 {\n+\t\t\tcompatible = \"allwinner,sun50i-h616-pwm\";\n+\t\t\treg = <0x0300a000 0x400>;\n+\t\t\tclocks = <&osc24M>, <&ccu CLK_BUS_PWM>;\n+\t\t\tclock-names = \"mod\", \"bus\";\n+\t\t\tresets = <&ccu RST_BUS_PWM>;\n+\t\t\t#pwm-cells = <3>;\n+\t\t\t#clock-cells = <1>;\n+\t\t\tstatus = \"disabled\";\n+\t\t};\n+\n \t\tpio: pinctrl@300b000 {\n \t\t\tcompatible = \"allwinner,sun50i-h616-pinctrl\";\n \t\t\treg = <0x0300b000 0x400>;\n@@ -340,6 +351,42 @@ nand_rb1_pin: nand-rb1-pin {\n \t\t\t\tbias-pull-up;\n \t\t\t};\n \n+\t\t\t/omit-if-no-ref/\n+\t\t\tpwm0_pin: pwm0-pin {\n+\t\t\t\tpins = \"PD28\";\n+\t\t\t\tfunction = \"pwm0\";\n+\t\t\t};\n+\n+\t\t\t/omit-if-no-ref/\n+\t\t\tpwm1_pin: pwm1-pin {\n+\t\t\t\tpins = \"PG19\";\n+\t\t\t\tfunction = \"pwm1\";\n+\t\t\t};\n+\n+\t\t\t/omit-if-no-ref/\n+\t\t\tpwm2_pin: pwm2-pin {\n+\t\t\t\tpins = \"PH2\";\n+\t\t\t\tfunction = \"pwm2\";\n+\t\t\t};\n+\n+\t\t\t/omit-if-no-ref/\n+\t\t\tpwm3_pin: pwm3-pin {\n+\t\t\t\tpins = \"PH0\";\n+\t\t\t\tfunction = \"pwm3\";\n+\t\t\t};\n+\n+\t\t\t/omit-if-no-ref/\n+\t\t\tpwm4_pin: pwm4-pin {\n+\t\t\t\tpins = \"PI14\";\n+\t\t\t\tfunction = \"pwm4\";\n+\t\t\t};\n+\n+\t\t\t/omit-if-no-ref/\n+\t\t\tpwm5_pin: pwm5-pin {\n+\t\t\t\tpins = \"PA12\";\n+\t\t\t\tfunction = \"pwm5\";\n+\t\t\t};\n+\n \t\t\t/omit-if-no-ref/\n \t\t\tspi0_pins: spi0-pins {\n \t\t\t\tpins = \"PC0\", \"PC2\", \"PC4\";\n",
    "prefixes": [
        "v2",
        "3/4"
    ]
}