Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/817347/?format=api
{ "id": 817347, "url": "http://patchwork.ozlabs.org/api/patches/817347/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170922072635.32105-10-wens@csie.org/", "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": "<20170922072635.32105-10-wens@csie.org>", "list_archive_url": null, "date": "2017-09-22T07:26:35", "name": "[U-Boot,9/9] sunxi: Enable EMAC on the Bananapi M3", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "8c3ca0f7e8987f42ac28a77d2af5ad30539a656b", "submitter": { "id": 47154, "url": "http://patchwork.ozlabs.org/api/people/47154/?format=api", "name": "Chen-Yu Tsai", "email": "wens@csie.org" }, "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/20170922072635.32105-10-wens@csie.org/mbox/", "series": [ { "id": 4550, "url": "http://patchwork.ozlabs.org/api/series/4550/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=4550", "date": "2017-09-22T07:26:29", "name": "sunxi: A83T improvements", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/4550/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/817347/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/817347/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>)", "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xz4rG2h8hz9sNc\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 22 Sep 2017 17:30:06 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 1FD83C21FB2; Fri, 22 Sep 2017 07:28:20 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id E7638C21FB9;\n\tFri, 22 Sep 2017 07:26:56 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 99125C21F9E; Fri, 22 Sep 2017 07:26:52 +0000 (UTC)", "from wens.csie.org (mirror2.csie.ntu.edu.tw [140.112.30.76])\n\tby lists.denx.de (Postfix) with ESMTPS id 29E1FC21F37\n\tfor <u-boot@lists.denx.de>; Fri, 22 Sep 2017 07:26:47 +0000 (UTC)", "by wens.csie.org (Postfix, from userid 1000)\n\tid D5D41600AF; Fri, 22 Sep 2017 15:26:36 +0800 (CST)" ], "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=none autolearn=unavailable\n\tautolearn_force=no version=3.4.0", "From": "Chen-Yu Tsai <wens@csie.org>", "To": "u-boot@lists.denx.de", "Date": "Fri, 22 Sep 2017 15:26:35 +0800", "Message-Id": "<20170922072635.32105-10-wens@csie.org>", "X-Mailer": "git-send-email 2.14.1", "In-Reply-To": "<20170922072635.32105-1-wens@csie.org>", "References": "<20170922072635.32105-1-wens@csie.org>", "Cc": "Joe Hershberger <joe.hershberger@ni.com>, Jagan Teki <jagan@openedev.com>,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>", "Subject": "[U-Boot] [PATCH 9/9] sunxi: Enable EMAC on the Bananapi M3", "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": "The Bananapi M3 has an RTL8211E PHY connected to the EMAC using\nRGMII. The PHY is powered by DCDC1 through SW @ 3.3V.\n\nThis patch adds a U-boot specific dtsi file for the board adding\nan enabled EMAC node, and enables the EMAC driver in the defconfig.\nThe binding used here is the old revision currently supported in\nU-boot. There is no stable binding nor support in upstream Linux\nat this time.\n\nSigned-off-by: Chen-Yu Tsai <wens@csie.org>\n---\n arch/arm/dts/sun8i-a83t-bananapi-m3-u-boot.dtsi | 41 +++++++++++++++++++++++++\n configs/Sinovoip_BPI_M3_defconfig | 1 +\n 2 files changed, 42 insertions(+)\n create mode 100644 arch/arm/dts/sun8i-a83t-bananapi-m3-u-boot.dtsi", "diff": "diff --git a/arch/arm/dts/sun8i-a83t-bananapi-m3-u-boot.dtsi b/arch/arm/dts/sun8i-a83t-bananapi-m3-u-boot.dtsi\nnew file mode 100644\nindex 000000000000..9c7977e67b92\n--- /dev/null\n+++ b/arch/arm/dts/sun8i-a83t-bananapi-m3-u-boot.dtsi\n@@ -0,0 +1,41 @@\n+#include \"sunxi-u-boot.dtsi\"\n+\n+/ {\n+\taliases {\n+\t\tethernet0 = &emac;\n+\t};\n+\n+\tsoc {\n+\t\temac: ethernet@01c30000 {\n+\t\t\tcompatible = \"allwinner,sun8i-a83t-emac\";\n+\t\t\treg = <0x01c30000 0x2000>, <0x01c00030 0x4>;\n+\t\t\treg-names = \"emac\", \"syscon\";\n+\t\t\tinterrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <0>;\n+\t\t\tpinctrl-names = \"default\";\n+\t\t\tpinctrl-0 = <&rgmii_pins>;\n+\t\t\tphy-mode = \"rgmii\";\n+\t\t\tphy = <&phy1>;\n+\t\t\tallwinner,rx-delay-ps = <700>;\n+\t\t\tallwinner,tx-delay-ps = <700>;\n+\t\t\tstatus = \"okay\";\n+\n+\t\t\tphy1: ethernet-phy@1 {\n+\t\t\t\treg = <1>;\n+\t\t\t};\n+\t\t};\n+\t};\n+};\n+\n+&pio {\n+\trgmii_pins: rgmii_pins {\n+\t\tallwinner,pins = \"PD8\", \"PD9\", \"PD10\", \"PD11\",\n+\t\t\t\t \"PD12\", \"PD13\", \"PD15\",\n+\t\t\t\t \"PD16\", \"PD17\", \"PD18\", \"PD19\",\n+\t\t\t\t \"PD20\", \"PD21\", \"PD22\", \"PD23\";\n+\t\tallwinner,function = \"emac\";\n+\t\tallwinner,drive = <3>;\n+\t\tallwinner,pull = <0>;\n+\t};\n+};\ndiff --git a/configs/Sinovoip_BPI_M3_defconfig b/configs/Sinovoip_BPI_M3_defconfig\nindex e48983fc3310..efdf3c7396fd 100644\n--- a/configs/Sinovoip_BPI_M3_defconfig\n+++ b/configs/Sinovoip_BPI_M3_defconfig\n@@ -23,6 +23,7 @@ CONFIG_SPL=y\n # CONFIG_SPL_DOS_PARTITION is not set\n # CONFIG_SPL_ISO_PARTITION is not set\n # CONFIG_SPL_EFI_PARTITION is not set\n+CONFIG_SUN8I_EMAC=y\n CONFIG_AXP_DCDC5_VOLT=1200\n CONFIG_AXP_DLDO3_VOLT=2500\n CONFIG_AXP_SW_ON=y\n", "prefixes": [ "U-Boot", "9/9" ] }