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

Patrick DELAUNAY patrick.delaunay at st.com
Mon Apr 1 09:49:45 UTC 2019


> From: Jack Mitchell <ml at embed.me.uk>
> Sent: samedi 30 mars 2019 12:42
> 
> On 29/03/2019 14:42, Patrick Delaunay wrote:
> >
> > 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
> 
> Hi Patrice,
> 
> The second patch series doesn't apply cleanly anymore, could you rebase and
> resend so I can test this series?

Hi, 
Yes, I have many pending series for the next releases on stm32mp1 arch and for the 2 baord ev1 and dk2.
So many conflicts.

I willl push a rebase this week,
but you can use my downstream branch (based on v2019.04)
with all the upstreamed patches, including the last one for USB;
I have already solve the issues:

https://github.com/patrickdelaunay/u-boot/tree/v2019.04-stm32mp


> Regards,
> Jack.

Patrick

> >
> >
> >
> > 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
> >


More information about the U-Boot mailing list