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

Marek Vasut
2017-07-29T15:26:45Z

The following changes since commit 26722335253a9fa384ceb423419254cb00d0def1:

rockchip: puma-rk3399: remove duplicate code (merge artifact)
(2017-07-27 14:59:04 +0200)

are available in the git repository at:

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

for you to fetch changes up to b108d8a0de3ddc6fe8aae55bc54e3edc69b4778b:

clk: fix compilation errors for poplar platform (2017-07-28 23:34:46
+0200)

----------------------------------------------------------------
Bin Meng (33):
usb: xhci: Remove incorrect comments for struct xhci_container_ctx
usb: xhci: Correct command TRB 4th dword initialization
usb: xhci: Initialize scratchpad buffer array and scratchpad buffers
usb: xhci: Add input slot context in xhci_set_configuration()
usb: hub: Update handling connect status/change in usb_scan_port()
usb: hub: Send correct wValue to get hub descriptor of a USB 3.0 hub
usb: hub: Revise wLength for 'get port status' request
usb: hub: Change USB hub descriptor to match USB 3.0 hubs
usb: hub: Add 3.0 hub port status mask of 2.0 hub
usb: xhci: Change MAX_HC_PORTS to 255

usb: xhci: Get rid of CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS

configs: Remove CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS in all boards

usb: ehci: Get rid of CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS

configs: Remove CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS in all boards

usb: cmd: Print actual packet size for super speed devices

usb: xhci: Convert CONFIG_USB_XHCI_PCI to Kconfig
x86: minnowmax: Add a environment variable for USB power-on delay
x86: minnowmax: Enable USB xHCI support
usb: xhci-pci: Drop non-DM version of xhci-pci driver
usb: xhci-pci: Clean up the driver a little bit
usb: hub: Use 'struct usb_hub_device' as hub device's uclass_priv
usb: hub: Remove hub_port_reset()
usb: hub: Add a new API to test if a hub device is root hub
usb: hub: Translate USB 3.0 hub port status into old version
usb: hub: Support 'set hub depth' request for USB 3.0 hubs
usb: xhci: Change xhci_setup_addressable_virt_dev() signature
usb: xhci: Program 'route string' in the input slot context
usb: hub: Parse and save TT details from device descriptor
dm: usb: Add a new USB controller operation 'update_hub_device'
usb: hub: Call usb_update_hub_device() after hub descriptor is fetched
usb: xhci: Implement update_hub_device() operation
usb: xhci: Correct TT_SLOT and TT_PORT macros
usb: xhci: Enable TT to support LS/FS devices behind a HS hub

Jean-Jacques Hiblot (1):
phy: add a NO-OP phy driver

Masahiro Yamada (1):
usb: add static to local symbols

Patrice Chotard (21):
usb: host: xhci-dwc3: Convert driver to DM
usb: host: xhci-dwc3: Add dual role mode support from DT
drivers: phy: Set phy->dev to NULL when generic_phy_get_by_index()
fails
drivers: phy: add generic_phy_valid() method
usb: host: xhci-dwc3: Add generic PHY support
reset: add reset_request()
reset: add reset_release_all()
clk: add clk_release_all()
dm: core: add ofnode_count_phandle_with_args()
usb: host: ehci-generic: replace printf() by error()
usb: host: ehci-generic: add error path and .remove callback
usb: host: ehci-generic: add generic PHY support
usb: host: ohci-generic: add CLOCK support
usb: host: ohci-generic: add RESET support
usb: host: ohci-generic: add generic PHY support
dm: phy: add missing #ifdef CONFIG_PHY
dm: usb: host: xhci-dwc3: add missing #ifdef CONFIG_DM_USB
usb: host: ehci-generic: initialize PHY only when found
usb: host: ohci-generic: initialize PHY only when found
usb: host: xhci-dxc3: fix compilation warnings
clk: fix compilation errors for poplar platform

Patrick Delaunay (4):
dfu: allow dfu read on partition greater than 2GB
dfu: remove limitation on partition size
dfu: factorize transaction cleanup
dfu: add common function to initiate transaction

Siva Durga Prasad Paladugu (1):
usb: gadget: f_thor: Free the allocated out request buffer

