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

Marek Vasut
2018-12-15T18:31:44Z

As much as I hate sending so many patches after RC, apparently this is
second half of USB gadget DM conversion, so be it.

The following changes since commit d117d8f19b0625f88309e47a8a32c2faa384dddc:

Merge branch 'master' of git://git.denx.de/u-boot-i2c (2018-12-13
09:36:55 -0500)

are available in the Git repository at:

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

for you to fetch changes up to 46a3f276549f3e5720b6e80278cda354c7fa859f:

usb: musb-new: sunxi: Fix null pointer access (2018-12-14 17:59:10 +0100)

----------------------------------------------------------------
Adam Ford (2):
usb: musb: Remove Legacy CONFIG_USB_DAVINCI
usb: musb: Remove legacy CONFIG_USB_DA8XX

Jean-Jacques Hiblot (20):
usb: dwc3-generic: make it compatible with "ti, keystone-dwc3"
board: ks2_evm: Enable the USB clocks if DM_USB is used
ARM: dts: k2g-evm: enable USB0 and USB1
PHY: Add phy driver for the keystone USB PHY
usb: host: replace xhci-keystone driver by the generic dwc3 driver
configs: k2g_evm: Enable DFU on K2G EVM
spl: drivers: Link usb common library to SPL if USB gadget is enabled
spl: net: dm: usb: bind the gadget before attempting to load the image
phy: omap_usb2: Add support for am437x
dwc3-generic: Add support for the am437x
board: ti: am43xx: turn on USB clocks
dts: Add a u-boot specific dtsi file for the am4372
dts: am4372: Enable USB1 in SPL
configs: am43xx_evm: Enable DM_USB and DM_USB_GADGET
configs: am43xx: Enable RNDIS support in SPL
usb: musb-new: Allow the diver not to use the set_phy_power() callback
usb: musb-new: Add support for DM_USB
arm: am33xx: Register USB controllers if DM_USB is used but not
OF_CONTROL
configs: am335x_evm: Do not disable DM_USB in SPL
configs: am335x_boneblack_vboot: enable DM_USB and RNDIS boot in SPl

Lukasz Majewski (1):
usb: composite: Move bitmap related operations to
./include/linux/bitmap.h

Martyn Welch (1):
usb: Don't enable CONFIG_SPL_DM_USB for non-DM SPL

Petr Å tetiar (1):
usb: gadget: f_sdp: Provide filesize env variable for downloaded
images

Siva Durga Prasad Paladugu (1):
usb: composite: Fix max packet size for USB3.0

Stefan Mavrodiev (1):
usb: musb-new: sunxi: Fix null pointer access

arch/arm/dts/am4372-generic-u-boot.dtsi | 2 ++
arch/arm/dts/am4372-u-boot.dtsi | 40 +++++++++++++++++++++++++
arch/arm/dts/am437x-gp-evm-u-boot.dtsi | 2 ++
arch/arm/dts/am437x-idk-evm-u-boot.dtsi | 2 ++
arch/arm/dts/am437x-sk-evm-u-boot.dtsi | 2 ++
arch/arm/dts/keystone-k2g-evm.dts | 28 +++++++++++++++++
arch/arm/dts/keystone-k2g.dtsi | 56
++++++++++++++++++++++++++++++++++
arch/arm/include/asm/omap_musb.h | 8 +++++
arch/arm/mach-omap2/am33xx/board.c | 58
+++++++++++++++++++++++++++++++-----
board/ti/am43xx/board.c | 22 ++++++++++++++
board/ti/ks2_evm/board.c | 12 ++++++++
common/Makefile | 3 ++
common/spl/spl_net.c | 4 ++-
configs/am335x_boneblack_vboot_defconfig | 10 +++++++
configs/am43xx_evm_defconfig | 19 ++++++++++++
configs/k2e_evm_defconfig | 7 +++++
configs/k2e_hs_evm_defconfig | 7 +++++
configs/k2g_evm_defconfig | 12 ++++++++
configs/k2g_hs_evm_defconfig | 12 ++++++++
configs/k2hk_evm_defconfig | 7 +++++
configs/k2hk_hs_evm_defconfig | 7 +++++
configs/k2l_evm_defconfig | 7 +++++
configs/k2l_hs_evm_defconfig | 7 +++++
drivers/Makefile | 1 +
drivers/phy/Kconfig | 10 +++++++
drivers/phy/Makefile | 1 +
drivers/phy/keystone-usb-phy.c | 109
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/phy/omap-usb2-phy.c | 45 +++++++++++++++++++++-------
drivers/usb/Kconfig | 2 +-
drivers/usb/dwc3/dwc3-generic.c | 2 ++
drivers/usb/dwc3/gadget.c | 1 -
drivers/usb/dwc3/ti_usb_phy.c | 1 -
drivers/usb/eth/r8152.c | 1 -
drivers/usb/gadget/at91_udc.c | 1 -
drivers/usb/gadget/atmel_usba_udc.c | 1 -
drivers/usb/gadget/composite.c | 17 +++++++++--
drivers/usb/gadget/dwc2_udc_otg.c | 1 -
drivers/usb/gadget/dwc2_udc_otg_phy.c | 1 -
drivers/usb/gadget/dwc2_udc_otg_priv.h | 1 -
drivers/usb/gadget/f_mass_storage.c | 2 +-
drivers/usb/gadget/f_sdp.c | 5 ++++
drivers/usb/gadget/pxa25x_udc.c | 1 -
drivers/usb/host/Makefile | 1 -
drivers/usb/host/xhci-keystone.c | 240
--------------------------------------------------------------------------------------------------------------------------------------------------
drivers/usb/musb-new/am35x.c | 8 ++---
drivers/usb/musb-new/musb_dsps.c | 8 ++---
drivers/usb/musb-new/musb_gadget.c | 11 +++++++
drivers/usb/musb-new/musb_uboot.c | 4 +--
drivers/usb/musb-new/sunxi.c | 8 +++--
drivers/usb/musb-new/ti-musb.c | 181
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------
drivers/usb/musb/Kconfig | 7 -----
drivers/usb/musb/Makefile | 2 --
drivers/usb/musb/da8xx.c | 127
-----------------------------------------------------------------------------
drivers/usb/musb/davinci.c | 123
---------------------------------------------------------------------------
drivers/usb/musb/davinci.h | 73
---------------------------------------------
drivers/usb/musb/musb_udc.c | 2 --
include/configs/am335x_evm.h | 1 -
include/configs/ti_armv7_keystone2.h | 17 +++++++----
include/linux/bitmap.h | 23 ++++++++++++++
include/linux/types.h | 3 ++
include/linux/usb/composite.h | 2 +-
include/usb/lin_gadget_compat.h | 35 ----------------------
62 files changed, 704 insertions(+), 709 deletions(-)
create mode 100644 arch/arm/dts/am4372-u-boot.dtsi
create mode 100644 drivers/phy/keystone-usb-phy.c
delete mode 100644 drivers/usb/host/xhci-keystone.c
delete mode 100644 drivers/usb/musb/da8xx.c
delete mode 100644 drivers/usb/musb/davinci.c
delete mode 100644 drivers/usb/musb/davinci.h
create mode 100644 include/linux/bitmap.h
delete mode 100644 include/usb/lin_gadget_compat.h