get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 800504,
    "url": "http://patchwork.ozlabs.org/api/patches/800504/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1502451575-4968-1-git-send-email-aford173@gmail.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": "<1502451575-4968-1-git-send-email-aford173@gmail.com>",
    "list_archive_url": null,
    "date": "2017-08-11T11:39:34",
    "name": "[U-Boot,2/2] Convert CONFIG_SYS_I2C_BUS_MAX to Kconfig",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "096a8999be6de6ee54e5945170229a43dcdf4ee9",
    "submitter": {
        "id": 67132,
        "url": "http://patchwork.ozlabs.org/api/people/67132/?format=api",
        "name": "Adam Ford",
        "email": "aford173@gmail.com"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1502451575-4968-1-git-send-email-aford173@gmail.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/800504/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/800504/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"IocJpNN9\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xTNNK4VhCz9t33\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 11 Aug 2017 21:40:17 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 575F3C21DF8; Fri, 11 Aug 2017 11:40:06 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id E4911C21D58;\n\tFri, 11 Aug 2017 11:40:04 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid D1684C21D63; Fri, 11 Aug 2017 11:40:02 +0000 (UTC)",
            "from mail-io0-f195.google.com (mail-io0-f195.google.com\n\t[209.85.223.195])\n\tby lists.denx.de (Postfix) with ESMTPS id 327A8C21E1E\n\tfor <u-boot@lists.denx.de>; Fri, 11 Aug 2017 11:40:02 +0000 (UTC)",
            "by mail-io0-f195.google.com with SMTP id q64so3299957ioi.0\n\tfor <u-boot@lists.denx.de>; Fri, 11 Aug 2017 04:40:02 -0700 (PDT)",
            "from ubuntu16.lan (c-66-41-69-9.hsd1.mn.comcast.net. [66.41.69.9])\n\tby smtp.gmail.com with ESMTPSA id\n\t63sm269991ith.4.2017.08.11.04.39.59\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 11 Aug 2017 04:40:00 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=0.0 required=5.0 tests=FREEMAIL_FROM, KHOP_BIG_TO_CC,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=t/+nFw9XnRDH506r4FdOddKC7UhE7KC1bXeacmkJ0VM=;\n\tb=IocJpNN9s5o0MPocUl+m27t9/bXynDmyqmItHX1yXNzABlLMNkcIBPQTxq6F5gW68s\n\tIxyrteFpRtTtzCMFkTYVpywhPXlp6YKuhRnVNUy9cmH870EldftVyhWdaSB0BFE/KJ5W\n\tbJHodlv3417XsH+NvLPkPu41czsp9vpNZmZ9vPOo7RMv/yV0iqsmjMAnUq+D4fH7ZyTF\n\tHia9Bb3zQ1n3+OPlsOTc0qhN3jP29mY4KixNndknhADtssGteQGh8IRrObiC85ZH812T\n\t4B1hVN0Rep6KmG+YszHMoWposSP3OupCaOcjDxO3ppSo/alttb5UzK3muVg8zBKAEv9s\n\tPoKw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=t/+nFw9XnRDH506r4FdOddKC7UhE7KC1bXeacmkJ0VM=;\n\tb=iuvFGOlAJjvB70cIRRwAdn6K/0RX/UYhJ9M2g6nVnUmyYbuKOkJxuEocPMlHHx5EIg\n\tTWJPbdMyaDY8slwoVZCT6oXRK+GTgcDc+DbjYzBfkzoMzk0SzsavetNWVSfHkTJSHaVG\n\tDFYRQVSKbdxsBWQm0wNXTs5/8TguGHTmYsSgcmqvoP7knkBTx1ojhP7hwJG6nF9BEt9l\n\tJyqAP9NynHFlc52ApjHeYi4i/TlW/O4y7jlc585JW33vGjiJcNTSY6UZkTtAyZ6QEWyN\n\t/1yCeBzkroZFrF3ViXrtJaj9/Qoz+C8xH2R6PrPRJGY+JOk2MIC2u+mKSgpyv6Tv3WAH\n\t6C2A==",
        "X-Gm-Message-State": "AHYfb5gMDri4KXOd3N1FMWXx+OT+9n6zLbOl4jm6gCGTO3IZ7eM0vBT5\n\tnNrlpSdUe/iBMg==",
        "X-Received": "by 10.107.166.203 with SMTP id\n\tp194mr12516036ioe.48.1502451600943; \n\tFri, 11 Aug 2017 04:40:00 -0700 (PDT)",
        "From": "Adam Ford <aford173@gmail.com>",
        "To": "Albert Aribaud <albert.u.boot@aribaud.net>, Heiko Schocher <hs@denx.de>, \n\tAdam Ford <aford173@gmail.com>, Simon Glass <sjg@chromium.org>,\n\tMasahiro Yamada <yamada.masahiro@socionext.com>,\n\tMarek Vasut <marex@denx.de>, Ley Foon Tan <ley.foon.tan@intel.com>,\n\tDalon Westergreen <dwesterg@gmail.com>,\n\tLokesh Vutla <lokeshvutla@ti.com>, \n\t\"Andrew F. Davis\" <afd@ti.com>, Madan Srinivas <madans@ti.com>,\n\tFranklin S Cooper Jr <fcooper@ti.com>, Vignesh R <vigneshr@ti.com>,\n\tu-boot@lists.denx.de",
        "Date": "Fri, 11 Aug 2017 06:39:34 -0500",
        "Message-Id": "<1502451575-4968-1-git-send-email-aford173@gmail.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Cc": "adam.ford@logicpd.com",
        "Subject": "[U-Boot] [PATCH 2/2] Convert CONFIG_SYS_I2C_BUS_MAX to Kconfig",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://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\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "This converts the following to Kconfig:\n   CONFIG_SYS_I2C_BUS_MAX\n\nSigned-off-by: Adam Ford <aford173@gmail.com>\n---\n arch/arm/include/asm/arch-am33xx/i2c.h |  1 -\n arch/arm/include/asm/arch-omap3/i2c.h  |  1 -\n arch/arm/include/asm/arch-omap4/i2c.h  |  1 -\n arch/arm/include/asm/arch-omap5/i2c.h  |  1 -\n drivers/i2c/Kconfig                    | 10 ++++++++++\n include/configs/socfpga_common.h       |  1 -\n include/configs/ti_armv7_keystone2.h   |  1 -\n 7 files changed, 10 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/arch/arm/include/asm/arch-am33xx/i2c.h b/arch/arm/include/asm/arch-am33xx/i2c.h\nindex a34282a..16e9a99 100644\n--- a/arch/arm/include/asm/arch-am33xx/i2c.h\n+++ b/arch/arm/include/asm/arch-am33xx/i2c.h\n@@ -10,7 +10,6 @@\n #define  I2C_BASE1\t\t0x44E0B000\n #define  I2C_BASE2\t\t0x4802A000\n #define  I2C_BASE3\t\t0x4819C000\n-#define\t CONFIG_SYS_I2C_BUS_MAX\t\t3\n \n #define I2C_DEFAULT_BASE\t\tI2C_BASE1\n \ndiff --git a/arch/arm/include/asm/arch-omap3/i2c.h b/arch/arm/include/asm/arch-omap3/i2c.h\nindex d142175..48676dd 100644\n--- a/arch/arm/include/asm/arch-omap3/i2c.h\n+++ b/arch/arm/include/asm/arch-omap3/i2c.h\n@@ -7,7 +7,6 @@\n #ifndef _OMAP3_I2C_H_\n #define _OMAP3_I2C_H_\n \n-#define CONFIG_SYS_I2C_BUS_MAX\t3\n #define I2C_DEFAULT_BASE\tI2C_BASE1\n \n struct i2c {\ndiff --git a/arch/arm/include/asm/arch-omap4/i2c.h b/arch/arm/include/asm/arch-omap4/i2c.h\nindex 1c5ed9b..96c0954 100644\n--- a/arch/arm/include/asm/arch-omap4/i2c.h\n+++ b/arch/arm/include/asm/arch-omap4/i2c.h\n@@ -7,7 +7,6 @@\n #ifndef _OMAP4_I2C_H_\n #define _OMAP4_I2C_H_\n \n-#define CONFIG_SYS_I2C_BUS_MAX\t4\n #define I2C_DEFAULT_BASE\tI2C_BASE1\n \n struct i2c {\ndiff --git a/arch/arm/include/asm/arch-omap5/i2c.h b/arch/arm/include/asm/arch-omap5/i2c.h\nindex 5122cd6..6d620dc 100644\n--- a/arch/arm/include/asm/arch-omap5/i2c.h\n+++ b/arch/arm/include/asm/arch-omap5/i2c.h\n@@ -7,7 +7,6 @@\n #ifndef _OMAP5_I2C_H_\n #define _OMAP5_I2C_H_\n \n-#define CONFIG_SYS_I2C_BUS_MAX\t5\n #define I2C_DEFAULT_BASE\tI2C_BASE1\n \n struct i2c {\ndiff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig\nindex 720e82d..f4fd843 100644\n--- a/drivers/i2c/Kconfig\n+++ b/drivers/i2c/Kconfig\n@@ -207,6 +207,16 @@ config TEGRA186_BPMP_I2C\n \t  by the BPMP, and can only be accessed by the main CPU via IPC\n \t  requests to the BPMP. This driver covers the latter case.\n \n+config SYS_I2C_BUS_MAX\n+\tint \"Max I2C busses\"\n+\tdepends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_SOCFPGA\n+\tdefault 2 if TI816X\n+\tdefault 3 if OMAP34XX || AM33XX || ARCH_KEYSTONE\n+\tdefault 4 if ARCH_SOCFPGA || OMAP44XX || AM44XX || AM43XX ||TI814X\n+\tdefault 5 if OMAP54XX\n+\thelp\n+\t  Define the maximum number of available I2C buses.\n+\n source \"drivers/i2c/muxes/Kconfig\"\n \n endmenu\ndiff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h\nindex 175b01e..73a9744 100644\n--- a/include/configs/socfpga_common.h\n+++ b/include/configs/socfpga_common.h\n@@ -156,7 +156,6 @@\n  * I2C support\n  */\n #define CONFIG_SYS_I2C\n-#define CONFIG_SYS_I2C_BUS_MAX\t\t4\n #define CONFIG_SYS_I2C_BASE\t\tSOCFPGA_I2C0_ADDRESS\n #define CONFIG_SYS_I2C_BASE1\t\tSOCFPGA_I2C1_ADDRESS\n #define CONFIG_SYS_I2C_BASE2\t\tSOCFPGA_I2C2_ADDRESS\ndiff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h\nindex 812ba51..6831b2c 100644\n--- a/include/configs/ti_armv7_keystone2.h\n+++ b/include/configs/ti_armv7_keystone2.h\n@@ -160,7 +160,6 @@\n #define CONFIG_SYS_DAVINCI_I2C_SLAVE1\t0x10 /* SMBus host address */\n #define CONFIG_SYS_DAVINCI_I2C_SPEED2\t100000\n #define CONFIG_SYS_DAVINCI_I2C_SLAVE2\t0x10 /* SMBus host address */\n-#define CONFIG_SYS_I2C_BUS_MAX\t\t\t3\n \n /* EEPROM definitions */\n #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN\t\t2\n",
    "prefixes": [
        "U-Boot",
        "2/2"
    ]
}