[U-Boot] [PATCH 00/16] usb: convert dwc2 gadget to driver model, used in stm32mp1

Patrick Delaunay patrick.delaunay at st.com
Fri Mar 29 14:42:08 UTC 2019


This patch-set created after Marek remarks on patch
  board: stm32mp1: Add tx_fifo_sz_array support
  http://patchwork.ozlabs.org/patch/1056452/

This serie convert the DWC2 to driver model and use it for the
stm32mp1 boards.

USB device and cable connection tested on EV1 and DK2.

This serie superseded the Patrice patches:
http://patchwork.ozlabs.org/project/uboot/list/?series=97121

Warning: the serie need to be apply after
http://patchwork.ozlabs.org/project/uboot/list/?series=91422
http://patchwork.ozlabs.org/project/uboot/list/?series=91497



Patrice Chotard (1):
  usb: dwc2_udc_otg: Add tx_fifo_sz array support

Patrick Delaunay (15):
  phy: usbphyc: remove unused variable index
  phy: usbphyc: update xlate with DT binding
  phy: usbphyc: Binding update of vdda supply
  phy: usbphyc: move vdda1v1 and vdda1v8 in phy_init
  phy: usbphyc: increase PLL wait timeout
  usb: dwc2: remove unused variable regs_otg
  usb: dwc2: convert driver to DM_USB_GADGET
  usb: dwc2: force reset assert before to probe the driver
  usb: dwc2: Add force-b-session-valid support
  usb: dwc2: Add function for session B check
  usb: dwc2_udc_otg: Read MAX_HW_ENDPOINT from HWCFG4 register
  usb: dwc2: add support for STM32MP1
  stm32mp1: remove CONFIG_USB_DWC2, HOST support for USBO
  stm32mp1: migrate USBOTG device to driver model
  stm32mp1: add stusb1600 support for DK1 and DK2 board

 arch/arm/dts/stm32mp157-pinctrl.dtsi               |   7 +
 arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi           |   3 +-
 arch/arm/dts/stm32mp157a-dk1.dts                   |  34 +-
 arch/arm/dts/stm32mp157c-ed1.dts                   |   8 -
 arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi           |   1 +
 arch/arm/dts/stm32mp157c.dtsi                      |   5 +-
 board/st/stm32mp1/stm32mp1.c                       | 185 +++-------
 configs/stm32mp15_basic_defconfig                  |   2 +-
 configs/stm32mp15_trusted_defconfig                |   2 +-
 doc/device-tree-bindings/phy/phy-stm32-usbphyc.txt |   4 +-
 doc/device-tree-bindings/usb/dwc2.txt              |  58 +++
 drivers/phy/phy-stm32-usbphyc.c                    | 111 +++---
 drivers/usb/gadget/dwc2_udc_otg.c                  | 388 ++++++++++++++++++++-
 drivers/usb/gadget/dwc2_udc_otg_priv.h             |   1 -
 drivers/usb/gadget/dwc2_udc_otg_regs.h             |  31 +-
 include/usb/dwc2_udc.h                             |   7 +
 16 files changed, 627 insertions(+), 220 deletions(-)
 create mode 100644 doc/device-tree-bindings/usb/dwc2.txt

-- 
2.7.4



More information about the U-Boot mailing list