[U-Boot] [PULL] u-boot-usb/master

Marek Vasut
2017-09-25T16:41:58Z

The following changes since commit 1f6049e2501b5c35c61435dbc05ba96743202674:

tools/mkimage: Make the path to the dtc binary that mkimage calls
configurable (2017-09-24 07:33:03 -0400)

are available in the git repository at:

git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 0184c6fb34b49f0bb1ffc7b0e35a597de339353e:

usb: dwc2: Align size of invalidating dcache before starting DMA
(2017-09-24 18:45:56 +0200)

----------------------------------------------------------------
Bin Meng (6):
dm: usb: Add a new USB controller operation 'get_max_xfer_size'
dm: usb: xhci: Implement get_max_xfer_size() operation
dm: usb: ehci: Implement get_max_xfer_size() operation
usb: storage: Refactor to use max_xfer_blk from struct us_data
dm: usb: storage: Fix broken read/write when both EHCD and xHCD
are enabled
usb: kbd: Set a default polling mechanism for USB keyboard

Eddie Cai (4):
usb: rockchip: add the rockusb gadget
usb: rockchip: add rockusb command
rockchip:usb: add a simple readme for rockusb
rockchip: rk3288: enable rockusb support on rk3288 based device

Marek Vasut (1):
usb: xhci: Set number of event segments and entries to 1

Philipp Tomsich (3):
rockchip: xhci: Convert to livetree
usb: dwc2: convert to livetree
usb: host: ehci-generic: convert to livetree

Seung-Woo Kim (1):
usb: dwc2: Align size of invalidating dcache before starting DMA

arch/arm/include/asm/arch-rockchip/f_rockusb.h | 132 +++++++++++++++++
arch/arm/mach-rockchip/Kconfig | 2 +
cmd/Kconfig | 9 ++
cmd/Makefile | 1 +
cmd/rockusb.c | 74 ++++++++++
common/usb_storage.c | 64 ++++++---
configs/Cyrus_P5020_defconfig | 1 -
configs/Cyrus_P5040_defconfig | 1 -
configs/MPC8610HPCD_defconfig | 1 -
configs/MPC8641HPCN_36BIT_defconfig | 1 -
configs/MPC8641HPCN_defconfig | 1 -
configs/apalis_imx6_defconfig | 1 -
configs/apalis_imx6_nospl_com_defconfig | 1 -
configs/apalis_imx6_nospl_it_defconfig | 1 -
configs/chromebit_mickey_defconfig | 8 ++
configs/chromebook_jerry_defconfig | 8 ++
configs/chromebook_minnie_defconfig | 8 ++
configs/colibri_imx6_defconfig | 1 -
configs/colibri_imx6_nospl_defconfig | 1 -
configs/evb-rk3288_defconfig | 10 ++
configs/fennec-rk3288_defconfig | 6 +
configs/firefly-rk3288_defconfig | 7 +-
configs/miqi-rk3288_defconfig | 6 +
configs/mx6cuboxi_defconfig | 1 -
configs/phycore-rk3288_defconfig | 7 +
configs/popmetal-rk3288_defconfig | 6 +
configs/rock2_defconfig | 9 ++
configs/rpi_2_defconfig | 1 -
configs/rpi_3_32b_defconfig | 1 -
configs/rpi_3_defconfig | 1 -
configs/rpi_defconfig | 1 -
configs/sandbox_defconfig | 1 -
configs/sandbox_flattree_defconfig | 1 -
configs/sandbox_noblk_defconfig | 1 -
configs/sandbox_spl_defconfig | 1 -
configs/seaboard_defconfig | 1 -
configs/tinker-rk3288_defconfig | 6 +
configs/ventana_defconfig | 1 -
doc/README.rockusb | 51 +++++++
drivers/usb/Kconfig | 2 +-
drivers/usb/gadget/Kconfig | 8 ++
drivers/usb/gadget/Makefile | 1 +
drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c | 3 +-
drivers/usb/gadget/f_rockusb.c | 691
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/usb/host/dwc2.c | 2 +-
drivers/usb/host/ehci-generic.c | 2 +-
drivers/usb/host/ehci-hcd.c | 12 ++
drivers/usb/host/usb-uclass.c | 11 ++
drivers/usb/host/xhci-rockchip.c | 4 +-
drivers/usb/host/xhci.c | 15 ++
drivers/usb/host/xhci.h | 4 +-
include/configs/rk3288_common.h | 12 ++
include/usb.h | 22 ++-
53 files changed, 1173 insertions(+), 51 deletions(-)
create mode 100644 arch/arm/include/asm/arch-rockchip/f_rockusb.h
create mode 100644 cmd/rockusb.c
create mode 100644 doc/README.rockusb
create mode 100644 drivers/usb/gadget/f_rockusb.c