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

Meng Dongyang daniel.meng at rock-chips.com
Thu Jun 8 07:31:15 UTC 2017


Add support of usb host and gadget function for rk3328.

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):
  configs: rk3328: add support for usb and config ehci and ohci driver
  rockchip: dts: rk3328: add ehci and ohci node and enable host0 port
  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
  configs: rk3328: enable dwc2 driver and config for fastboot
  usb: dwc2: force to host mode if not support HNP/SRP
  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       | 43 +++++++++++++++++++++++++++-------
 include/configs/rk3328_common.h        |  9 +++++++
 8 files changed, 209 insertions(+), 17 deletions(-)

-- 
1.9.1




More information about the U-Boot mailing list