feat(st-usb): enable USBOTG DFU for STM32MP21USBOTG DFU mode is present on STM32MP21. Adapt device start and stopsequences using STM32MP21 flag.Change-Id: Ife8d545cedfa769f58d5c9bc0a3df8b5336b60
feat(st-usb): enable USBOTG DFU for STM32MP21USBOTG DFU mode is present on STM32MP21. Adapt device start and stopsequences using STM32MP21 flag.Change-Id: Ife8d545cedfa769f58d5c9bc0a3df8b5336b60a9Signed-off-by: Pankaj Dev <pankaj.dev@st.com>Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
show more ...
fix(st-usb): replace redundant checks with assertsReturning enum usb_status in an enum usb_action function is wrong asthey have different meanings. However, usb_dwc2_ep0_out_start() andusb_dwc2_a
fix(st-usb): replace redundant checks with assertsReturning enum usb_status in an enum usb_action function is wrong asthey have different meanings. However, usb_dwc2_ep0_out_start() andusb_dwc2_activate_setup() only return USBD_OK so we will never get tothere. Replace these checks with asserts in case the code changes infuture.This also silences a warning when compiling with -Wextra.Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>Change-Id: I73dfd5c189a357544c15ceb3f4268da82ce272b9
feat(drivers/st/usb): add device driver for STM32MP1Add a device driver for Synopsis DWC2 USB IP of STM32MP15x,this USB OTG device is only supported in device mode.Signed-off-by: Patrick Delauna
feat(drivers/st/usb): add device driver for STM32MP1Add a device driver for Synopsis DWC2 USB IP of STM32MP15x,this USB OTG device is only supported in device mode.Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>Change-Id: I90b21f094f6637b85f3ace23a3a3a2f6fd4e0951