[PATCH v2 3/5] usb: sandbox: Add gadget callbacks

Simon Glass sjg at chromium.org
Sat Jun 26 20:31:45 CEST 2021


On Mon, 19 Apr 2021 at 03:47, Patrice Chotard
<patrice.chotard at foss.st.com> wrote:
>
> Add usb_gadget_handle_interrupts(), usb_gadget_register_driver()
> and usb_gadget_unregister_driver() to be able to test
> binding usb gadget.
>
> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
> Cc: Marek Vasut <marex at denx.de>
> Cc: Herbert Poetzl <herbert at 13thfloor.at>
> ---
>
> (no changes since v1)
>
>  drivers/usb/host/usb-sandbox.c | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>

But it looks like gadgets should be converted to DM properly?


More information about the U-Boot mailing list