[U-Boot] [PATCH v8 0/8] rk3328: add support of usb host and gadget
Meng Dongyang
daniel.meng at rock-chips.com
Wed Jun 28 11:22:38 UTC 2017
Add support of usb host and gadget function for rk3328.
Changed in v8:
- Convert CONFIG_USB_DWC2 to a Kconfig entry
Changed in v7:
- Romove unused variable ‘prop’ in dwc2 driver
Changed in v6:
- Rebase on the newest code of master branch
- Make xhci-rockchip driver depend on DM_REGULATOR and DM_USB
- Remove #ifdef DM_RERULATOR and DM_USB in xhci-rockchip driver
- Use dev_read_boot() instead of fdt_getprop() in dwc2 driver
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 (8):
usb: Kconfig: config USB_XHCI_ROCKCHIP depends on DM_REGULATOR and
DM_USB
usb: host: xhci-rockchip: use fixed regulator to control vbus
rockchip: dts: rk3328: add fixed regulator node for xhci
rockchip: configs: rk3328: enable dwc2 driver and config fastboot
usb: dwc2: use dev_read_bool() instead of fdt_getprop()
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 | 25 +++++++++++++++++++-
arch/arm/dts/rk3328.dtsi | 10 ++++++++
arch/arm/dts/rk3399-evb.dts | 16 +++++++++++--
board/rockchip/evb_rk3328/evb-rk3328.c | 42 ++++++++++++++++++++++++++++++++++
configs/evb-rk3328_defconfig | 20 ++++++++++++++--
drivers/usb/host/Kconfig | 12 ++++++++++
drivers/usb/host/dwc2.c | 16 +++++--------
drivers/usb/host/xhci-rockchip.c | 36 ++++++++++++++---------------
8 files changed, 144 insertions(+), 33 deletions(-)
--
1.9.1
More information about the U-Boot
mailing list