Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/811715/?format=api
{ "id": 811715, "url": "http://patchwork.ozlabs.org/api/patches/811715/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/cc2ba1d793682949b6d802b28135ebab168b5f8f.1504891631.git-series.maxime.ripard@free-electrons.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": "<cc2ba1d793682949b6d802b28135ebab168b5f8f.1504891631.git-series.maxime.ripard@free-electrons.com>", "list_archive_url": null, "date": "2017-09-08T17:34:18", "name": "[U-Boot,07/13] sunxi: provide default USB gadget setup", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "4b8999beaa2e20f63eb959b5966b315942b4ef8e", "submitter": { "id": 12916, "url": "http://patchwork.ozlabs.org/api/people/12916/?format=api", "name": "Maxime Ripard", "email": "maxime.ripard@free-electrons.com" }, "delegate": { "id": 68827, "url": "http://patchwork.ozlabs.org/api/users/68827/?format=api", "username": "lukma", "first_name": "Lukasz", "last_name": "Majewski", "email": "lukma@denx.de" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/cc2ba1d793682949b6d802b28135ebab168b5f8f.1504891631.git-series.maxime.ripard@free-electrons.com/mbox/", "series": [ { "id": 2256, "url": "http://patchwork.ozlabs.org/api/series/2256/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=2256", "date": "2017-09-08T17:34:11", "name": "sunxi: convert musb to the device model and enable usb_ether", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/2256/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/811715/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/811715/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 3xpl4B0mHRz9rxm\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 9 Sep 2017 03:41:30 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid B2BCCC21F21; Fri, 8 Sep 2017 17:40:48 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 32E38C21F3C;\n\tFri, 8 Sep 2017 17:34:44 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid D62CFC21DC1; Fri, 8 Sep 2017 17:34:34 +0000 (UTC)", "from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54])\n\tby lists.denx.de (Postfix) with ESMTP id EFE3FC21C71\n\tfor <u-boot@lists.denx.de>; Fri, 8 Sep 2017 17:34:33 +0000 (UTC)", "by mail.free-electrons.com (Postfix, from userid 110)\n\tid 7484A21D33; Fri, 8 Sep 2017 19:34:32 +0200 (CEST)", "from localhost (LFbn-TOU-1-209-191.w86-201.abo.wanadoo.fr\n\t[86.201.56.191])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id 47EE720882;\n\tFri, 8 Sep 2017 19:34:32 +0200 (CEST)" ], "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": "Maxime Ripard <maxime.ripard@free-electrons.com>", "To": "Tom Rini <trini@konsulko.com>,\n\tJagan Teki <jagan@openedev.com>", "Date": "Fri, 8 Sep 2017 19:34:18 +0200", "Message-Id": "<cc2ba1d793682949b6d802b28135ebab168b5f8f.1504891631.git-series.maxime.ripard@free-electrons.com>", "X-Mailer": "git-send-email 2.13.5", "In-Reply-To": [ "<cover.3b9463250a55d25afdf3b221b80a90b4e7811c1e.1504891631.git-series.maxime.ripard@free-electrons.com>", "<cover.3b9463250a55d25afdf3b221b80a90b4e7811c1e.1504891631.git-series.maxime.ripard@free-electrons.com>" ], "References": [ "<cover.3b9463250a55d25afdf3b221b80a90b4e7811c1e.1504891631.git-series.maxime.ripard@free-electrons.com>", "<cover.3b9463250a55d25afdf3b221b80a90b4e7811c1e.1504891631.git-series.maxime.ripard@free-electrons.com>" ], "Cc": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>, marex@denx.de,\n\tu-boot@lists.denx.de, Maxime Ripard <maxime.ripard@free-electrons.com>", "Subject": "[U-Boot] [PATCH 07/13] sunxi: provide default USB gadget setup", "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": "All the Allwinner boards use the same manufacturer, VID and PID for the\ngadgets. Make them the defaults to remove some boilerplate from our\ndefconfigs.\n\nSigned-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>\n---\n configs/A13-OLinuXino_defconfig | 3 ---\n configs/A20-OLinuXino-Lime2-eMMC_defconfig | 3 ---\n configs/A20-OLinuXino-Lime2_defconfig | 3 ---\n configs/CHIP_defconfig | 3 ---\n configs/CHIP_pro_defconfig | 3 ---\n configs/Cubietruck_defconfig | 3 ---\n configs/Nintendo_NES_Classic_Edition_defconfig | 3 ---\n configs/Sinlinx_SinA33_defconfig | 3 ---\n configs/parrot_r16_defconfig | 3 ---\n drivers/usb/gadget/Kconfig | 3 +++\n 10 files changed, 3 insertions(+), 27 deletions(-)", "diff": "diff --git a/configs/A13-OLinuXino_defconfig b/configs/A13-OLinuXino_defconfig\nindex 2574018d8213..ae790164dff7 100644\n--- a/configs/A13-OLinuXino_defconfig\n+++ b/configs/A13-OLinuXino_defconfig\n@@ -32,7 +32,4 @@ CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n CONFIG_USB_GADGET=y\n-CONFIG_USB_GADGET_MANUFACTURER=\"Allwinner Technology\"\n-CONFIG_USB_GADGET_VENDOR_NUM=0x1f3a\n-CONFIG_USB_GADGET_PRODUCT_NUM=0x1010\n CONFIG_USB_GADGET_DOWNLOAD=y\ndiff --git a/configs/A20-OLinuXino-Lime2-eMMC_defconfig b/configs/A20-OLinuXino-Lime2-eMMC_defconfig\nindex 5663a824e71b..b136af66b71f 100644\n--- a/configs/A20-OLinuXino-Lime2-eMMC_defconfig\n+++ b/configs/A20-OLinuXino-Lime2-eMMC_defconfig\n@@ -34,7 +34,4 @@ CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n CONFIG_USB_GADGET=y\n-CONFIG_USB_GADGET_MANUFACTURER=\"Allwinner Technology\"\n-CONFIG_USB_GADGET_VENDOR_NUM=0x1f3a\n-CONFIG_USB_GADGET_PRODUCT_NUM=0x1010\n CONFIG_USB_GADGET_DOWNLOAD=y\ndiff --git a/configs/A20-OLinuXino-Lime2_defconfig b/configs/A20-OLinuXino-Lime2_defconfig\nindex 63d013293690..ebb435f30956 100644\n--- a/configs/A20-OLinuXino-Lime2_defconfig\n+++ b/configs/A20-OLinuXino-Lime2_defconfig\n@@ -33,7 +33,4 @@ CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n CONFIG_USB_GADGET=y\n-CONFIG_USB_GADGET_MANUFACTURER=\"Allwinner Technology\"\n-CONFIG_USB_GADGET_VENDOR_NUM=0x1f3a\n-CONFIG_USB_GADGET_PRODUCT_NUM=0x1010\n CONFIG_USB_GADGET_DOWNLOAD=y\ndiff --git a/configs/CHIP_defconfig b/configs/CHIP_defconfig\nindex 278039c05573..7d50d0533dcd 100644\n--- a/configs/CHIP_defconfig\n+++ b/configs/CHIP_defconfig\n@@ -23,8 +23,5 @@ CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n CONFIG_USB_GADGET=y\n-CONFIG_USB_GADGET_MANUFACTURER=\"Allwinner Technology\"\n-CONFIG_USB_GADGET_VENDOR_NUM=0x1f3a\n-CONFIG_USB_GADGET_PRODUCT_NUM=0x1010\n CONFIG_USB_GADGET_DOWNLOAD=y\n CONFIG_OF_LIBFDT_OVERLAY=y\ndiff --git a/configs/CHIP_pro_defconfig b/configs/CHIP_pro_defconfig\nindex edbdefc69ddf..76daf477ec87 100644\n--- a/configs/CHIP_pro_defconfig\n+++ b/configs/CHIP_pro_defconfig\n@@ -28,8 +28,5 @@ CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n CONFIG_USB_GADGET=y\n-CONFIG_USB_GADGET_MANUFACTURER=\"Allwinner Technology\"\n-CONFIG_USB_GADGET_VENDOR_NUM=0x1f3a\n-CONFIG_USB_GADGET_PRODUCT_NUM=0x1010\n CONFIG_USB_GADGET_DOWNLOAD=y\n CONFIG_OF_LIBFDT_OVERLAY=y\ndiff --git a/configs/Cubietruck_defconfig b/configs/Cubietruck_defconfig\nindex 2d1753645b0f..1b2989d364f6 100644\n--- a/configs/Cubietruck_defconfig\n+++ b/configs/Cubietruck_defconfig\n@@ -33,7 +33,4 @@ CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n CONFIG_USB_GADGET=y\n-CONFIG_USB_GADGET_MANUFACTURER=\"Allwinner Technology\"\n-CONFIG_USB_GADGET_VENDOR_NUM=0x1f3a\n-CONFIG_USB_GADGET_PRODUCT_NUM=0x1010\n CONFIG_USB_GADGET_DOWNLOAD=y\ndiff --git a/configs/Nintendo_NES_Classic_Edition_defconfig b/configs/Nintendo_NES_Classic_Edition_defconfig\nindex 99f7d30f150d..5986764a14b9 100644\n--- a/configs/Nintendo_NES_Classic_Edition_defconfig\n+++ b/configs/Nintendo_NES_Classic_Edition_defconfig\n@@ -23,7 +23,4 @@ CONFIG_AXP_ELDO2_VOLT=1800\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n CONFIG_USB_GADGET=y\n-CONFIG_USB_GADGET_MANUFACTURER=\"Allwinner Technology\"\n-CONFIG_USB_GADGET_VENDOR_NUM=0x1f3a\n-CONFIG_USB_GADGET_PRODUCT_NUM=0x1010\n CONFIG_USB_GADGET_DOWNLOAD=y\ndiff --git a/configs/Sinlinx_SinA33_defconfig b/configs/Sinlinx_SinA33_defconfig\nindex 8c5fc7587909..9299aedd6019 100644\n--- a/configs/Sinlinx_SinA33_defconfig\n+++ b/configs/Sinlinx_SinA33_defconfig\n@@ -28,7 +28,4 @@ CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n CONFIG_USB_GADGET=y\n-CONFIG_USB_GADGET_MANUFACTURER=\"Allwinner Technology\"\n-CONFIG_USB_GADGET_VENDOR_NUM=0x1f3a\n-CONFIG_USB_GADGET_PRODUCT_NUM=0x1010\n CONFIG_USB_GADGET_DOWNLOAD=y\ndiff --git a/configs/parrot_r16_defconfig b/configs/parrot_r16_defconfig\nindex 4b70fc5687eb..57db9587fe77 100644\n--- a/configs/parrot_r16_defconfig\n+++ b/configs/parrot_r16_defconfig\n@@ -24,7 +24,4 @@ CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n CONFIG_USB_GADGET=y\n-CONFIG_USB_GADGET_MANUFACTURER=\"Allwinner Technology\"\n-CONFIG_USB_GADGET_VENDOR_NUM=0x1f3a\n-CONFIG_USB_GADGET_PRODUCT_NUM=0x1010\n CONFIG_USB_GADGET_DOWNLOAD=y\ndiff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig\nindex e463d1dee0e7..b6aea03f3949 100644\n--- a/drivers/usb/gadget/Kconfig\n+++ b/drivers/usb/gadget/Kconfig\n@@ -38,12 +38,15 @@ if USB_GADGET\n \n config USB_GADGET_MANUFACTURER\n \tstring \"Vendor name of USB device\"\n+\tdefault \"Allwinner Technology\" if ARCH_SUNXI\n \n config USB_GADGET_VENDOR_NUM\n \thex \"Vendor ID of USB device\"\n+\tdefault 0x1f3a if ARCH_SUNXI\n \n config USB_GADGET_PRODUCT_NUM\n \thex \"Product ID of USB device\"\n+\tdefault 0x1010 if ARCH_SUNXI\n \n config USB_GADGET_ATMEL_USBA\n \tbool \"Atmel USBA\"\n", "prefixes": [ "U-Boot", "07/13" ] }