get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1358228,
    "url": "http://patchwork.ozlabs.org/api/patches/1358228/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/c7f3d868a3571f41035e2975c436822e69b54417.1599343429.git.chunkeey@gmail.com/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api",
        "name": "Linux PPC development",
        "link_name": "linuxppc-dev",
        "list_id": "linuxppc-dev.lists.ozlabs.org",
        "list_email": "linuxppc-dev@lists.ozlabs.org",
        "web_url": "https://github.com/linuxppc/wiki/wiki",
        "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git",
        "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/",
        "list_archive_url": "https://lore.kernel.org/linuxppc-dev/",
        "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/",
        "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"
    },
    "msgid": "<c7f3d868a3571f41035e2975c436822e69b54417.1599343429.git.chunkeey@gmail.com>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/c7f3d868a3571f41035e2975c436822e69b54417.1599343429.git.chunkeey@gmail.com/",
    "date": "2020-09-05T22:06:14",
    "name": "[v3,4/5] powerpc: apm82181: add Meraki MR24 AP",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "520af98d239992bbf8ad47b8f8fab03c13468532",
    "submitter": {
        "id": 72473,
        "url": "http://patchwork.ozlabs.org/api/people/72473/?format=api",
        "name": "Christian Lamparter",
        "email": "chunkeey@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/c7f3d868a3571f41035e2975c436822e69b54417.1599343429.git.chunkeey@gmail.com/mbox/",
    "series": [
        {
            "id": 199750,
            "url": "http://patchwork.ozlabs.org/api/series/199750/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=199750",
            "date": "2020-09-05T22:06:11",
            "name": "powerpc: apm82181: adding customer devices",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/199750/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1358228/comments/",
    "check": "warning",
    "checks": "http://patchwork.ozlabs.org/api/patches/1358228/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4BkThf6Fv5z9sSJ\n\tfor <patchwork-incoming@ozlabs.org>; Sun,  6 Sep 2020 08:28:18 +1000 (AEST)",
            "from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4BkThf0XXYzDqPk\n\tfor <patchwork-incoming@ozlabs.org>; Sun,  6 Sep 2020 08:28:18 +1000 (AEST)",
            "from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com\n [IPv6:2a00:1450:4864:20::62d])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by lists.ozlabs.org (Postfix) with ESMTPS id 4BkTCr5LhMzDqgr\n for <linuxppc-dev@lists.ozlabs.org>; Sun,  6 Sep 2020 08:06:48 +1000 (AEST)",
            "by mail-ej1-x62d.google.com with SMTP id q13so13043760ejo.9\n for <linuxppc-dev@lists.ozlabs.org>; Sat, 05 Sep 2020 15:06:48 -0700 (PDT)",
            "from debian64.daheim (pd9e292e7.dip0.t-ipconnect.de.\n [217.226.146.231])\n by smtp.gmail.com with ESMTPSA id l7sm10551304ejc.25.2020.09.05.15.06.43\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 05 Sep 2020 15:06:43 -0700 (PDT)",
            "from chuck by debian64.daheim with local (Exim 4.94)\n (envelope-from <chunkeey@gmail.com>)\n id 1kEgKL-000FIv-Ti; Sun, 06 Sep 2020 00:06:29 +0200"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n dmarc=fail (p=none dis=none) header.from=gmail.com",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20161025 header.b=e8IIp6yQ;\n\tdkim-atps=neutral",
            "lists.ozlabs.org; spf=pass (sender SPF authorized)\n smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::62d;\n helo=mail-ej1-x62d.google.com; envelope-from=chunkeey@gmail.com;\n receiver=<UNKNOWN>)",
            "lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "lists.ozlabs.org; dkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20161025 header.b=e8IIp6yQ; dkim-atps=neutral"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=gQcY8qlVKNfYD7HLqc8hwd/dxJeX8W7zGLkN1rSU3qU=;\n b=e8IIp6yQD4nMdUL3Tg91PRreLTfFbZuE00LznAovhPYPPd1rDlFBQupH2DYgaQ8mGS\n XE6+xACPkGPRYZ/sIxnokS0cBccV+HwLVYpy3xQSs6CZpAH7/aPxZRUyNQV45R4Q3i3S\n rFggKgSLJaf9Kh35oq3cHXPu7nrIxkfLwNrHvwvf4wceXvSB/bGuHwXDB0brZeCWRRnc\n cPJ6iq6j4Cp1U/S2nUhZ5/cSoFUN+1GI6dWqz+J76TSpzDgNxGcbCfjFfPhX+WDSngEg\n ZpBzLc2RXByjdY57HXSehMVzRckFBWJlEMD+4o7gpv6ce48F2htGilQjKmUtVHBg6oew\n j+xA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=gQcY8qlVKNfYD7HLqc8hwd/dxJeX8W7zGLkN1rSU3qU=;\n b=Of3qORRtyFUptG9D/kHjJtyXNNAw25NwyB3scIw4fgl4GdRCbcvQxkv6a2BWceoPBw\n cqO+u5UoTh7e40OEFDRsL+mqx6NRFn69Tc68f+TIoTRb8x/zvW/T3UVIgGtenya8zGb6\n Y9HK5X6NThSkkEyIbpOgiDiA8xIHLsGU4B9gtzsZn18TEof4tPCer24XMHZQpiWfC4QB\n jDaWcSfprMSDSvJLXt0x1E33q3FoEqN7kJNpLvWA4pnR1bKSt5Nu7Hn4vBKByoga0k60\n NrSbyv1ziL24Vm43Gg4cYC60iRRT+8E+6QF4VgiuJFuUpWtuwM6KLF/9WFx77cPQT4tn\n E7nA==",
        "X-Gm-Message-State": "AOAM5329QidydbQ1QRqYeHVRosmZnjA1eoTupSxP+EWi7hLYwsRI/C1r\n yQSKyu8OZo1MMvh8yF6nFj9FtjLhkFA=",
        "X-Google-Smtp-Source": "\n ABdhPJzgqOdviWnuS865/m7RGQItMXR31kJnxPWv6opxSVU7ezXa4fxNFEeNcvbALGQJtIsbjbhSTQ==",
        "X-Received": "by 2002:a17:906:71cc:: with SMTP id\n i12mr9278731ejk.507.1599343603998;\n Sat, 05 Sep 2020 15:06:43 -0700 (PDT)",
        "From": "Christian Lamparter <chunkeey@gmail.com>",
        "To": "linuxppc-dev@lists.ozlabs.org,\n\tdevicetree@vger.kernel.org",
        "Subject": "[PATCH v3 4/5] powerpc: apm82181: add Meraki MR24 AP",
        "Date": "Sun,  6 Sep 2020 00:06:14 +0200",
        "Message-Id": "\n <c7f3d868a3571f41035e2975c436822e69b54417.1599343429.git.chunkeey@gmail.com>",
        "X-Mailer": "git-send-email 2.28.0",
        "In-Reply-To": "<cover.1599343429.git.chunkeey@gmail.com>",
        "References": "<cover.1599343429.git.chunkeey@gmail.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "linuxppc-dev@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Linux on PowerPC Developers Mail List <linuxppc-dev.lists.ozlabs.org>",
        "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>",
        "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>",
        "Cc": "Paul Mackerras <paulus@samba.org>, Rob Herring <robh+dt@kernel.org>,\n Chris Blake <chrisrblake93@gmail.com>",
        "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org",
        "Sender": "\"Linuxppc-dev\"\n <linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"
    },
    "content": "This patch adds the device-tree definitions for Meraki MR24\nAccesspoint devices.\n\nBoard: MR24 - Meraki MR24 Cloud Managed Access Point\nCPU: APM82181 SoC 800 MHz (PLB=200 OPB=100 EBC=100)\nFlash size: 32MiB\nRAM Size: 128MiB\nWireless: Atheros AR9380 5.0GHz + Atheros AR9380 2.4GHz\nEPHY: 1x Gigabit Atheros AR8035\n\nReady to go images and install instruction can be found @OpenWrt.\n\nSigned-off-by: Chris Blake <chrisrblake93@gmail.com>\nSigned-off-by: Christian Lamparter <chunkeey@gmail.com>\n---\nrfc v1 -> v2:\n\t- use new led naming scheme\n\t- space-vs-tab snafu cleanup\n\t- remove led-aliases (openwrt specific)\n\t- overhauled commit message\nv2 -> v3:\n\t- added interrupt-properties legacy pci interrupt signalling\n\t  to fix wifi\n---\n arch/powerpc/boot/dts/meraki-mr24.dts      | 237 +++++++++++++++++++++\n arch/powerpc/platforms/44x/ppc44x_simple.c |   1 +\n 2 files changed, 238 insertions(+)\n create mode 100644 arch/powerpc/boot/dts/meraki-mr24.dts",
    "diff": "diff --git a/arch/powerpc/boot/dts/meraki-mr24.dts b/arch/powerpc/boot/dts/meraki-mr24.dts\nnew file mode 100644\nindex 000000000000..f91c243e7678\n--- /dev/null\n+++ b/arch/powerpc/boot/dts/meraki-mr24.dts\n@@ -0,0 +1,237 @@\n+// SPDX-License-Identifier: GPL-2.0-only\n+/*\n+ * Device Tree Source for Meraki MR24 (Ikarem)\n+ *\n+ * Copyright (C) 2016 Chris Blake <chrisrblake93@gmail.com>\n+ *\n+ * Based on Cisco Meraki GPL Release r23-20150601 MR24 DTS\n+ */\n+\n+/dts-v1/;\n+\n+#include <dt-bindings/leds/common.h>\n+#include \"apm82181.dtsi\"\n+\n+/ {\n+\tmodel = \"Meraki MR24 Access Point\";\n+\tcompatible = \"meraki,mr24\";\n+\n+\taliases {\n+\t\tserial0 = &UART1;\n+\t};\n+\n+\tchosen {\n+\t\tstdout-path = \"/plb/opb/serial@ef600400\";\n+\t};\n+};\n+\n+&CRYPTO {\n+\tstatus = \"okay\";\n+};\n+\n+&HWRNG {\n+\tstatus = \"okay\";\n+};\n+\n+&NAND {\n+\tstatus = \"okay\";\n+\n+\t/* 32 MiB NAND Flash */\n+\tnand {\n+\t\tpartition@0 {\n+\t\t\tlabel = \"u-boot\";\n+\t\t\treg = <0x00000000 0x00150000>;\n+\t\t\tread-only;\n+\t\t};\n+\n+\t\tpartition@150000 {\n+\t\t\t/*\n+\t\t\t * The u-boot environment size is one NAND\n+\t\t\t * block (16KiB). u-boot allocates four NAND\n+\t\t\t * blocks (64KiB) in order to have spares\n+\t\t\t * around for bad block management\n+\t\t\t */\n+\t\t\tlabel = \"u-boot-env\";\n+\t\t\treg = <0x00150000 0x00010000>;\n+\t\t\tread-only;\n+\t\t};\n+\n+\t\tpartition@160000 {\n+\t\t\t/*\n+\t\t\t * redundant u-boot environment.\n+\t\t\t * has to be kept it in sync with the\n+\t\t\t * data in \"u-boot-env\".\n+\t\t\t */\n+\t\t\tlabel = \"u-boot-env-redundant\";\n+\t\t\treg = <0x00160000 0x00010000>;\n+\t\t\tread-only;\n+\t\t};\n+\n+\t\tpartition@170000 {\n+\t\t\tlabel = \"oops\";\n+\t\t\treg = <0x00170000 0x00010000>;\n+\t\t};\n+\n+\t\tpartition@180000 {\n+\t\t\tlabel = \"ubi\";\n+\t\t\treg = <0x00180000 0x01e80000>;\n+\t\t};\n+\t};\n+};\n+\n+&UART1 {\n+\tstatus = \"okay\";\n+};\n+\n+&GPIO0 {\n+\tstatus = \"okay\";\n+};\n+\n+&IIC0 {\n+\tstatus = \"okay\";\n+\t/* Boot ROM is at 0x52-0x53, do not touch */\n+\t/* Unknown chip at 0x6e, not sure what it is */\n+};\n+\n+&EMAC0 {\n+\tstatus = \"okay\";\n+\n+\tphy-mode = \"rgmii-id\";\n+\tphy-map = <0x2>;\n+\tphy-address = <0x1>;\n+\tphy-handle = <&phy>;\n+\n+\tmdio {\n+\t\t#address-cells = <1>;\n+\t\t#size-cells = <0>;\n+\n+\t\tphy: phy@1 {\n+\t\t\tcompatible = \"ethernet-phy-ieee802.3-c22\";\n+\t\t\treg = <1>;\n+\t\t};\n+\t};\n+};\n+\n+&POB0 {\n+\tleds {\n+\t\tcompatible = \"gpio-leds\";\n+\n+\t\tstatus: power-green {\n+\t\t\tfunction = LED_FUNCTION_POWER;\n+\t\t\tcolor = <LED_COLOR_ID_GREEN>;\n+\t\t\tgpios = <&GPIO0 18 GPIO_ACTIVE_LOW>;\n+\t\t};\n+\n+\t\tfailsafe: power-amber {\n+\t\t\tfunction = LED_FUNCTION_FAULT;\n+\t\t\tcolor = <LED_COLOR_ID_AMBER>;\n+\t\t\tgpios = <&GPIO0 19 GPIO_ACTIVE_LOW>;\n+\t\t};\n+\n+\t\tlan {\n+\t\t\tfunction = LED_FUNCTION_WAN;\n+\t\t\tcolor = <LED_COLOR_ID_GREEN>;\n+\t\t\tgpios = <&GPIO0 17 GPIO_ACTIVE_LOW>;\n+\t\t};\n+\n+\t\t/* signal strength indicator */\n+\t\tssi-0 {\n+\t\t\tfunction = LED_FUNCTION_INDICATOR;\n+\t\t\tcolor = <LED_COLOR_ID_GREEN>;\n+\t\t\tgpios = <&GPIO0 23 GPIO_ACTIVE_LOW>;\n+\t\t};\n+\n+\t\tssi-1 {\n+\t\t\tfunction = LED_FUNCTION_INDICATOR;\n+\t\t\tcolor = <LED_COLOR_ID_GREEN>;\n+\t\t\tgpios = <&GPIO0 22 GPIO_ACTIVE_LOW>;\n+\t\t};\n+\n+\t\tssi-2 {\n+\t\t\tfunction = LED_FUNCTION_INDICATOR;\n+\t\t\tcolor = <LED_COLOR_ID_GREEN>;\n+\t\t\tgpios = <&GPIO0 21 GPIO_ACTIVE_LOW>;\n+\t\t};\n+\n+\t\tssi-3 {\n+\t\t\tfunction = LED_FUNCTION_INDICATOR;\n+\t\t\tcolor = <LED_COLOR_ID_GREEN>;\n+\t\t\tgpios = <&GPIO0 20 GPIO_ACTIVE_LOW>;\n+\t\t};\n+\t};\n+\n+\tkeys {\n+\t\tcompatible = \"gpio-keys\";\n+\n+\t\treset {\n+\t\t\t/* Label as per Meraki's \"MR24 Installation Guide\" */\n+\t\t\tlabel = \"Factory Reset Button\";\n+\t\t\tlinux,code = <KEY_RESTART>;\n+\t\t\tinterrupt-parent = <&UIC1>;\n+\t\t\tinterrupts = <0x15 IRQ_TYPE_EDGE_FALLING>;\n+\t\t\tgpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;\n+\t\t\tdebounce-interval = <60>;\n+\t\t};\n+\t};\n+};\n+\n+&PCIE0 {\n+\tstatus = \"okay\";\n+\t/*\n+\t * relevant lspci topology:\n+\t *\n+\t *\t-+-[0000:40]---00.0-[41-7f]----00.0-[42-45]--+-02.0-[43]----00.0\n+\t *\t                                             +-03.0-[44]----00.0\n+\t *\n+\t */\n+\n+\tbridge@40,0 {\n+\t\treg = <0x00400000 0 0 0 0>;\n+\t\t#address-cells = <3>;\n+\t\t#size-cells = <2>;\n+\t\tranges;\n+\n+\t\tbridge@41,0 {\n+\t\t\t/* IDT PES3T3 PCI Express Switch */\n+\t\t\tcompatible = \"pci111d,8039\";\n+\t\t\treg = <0x00410000 0 0 0 0>;\n+\t\t\t#address-cells = <3>;\n+\t\t\t#size-cells = <2>;\n+\t\t\tranges;\n+\n+\t\t\tbridge@42,2 {\n+\t\t\t\tcompatible = \"pci111d,8039\";\n+\t\t\t\treg = <0x00421000 0 0 0 0>;\n+\t\t\t\t#address-cells = <3>;\n+\t\t\t\t#size-cells = <2>;\n+\t\t\t\tranges;\n+\n+\t\t\t\twifi0: wifi@43,0 {\n+\t\t\t\t\t/* Atheros AR9380 2.4GHz */\n+\t\t\t\t\tcompatible = \"pci168c,0030\";\n+\t\t\t\t\treg = <0x00430000 0 0 0 0>;\n+\t\t\t\t\tinterrupts = <3>; /* INTC */\n+\t\t\t\t};\n+\t\t\t};\n+\n+\t\t\tbridge@42,3 {\n+\t\t\t\tcompatible = \"pci111d,8039\";\n+\t\t\t\treg = <0x00421800 0 0 0 0>;\n+\t\t\t\t#address-cells = <3>;\n+\t\t\t\t#size-cells = <2>;\n+\t\t\t\tranges;\n+\n+\t\t\t\twifi1: wifi@44,0 {\n+\t\t\t\t\t/* Atheros AR9380 5GHz */\n+\t\t\t\t\tcompatible = \"pci168c,0030\";\n+\t\t\t\t\treg = <0x00440000 0 0 0 0>;\n+\t\t\t\t\tinterrupts = <4>; /* INTD */\n+\t\t\t\t};\n+\t\t\t};\n+\t\t};\n+\t};\n+};\n+\n+&MSI {\n+\tstatus = \"okay\";\n+};\ndiff --git a/arch/powerpc/platforms/44x/ppc44x_simple.c b/arch/powerpc/platforms/44x/ppc44x_simple.c\nindex 1122702c804a..7d479928fd48 100644\n--- a/arch/powerpc/platforms/44x/ppc44x_simple.c\n+++ b/arch/powerpc/platforms/44x/ppc44x_simple.c\n@@ -60,6 +60,7 @@ static char *board[] __initdata = {\n \t\"amcc,taishan\",\n \t\"amcc,yosemite\",\n \t\"mosaixtech,icon\",\n+\t\"meraki,mr24\",\n \t\"wd,mybooklive\",\n };\n \n",
    "prefixes": [
        "v3",
        "4/5"
    ]
}