Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/806140/?format=api
{ "id": 806140, "url": "http://patchwork.ozlabs.org/api/1.2/patches/806140/?format=api", "web_url": "http://patchwork.ozlabs.org/project/lede/patch/20170826195401.11224-2-mr.zoltan.gyarmati@gmail.com/", "project": { "id": 54, "url": "http://patchwork.ozlabs.org/api/1.2/projects/54/?format=api", "name": "LEDE development", "link_name": "lede", "list_id": "lede-dev.lists.infradead.org", "list_email": "lede-dev@lists.infradead.org", "web_url": "http://lede-project.org/", "scm_url": "", "webscm_url": "http://git.lede-project.org/", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170826195401.11224-2-mr.zoltan.gyarmati@gmail.com>", "list_archive_url": null, "date": "2017-08-26T19:53:58", "name": "[LEDE-DEV,1/4] ramips/RT5350F-OLINUXINO(-EVB) dts: introduce RT5350F-OLINUXINO.dtsi", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "544ad04c5ada7e798c763833c150014905567836", "submitter": { "id": 18211, "url": "http://patchwork.ozlabs.org/api/1.2/people/18211/?format=api", "name": "Zoltán Gyarmati", "email": "mr.zoltan.gyarmati@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/lede/patch/20170826195401.11224-2-mr.zoltan.gyarmati@gmail.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/806140/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/806140/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"J5MaiSKF\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"GJvbLX2B\"; dkim-atps=neutral" ], "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\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 3xfpfX4c2rz9s8w\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 27 Aug 2017 05:55:16 +1000 (AEST)", "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dlhAg-0005PU-7V; Sat, 26 Aug 2017 19:55:06 +0000", "from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dlhAE-0004FG-VB\n\tfor lede-dev@lists.infradead.org; Sat, 26 Aug 2017 19:54:48 +0000", "by mail-wr0-x242.google.com with SMTP id p14so1785550wrg.4\n\tfor <lede-dev@lists.infradead.org>;\n\tSat, 26 Aug 2017 12:54:18 -0700 (PDT)", "from zgyarmati-w530.localdomain (x4e35e813.dyn.telefonica.de.\n\t[78.53.232.19]) by smtp.gmail.com with ESMTPSA id\n\tw73sm3050663wmw.20.2017.08.26.12.54.15\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSat, 26 Aug 2017 12:54:16 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:References:\n\tIn-Reply-To:Message-Id:Date:To:From:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=RaALgK7WVyt6Ze1crbv3IEEaOEVvGFS9kC4F5Wb2mb8=;\n\tb=J5MaiSKF6GG6T8\n\tRKJsBORKQoQct9JH4e1hgYfyebASUxBLFfsIE/MRdJRngd79WBukinly3/Pzq5VC15oZ/r5VyALtr\n\t2CtTmPBUUUtRzDAwqeSEdIjkKuSQBSGVkEnqe9s42Wyf1inq0E8/fYBxc97Ga2ai7jbq8gGOyx3CU\n\tvivqw0RWH2f+9pjnjVjhAbvqpdR0moUCUwUPeiMRVEp/HlJGVZp3QSKTI94Jty7OiwpA3zxs6BFo5\n\tPd1JcDEzA3w8km6nFW1hy//TqniT7UsoSE0EcsnEWQKLhNMyurjwY3vsGrhyEsDBfM8SajS+AhbNt\n\t8blE+KjS2Lbh4O6WFhPw==;", "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=zPHXYonFsQai1/R+g+mUidjMYMPb+3qGGLYsWSX+QFU=;\n\tb=GJvbLX2B7Z32ErBHuFnUeQzbZxmD9WFUDSNUlPlHutnq5er/OMj4XVqVLWTqu3L5Ao\n\tZpG9d4KsY4b8zXmAxfholYk6N+praRtVYtpiF2nQhzgkF0hjHCJIf9JGShkQfqmLF4/g\n\tBephA2R2vJ9yOMZ1ecbdIf410AgfzEVxCIYpYWdxCRrTcO4AgISMP3elWzhLbnaFMqzt\n\tk+fdbLMjYA/vLNZYEh3dGYLY/gZ0SbFIAZTaY5PfBw9pYvHwfoxZ+Wmgv/mh8bfZpR4P\n\ttItay3uTj/DHBiaKnZ+2Kb4nqQ3NydZ48JZ5vNN7KOny7hw7OErVwmUZJBNVsuFSKdKU\n\tZVEw==" ], "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=zPHXYonFsQai1/R+g+mUidjMYMPb+3qGGLYsWSX+QFU=;\n\tb=AYLNy6Nrfb72vKQQmNFfd+VFhcLexnrBKSTGaE71MYNbOlDHYTcAyeKkoHa1wzDoym\n\t/+uGjrgi3l2YbUKQTYWO2gt9heFduPu80v5tkjvo+E1hlKcH53Bmi6jPSpy3GMH3e1hR\n\tbP9/6IXEphgxU7iaF5aRO4aSD6Hrb+kfJ4BVrxvRc+mj8gVC96ytxwZ6+hPiP8Wc1ata\n\ttDy3HRJuEEGa9EtbkLqte1FJW1kqi/CxVuF4C71J9TMvuqamPw2Kf5lad8UWxKDVrb/S\n\tbj20TfNPtrY1ousMygoxZO+4Oa3NipNf4B/Z4fbn6wZ3zKD4rcN4aex+FnlrsDNi0PFB\n\tptgg==", "X-Gm-Message-State": "AHYfb5iUHap0i8WLfjAo168Y7XtyTM46L3dnONjefHIdt1XINwNYmXl6\n\t3/2B7my/vST50zFa", "X-Received": "by 10.223.177.211 with SMTP id r19mr1782365wra.96.1503777257067; \n\tSat, 26 Aug 2017 12:54:17 -0700 (PDT)", "From": "Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>", "To": "lede-dev@lists.infradead.org", "Date": "Sat, 26 Aug 2017 21:53:58 +0200", "Message-Id": "<20170826195401.11224-2-mr.zoltan.gyarmati@gmail.com>", "X-Mailer": "git-send-email 2.14.1", "In-Reply-To": "<20170826195401.11224-1-mr.zoltan.gyarmati@gmail.com>", "References": "<20170826195401.11224-1-mr.zoltan.gyarmati@gmail.com>", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20170826_125439_888351_46D22897 ", "X-CRM114-Status": "GOOD ( 12.00 )", "X-Spam-Score": "-2.0 (--)", "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details: (-2.0 points)\n\tpts rule name description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2a00:1450:400c:c0c:0:0:0:242 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS SPF: sender matches SPF record\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (mr.zoltan.gyarmati[at]gmail.com)\n\t-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain", "Subject": "[LEDE-DEV] [PATCH 1/4] ramips/RT5350F-OLINUXINO(-EVB) dts:\n\tintroduce RT5350F-OLINUXINO.dtsi", "X-BeenThere": "lede-dev@lists.infradead.org", "X-Mailman-Version": "2.1.21", "Precedence": "list", "List-Id": "<lede-dev.lists.infradead.org>", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/lede-dev/>", "List-Post": "<mailto:lede-dev@lists.infradead.org>", "List-Help": "<mailto:lede-dev-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=subscribe>", "Cc": "Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "\"Lede-dev\" <lede-dev-bounces@lists.infradead.org>", "Errors-To": "lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org" }, "content": "The RT5350F-OLINUXINO(-EVB).dts files' content are nearly the same, so to avoid\ncode duplication this patch creates RT5350F-OLINUXINO.dtsi file which\ncovers the base board's features. The corresponding RT5350F-OLINUXINO.dts\njust includes the new .dtsi and the RT5350F-OLINUXINO-EVB.dts adds the EVB\nspecific GPIO config.\n\nSigned-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>\n---\n target/linux/ramips/dts/RT5350F-OLINUXINO-EVB.dts | 71 +---------------------\n target/linux/ramips/dts/RT5350F-OLINUXINO.dts | 71 +---------------------\n target/linux/ramips/dts/RT5350F-OLINUXINO.dtsi | 74 +++++++++++++++++++++++\n 3 files changed, 76 insertions(+), 140 deletions(-)\n create mode 100644 target/linux/ramips/dts/RT5350F-OLINUXINO.dtsi", "diff": "diff --git a/target/linux/ramips/dts/RT5350F-OLINUXINO-EVB.dts b/target/linux/ramips/dts/RT5350F-OLINUXINO-EVB.dts\nindex 7811ee20d7..5c7b3c7c42 100644\n--- a/target/linux/ramips/dts/RT5350F-OLINUXINO-EVB.dts\n+++ b/target/linux/ramips/dts/RT5350F-OLINUXINO-EVB.dts\n@@ -1,6 +1,6 @@\n /dts-v1/;\n \n-#include \"rt5350.dtsi\"\n+#include \"RT5350F-OLINUXINO.dtsi\"\n \n #include <dt-bindings/gpio/gpio.h>\n \n@@ -30,72 +30,3 @@\n \t\t};\n \t};\n };\n-\n-&spi0 {\n-\tstatus = \"okay\";\n-\n-\tm25p80@0 {\n-\t\t#address-cells = <1>;\n-\t\t#size-cells = <1>;\n-\t\tcompatible = \"jedec,spi-nor\";\n-\t\treg = <0>;\n-\t\tspi-max-frequency = <10000000>;\n-\n-\t\tpartition@0 {\n-\t\t\tlabel = \"u-boot\";\n-\t\t\treg = <0x0 0x30000>;\n-\t\t\tread-only;\n-\t\t};\n-\n-\t\tpartition@30000 {\n-\t\t\tlabel = \"u-boot-env\";\n-\t\t\treg = <0x30000 0x10000>;\n-\t\t\tread-only;\n-\t\t};\n-\n-\t\tfactory: partition@40000 {\n-\t\t\tlabel = \"factory\";\n-\t\t\treg = <0x40000 0x10000>;\n-\t\t\tread-only;\n-\t\t};\n-\n-\t\tpartition@50000 {\n-\t\t\tlabel = \"firmware\";\n-\t\t\treg = <0x50000 0x7b0000>;\n-\t\t};\n-\t};\n-};\n-\n-&gpio1 {\n-\tstatus = \"okay\";\n-};\n-\n-&pinctrl {\n-\tstate_default: pinctrl0 {\n-\t\tgpio {\n-\t\t\tralink,group = \"jtag\", \"rgmii\", \"mdio\", \"uartf\";\n-\t\t\tralink,function = \"gpio\";\n-\t\t};\n-\t};\n-};\n-\n-ðernet {\n-\tmtd-mac-address = <&factory 0x4>;\n-};\n-\n-&esw {\n-\tmediatek,portmap = <0x2f>;\n-\tmediatek,led_polarity = <0x17>;\n-};\n-\n-&wmac {\n-\tralink,mtd-eeprom = <&factory 0>;\n-};\n-\n-&ehci {\n-\tstatus = \"okay\";\n-};\n-\n-&ohci {\n-\tstatus = \"okay\";\n-};\ndiff --git a/target/linux/ramips/dts/RT5350F-OLINUXINO.dts b/target/linux/ramips/dts/RT5350F-OLINUXINO.dts\nindex 6ee3daeaa1..2e0dcb1558 100644\n--- a/target/linux/ramips/dts/RT5350F-OLINUXINO.dts\n+++ b/target/linux/ramips/dts/RT5350F-OLINUXINO.dts\n@@ -1,77 +1,8 @@\n /dts-v1/;\n \n-#include \"rt5350.dtsi\"\n+#include \"RT5350F-OLINUXINO.dtsi\"\n \n / {\n \tcompatible = \"olimex,rt5350f-olinuxino\", \"ralink,rt5350-soc\";\n \tmodel = \"Olimex RT5350F-OLinuXino\";\n };\n-\n-&spi0 {\n-\tstatus = \"okay\";\n-\n-\tm25p80@0 {\n-\t\t#address-cells = <1>;\n-\t\t#size-cells = <1>;\n-\t\tcompatible = \"jedec,spi-nor\";\n-\t\treg = <0>;\n-\t\tspi-max-frequency = <10000000>;\n-\n-\t\tpartition@0 {\n-\t\t\tlabel = \"u-boot\";\n-\t\t\treg = <0x0 0x30000>;\n-\t\t\tread-only;\n-\t\t};\n-\n-\t\tpartition@30000 {\n-\t\t\tlabel = \"u-boot-env\";\n-\t\t\treg = <0x30000 0x10000>;\n-\t\t\tread-only;\n-\t\t};\n-\n-\t\tfactory: partition@40000 {\n-\t\t\tlabel = \"factory\";\n-\t\t\treg = <0x40000 0x10000>;\n-\t\t\tread-only;\n-\t\t};\n-\n-\t\tpartition@50000 {\n-\t\t\tlabel = \"firmware\";\n-\t\t\treg = <0x50000 0x7b0000>;\n-\t\t};\n-\t};\n-};\n-\n-&gpio1 {\n-\tstatus = \"okay\";\n-};\n-\n-&pinctrl {\n-\tstate_default: pinctrl0 {\n-\t\tgpio {\n-\t\t\tralink,group = \"jtag\", \"rgmii\", \"mdio\", \"uartf\";\n-\t\t\tralink,function = \"gpio\";\n-\t\t};\n-\t};\n-};\n-\n-ðernet {\n-\tmtd-mac-address = <&factory 0x4>;\n-};\n-\n-&esw {\n-\tmediatek,portmap = <0x2f>;\n-\tmediatek,led_polarity = <0x17>;\n-};\n-\n-&wmac {\n-\tralink,mtd-eeprom = <&factory 0>;\n-};\n-\n-&ehci {\n-\tstatus = \"okay\";\n-};\n-\n-&ohci {\n-\tstatus = \"okay\";\n-};\ndiff --git a/target/linux/ramips/dts/RT5350F-OLINUXINO.dtsi b/target/linux/ramips/dts/RT5350F-OLINUXINO.dtsi\nnew file mode 100644\nindex 0000000000..f5ccccbf84\n--- /dev/null\n+++ b/target/linux/ramips/dts/RT5350F-OLINUXINO.dtsi\n@@ -0,0 +1,74 @@\n+#include \"rt5350.dtsi\"\n+\n+/ {\n+\tcompatible = \"olimex,rt5350f-olinuxino\", \"ralink,rt5350-soc\";\n+};\n+\n+&spi0 {\n+\tstatus = \"okay\";\n+\n+\tm25p80@0 {\n+\t\t#address-cells = <1>;\n+\t\t#size-cells = <1>;\n+\t\tcompatible = \"jedec,spi-nor\";\n+\t\treg = <0>;\n+\t\tspi-max-frequency = <10000000>;\n+\n+\t\tpartition@0 {\n+\t\t\tlabel = \"u-boot\";\n+\t\t\treg = <0x0 0x30000>;\n+\t\t\tread-only;\n+\t\t};\n+\n+\t\tpartition@30000 {\n+\t\t\tlabel = \"u-boot-env\";\n+\t\t\treg = <0x30000 0x10000>;\n+\t\t\tread-only;\n+\t\t};\n+\n+\t\tfactory: partition@40000 {\n+\t\t\tlabel = \"factory\";\n+\t\t\treg = <0x40000 0x10000>;\n+\t\t\tread-only;\n+\t\t};\n+\n+\t\tpartition@50000 {\n+\t\t\tlabel = \"firmware\";\n+\t\t\treg = <0x50000 0x7b0000>;\n+\t\t};\n+\t};\n+};\n+\n+&gpio1 {\n+\tstatus = \"okay\";\n+};\n+\n+&pinctrl {\n+\tstate_default: pinctrl0 {\n+\t\tgpio {\n+\t\t\tralink,group = \"jtag\", \"rgmii\", \"mdio\", \"uartf\";\n+\t\t\tralink,function = \"gpio\";\n+\t\t};\n+\t};\n+};\n+\n+ðernet {\n+\tmtd-mac-address = <&factory 0x4>;\n+};\n+\n+&esw {\n+\tmediatek,portmap = <0x2f>;\n+\tmediatek,led_polarity = <0x17>;\n+};\n+\n+&wmac {\n+\tralink,mtd-eeprom = <&factory 0>;\n+};\n+\n+&ehci {\n+\tstatus = \"okay\";\n+};\n+\n+&ohci {\n+\tstatus = \"okay\";\n+};\n", "prefixes": [ "LEDE-DEV", "1/4" ] }