Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1112496/?format=api
{ "id": 1112496, "url": "http://patchwork.ozlabs.org/api/patches/1112496/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/20190608155442.16632-2-yszhou4tech@gmail.com/", "project": { "id": 45, "url": "http://patchwork.ozlabs.org/api/projects/45/?format=api", "name": "OpenWrt development", "link_name": "openwrt", "list_id": "openwrt-devel.lists.openwrt.org", "list_email": "openwrt-devel@lists.openwrt.org", "web_url": "http://openwrt.org/", "scm_url": "git://git.openwrt.org/openwrt.git", "webscm_url": "https://dev.openwrt.org/browser", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20190608155442.16632-2-yszhou4tech@gmail.com>", "list_archive_url": null, "date": "2019-06-08T15:54:42", "name": "[OpenWrt-Devel,2/2] ath79: port HiWiFi HC6361 from ar71xx", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "621c0c57a1ea28b2a14eba4183495cb0e8baaabd", "submitter": { "id": 65295, "url": "http://patchwork.ozlabs.org/api/people/65295/?format=api", "name": "Yousong Zhou", "email": "yszhou4tech@gmail.com" }, "delegate": { "id": 54624, "url": "http://patchwork.ozlabs.org/api/users/54624/?format=api", "username": "yousong", "first_name": "Yousong", "last_name": "Zhou", "email": "yszhou4tech@gmail.com" }, "mbox": "http://patchwork.ozlabs.org/project/openwrt/patch/20190608155442.16632-2-yszhou4tech@gmail.com/mbox/", "series": [ { "id": 112623, "url": "http://patchwork.ozlabs.org/api/series/112623/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openwrt/list/?series=112623", "date": "2019-06-08T15:54:42", "name": null, "version": 1, "mbox": "http://patchwork.ozlabs.org/series/112623/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1112496/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1112496/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=lists.openwrt.org\n\t(client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org;\n\tenvelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=gmail.com", "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"U7sjMlOS\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"DLNbqgYJ\"; dkim-atps=neutral" ], "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n\t[IPv6:2607:7c80:54:e::133])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\tkey-exchange X25519 server-signature RSA-PSS (4096 bits)\n\tserver-digest SHA256) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 45LkWp0mFCz9sBp\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 9 Jun 2019 01:55:50 +1000 (AEST)", "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux))\n\tid 1hZdgr-0006Ua-Kh; Sat, 08 Jun 2019 15:55:33 +0000", "from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429])\n\tby bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux))\n\tid 1hZdgh-0006M3-R0\n\tfor openwrt-devel@lists.openwrt.org; Sat, 08 Jun 2019 15:55:25 +0000", "by mail-pf1-x429.google.com with SMTP id j2so2854037pfe.6\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tSat, 08 Jun 2019 08:55:23 -0700 (PDT)", "from titan.hq.cloud.yunionyun.com\n\t(165.116.92.34.bc.googleusercontent.com. [34.92.116.165])\n\tby smtp.gmail.com with ESMTPSA id\n\td19sm5004249pjs.22.2019.06.08.08.55.21\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSat, 08 Jun 2019 08:55:22 -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:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version: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=jOAG2AabYTMwho9djKgJu8UoXUvrGVrylfMNcipqqmA=;\n\tb=U7sjMlOSmAWPhj\n\t4UPnBVu8ls91x7+lNCHbaveQhvUC9i7xdzse+aPlDFIzmH4+jM0G9ogQqLzuFprsytStq2JiUJ6JF\n\tOpDJQazIHA+7Db4ddYXbD/YAQRteKqYqwERyAG0mrubeu0xdRMQqfnWAfZVvlohlr3ASIDPYnDq5R\n\tULe3dhEBqyuS5PC9o+WoFgB4BBp44EF9SNRPyGYU8Tt4mKDczoLIvzIMlWKTeCaT1FoKiIsE99guG\n\tjGRAmrVZTsXp74+zodwyL9dZ1ywJIVfOKKA5lDtQCht6XQuAq3apvguAYjtujs1dhmH9DD2iAWwMv\n\t+BaiopLtitWcW3qHtK/g==;", "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\t:mime-version:content-transfer-encoding;\n\tbh=Ng4M8KlwQ2ePIzklqM0YE0UdsI3uK7LqiYIzYW1MwTk=;\n\tb=DLNbqgYJOdQnR7JNNJ8h7zuRaRGm0YkunuTjwUplV0GjqW/qXr0yPyMv0WNlAn2MyX\n\tfU+34cGzuAym5rwBTdRbUfLmYWDKkfbjDWbwcb+QBLXibeUa8y41E05Dl5PoRbauXf6f\n\tsydlcYmth43kBO+LjdBKoHP/OA0Jg7zX8ZF7lpDLWixvOScn5Uy7ETTO2/G3dfs1Q0in\n\t6bhiVY2mHiImG937WmEeMR6T8+a9FZxbEATC04asqdZTRF5s4uPYn8FZSYAC/KVaP1Mw\n\tAbR24OD102lbKeOwYRUu/i+/5gbqLlHqr/Jt1guk/ygfPCkVncgWFnqAyJ1jLuQwgsiW\n\tfCMw==" ], "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:mime-version:content-transfer-encoding;\n\tbh=Ng4M8KlwQ2ePIzklqM0YE0UdsI3uK7LqiYIzYW1MwTk=;\n\tb=Ri7SKQ7zOaeGjhV9SX6fqvy7R4dN1jzTRCz7BkKDnUwPhfW1uplvT/ihL/lDm7P9X9\n\t/RhZHayX/oXp5gI40yNOTZN2L/DbdWCMzplcejS7R1SU1tZgUgmLZlEplmfPmHSBGRA6\n\t9aUYkw7UvpqKFkj0op+6x67LcCcdTWz/UEwroz4t4GBsnscIYB+aAm8iQBkR3tTOj3Xn\n\tA5xcKXVLcvtvUOJrOGJ2uhXIGy/zsI0kd88CfkUGrh1VALfXHHYfdamL2jlgZQQa5grW\n\te/t3Wh4LHfdf+Np4kgA0KNEG+R5O+nj+7+2iYfbNAvp4bVlapKbolwqus7YxR2gA3Jzz\n\tSaIg==", "X-Gm-Message-State": "APjAAAVXyaOdhbU7G2eUpYvpZOrK6odhTMSc+OwzUuYkcxwLL6Yu4iTq\n\tYQySvVFZFPaX6UzmzuGADKA=", "X-Google-Smtp-Source": "APXvYqz2OsbN8I72yQMzcl9EN1D8SVzHd2CsqDATGdmEqK/CQFlJPrs+Gsyub2Zfr23YBMD5fPkIZw==", "X-Received": "by 2002:a65:448a:: with SMTP id l10mr7907761pgq.53.1560009323020;\n\tSat, 08 Jun 2019 08:55:23 -0700 (PDT)", "From": "Yousong Zhou <yszhou4tech@gmail.com>", "To": "ynezz@true.cz", "Date": "Sat, 8 Jun 2019 15:54:42 +0000", "Message-Id": "<20190608155442.16632-2-yszhou4tech@gmail.com>", "In-Reply-To": "<20190608155442.16632-1-yszhou4tech@gmail.com>", "References": "<20190608155442.16632-1-yszhou4tech@gmail.com>", "MIME-Version": "1.0", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20190608_085523_871726_B9972BB3 ", "X-CRM114-Status": "GOOD ( 10.91 )", "X-Spam-Score": "-0.2 (/)", "X-Spam-Report": "SpamAssassin version 3.4.2 on bombadil.infradead.org summary:\n\tContent analysis details: (-0.2 points)\n\tpts rule name description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,\n\tno trust [2607:f8b0:4864:20:0:0:0:429 listed in]\n\t[list.dnswl.org]\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (yszhou4tech[at]gmail.com)\n\t0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record\n\t-0.0 SPF_PASS SPF: sender matches SPF record\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain\n\t0.1 DKIM_SIGNED Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from\n\tenvelope-from domain\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature", "Subject": "[OpenWrt-Devel] [PATCH 2/2] ath79: port HiWiFi HC6361 from ar71xx", "X-BeenThere": "openwrt-devel@lists.openwrt.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "<openwrt-devel.lists.openwrt.org>", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/openwrt-devel>, \n\t<mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/openwrt-devel/>", "List-Post": "<mailto:openwrt-devel@lists.openwrt.org>", "List-Help": "<mailto:openwrt-devel-request@lists.openwrt.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/openwrt-devel>, \n\t<mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe>", "Cc": "Yousong Zhou <yszhou4tech@gmail.com>, openwrt-devel@lists.openwrt.org", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "\"openwrt-devel\" <openwrt-devel-bounces@lists.openwrt.org>", "Errors-To": "openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org" }, "content": "LED name for WLAN changed from hiwifi:blue:wlan2p4 to hiwifi:blue:wlan,\nto align with other boards\n\nSigned-off-by: Yousong Zhou <yszhou4tech@gmail.com>\n---\n .../ath79/base-files/etc/board.d/01_leds | 4 +\n .../linux/ath79/dts/ar9331_hiwifi_hc6361.dts | 141 ++++++++++++++++++\n target/linux/ath79/image/generic.mk | 12 ++\n 3 files changed, 157 insertions(+)\n create mode 100644 target/linux/ath79/dts/ar9331_hiwifi_hc6361.dts", "diff": "diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds\nindex 626842b072..fdca6e9457 100755\n--- a/target/linux/ath79/base-files/etc/board.d/01_leds\n+++ b/target/linux/ath79/base-files/etc/board.d/01_leds\n@@ -88,6 +88,10 @@ glinet,gl-ar300m-lite)\n glinet,gl-x750)\n \tucidef_set_led_netdev \"wan\" \"WAN\" \"$boardname:green:wan\" \"eth1\"\n \t;;\n+hiwifi,hc6361)\n+\tucidef_set_led_netdev \"inet\" \"INET\" \"hiwifi:blue:internet\" \"eth1\"\n+\tucidef_set_led_wlan \"wlan\" \"WLAN\" \"hiwifi:blue:wlan\" \"phy0tpt\"\n+\t;;\n netgear,wnr612-v2|\\\n on,n150r)\n \tucidef_set_led_netdev \"wan\" \"WAN\" \"netgear:green:wan\" \"eth0\"\ndiff --git a/target/linux/ath79/dts/ar9331_hiwifi_hc6361.dts b/target/linux/ath79/dts/ar9331_hiwifi_hc6361.dts\nnew file mode 100644\nindex 0000000000..227dafe741\n--- /dev/null\n+++ b/target/linux/ath79/dts/ar9331_hiwifi_hc6361.dts\n@@ -0,0 +1,141 @@\n+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT\n+/dts-v1/;\n+\n+#include <dt-bindings/gpio/gpio.h>\n+#include <dt-bindings/input/input.h>\n+\n+#include \"ar9331.dtsi\"\n+\n+/ {\n+\tmodel = \"HiWiFi HC6361\";\n+\tcompatible = \"hiwifi,hc6361\", \"qca,ar9331\";\n+\n+\taliases {\n+\t\tserial0 = &uart;\n+\t\tled-boot = &system;\n+\t\tled-failsafe = &system;\n+\t\tled-running = &system;\n+\t\tled-upgrade = &system;\n+\t};\n+\n+\tkeys {\n+\t\tcompatible = \"gpio-keys-polled\";\n+\t\tpoll-interval = <20>;\n+\n+\t\treset {\n+\t\t\tlabel = \"reset\";\n+\t\t\tlinux,code = <KEY_RESTART>;\n+\t\t\tgpios = <&gpio 11 GPIO_ACTIVE_LOW>;\n+\t\t\tdebounce-interval = <60>;\n+\t\t};\n+\t};\n+\n+\tleds {\n+\t\tcompatible = \"gpio-leds\";\n+\n+\t\twlan: wlan {\n+\t\t\tlabel = \"hiwifi:blue:wlan\";\n+\t\t\tgpios = <&gpio 0 GPIO_ACTIVE_LOW>;\n+\t\t};\n+\t\tsystem: system {\n+\t\t\tlabel = \"hiwifi:blue:system\";\n+\t\t\tgpios = <&gpio 1 GPIO_ACTIVE_LOW>;\n+\t\t\tdefault-state = \"on\";\n+\t\t};\n+\t\tinternet: internet {\n+\t\t\tlabel = \"hiwifi:blue:internet\";\n+\t\t\tgpios = <&gpio 27 GPIO_ACTIVE_LOW>;\n+\t\t};\n+\t};\n+\n+\treg_usb_vbus: regulator {\n+\t\tcompatible = \"regulator-fixed\";\n+\t\tregulator-name = \"usb_vbus\";\n+\t\tregulator-min-microvolt = <5000000>;\n+\t\tregulator-max-microvolt = <5000000>;\n+\t\tenable-active-high;\n+\t\tgpio = <&gpio 20 GPIO_ACTIVE_HIGH>;\n+\t};\n+};\n+\n+&spi {\n+\tstatus = \"okay\";\n+\tnum-cs = <1>;\n+\n+\tflash@0 {\n+\t\tcompatible = \"jedec,spi-nor\";\n+\t\treg = <0>;\n+\t\tspi-max-frequency = <25000000>;\n+\n+\t\tpartitions {\n+\t\t\tcompatible = \"fixed-partitions\";\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <1>;\n+\n+\t\t\tuboot: partition@0 {\n+\t\t\t\treg = <0x0 0x10000>;\n+\t\t\t\tlabel = \"u-boot\";\n+\t\t\t\tread-only;\n+\t\t\t};\n+\n+\t\t\tbdinfo: partition@10000 {\n+\t\t\t\treg = <0x10000 0x10000>;\n+\t\t\t\tlabel = \"bdinfo\";\n+\t\t\t\tread-only;\n+\t\t\t};\n+\n+\t\t\tfirmware: partition@20000 {\n+\t\t\t\tcompatible = \"denx,uimage\";\n+\t\t\t\treg = <0x20000 0xfc0000>;\n+\t\t\t\tlabel = \"firmware\";\n+\t\t\t};\n+\n+\t\t\tbackup: partition@fe0000 {\n+\t\t\t\treg = <0xfe0000 0x10000>;\n+\t\t\t\tlabel = \"backup\";\n+\t\t\t\tread-only;\n+\t\t\t};\n+\n+\t\t\tart: partition@ff0000 {\n+\t\t\t\treg = <0xff0000 0x10000>;\n+\t\t\t\tlabel = \"art\";\n+\t\t\t\tread-only;\n+\t\t\t};\n+\t\t};\n+\t};\n+};\n+\n+&gpio {\n+\tstatus = \"okay\";\n+};\n+\n+&uart {\n+\tstatus = \"okay\";\n+};\n+\n+ð0 {\n+\tstatus = \"okay\";\n+\tmtd-mac-address-ascii = <&bdinfo 0x18a>;\n+\tmtd-mac-address-increment = <1>;\n+};\n+\n+ð1 {\n+\tstatus = \"okay\";\n+\tmtd-mac-address-ascii = <&bdinfo 0x18a>;\n+};\n+\n+&usb {\n+\tstatus = \"okay\";\n+\tdr_mode = \"host\";\n+\tvbus-supply = <®_usb_vbus>;\n+};\n+\n+&usb_phy {\n+\tstatus = \"okay\";\n+};\n+\n+&wmac {\n+\tstatus = \"okay\";\n+\tmtd-cal-data = <&art 0x1000>;\n+\tmtd-mac-address-ascii = <&bdinfo 0x18a>;\n+};\ndiff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk\nindex d5f67b88a6..d04ada88ab 100644\n--- a/target/linux/ath79/image/generic.mk\n+++ b/target/linux/ath79/image/generic.mk\n@@ -406,6 +406,18 @@ define Device/glinet_gl-x750\n endef\n TARGET_DEVICES += glinet_gl-x750\n \n+define Device/hiwifi_hc6361\n+ ATH_SOC := ar9331\n+ DEVICE_TITLE := HiWiFi HC6361\n+ DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-chipidea2 kmod-usb-storage \\\n+\tkmod-fs-ext4 kmod-nls-iso8859-1 e2fsprogs\n+ BOARDNAME := HiWiFi-HC6361\n+ IMAGE_SIZE := 16128k\n+ # ih_name must start with \"tw150v1\"\n+ UIMAGE_NAME := tw150v1 OpenWrt Linux-$(LINUX_VERSION)\n+endef\n+TARGET_DEVICES += hiwifi_hc6361\n+\n define Device/iodata_etg3-r\n ATH_SOC := ar9342\n DEVICE_TITLE := I-O DATA ETG3-R\n", "prefixes": [ "OpenWrt-Devel", "2/2" ] }