refactor(usb_phy): Move USB PHY implementation to esp_hw_support

Moved USB PHY source and headers from `usb/` to `esp_hw_support/`
to better reflect their hardware-specific nature.
Replaced use of public GPIO driver APIs with internal LL (Low-Level) APIs
for more precise hardware control and alignment with ESP-IDF HAL best practices.
Deleted deprecated PHY helper functions.
Consolidated all SoC-specific declarations under `usb_periph.h`.

BREAKING CHANGE: deprecated USB PHY APIs have been removed; update
callers to use the new interfaces in esp_hw_support/usb_phy.h
This commit is contained in:
igor.masar
2025-06-10 10:30:02 +02:00
parent f8ebe0c936
commit 84a5812d55
29 changed files with 168 additions and 280 deletions

View File

@@ -6,7 +6,7 @@
#include "soc/gpio_sig_map.h"
#include "soc/interrupts.h"
#include "soc/usb_dwc_periph.h"
#include "soc/usb_periph.h"
/* -------------------------------- Private --------------------------------- */