[U-Boot] [PATCH v3 0/7] rk3399: enable host controllers
Kever Yang
kever.yang at rock-chips.com
Wed Aug 24 06:02:16 CEST 2016
rk3399 evb has two typec port(dwc3 controller) which support dual role
device with separate GPIO for vbus control and two USB 2.0 host port
(generic EHCI controller) with one GPIO for vbus control.
This patch set enable all these host controllers and have test with usb
disk and usb ethernet devices on rk3399 evb.
Note: type-C port only support usb 2.0 currently because the PD driver
and USB 3.0 phy driver not enabled.
Changes in v3:
- using fdtdec_get_bool and fdtdec_get_int instead of fdt_get_property
- other update by follow comments from Marek and Simon
- add Acked-by tag from Simon
Changes in v2:
- update for comments from Marek
- use regulator_get_by_platname instead of uclass_get_device_by_name
- add Acked-by Tag from Simon
Kever Yang (3):
dts: rk3399-evb: add regulator-fixed for usb host vbus
board: evb-rk3399: enable usb 2.0 host vbus power on board_init
config: evb-rk3399: enable fixed regulator
MengDongyang (4):
usb: xhci-rockchip: add rockchip dwc3 controller driver
rockchip: select DM_USB for rockchip SoC
config: rk3399: add usb related configs
dts: rk3399: add dwc3_typec node for rk3399
arch/arm/Kconfig | 1 +
arch/arm/dts/rk3399-evb.dts | 14 +++
arch/arm/dts/rk3399.dtsi | 45 +++++++
board/rockchip/evb_rk3399/evb-rk3399.c | 15 ++-
configs/evb-rk3399_defconfig | 9 ++
drivers/usb/host/Makefile | 1 +
drivers/usb/host/xhci-rockchip.c | 211 +++++++++++++++++++++++++++++++++
include/configs/rk3399_common.h | 13 ++
include/linux/usb/dwc3.h | 14 +++
9 files changed, 322 insertions(+), 1 deletion(-)
create mode 100644 drivers/usb/host/xhci-rockchip.c
--
1.9.1
More information about the U-Boot
mailing list