lkml.org 
[lkml]   [2020]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] usb: gadget: aspeed: allow to customize vhub device
Date
From: Tao Ren <rentao.bupt@gmail.com>

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

\
 
 \ /
  Last update: 2020-02-19 00:56    [W:0.061 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site