Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/807368/?format=api
{ "id": 807368, "url": "http://patchwork.ozlabs.org/api/patches/807368/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1504053161-27814-5-git-send-email-embed3d@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": "<1504053161-27814-5-git-send-email-embed3d@gmail.com>", "list_archive_url": null, "date": "2017-08-30T00:32:41", "name": "[U-Boot,4/4] sunxi: dts: added emac node for nanopi m1 plus", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "04d26575190bef4ec13e9388488d81831a1ca89c", "submitter": { "id": 72018, "url": "http://patchwork.ozlabs.org/api/people/72018/?format=api", "name": "Philipp Rossak", "email": "embed3d@gmail.com" }, "delegate": { "id": 17739, "url": "http://patchwork.ozlabs.org/api/users/17739/?format=api", "username": "jagan", "first_name": "Jagannadha Sutradharudu", "last_name": "Teki", "email": "jagannadh.teki@gmail.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1504053161-27814-5-git-send-email-embed3d@gmail.com/mbox/", "series": [ { "id": 510, "url": "http://patchwork.ozlabs.org/api/series/510/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=510", "date": "2017-08-30T00:32:37", "name": "Enable ethernet on nanopi m1 and nanopi m1 plus", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/510/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/807368/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/807368/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=\"sgpQ4ypl\"; dkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhmkY0MMLz9s8w\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 10:35:32 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid A7751C21F10; Wed, 30 Aug 2017 00:35:19 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 0D290C226CD;\n\tWed, 30 Aug 2017 00:34:23 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid C1D57C226C2; Wed, 30 Aug 2017 00:34:19 +0000 (UTC)", "from mail-wm0-f66.google.com (mail-wm0-f66.google.com\n\t[74.125.82.66])\n\tby lists.denx.de (Postfix) with ESMTPS id 24068C2245F\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 00:34:15 +0000 (UTC)", "by mail-wm0-f66.google.com with SMTP id l19so183958wmi.1\n\tfor <u-boot@lists.denx.de>; Tue, 29 Aug 2017 17:34:15 -0700 (PDT)", "from philipp-K52Jr.fritz.box (p5B3DD0C2.dip0.t-ipconnect.de.\n\t[91.61.208.194]) by smtp.gmail.com with ESMTPSA id\n\tu127sm2153097wmd.27.2017.08.29.17.34.13\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 29 Aug 2017 17:34:14 -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,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_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:in-reply-to:references;\n\tbh=N6XJCKb5ZRU27/LGr1wuFVOIPyuwv/qrsArV/26aSVs=;\n\tb=sgpQ4yplTRV9sCdg0tOeuNcPnA4K9zX0sthA2lJJbp0gAA24P113XQ9ye9EyOqcSAg\n\tF2815oeHKamSkRs17PVZSje6Lq+FU+p3MCxrhOPy6GFAxurj0Taimvoi2snzyeRIHJKf\n\tV73YElEHpzbqB/WIFBQm1fDPAN2AIgyuLwZMsIaFD310+LnI0NUf72E8RJ+FGa/GAa5D\n\txGQZu9ycmNDjRwGjkkSK7TzvHoU3rhmzZNeX5ZHQ4/rRg3tRsjoBE4yxTCYujx+EXc+I\n\tzfA0z+x4iqYOxNgYXXuI9d9QELz7/cR6/7QM0Bca1QLcqzhVoUK7BTRjiqtiWLQp2Exg\n\ty7lw==", "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:in-reply-to\n\t:references;\n\tbh=N6XJCKb5ZRU27/LGr1wuFVOIPyuwv/qrsArV/26aSVs=;\n\tb=KXuGN3sfCzUJGhZ/7bw2+Vr1YAd0ukPtKat0sEBUUU6FiCWEUVhaePbHTt1LJQo+G3\n\tVBKtg9JA7rBYJNwFP+hHiUeumVywwf9AFjcQpDBO6zwaHqvyX2aoS6BmiieyNAQfJys0\n\t3/THpU42t1OA1Fn0rSZ6+BFEXmkMIFId/VkoaMoWKszerxu3O5KdS3KAznzqZyiq+dOg\n\tKb4UjIg6sNGSuLOxOEXXyCJq2Iv+2C1XGg7iox4Iyu4CSLT4dOyzN3S57nly4o7H454f\n\tYPQ7Dy/oCuC1O9ZmcrsGkBnUvp0IoBdIXdSPdNG4TgJTviaK5dEfoQtY31GnKqlevoxG\n\tYB7g==", "X-Gm-Message-State": "AHYfb5iipC7oTAXtA8O3a/UfqSTaVnjgiK2CBJaF74uyHitBmPqOFpKC\n\ttbGr/WYp+qft0Q==", "X-Received": "by 10.28.232.71 with SMTP id f68mr128482wmh.146.1504053254793;\n\tTue, 29 Aug 2017 17:34:14 -0700 (PDT)", "From": "Philipp Rossak <embed3d@gmail.com>", "X-Google-Original-From": "Philipp Rossak < embed3d@gmail.com >", "To": "albert.u.boot@aribaud.net, mylene.josserand@free-electrons.com,\n\tjagan@amarulasolutions.com", "Date": "Wed, 30 Aug 2017 02:32:41 +0200", "Message-Id": "<1504053161-27814-5-git-send-email-embed3d@gmail.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1504053161-27814-1-git-send-email-embed3d@gmail.com>", "References": "<1504053161-27814-1-git-send-email-embed3d@gmail.com>", "Cc": "u-boot@lists.denx.de", "Subject": "[U-Boot] [PATCH 4/4] sunxi: dts: added emac node for nanopi m1 plus", "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": "From: Philipp Rossak <embed3d@gmail.com>\n\nThe sun8i emac hardware is present on the Nanopi M1.\nIt uses an external PHY.\n\nSigned-off-by: Philipp Rossak <embed3d@gmail.com>\n---\n arch/arm/dts/sun8i-h3-nanopi-m1-plus.dts | 30 ++++++++++++++++++++++++++++++\n 1 file changed, 30 insertions(+)", "diff": "diff --git a/arch/arm/dts/sun8i-h3-nanopi-m1-plus.dts b/arch/arm/dts/sun8i-h3-nanopi-m1-plus.dts\nindex 8ddd1b2..1cc9185 100644\n--- a/arch/arm/dts/sun8i-h3-nanopi-m1-plus.dts\n+++ b/arch/arm/dts/sun8i-h3-nanopi-m1-plus.dts\n@@ -45,6 +45,18 @@\n / {\n \tmodel = \"FriendlyArm NanoPi M1 Plus\";\n \tcompatible = \"friendlyarm,nanopi-m1-plus\", \"allwinner,sun8i-h3\";\n+\n+\treg_gmac_3v3: gmac-3v3 {\n+\t\tcompatible = \"regulator-fixed\";\n+\t\tpinctrl-names = \"default\";\n+\t\tpinctrl-0 = <&gmac_power_pin_nanopi_m1_plus>;\n+\t\tregulator-name = \"gmac-3v3\";\n+\t\tregulator-min-microvolt = <3300000>;\n+\t\tregulator-max-microvolt = <3300000>;\n+\t\tstartup-delay-us = <100000>;\n+\t\tenable-active-high;\n+\t\tgpio = <&pio 3 6 GPIO_ACTIVE_HIGH>;\n+\t};\n };\n \n &ehci1 {\n@@ -55,6 +67,15 @@\n \tstatus = \"okay\";\n };\n \n+&emac {\n+\t/* The Nanopi M1 Plus uses an external phy */\n+\tpinctrl-names = \"default\";\n+\tpinctrl-0 = <&emac_rgmii_pins>;\n+\tphy-supply = <®_gmac_3v3>;\n+\tphy-mode = \"rgmii\";\n+\t/delete-property/allwinner,use-internal-phy;\n+};\n+\n &ohci1 {\n \tstatus = \"okay\";\n };\n@@ -62,3 +83,12 @@\n &ohci2 {\n \tstatus = \"okay\";\n };\n+\n+&pio {\n+\tgmac_power_pin_nanopi_m1_plus: gmac_power_pin@0 {\n+\t\tallwinner,pins = \"PD6\";\n+\t\tallwinner,function = \"gpio_out\";\n+\t\tallwinner,drive = <SUN4I_PINCTRL_10_MA>;\n+\t\tallwinner,pull = <SUN4I_PINCTRL_NO_PULL>;\n+\t};\n+};\n", "prefixes": [ "U-Boot", "4/4" ] }