get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806948,
    "url": "http://patchwork.ozlabs.org/api/patches/806948/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170829045127.19951-3-icenowy@aosc.io/",
    "project": {
        "id": 37,
        "url": "http://patchwork.ozlabs.org/api/projects/37/?format=api",
        "name": "Devicetree Bindings",
        "link_name": "devicetree-bindings",
        "list_id": "devicetree.vger.kernel.org",
        "list_email": "devicetree@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170829045127.19951-3-icenowy@aosc.io>",
    "list_archive_url": null,
    "date": "2017-08-29T04:51:27",
    "name": "[RESEND,2/2] dmaengine: sun6i: support V3s SoC variant",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "d51719fac20c6fba8bc6f9921a70a768827bd742",
    "submitter": {
        "id": 71295,
        "url": "http://patchwork.ozlabs.org/api/people/71295/?format=api",
        "name": "Icenowy Zheng",
        "email": "icenowy@aosc.io"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170829045127.19951-3-icenowy@aosc.io/mbox/",
    "series": [
        {
            "id": 303,
            "url": "http://patchwork.ozlabs.org/api/series/303/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=303",
            "date": "2017-08-29T04:51:25",
            "name": "Allwinner V3s DMA support",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/303/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806948/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806948/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<devicetree-owner@vger.kernel.org>",
        "X-Original-To": "incoming-dt@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming-dt@bilbo.ozlabs.org",
        "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhGw15yDFz9s4q\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 15:12:01 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1750815AbdH2Exp (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tTue, 29 Aug 2017 00:53:45 -0400",
            "from hermes.aosc.io ([199.195.250.187]:33645 \"EHLO hermes.aosc.io\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1751249AbdH2EwG (ORCPT <rfc822;devicetree@vger.kernel.org>);\n\tTue, 29 Aug 2017 00:52:06 -0400",
            "from localhost (localhost [127.0.0.1]) (Authenticated sender:\n\ticenowy@aosc.io)\n\tby hermes.aosc.io (Postfix) with ESMTPSA id 5BB5B45D0B;\n\tTue, 29 Aug 2017 04:52:02 +0000 (UTC)"
        ],
        "From": "Icenowy Zheng <icenowy@aosc.io>",
        "To": "Vinod Koul <vinod.koul@intel.com>,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>,\n\tChen-Yu Tsai <wens@csie.org>",
        "Cc": "dmaengine@vger.kernel.org, devicetree@vger.kernel.org,\n\tlinux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org,\n\tlinux-sunxi@googlegroups.com, Icenowy Zheng <icenowy@aosc.xyz>",
        "Subject": "[PATCH RESEND 2/2] dmaengine: sun6i: support V3s SoC variant",
        "Date": "Tue, 29 Aug 2017 12:51:27 +0800",
        "Message-Id": "<20170829045127.19951-3-icenowy@aosc.io>",
        "In-Reply-To": "<20170829045127.19951-1-icenowy@aosc.io>",
        "References": "<20170829045127.19951-1-icenowy@aosc.io>",
        "Sender": "devicetree-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<devicetree.vger.kernel.org>",
        "X-Mailing-List": "devicetree@vger.kernel.org"
    },
    "content": "From: Icenowy Zheng <icenowy@aosc.xyz>\n\nAllwinner V3s has a DMA engine similar to the ones from A31, but with\nfewer channels and DRQs.\n\nAdd support for it.\n\nSigned-off-by: Icenowy Zheng <icenowy@aosc.xyz>\nAcked-by: Chen-Yu Tsai <wens@csie.org>\nAcked-by: Rob Herring <robh@kernel.org>\n---\n Documentation/devicetree/bindings/dma/sun6i-dma.txt |  1 +\n drivers/dma/sun6i-dma.c                             | 13 +++++++++++++\n 2 files changed, 14 insertions(+)",
    "diff": "diff --git a/Documentation/devicetree/bindings/dma/sun6i-dma.txt b/Documentation/devicetree/bindings/dma/sun6i-dma.txt\nindex 6b267045f522..98fbe1a5c6dd 100644\n--- a/Documentation/devicetree/bindings/dma/sun6i-dma.txt\n+++ b/Documentation/devicetree/bindings/dma/sun6i-dma.txt\n@@ -9,6 +9,7 @@ Required properties:\n \t\t  \"allwinner,sun8i-a23-dma\"\n \t\t  \"allwinner,sun8i-a83t-dma\"\n \t\t  \"allwinner,sun8i-h3-dma\"\n+\t\t  \"allwinner,sun8i-v3s-dma\"\n - reg:\t\tShould contain the registers base address and length\n - interrupts:\tShould contain a reference to the interrupt used by this device\n - clocks:\tShould contain a reference to the parent AHB clock\ndiff --git a/drivers/dma/sun6i-dma.c b/drivers/dma/sun6i-dma.c\nindex 252b59c1d1d5..bcd496edc70f 100644\n--- a/drivers/dma/sun6i-dma.c\n+++ b/drivers/dma/sun6i-dma.c\n@@ -1040,11 +1040,24 @@ static struct sun6i_dma_config sun8i_h3_dma_cfg = {\n \t.nr_max_vchans   = 34,\n };\n \n+/*\n+ * The V3s have only 8 physical channels, a maximum DRQ port id of 23,\n+ * and a total of 24 usable source and destination endpoints.\n+ */\n+\n+static struct sun6i_dma_config sun8i_v3s_dma_cfg = {\n+\t.nr_max_channels = 8,\n+\t.nr_max_requests = 23,\n+\t.nr_max_vchans   = 24,\n+\t.gate_needed\t = true,\n+};\n+\n static const struct of_device_id sun6i_dma_match[] = {\n \t{ .compatible = \"allwinner,sun6i-a31-dma\", .data = &sun6i_a31_dma_cfg },\n \t{ .compatible = \"allwinner,sun8i-a23-dma\", .data = &sun8i_a23_dma_cfg },\n \t{ .compatible = \"allwinner,sun8i-a83t-dma\", .data = &sun8i_a83t_dma_cfg },\n \t{ .compatible = \"allwinner,sun8i-h3-dma\", .data = &sun8i_h3_dma_cfg },\n+\t{ .compatible = \"allwinner,sun8i-v3s-dma\", .data = &sun8i_v3s_dma_cfg },\n \t{ /* sentinel */ }\n };\n MODULE_DEVICE_TABLE(of, sun6i_dma_match);\n",
    "prefixes": [
        "RESEND",
        "2/2"
    ]
}