[U-Boot] [PATCH v2 0/4] Enable the host controller and hub on PopMetal board

Kever Yang kever.yang at rock-chips.com
Thu Nov 24 08:29:48 CET 2016


The PopMetal board based on rk3288 SoC have 3 USB 2.0 host ports from
a usb 2.0 hub which connect to the rk3288 usb host1.

This patch set enable those ports by enable the rk3288 usb host controller
driver and usb host function like storage and ether, enable the port
power and de-assert the hub reset signal.

Test with U-disk on Popmetal board.
=> usb start
starting USB...
USB0:   Core Release: 3.10a
scanning bus 0 for devices... ** First descriptor is NOT a primary desc
on 0:1 **
3 USB Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
=> usb tree
USB device tree:
  1  Hub (480 Mb/s, 0mA)
  |   U-Boot Root Hub
  |
  +-2  Hub (480 Mb/s, 100mA)
    |   USB 2.0 Hub
    |
    +-3  Mass Storage (480 Mb/s, 300mA)
         Kingston DataTraveler G2 001D92AD7612B91113680066


Changes in v2:
- move the vbus power enable into dwc2 driver

Kever Yang (4):
  usb: dwc2: add support for external vbus supply
  board: popmetal: de-assert the host rst pin in board init
  config: popmetal: enable the USB host controller and function
  dts: popmetal: add usb host power supply node

 arch/arm/dts/rk3288-popmetal.dtsi                 | 23 ++++++++++++++++++
 board/chipspark/popmetal_rk3288/popmetal-rk3288.c | 17 +++++++++++++
 configs/popmetal-rk3288_defconfig                 |  3 +++
 drivers/usb/host/dwc2.c                           | 29 +++++++++++++++++++++++
 include/configs/rk3288_common.h                   |  7 ++++++
 5 files changed, 79 insertions(+)

-- 
1.9.1



More information about the U-Boot mailing list