public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/4] Enable the host controller and hub on PopMetal board
@ 2016-11-24  7:29 Kever Yang
  2016-11-24  7:29 ` [U-Boot] [PATCH v2 1/4] usb: dwc2: add support for external vbus supply Kever Yang
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Kever Yang @ 2016-11-24  7:29 UTC (permalink / raw)
  To: u-boot


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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-12-03  4:51 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-24  7:29 [U-Boot] [PATCH v2 0/4] Enable the host controller and hub on PopMetal board Kever Yang
2016-11-24  7:29 ` [U-Boot] [PATCH v2 1/4] usb: dwc2: add support for external vbus supply Kever Yang
2016-11-25 16:46   ` Marek Vasut
2016-11-29  8:46     ` Kever Yang
2016-11-30  2:00       ` Marek Vasut
2016-12-03  4:33         ` Simon Glass
2016-11-24  7:29 ` [U-Boot] [PATCH v2 2/4] board: popmetal: de-assert the host rst pin in board init Kever Yang
2016-11-25 19:39   ` Simon Glass
2016-11-29  8:49     ` Kever Yang
2016-11-30  0:34       ` Simon Glass
2016-12-03  4:50         ` Simon Glass
2016-11-24  7:29 ` [U-Boot] [PATCH v2 3/4] config: popmetal: enable the USB host controller and function Kever Yang
2016-12-03  4:51   ` Simon Glass
2016-11-24  7:29 ` [U-Boot] [PATCH v2 4/4] dts: popmetal: add usb host power supply node Kever Yang
2016-11-27 17:02   ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox