zephyr/drivers/usb/device
Purdea Andrei f4e0f9004f drivers: usb_dc_rpi_pico: implement remote wakeup support
This change implements the following, necessary for remote wakeup to be
supported:

- implement usb_dc_wakeup_request() call to trigger remote wakeup
- implement interrupts to detect supsended/resumed state
- implement extra logic to simulate resumed state when the resume
  is a result of remote wakeup. In this case the rp2040 chip doesn't
  send a USB_INTR_DEV_RESUME_FROM_HOST interrupt, or any other
  interrupts when the resume condition is detected to be extended
  by the upstream port, so we need to simulate this event when we
  see activity on the bus.

Signed-off-by: Purdea Andrei <andrei@purdea.ro>
2023-03-06 21:18:38 +01:00
..
CMakeLists.txt drivers: usb: Add RP2040 USB device support. 2022-05-13 16:28:27 +02:00
Kconfig drivers: usb: Enable High speed Kconfig for NXP controllers 2023-01-23 19:40:44 -08:00
usb_dc_dw.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
usb_dc_kinetis.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
usb_dc_mcux.c drivers: usb: mcux: Fix the write operation 2023-01-30 10:07:07 +00:00
usb_dc_native_posix.c drivers: usb_dc_native_posix: Allow endpoint disable after detach 2022-11-25 20:02:42 +01:00
usb_dc_native_posix_adapt.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
usb_dc_native_posix_adapt.h drivers: usb_dc_native_posix: read setup packet as part of submit struct 2021-03-24 15:02:49 +01:00
usb_dc_nrfx.c drivers: usb: usb_dc_nrfx: add usbd worker thread name. 2022-12-05 18:03:39 +01:00
usb_dc_rpi_pico.c drivers: usb_dc_rpi_pico: implement remote wakeup support 2023-03-06 21:18:38 +01:00
usb_dc_sam0.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
usb_dc_sam_usbc.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
usb_dc_sam_usbhs.c include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
usb_dc_stm32.c drivers: usb: stm32: Replace static clock check by a runtime check. 2023-01-16 11:23:55 +00:00
usb_dw_registers.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00