get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 810603,
    "url": "http://patchwork.ozlabs.org/api/patches/810603/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/1504704043-8052-14-git-send-email-rf@opensource.wolfsonmicro.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": "<1504704043-8052-14-git-send-email-rf@opensource.wolfsonmicro.com>",
    "list_archive_url": null,
    "date": "2017-09-06T13:20:39",
    "name": "[v5,13/17] ASoC: madera: Add DT bindings for Cirrus Logic Madera codecs",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "6f740e3c7919aecc28655569b948f05273f9e8f9",
    "submitter": {
        "id": 65141,
        "url": "http://patchwork.ozlabs.org/api/people/65141/?format=api",
        "name": "Richard Fitzgerald",
        "email": "rf@opensource.wolfsonmicro.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/1504704043-8052-14-git-send-email-rf@opensource.wolfsonmicro.com/mbox/",
    "series": [
        {
            "id": 1804,
            "url": "http://patchwork.ozlabs.org/api/series/1804/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=1804",
            "date": "2017-09-06T13:20:36",
            "name": "Add support for Cirrus Logic CS47L35/L85/L90/L91 codecs",
            "version": 5,
            "mbox": "http://patchwork.ozlabs.org/series/1804/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/810603/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/810603/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-gpio-owner@vger.kernel.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@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=linux-gpio-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
            "ppops.net;\n\tspf=none smtp.mailfrom=rf@opensource.wolfsonmicro.com"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xnPWD6JdJz9t2R\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  6 Sep 2017 23:26:48 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1754739AbdIFN0q (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tWed, 6 Sep 2017 09:26:46 -0400",
            "from mx0b-001ae601.pphosted.com ([67.231.152.168]:42754 \"EHLO\n\tmx0b-001ae601.pphosted.com\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1754563AbdIFNU7 (ORCPT\n\t<rfc822; linux-gpio@vger.kernel.org>); Wed, 6 Sep 2017 09:20:59 -0400",
            "from pps.filterd (m0077474.ppops.net [127.0.0.1])\n\tby mx0b-001ae601.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv86DJiKB029112; Wed, 6 Sep 2017 08:20:48 -0500",
            "from mail4.cirrus.com ([87.246.98.35])\n\tby mx0b-001ae601.pphosted.com with ESMTP id 2cqs2mav64-2;\n\tWed, 06 Sep 2017 08:20:47 -0500",
            "from EX17.ad.cirrus.com (unknown [172.20.9.81])\n\tby mail4.cirrus.com (Postfix) with ESMTP id AD037611CE8B;\n\tWed,  6 Sep 2017 08:20:44 -0500 (CDT)",
            "from imbe.wolfsonmicro.main (198.61.95.81) by EX17.ad.cirrus.com\n\t(172.20.9.81) with Microsoft SMTP Server id 14.3.301.0;\n\tWed, 6 Sep 2017 14:20:45 +0100",
            "from rf-debian.ad.cirrus.com (rf-debian.ad.cirrus.com\n\t[198.90.223.45]) by imbe.wolfsonmicro.main (8.14.4/8.14.4) with ESMTP\n\tid v86DKhDX032150;        Wed, 6 Sep 2017 14:20:44 +0100"
        ],
        "From": "Richard Fitzgerald <rf@opensource.wolfsonmicro.com>",
        "To": "<lee.jones@linaro.org>, <broonie@kernel.org>,\n\t<linus.walleij@linaro.org>, <gnurou@gmail.com>,\n\t<robh+dt@kernel.org>, <tglx@linutronix.de>, <jason@lakedaemon.net>",
        "CC": "<alsa-devel@alsa-project.org>, <patches@opensource.wolfsonmicro.com>,\n\t<linux-gpio@vger.kernel.org>, <devicetree@vger.kernel.org>,\n\t<linux-kernel@vger.kernel.org>",
        "Subject": "[PATCH v5 13/17] ASoC: madera: Add DT bindings for Cirrus Logic\n\tMadera codecs",
        "Date": "Wed, 6 Sep 2017 14:20:39 +0100",
        "Message-ID": "<1504704043-8052-14-git-send-email-rf@opensource.wolfsonmicro.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "In-Reply-To": "<1504704043-8052-1-git-send-email-rf@opensource.wolfsonmicro.com>",
        "References": "<1504704043-8052-1-git-send-email-rf@opensource.wolfsonmicro.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-Spam-Details": "rule=notspam policy=default score=0\n\tpriorityscore=1501 malwarescore=0\n\tsuspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015\n\tlowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam\n\tadjust=0\n\treason=mlx scancount=1 engine=8.0.1-1707230000\n\tdefinitions=main-1709060186",
        "Sender": "linux-gpio-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<linux-gpio.vger.kernel.org>",
        "X-Mailing-List": "linux-gpio@vger.kernel.org"
    },
    "content": "The Cirrus Logic Madera codecs are a family of related codecs with\nextensive digital and analogue I/O, digital mixing and routing,\nsignal processing and programmable DSPs.\n\nSigned-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>\nAcked-by: Rob Herring <robh@kernel.org>\n---\n Documentation/devicetree/bindings/sound/madera.txt | 67 ++++++++++++++++++++++\n MAINTAINERS                                        |  1 +\n include/dt-bindings/sound/madera.h                 | 27 +++++++++\n 3 files changed, 95 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/sound/madera.txt\n create mode 100644 include/dt-bindings/sound/madera.h",
    "diff": "diff --git a/Documentation/devicetree/bindings/sound/madera.txt b/Documentation/devicetree/bindings/sound/madera.txt\nnew file mode 100644\nindex 0000000..1114fcf\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/sound/madera.txt\n@@ -0,0 +1,67 @@\n+Cirrus Logic Madera class audio codecs\n+\n+This describes audio configuration bindings for these codecs.\n+\n+See also the core bindings for the parent MFD driver:\n+See Documentation/devicetree/bindings/mfd/madera.txt\n+\n+and defines for values used in these bindings:\n+include/dt-bindings/sound/madera.h\n+\n+These properties are all contained in the parent MFD node.\n+\n+Optional properties:\n+  - cirrus,dmic-ref : Indicates how the MICBIAS pins have been externally\n+    connected to DMICs on each input, one cell per input.\n+    <IN1 IN2 IN3 ...>\n+    A value of 0 indicates MICVDD and is the default, other values depend on the\n+    codec:\n+    For CS47L35 one of the CS47L35_DMIC_REF_xxx values\n+    For all other codecs one of the MADERA_DMIC_REF_xxx values\n+    Also see the datasheet for a description of the INn_DMIC_SUP field.\n+\n+  - cirrus,inmode : A list of input mode settings for each input. A maximum of\n+    16 cells, with four cells per input in the order INnAL, INnAR INnBL INnBR.\n+    For non-muxed inputs the first two cells for that input set the mode for\n+    the left and right channel and the second two cells must be 0.\n+    For muxed inputs the first two cells for that input set the mode of the\n+    left and right A inputs and the second two cells set the mode of the left\n+    and right B inputs.\n+    Valid mode values are one of the MADERA_INMODE_xxx. If the array is shorter\n+    than the number of inputs the unspecified inputs default to\n+    MADERA_INMODE_DIFF.\n+\n+  - cirrus,out-mono : Mono bit for each output, must contain six cells if\n+    specified. A non-zero value indicates the corresponding output is mono.\n+\n+  - cirrus,max-channels-clocked : Maximum number of channels that I2S clocks\n+    will be generated for. Useful when clock master for systems where the I2S\n+    bus has multiple data lines.\n+    One cell for each AIF, use a value of zero for AIFs that should be handled\n+    normally.\n+\n+  - cirrus,pdm-fmt : PDM speaker data format, must contain 2 cells\n+    (OUT5 and OUT6). See the PDM_SPKn_FMT field in the datasheet for a\n+    description of this value.\n+    The second cell is ignored for codecs that do not have OUT6.\n+\n+  - cirrus,pdm-mute : PDM mute format, must contain 2 cells\n+    (OUT5 and OUT6). See the PDM_SPKn_CTRL_1 register in the datasheet for a\n+    description of this value.\n+    The second cell is ignored for codecs that do not have OUT6.\n+\n+Example:\n+\n+cs47l35@0 {\n+\tcompatible = \"cirrus,cs47l35\";\n+\n+\tcirrus,dmic-ref = <0 0 CS47L35_DMIC_REF_MICBIAS1B 0>;\n+\tcirrus,inmode = <\n+\t\tMADERA_INMODE_DMIC MADERA_INMODE_DMIC /* IN1A digital */\n+\t\tMADERA_INMODE_SE   MADERA_INMODE_SE   /* IN1B single-ended */\n+\t\tMADERA_INMODE_DIFF MADERA_INMODE_DIFF /* IN2 differential */\n+\t\t0 0 \t/* not used on this codec */\n+\t>;\n+\tcirrus,out-mono = <0 0 0 0 0 0>;\n+\tcirrus,max-channels-clocked = <2 0 0>;\n+};\ndiff --git a/MAINTAINERS b/MAINTAINERS\nindex 94fc0bd..92f02b7 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -3427,6 +3427,7 @@ W:\thttps://github.com/CirrusLogic/linux-drivers/wiki\n S:\tSupported\n F:\tDocumentation/devicetree/bindings/mfd/madera.txt\n F:\tDocumentation/devicetree/bindings/pinctrl/cirrus,madera-pinctrl.txt\n+F:\tinclude/dt-bindings/sound/madera*\n F:\tinclude/linux/irqchip/irq-madera*\n F:\tinclude/linux/mfd/madera/*\n F:\tdrivers/gpio/gpio-madera*\ndiff --git a/include/dt-bindings/sound/madera.h b/include/dt-bindings/sound/madera.h\nnew file mode 100644\nindex 0000000..5c05b7a\n--- /dev/null\n+++ b/include/dt-bindings/sound/madera.h\n@@ -0,0 +1,27 @@\n+/*\n+ * Device Tree defines for Madera codecs\n+ *\n+ * Copyright 2016-2017 Cirrus Logic\n+ *\n+ * This program is free software; you can redistribute it and/or modify\n+ * it under the terms of the GNU General Public License version 2 as\n+ * published by the Free Software Foundation.\n+ */\n+\n+#ifndef DT_BINDINGS_SOUND_MADERA_H\n+#define DT_BINDINGS_SOUND_MADERA_H\n+\n+#define MADERA_INMODE_DIFF\t\t0\n+#define MADERA_INMODE_SE\t\t1\n+#define MADERA_INMODE_DMIC\t\t2\n+\n+#define MADERA_DMIC_REF_MICVDD\t\t0\n+#define MADERA_DMIC_REF_MICBIAS1\t1\n+#define MADERA_DMIC_REF_MICBIAS2\t2\n+#define MADERA_DMIC_REF_MICBIAS3\t3\n+\n+#define CS47L35_DMIC_REF_MICBIAS1B\t1\n+#define CS47L35_DMIC_REF_MICBIAS2A\t2\n+#define CS47L35_DMIC_REF_MICBIAS2B\t3\n+\n+#endif\n",
    "prefixes": [
        "v5",
        "13/17"
    ]
}