Skip to content

usb: convert dwc2 gadget to driver model, used in stm32mp1

Patrick Delaunay u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16phy: usbphyc: remove unused variable indexdrivers/phy/phy-stm32-usbphyc.c+0 -20 replies
2/16phy: usbphyc: update xlate with DT bindingdrivers/phy/phy-stm32-usbphyc.c+10 -90 replies
3/16phy: usbphyc: Binding update of vdda supplyarch/arm/dts/stm32mp157c-ed1.dts arch/arm/dts/stm32mp157c.dtsi doc/device-tree-bindings/phy/phy-stm32-usbphyc.txt +1 more+35 -340 replies
4/16phy: usbphyc: move vdda1v1 and vdda1v8 in phy_initdrivers/phy/phy-stm32-usbphyc.c+31 -290 replies
5/16phy: usbphyc: increase PLL wait timeoutdrivers/phy/phy-stm32-usbphyc.c+4 -60 replies
6/16usb: dwc2: remove unused variable regs_otgdrivers/usb/gadget/dwc2_udc_otg.c+0 -31 reply
7/16usb: dwc2: convert driver to DM_USB_GADGETdoc/device-tree-bindings/usb/dwc2.txt drivers/usb/gadget/dwc2_udc_otg.c+344 -21 reply
8/16usb: dwc2: force reset assert before to probe the driverdrivers/usb/gadget/dwc2_udc_otg.c+6 -11 reply
9/16usb: dwc2: Add force-b-session-valid supportdrivers/usb/gadget/dwc2_udc_otg.c drivers/usb/gadget/dwc2_udc_otg_regs.h include/usb/dwc2_udc.h+16 -21 reply
10/16usb: dwc2: Add function for session B checkdrivers/usb/gadget/dwc2_udc_otg.c include/usb/dwc2_udc.h+11 -01 reply
11/16usb: dwc2_udc_otg: Read MAX_HW_ENDPOINT from HWCFG4 registerdrivers/usb/gadget/dwc2_udc_otg.c drivers/usb/gadget/dwc2_udc_otg_priv.h drivers/usb/gadget/dwc2_udc_otg_regs.h+20 -91 reply
12/16usb: dwc2_udc_otg: Add tx_fifo_sz array supportdrivers/usb/gadget/dwc2_udc_otg.c include/usb/dwc2_udc.h+15 -21 reply
13/16usb: dwc2: add support for STM32MP1doc/device-tree-bindings/usb/dwc2.txt drivers/usb/gadget/dwc2_udc_otg.c drivers/usb/gadget/dwc2_udc_otg_regs.h +1 more+56 -21 reply
14/16stm32mp1: remove CONFIG_USB_DWC2, HOST support for USBOconfigs/stm32mp15_basic_defconfig configs/stm32mp15_trusted_defconfig+0 -20 replies
15/16stm32mp1: migrate USBOTG device to driver modelarch/arm/dts/stm32mp157a-dk1-u-boot.dtsi arch/arm/dts/stm32mp157a-dk1.dts arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi +4 more+32 -1570 replies
16/16stm32mp1: add stusb1600 support for DK1 and DK2 boardarch/arm/dts/stm32mp157-pinctrl.dtsi arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi arch/arm/dts/stm32mp157a-dk1.dts +3 more+90 -31 reply

Reviews trailers per patch

9 of 16 patches have a Reviewed-by or Acked-by.

PatchLukasz Majewski
1/16
2/16
3/16
4/16
5/16
6/16R-b
7/16R-b
8/16R-b
9/16R-b
10/16R-b
11/16R-b
12/16R-b
13/16R-b
14/16
15/16
16/16R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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
Signature · 1 line
2.7.4