[PATCH v3 0/3] Improve the experience with USB gadgets

Miquel Raynal miquel.raynal at bootlin.com
Tue Oct 10 11:03:01 CEST 2023


Try to ease the use of USB gadgets for people not fully aware of all the
terms and constraints. With more helpful error messages a little bit of
guidance anyone should be able to adapt to the bind/unbind game that is
now necessary with USB gadgets.

The idea is to eventually get proper USB composite gadget support, but
that is a longer term goal.

Changes in v3:
* First patch is new.
* Collected the tags received.
* Imply CMD_DM from CMD_BIND.

Miquel Raynal (3):
  cmd: Change the dependencies between CMD_BIND and USB_GADGET
  cmd: bind: Try to improve the (un)bind help
  usb: udc: Try to clarify an error message

 cmd/Kconfig                       |  2 +-
 cmd/bind.c                        |  4 ++++
 drivers/usb/gadget/Kconfig        |  1 +
 drivers/usb/gadget/udc/udc-core.c | 13 ++++++++++++-
 4 files changed, 18 insertions(+), 2 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list