[U-Boot] [PATCH v5 00/11] rk3328: add support of usb host and gadget

Meng Dongyang daniel.meng at rock-chips.com
Mon Jun 12 09:19:31 UTC 2017


Add support of usb host and gadget function for rk3328.

Changes in v5:
- Propagate return value and print error message when failed

Changes in v4:
- Splite patch [U-boot,v3,04/10] into two patches
- Define set vbus as empty function if the macros aren't set
- Prepare a mask and set capabilities in GUSBCFG register once

Changes in v3:
- Revert change of macro definition in dwc2 driver
- Support host mode without HNP/SRP capability through DTS

Changes in v2:
- Add commit messages
- Split patch [U-boot,7/8] into two patches
- Use fixed regulator to control vbus instead of gpio

Meng Dongyang (11):
  rockchip: configs: rk3328: support ehci and ohci controller
  rockchip: dts: rk3328: add ehci and ohci node and enable host0 port
  rockchip: configs: rk3328: config xhci controller
  usb: host: xhci-rockchip: use fixed regulator to control vbus
  usb: host: xhci-rockchip: add support for rk3328
  rockchip: dts: rk3328: support and enable xhci
  rockchip: configs: rk3328: enable dwc2 driver and config fastboot
  usb: dwc2: force to host mode if not support HNP/SRP
  rockchip: rk3328: board: add support of dwc2 gadget
  rockchip: dts: rk3328: support and enable dwc2
  rockchip: dts: rk3399: control vbus of typec by fixed regulator

 arch/arm/dts/rk3328-evb.dts            | 36 +++++++++++++++++++++
 arch/arm/dts/rk3328.dtsi               | 35 +++++++++++++++++++++
 arch/arm/dts/rk3399-evb.dts            | 16 ++++++++--
 board/rockchip/evb_rk3328/evb-rk3328.c | 43 +++++++++++++++++++++++--
 configs/evb-rk3328_defconfig           | 25 +++++++++++++++
 drivers/usb/host/dwc2.c                | 19 ++++++++++--
 drivers/usb/host/xhci-rockchip.c       | 57 ++++++++++++++++++++++++++--------
 include/configs/rk3328_common.h        |  9 ++++++
 8 files changed, 219 insertions(+), 21 deletions(-)

-- 
1.9.1




More information about the U-Boot mailing list