Documentation/devicetree/bindings/phy/no-op.txt | 16 ++++++
arch/arm/include/asm/ehci-omap.h | 4 --
arch/x86/dts/minnowmax.dts | 3 ++
cmd/usb.c | 7 ++-
common/usb_hub.c | 249
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------
configs/minnowmax_defconfig | 1 +
drivers/clk/clk-uclass.c | 27 ++++++++++
drivers/core/of_access.c | 7 +++
drivers/core/ofnode.c | 12 +++++
drivers/dfu/dfu.c | 100
++++++++++++++++-------------------
drivers/dfu/dfu_mmc.c | 20 +++----
drivers/dfu/dfu_nand.c | 6 ++-
drivers/dfu/dfu_ram.c | 6 ++-
drivers/dfu/dfu_sf.c | 6 ++-
drivers/phy/Kconfig | 18 +++++++
drivers/phy/Makefile | 1 +
drivers/phy/nop-phy.c | 26 ++++++++++
drivers/phy/phy-uclass.c | 1 +
drivers/reset/reset-uclass.c | 34 ++++++++++++
drivers/usb/emul/sandbox_hub.c | 7 ++-
drivers/usb/gadget/f_thor.c | 1 +
drivers/usb/host/Kconfig | 7 +++
drivers/usb/host/ehci-generic.c | 148
+++++++++++++++++++++++++++++++++++++++++++---------
drivers/usb/host/ehci-hcd.c | 16 +++---
drivers/usb/host/ehci.h | 7 ++-
drivers/usb/host/ohci-generic.c | 123
++++++++++++++++++++++++++++++++++++++++++-
drivers/usb/host/usb-uclass.c | 31 +++++++----
drivers/usb/host/xhci-dwc3.c | 91
+++++++++++++++++++++++++++++++-
drivers/usb/host/xhci-mem.c | 139
+++++++++++++++++++++++++++++++++++++++++++++++--
drivers/usb/host/xhci-pci.c | 73
+-------------------------
drivers/usb/host/xhci-ring.c | 11 +++-
drivers/usb/host/xhci.c | 107
++++++++++++++++++++++++++------------
drivers/usb/host/xhci.h | 31 ++++++-----
include/clk.h | 21 ++++++++
include/configs/MPC8572DS.h | 1 -
include/configs/am43xx_evm.h | 1 -
include/configs/am57xx_evm.h | 1 -
include/configs/cl-som-am57x.h | 1 -
include/configs/cm_t43.h | 1 -
include/configs/cm_t54.h | 1 -
include/configs/corvus.h | 3 --
include/configs/dra7xx_evm.h | 1 -
include/configs/ds414.h | 1 -
include/configs/duovero.h | 2 -
include/configs/exynos5-common.h | 3 --
include/configs/ls1012afrdm.h | 1 -
include/configs/ls1012aqds.h | 1 -
include/configs/ls1012ardb.h | 1 -
include/configs/ls1021aiot.h | 1 -
include/configs/ls1021aqds.h | 1 -
include/configs/ls1021atwr.h | 1 -
include/configs/ls1043aqds.h | 1 -
include/configs/ls1043ardb.h | 1 -
include/configs/ls1046aqds.h | 1 -
include/configs/ls1046ardb.h | 1 -
include/configs/ls2080aqds.h | 1 -
include/configs/ls2080ardb.h | 1 -
include/configs/ma5d4evk.h | 1 -
include/configs/mcx.h | 1 -
include/configs/minnowmax.h | 3 +-
include/configs/mvebu_armada-37xx.h | 9 +---
include/configs/mvebu_armada-8k.h | 9 +---
include/configs/mx35pdk.h | 1 -
include/configs/odroid.h | 1 -
include/configs/omap3_beagle.h | 1 -
include/configs/omap3_overo.h | 1 -
include/configs/omap4_panda.h | 2 -
include/configs/omap5_uevm.h | 1 -
include/configs/picosam9g45.h | 3 --
include/configs/poplar.h | 1 -
include/configs/rk3328_common.h | 2 -
include/configs/rk3399_common.h | 3 --
include/configs/sama5d2_ptc.h | 4 --
include/configs/snapper9g45.h | 3 --
include/configs/sunxi-common.h | 1 -
include/configs/tam3517-common.h | 1 -
include/configs/tao3530.h | 1 -
include/configs/tegra114-common.h | 1 -
include/configs/tegra124-common.h | 1 -
include/configs/tegra20-common.h | 1 -
include/configs/tegra210-common.h | 1 -
include/configs/tegra30-common.h | 1 -
include/configs/ti_armv7_keystone2.h | 1 -
include/configs/uniphier.h | 3 --
include/configs/vinco.h | 6 ---
include/configs/x86-common.h | 1 -
include/configs/xilinx_zynqmp.h | 2 -
include/dfu.h | 4 +-
include/dm/of_access.h | 18 +++++++
include/dm/ofnode.h | 17 ++++++
include/dm/read.h | 25 +++++++++
include/generic-phy.h | 53 +++++++++++++++++++
include/reset.h | 27 ++++++++++
include/usb.h | 82
++++++++++++++++++++---------
include/usb_defs.h | 23 ++++++++-
scripts/config_whitelist.txt | 3 --
96 files changed, 1305 insertions(+), 399 deletions(-)
create mode 100644 Documentation/devicetree/bindings/phy/no-op.txt
create mode 100644 drivers/phy/nop-phy.c