[PATCH linux dev-5.4 0/2] aspeed-g6: enable usb support

rentao.bupt at gmail.com rentao.bupt at gmail.com
Fri Jan 17 10:25:23 AEDT 2020


From: Tao Ren <rentao.bupt at gmail.com>

The patch series aims at enabling USB Host and Gadget support on AST2600
platforms.

Patch #1 enables AST2600 support in aspeed-vhub gadget driver, and patch
#2 add USB function pins and devices in aspeed-g6 dtsi files.

The patch series has been sanity tested on AST2600-A0 eval board by:
  a) setting USB port A as vhub and creating 7 gadget devices: all the
     7 devices can be enumerated from another Linux USB Host.
  b) setting USB port B as EHCI and connecting a USB flash drive: the
     USB flash drive can be enumerated successfully.


Tao Ren (2):
  usb: gadget: aspeed: add ast2600 vhub support
  ARM: dts: aspeed-g6: add usb functions

 arch/arm/boot/dts/aspeed-g6-pinctrl.dtsi   | 25 +++++++++++++
 arch/arm/boot/dts/aspeed-g6.dtsi           | 43 ++++++++++++++++++++++
 drivers/usb/gadget/udc/aspeed-vhub/Kconfig |  4 +-
 drivers/usb/gadget/udc/aspeed-vhub/core.c  | 25 +++++--------
 drivers/usb/gadget/udc/aspeed-vhub/vhub.h  | 32 ++++++++++++----
 5 files changed, 103 insertions(+), 26 deletions(-)

-- 
2.17.1



More information about the openbmc mailing list