[U-Boot] [PATCH v7 0/8] rk3328: add support of usb host and gadget
Meng Dongyang
daniel.meng at rock-chips.com
Fri Jun 23 07:08:26 UTC 2017
Add support of usb host and gadget function for rk3328.
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 | 19 +++++++++++++--
drivers/usb/host/Kconfig | 2 ++
drivers/usb/host/dwc2.c | 16 +++++--------
drivers/usb/host/xhci-rockchip.c | 36 ++++++++++++++---------------
include/configs/rk3328_common.h | 3 +++
9 files changed, 136 insertions(+), 33 deletions(-)
--
1.9.1
More information about the U-Boot
mailing list