Files
Mattijs Korpershoek 2383e8f4ae usb: gadget: dwc2_udc_otg: implement pullup()
Pullup is used by the usb framework in order to do software-controlled
usb_gadget_connect() and usb_gadget_disconnect().

Implement pullup() for dwc2 using the SOFT_DISCONNECT bit in the dctl
register:
* when pullup is on, clear SOFT_DISCONNECT
* when pullup is off, set SOFT_DISCONNECT

This is especially useful when a gadget disconnection is initiated but
no board_usb_cleanup() is called.

Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
2023-01-14 14:10:30 +01:00
..
2022-12-21 13:09:01 -05:00
2021-10-05 08:50:15 -04:00
2022-09-16 11:05:16 -04:00
2023-01-11 15:02:24 -05:00
2022-01-13 07:57:49 -05:00
2023-01-09 11:30:08 -05:00
2022-01-13 07:57:49 -05:00
2022-09-19 16:07:12 -04:00
2023-01-09 11:30:08 -05:00
2022-12-22 10:31:48 -05:00
2022-10-11 16:03:03 -04:00
2023-01-09 11:30:08 -05:00
2022-05-03 21:39:22 +02:00
2022-11-02 13:58:17 -04:00