Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6383309ybv; Tue, 18 Feb 2020 15:56:27 -0800 (PST) X-Google-Smtp-Source: APXvYqyf79oVOovfmuf2/L7coN4h3TJQEiWCjAHx9DlQdyWI8jqZ02pXDZD7Ahhrp3T4qweSibR8 X-Received: by 2002:a54:4805:: with SMTP id j5mr503451oij.29.1582070187274; Tue, 18 Feb 2020 15:56:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582070187; cv=none; d=google.com; s=arc-20160816; b=cbW//Axkqqq2f4mMVUeD0aLQEl9DQcIWtov1y5dK4Nf8wCkIAi6LcWqCoJEABUSyQu LVXCPAHaxohP/kWaG3qrJWN9EUDbarW/iSy5wnpAlEgOaMh0umkTaxwWWCaFSFKKIe1V r4OTsdxUghnUCPwulsZaftjd75FIINAVVpBI/T/doK3/RpoFFvpNhThy/VAVQFRN7atv 94i2sJuleXFsgPdkggAqKbjr+Vk7t3Wf9lejZwT0p1it3JRo5qSZ3tNOO4F/SopjCbng FkteBn9Hg7WW7Ts/CiysU1IkohMB2vj9DKKSF3nYgJqyV/1WPbd88BuGq7CHa2UTet3n vMpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=RaNnl3+uu7fV0u4Un9uuTw80YtZZSfmJ9Z7lllWiZwI=; b=pmr2RhrZnK3wYX+gu+uvMAiI+IR8ReP/G7Vh4CE0OTetMJsWF3L7zd09dkeASEajUd b41q46g9eEBfTALU21pMbNhSyE2yG7bEOXay+2/ZPc3ULLVXWB2zr5EkrDZp//3Vhyvd iX5W8SLv8P/7VqmjCo0htXB8H+nEdVy5tHWBZtNyVJjDdJiXtHQ1UBZhA7v8NRX0Ot5W RZfygzl5RTioDVHcEKPmVxAJp5WBXHCl8QSiuUvK/NO6CrEK3ScUgFKLUK2HGdZeWMtY D8qtPrDHIH28rzWSOKQwfuEShDOpJ9Kktxb4taiXB18R9IXyNqcSdSYwbndJah8v98V0 8cWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=q3+9YPzs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o4si208129otp.200.2020.02.18.15.56.15; Tue, 18 Feb 2020 15:56:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=q3+9YPzs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727533AbgBRX4J (ORCPT + 99 others); Tue, 18 Feb 2020 18:56:09 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:37904 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726641AbgBRX4J (ORCPT ); Tue, 18 Feb 2020 18:56:09 -0500 Received: by mail-pf1-f193.google.com with SMTP id x185so11498293pfc.5; Tue, 18 Feb 2020 15:56:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=RaNnl3+uu7fV0u4Un9uuTw80YtZZSfmJ9Z7lllWiZwI=; b=q3+9YPzso4OBjcsYS2BGJQuc8RXnF5FAOBKDmsn4C+kUWEPNeBpu34WaqyCW892Rx9 +ikfWY67U+3ZmXajhzgMqKeEuzNDfjI8hlYDQf+9PP/l7gSfgcQWQOdNP3T1TsPtP8+A Zti+38TKv0ZapaDQnVOb/EtYxZh8XbF58UqIb3qEDYAeQzer+jWuPd8ngsgNoBxbltmv 5JMOSDtI+7J9nvpLyQcWwd28aWQWysec9iFlnQ/LHc9YML1AVMtDSdO08srWz0rdBQZG 3YjIBU7P2osVOZBfqQ4Q6/v/xcALtHxkLUy2CDGlY/ADQIctpN6FXmaMhuX98ogMctJK 5I+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=RaNnl3+uu7fV0u4Un9uuTw80YtZZSfmJ9Z7lllWiZwI=; b=PRmT6J2kixoqnNPoKH+5aY0hqqwyNHB5LhksIKAm286w0h6FClaW+Sg26t2+WCfQ47 qCFMzsUpiNA2czVNpPbVlX1IcDX220bDOL/1GVI3MncVqTsXKJ8u536gOpgosuEHj4EF y8UBdQtcpBGZCUPrdtFF55zZif62mCt0nMecx1jtxL1hmn1rA1fVL+WUXVXqB7stPVtR GIknYi4UimM4n06jt3VxKvQzPT5TJQ7wykyDRblY7U1NRKFRILTTJRe9baumVIQMFWwN rw7hUhwOyMIpO/2VajaYWvdtwgcXXbx9/OdPp4T9HyL8dgM98UXo7vyAZmB/e976BCIB TnBA== X-Gm-Message-State: APjAAAVE1HnUGeJ468t6vxTxAEAipZ1zlYlNC+C8NbFw8T8/JNyPL3px mcQu+u0AQZfegtOg/3CsyQU= X-Received: by 2002:a63:5807:: with SMTP id m7mr23349426pgb.83.1582070168618; Tue, 18 Feb 2020 15:56:08 -0800 (PST) Received: from taoren-ubuntu-R90MNF91.thefacebook.com ([2620:10d:c090:500::5:1718]) by smtp.gmail.com with ESMTPSA id d3sm80558pjx.10.2020.02.18.15.56.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Feb 2020 15:56:08 -0800 (PST) From: rentao.bupt@gmail.com To: Felipe Balbi , Greg Kroah-Hartman , Joel Stanley , Andrew Jeffery , Benjamin Herrenschmidt , Chunfeng Yun , Colin Ian King , Stephen Boyd , Rob Herring , Mark Rutland , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, taoren@fb.com Cc: Tao Ren Subject: [PATCH 0/2] usb: gadget: aspeed: allow to customize vhub device Date: Tue, 18 Feb 2020 15:55:58 -0800 Message-Id: <20200218235600.6763-1-rentao.bupt@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tao Ren This patch series allows people to customize IDs/strings in vhub's device descriptor through device tree properties. Patch #1 overrides IDs and strings in device descriptor if according device tree properties are defined. Patch #2 moves fixup-usb1-device-descriptor logic from get_descriptor handler to "ast_vhub_fixup_dev_desc" function for consistency. The patch series needs to be applied on top of "aspeed-g6: enable usb support" patch set to avoid merge conflicts. Tao Ren (2): usb: gadget: aspeed: allow to customize vhub device IDs/strings usb: gadget: aspeed: fixup usb1 device descriptor at init time drivers/usb/gadget/udc/aspeed-vhub/hub.c | 93 +++++++++++++++++------- 1 file changed, 68 insertions(+), 25 deletions(-) -- 2.17.1