get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 195764,
    "url": "http://patchwork.ozlabs.org/api/patches/195764/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-imx/patch/1351668533-32712-1-git-send-email-s.hauer@pengutronix.de/",
    "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": "<1351668533-32712-1-git-send-email-s.hauer@pengutronix.de>",
    "list_archive_url": null,
    "date": "2012-10-31T07:28:53",
    "name": "ARM i.MX27: Fix low reference clock path",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "45657955306d5ada72f58e56ed4e60e71db65e3c",
    "submitter": {
        "id": 61,
        "url": "http://patchwork.ozlabs.org/api/people/61/?format=api",
        "name": "Sascha Hauer",
        "email": "s.hauer@pengutronix.de"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-imx/patch/1351668533-32712-1-git-send-email-s.hauer@pengutronix.de/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/195764/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/195764/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 merlin.infradead.org (merlin.infradead.org\n\t[IPv6:2001:4978:20e::2])\n\t(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\n\t(Client did not present a certificate)\n\tby ozlabs.org (Postfix) with ESMTPS id E7FED2C00DB\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tWed, 31 Oct 2012 18:32:08 +1100 (EST)",
            "from localhost ([::1] helo=merlin.infradead.org)\n\tby merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux))\n\tid 1TTSjx-0000mh-83; Wed, 31 Oct 2012 07:29:29 +0000",
            "from metis.ext.pengutronix.de\n\t([2001:6f8:1178:4:290:27ff:fe1d:cc33])\n\tby merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux))\n\tid 1TTSjS-0000Wi-Fd for linux-arm-kernel@lists.infradead.org;\n\tWed, 31 Oct 2012 07:29:00 +0000",
            "from dude.hi.pengutronix.de ([2001:6f8:1178:2:21e:67ff:fe11:9c5c])\n\tby metis.ext.pengutronix.de with esmtp (Exim 4.72)\n\t(envelope-from <sha@pengutronix.de>)\n\tid 1TTSjO-0006vm-N7; Wed, 31 Oct 2012 08:28:54 +0100",
            "from sha by dude.hi.pengutronix.de with local (Exim 4.80)\n\t(envelope-from <sha@pengutronix.de>)\n\tid 1TTSjO-0008WD-Kf; Wed, 31 Oct 2012 08:28:54 +0100"
        ],
        "From": "Sascha Hauer <s.hauer@pengutronix.de>",
        "To": "<linux-arm-kernel@lists.infradead.org>",
        "Subject": "[PATCH] ARM i.MX27: Fix low reference clock path",
        "Date": "Wed, 31 Oct 2012 08:28:53 +0100",
        "Message-Id": "<1351668533-32712-1-git-send-email-s.hauer@pengutronix.de>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "X-SA-Exim-Connect-IP": "2001:6f8:1178:2:21e:67ff:fe11:9c5c",
        "X-SA-Exim-Mail-From": "sha@pengutronix.de",
        "X-SA-Exim-Scanned": "No (on metis.ext.pengutronix.de);\n\tSAEximRunCond expanded to false",
        "X-PTX-Original-Recipient": "linux-arm-kernel@lists.infradead.org",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20121031_032859_444648_F84BFADC ",
        "X-CRM114-Status": "GOOD (  13.16  )",
        "X-Spam-Score": "-2.6 (--)",
        "X-Spam-Report": "SpamAssassin version 3.3.2 on merlin.infradead.org summary:\n\tContent analysis details:   (-2.6 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]",
        "Cc": "Philippe Reynes <tremyfr@yahoo.fr>, Sascha Hauer <s.hauer@pengutronix.de>",
        "X-BeenThere": "linux-arm-kernel@lists.infradead.org",
        "X-Mailman-Version": "2.1.14",
        "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>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "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": "The i.MX27 clock tree can either be driven from a 26MHz oscillator\nor from a 32768Hz oscillator. The latter was not properly implemented,\nthe mux between these two pathes was missing. Add this mux and while\nat it rename the 'prem' (premultiplier) clk to 'fpm' (Frequency\nPre-Multiplier) to better match the datasheet.\n\nSigned-off-by: Sascha Hauer <s.hauer@pengutronix.de>\n---\n arch/arm/mach-imx/clk-imx27.c |   17 ++++++++++++++---\n 1 file changed, 14 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/arch/arm/mach-imx/clk-imx27.c b/arch/arm/mach-imx/clk-imx27.c\nindex 3b6b640..f8d9129 100644\n--- a/arch/arm/mach-imx/clk-imx27.c\n+++ b/arch/arm/mach-imx/clk-imx27.c\n@@ -51,8 +51,10 @@\n \n static const char *vpu_sel_clks[] = { \"spll\", \"mpll_main2\", };\n static const char *cpu_sel_clks[] = { \"mpll_main2\", \"mpll\", };\n+static const char *mpll_sel_clks[] = { \"fpm\", \"mpll_osc_sel\", };\n+static const char *mpll_osc_sel_clks[] = { \"ckih\", \"ckih_div1p5\", };\n static const char *clko_sel_clks[] = {\n-\t\"ckil\", \"prem\", \"ckih\", \"ckih\",\n+\t\"ckil\", \"fpm\", \"ckih\", \"ckih\",\n \t\"ckih\", \"mpll\", \"spll\", \"cpu_div\",\n \t\"ahb\", \"ipg\", \"per1_div\", \"per2_div\",\n \t\"per3_div\", \"per4_div\", \"ssi1_div\", \"ssi2_div\",\n@@ -79,7 +81,8 @@ enum mx27_clks {\n \tvpu_ahb_gate, fec_ahb_gate, emma_ahb_gate, emi_ahb_gate, dma_ahb_gate,\n \tcsi_ahb_gate, brom_ahb_gate, ata_ahb_gate, wdog_ipg_gate, usb_ipg_gate,\n \tuart6_ipg_gate, uart5_ipg_gate, uart4_ipg_gate, uart3_ipg_gate,\n-\tuart2_ipg_gate, uart1_ipg_gate, clk_max\n+\tuart2_ipg_gate, uart1_ipg_gate, ckih_div1p5, fpm, mpll_osc_sel,\n+\tmpll_sel, clk_max\n };\n \n static struct clk *clk[clk_max];\n@@ -91,7 +94,15 @@ int __init mx27_clocks_init(unsigned long fref)\n \tclk[dummy] = imx_clk_fixed(\"dummy\", 0);\n \tclk[ckih] = imx_clk_fixed(\"ckih\", fref);\n \tclk[ckil] = imx_clk_fixed(\"ckil\", 32768);\n-\tclk[mpll] = imx_clk_pllv1(\"mpll\", \"ckih\", CCM_MPCTL0);\n+\tclk[fpm] = imx_clk_fixed_factor(\"fpm\", \"ckil\", 1024, 1);\n+\tclk[ckih_div1p5] = imx_clk_fixed_factor(\"ckih_div1p5\", \"ckih\", 2, 3);\n+\n+\tclk[mpll_osc_sel] = imx_clk_mux(\"mpll_osc_sel\", CCM_CSCR, 4, 1,\n+\t\t\tmpll_osc_sel_clks,\n+\t\t\tARRAY_SIZE(mpll_osc_sel_clks));\n+\tclk[mpll_sel] = imx_clk_mux(\"mpll_sel\", CCM_CSCR, 16, 1, mpll_sel_clks,\n+\t\t\tARRAY_SIZE(mpll_sel_clks));\n+\tclk[mpll] = imx_clk_pllv1(\"mpll\", \"mpll_sel\", CCM_MPCTL0);\n \tclk[spll] = imx_clk_pllv1(\"spll\", \"ckih\", CCM_SPCTL0);\n \tclk[mpll_main2] = imx_clk_fixed_factor(\"mpll_main2\", \"mpll\", 2, 3);\n \n",
    "prefixes": []
}