From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 23 Sep 2017 15:14:20 +0200 Subject: [U-Boot] [PULL] u-boot-usb/master Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The following changes since commit 91ebf300934461e450f5ef8f386ea9e55d2636c5: Travis-CI: Checkout only v1.4.3 of dtc (2017-09-22 07:40:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to 78787e28bbefad9d647fc9f7467893b8d2627481: usb: xhci: Set 'Average TRB Length' to 8 for control endpoints (2017-09-23 15:12:29 +0200) ---------------------------------------------------------------- Bin Meng (20): 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 dm: usb: Fix broken usb_stop() dm: usb: Remove no longer needed blk_unbind_all() usb: xhci: Don't assume LS/FS devices are always behind a HS hub usb: Handle audio extension endpoint descriptor in usb_parse_config() usb: xhci: Add interrupt transfer support usb: Only get 64 bytes device descriptor for full speed devices usb: Read device descriptor after device is addressed for xHCI usb: xhci: Fix max packet size for full speed device endpoint 0 usb: hub: Clear port reset before usb_hub_port_connect_change() usb: hub: Clear BH reset status change for a 3.0 hub usb: xhci: Honor endpoint's interval usb: xhci: Program max burst size for endpoint usb: xhci: Set 'Error Count' to 0 for isoch endpoints usb: xhci: Set 'Average TRB Length' to 8 for control endpoints 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.c | 45 +++--- common/usb_hub.c | 16 ++- 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 | 30 +++- drivers/usb/host/xhci-mem.c | 24 +++- drivers/usb/host/xhci-rockchip.c | 4 +- drivers/usb/host/xhci.c | 264 ++++++++++++++++++++++++++++++++-- drivers/usb/host/xhci.h | 9 +- include/configs/rk3288_common.h | 12 ++ include/linux/usb/ch9.h | 20 +++ include/usb.h | 22 ++- 57 files changed, 1509 insertions(+), 93 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