get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 366308,
    "url": "http://patchwork.ozlabs.org/api/patches/366308/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-imx/patch/1404291772-2644-5-git-send-email-jingchang.lu@freescale.com/",
    "project": {
        "id": 19,
        "url": "http://patchwork.ozlabs.org/api/projects/19/?format=api",
        "name": "Linux IMX development",
        "link_name": "linux-imx",
        "list_id": "linux-imx-kernel.lists.patchwork.ozlabs.org",
        "list_email": "linux-imx-kernel@lists.patchwork.ozlabs.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1404291772-2644-5-git-send-email-jingchang.lu@freescale.com>",
    "list_archive_url": null,
    "date": "2014-07-02T09:02:51",
    "name": "[4/5] ARM: imx: Add initial support for Freescale LS1021A",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "88cf572ce4b42aaa8d000821d0921a4fb22673d2",
    "submitter": {
        "id": 46273,
        "url": "http://patchwork.ozlabs.org/api/people/46273/?format=api",
        "name": "Jingchang Lu",
        "email": "jingchang.lu@freescale.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-imx/patch/1404291772-2644-5-git-send-email-jingchang.lu@freescale.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/366308/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/366308/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming-imx@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming-imx@bilbo.ozlabs.org",
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n\t[IPv6:2001:1868:205::9])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 0F04614009C\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tWed,  2 Jul 2014 19:52:03 +1000 (EST)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux))\n\tid 1X2H9t-0005n9-T8; Wed, 02 Jul 2014 09:48:57 +0000",
            "from mail-bl2lp0204.outbound.protection.outlook.com\n\t([207.46.163.204] helo=na01-bl2-obe.outbound.protection.outlook.com)\n\tby bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat\n\tLinux)) id 1X2H9h-0005be-U5\n\tfor linux-arm-kernel@lists.infradead.org;\n\tWed, 02 Jul 2014 09:48:47 +0000",
            "from DM2PR03CA007.namprd03.prod.outlook.com (10.141.52.155) by\n\tDM2PR03MB479.namprd03.prod.outlook.com (10.141.85.25) with Microsoft\n\tSMTP Server (TLS) id 15.0.974.11; Wed, 2 Jul 2014 09:48:07 +0000",
            "from BN1AFFO11FD039.protection.gbl (2a01:111:f400:7c10::191) by\n\tDM2PR03CA007.outlook.office365.com (2a01:111:e400:2414::27) with\n\tMicrosoft SMTP Server (TLS) id 15.0.974.11 via Frontend Transport;\n\tWed, 2 Jul 2014 09:48:07 +0000",
            "from az84smr01.freescale.net (192.88.158.2) by\n\tBN1AFFO11FD039.mail.protection.outlook.com (10.58.52.243) with\n\tMicrosoft SMTP Server (TLS) id 15.0.969.12 via Frontend Transport;\n\tWed, 2 Jul 2014 09:48:06 +0000",
            "from rock.ap.freescale.net (rock.ap.freescale.net [10.193.20.106])\n\tby az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id\n\ts629lmLH017458; Wed, 2 Jul 2014 02:48:03 -0700"
        ],
        "From": "Jingchang Lu <jingchang.lu@freescale.com>",
        "To": "<shawn.guo@linaro.org>",
        "Subject": "[PATCH 4/5] ARM: imx: Add initial support for Freescale LS1021A",
        "Date": "Wed, 2 Jul 2014 17:02:51 +0800",
        "Message-ID": "<1404291772-2644-5-git-send-email-jingchang.lu@freescale.com>",
        "X-Mailer": "git-send-email 1.8.0",
        "In-Reply-To": "<1404291772-2644-1-git-send-email-jingchang.lu@freescale.com>",
        "References": "<1404291772-2644-1-git-send-email-jingchang.lu@freescale.com>",
        "X-EOPAttributedMessage": "0",
        "X-Forefront-Antispam-Report": "CIP:192.88.158.2; CTRY:US; IPV:CAL; IPV:NLI;\n\tEFV:NLI; SFV:NSPM;\n\tSFS:(6009001)(189002)(199002)(87286001)(81542001)(95666004)(81342001)(105606002)(64706001)(79102001)(77982001)(102836001)(97736001)(88136002)(76482001)(77156001)(46102001)(87936001)(20776003)(50466002)(47776003)(2351001)(107046002)(50226001)(83072002)(104016002)(80022001)(89996001)(33646001)(229853001)(19580395003)(44976005)(6806004)(19580405001)(83322001)(69596002)(84676001)(68736004)(92566001)(31966008)(74662001)(81156004)(48376002)(21056001)(74502001)(93916002)(104166001)(85852003)(85306003)(86362001)(62966002)(76176999)(26826002)(99396002)(36756003)(106466001)(50986999)(4396001)(92726001)(2004002);\n\tDIR:OUT; SFP:; SCL:1; SRVR:DM2PR03MB479; H:az84smr01.freescale.net;\n\tFPR:; \n\tMLV:ovrnspm; PTR:InfoDomainNonexistent; MX:1; LANG:en; ",
        "MIME-Version": "1.0",
        "X-Microsoft-Antispam": "BCL:0;PCL:0;RULEID:",
        "X-Forefront-PRVS": "0260457E99",
        "Received-SPF": "Fail (: domain of freescale.com does not designate 192.88.158.2\n\tas permitted sender) receiver=; client-ip=192.88.158.2;\n\thelo=az84smr01.freescale.net;",
        "Authentication-Results": "spf=fail (sender IP is 192.88.158.2)\n\tsmtp.mailfrom=jingchang.lu@freescale.com; ",
        "X-OriginatorOrg": "freescale.com",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20140702_024846_178155_4C4E784A ",
        "X-CRM114-Status": "GOOD (  10.62  )",
        "X-Spam-Score": "-1.4 (-)",
        "X-Spam-Report": "SpamAssassin version 3.4.0 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.4 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/,\n\tlow trust [207.46.163.204 listed in list.dnswl.org]\n\t-0.7 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)\n\t[207.46.163.204 listed in wl.mailspike.net]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 SPF_HELO_PASS          SPF: HELO matches SPF record",
        "Cc": "mark.rutland@arm.com, devicetree@vger.kernel.org,\n\tJingchang Lu <b35083@freescale.com>, linux-arm-kernel@lists.infradead.org",
        "X-BeenThere": "linux-arm-kernel@lists.infradead.org",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-arm-kernel/>",
        "List-Post": "<mailto:linux-arm-kernel@lists.infradead.org>",
        "List-Help": "<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>",
        "Errors-To": "linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org",
        "List-Id": "linux-imx-kernel.lists.patchwork.ozlabs.org"
    },
    "content": "From: Jingchang Lu <b35083@freescale.com>\n\nThe LS1021A SoC is a dual-core Cortex-A7 based processor,\nthis add the initial support for it.\n\nSigned-off-by: Jingchang Lu <b35083@freescale.com>\n---\n arch/arm/mach-imx/Kconfig        | 17 ++++++++++++++\n arch/arm/mach-imx/Makefile       |  2 ++\n arch/arm/mach-imx/mach-ls1021a.c | 49 ++++++++++++++++++++++++++++++++++++++++\n 3 files changed, 68 insertions(+)\n create mode 100644 arch/arm/mach-imx/mach-ls1021a.c",
    "diff": "diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig\nindex bdfe276..7f24892 100644\n--- a/arch/arm/mach-imx/Kconfig\n+++ b/arch/arm/mach-imx/Kconfig\n@@ -762,6 +762,23 @@ config SOC_VF610\n \thelp\n \t  This enable support for Freescale Vybrid VF610 processor.\n \n+config FSL_SOC\n+\tbool\n+\n+config SOC_LS1021A\n+\tbool \"Freescale LS1021A support\"\n+\tselect CPU_V7\n+\tselect ARM_GIC\n+\tselect CLKSRC_OF\n+\tselect HAVE_ARM_ARCH_TIMER\n+\tselect HAVE_SMP\n+\tselect FSL_SOC\n+\tselect MIGHT_HAVE_PCI\n+\tselect PCI_DOMAINS if PCI\n+\n+\thelp\n+\t  This enable support for Freescale LS1021A  processor.\n+\n endif\n \n source \"arch/arm/mach-imx/devices/Kconfig\"\ndiff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile\nindex a364e20..f49cbdb 100644\n--- a/arch/arm/mach-imx/Makefile\n+++ b/arch/arm/mach-imx/Makefile\n@@ -114,4 +114,6 @@ obj-$(CONFIG_SOC_IMX53) += mach-imx53.o\n \n obj-$(CONFIG_SOC_VF610) += clk-vf610.o mach-vf610.o\n \n+obj-$(CONFIG_SOC_LS1021A) += mach-ls1021a.o\n+\n obj-y += devices/\ndiff --git a/arch/arm/mach-imx/mach-ls1021a.c b/arch/arm/mach-imx/mach-ls1021a.c\nnew file mode 100644\nindex 0000000..d1a9bb9\n--- /dev/null\n+++ b/arch/arm/mach-imx/mach-ls1021a.c\n@@ -0,0 +1,49 @@\n+/*\n+ * Copyright 2013-2014 Freescale Semiconductor, Inc.\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 as published by\n+ * the Free Software Foundation; either version 2 of the License, or\n+ * (at your option) any later version.\n+ */\n+\n+#include <linux/of_platform.h>\n+#include <asm/mach/arch.h>\n+\n+#include \"common.h\"\n+\n+static const struct of_device_id of_ls1021a_match_table[] = {\n+\t{\n+\t\t.compatible =\t\"simple-bus\",\n+\t},\n+\t{\n+\t\t.compatible     = \"fsl,ifc\",\n+\t},\n+\t{\n+\t\t.compatible\t= \"fsl,fpga-qixis\",\n+\t},\n+\t{\n+\t\t.compatible\t= \"fsl,qe\",\n+\t},\n+\t{}\n+};\n+\n+static void __init ls1021a_init_machine(void)\n+{\n+\tmxc_arch_reset_init_dt();\n+\tof_platform_populate(NULL, of_ls1021a_match_table, NULL, NULL);\n+}\n+\n+static const char *ls1021a_dt_compat[] __initdata = {\n+\t\"fsl,ls1021a\",\n+\tNULL,\n+};\n+\n+DT_MACHINE_START(LS1021A, \"Freescale LS1021A\")\n+#ifdef CONFIG_ZONE_DMA\n+\t.dma_zone_size\t= SZ_128M,\n+#endif\n+\t.init_machine   = ls1021a_init_machine,\n+\t.dt_compat\t= ls1021a_dt_compat,\n+\t.restart\t= mxc_restart,\n+MACHINE_END\n",
    "prefixes": [
        "4/5"
    ]
}