[RESEND][PATCH v2 0/5] cmd: bind: Fix driver binding

Patrice CHOTARD patrice.chotard at foss.st.com
Fri Oct 8 08:14:02 CEST 2021


Hi

If anybody has objection, i will add this series to the next STM32 pull request as this series is still not
merged since April.

Thanks 
Patrice


On 9/10/21 4:16 PM, Patrice Chotard wrote:
> 
> This series is fixing issues reported by Herbert Poetzl when trying to
> bind Ethernet gadget over USB on STM32MP1 platform.
> 2 issues have been found:
>   - fix the bind command.
>   - add dwc2 bcdDevice in USB gadget controller.
>   - add test to check binding of driver without compatible string.
> 
> Changes in v2:
>    - add bind test
> 
> Patrice Chotard (5):
>   cmd: bind: Fix driver binding on a device
>   usb: gadget: Add bcdDevice for the DWC2 USB Gadget Controller
>   usb: sandbox: Add gadget callbacks
>   configs: sandbox: add USB_ETHER and GADGET_DOWNLOAD gadget support
>   test/py: Add usb gadget binding test
> 
>  cmd/bind.c                        |  2 +-
>  configs/sandbox_defconfig         |  3 +++
>  drivers/core/device.c             |  2 +-
>  drivers/core/lists.c              | 11 ++++++++---
>  drivers/core/root.c               |  2 +-
>  drivers/misc/imx8/scu.c           |  2 +-
>  drivers/serial/serial-uclass.c    |  2 +-
>  drivers/timer/timer-uclass.c      |  2 +-
>  drivers/usb/gadget/gadget_chips.h |  8 ++++++++
>  drivers/usb/host/usb-sandbox.c    | 28 ++++++++++++++++++++++++++++
>  include/dm/lists.h                |  3 ++-
>  test/dm/nop.c                     |  2 +-
>  test/py/tests/test_bind.py        |  7 +++++++
>  13 files changed, 63 insertions(+), 11 deletions(-)
> 


More information about the U-Boot mailing list