A host is required to use the GetStatus command, with wIndex set to the OTG status selector(F000H) to request the Host request flag from the peripheral.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -708,6 +708,7 @@ struct usb_otg20_descriptor { · 707 unmodified lines | |||
| 708 | #define USB_OTG_HNP (1 << 1) /* swap host/device roles */ | 708 | #define USB_OTG_HNP (1 << 1) /* swap host/device roles */ |
| 709 | #define USB_OTG_ADP (1 << 2) /* support ADP */ | 709 | #define USB_OTG_ADP (1 << 2) /* support ADP */ |
| 710 | 710 | ||
| 711 | #define OTG_STS_SELECTOR 0xF000 /* OTG status selector */ | ||
| 711 | /*-------------------------------------------------------------------------*/ | 712 | /*-------------------------------------------------------------------------*/ |
| 712 | 713 | ||
| 713 | /* USB_DT_DEBUG: for special highspeed devices, replacing serial console */ | 714 | /* USB_DT_DEBUG: for special highspeed devices, replacing serial console */ |