zephyr/drivers/usb
Axel Haslam 11e50e750e drivers: usb: stm32: Dont disable ULPI clock on low power
When running the cdc_acm demo on a board with an external ULPI
phy, the device is unable to enumerate:

usb 1-1.8.3.1: new full-speed USB device number 51 using ehci-pci
usb 1-1.8.3.1: device descriptor read/64, error -32
usb 1-1.8.3.1: device descriptor read/64, error -32

the console shows:

[00:00:00.001,000] cdc_acm_echo: Wait for DTR
[00:00:00.007,000] usb_cdc_acm: Device suspended
[00:00:00.902,000] usb_cdc_acm: Device resumed
[00:00:00.902,000] usb_cdc_acm: from suspend
[00:00:25.526,000] usb_cdc_acm: Device suspended

By not disabling the ULPI clock in low power, the usb enumeration
is working and we can run the cdc_acm demo. While touching
this code, add some comments to clarify the macro nesting.

Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
2024-04-09 11:07:14 +02:00
..
bc12 syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
common drivers: udc_dwc2: enable SOF interrupts and SOF events 2024-03-22 10:10:26 +01:00
device drivers: usb: stm32: Dont disable ULPI clock on low power 2024-04-09 11:07:14 +02:00
udc drivers: usb: stm32: Dont disable ULPI clock on low power 2024-04-09 11:07:14 +02:00
uhc drivers: fix thread function signatures 2023-10-30 12:24:34 +01:00
uvb kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
CMakeLists.txt nrfx_usbd: Rename to nrf_usbd_common 2023-11-07 14:06:51 +01:00
Kconfig nrfx_usbd: Rename to nrf_usbd_common 2023-11-07 14:06:51 +01:00