refactor(usb/phy): Merge P4 and S2/S3 PHYs into one module

P4 had separate PHY implementation for initial bring-up,
now we can merge it with the original PHY driver.
This commit is contained in:
Tomas Rezucha
2025-01-16 10:25:25 +01:00
parent 19bdc77e55
commit 6d97cd0aa1
14 changed files with 208 additions and 126 deletions
@@ -11,6 +11,8 @@
#include "soc/soc_caps.h"
#include "hal/usb_phy_types.h"
#define USB_PHY_SUPPORTS_P4_OTG11 1 // This version of usb_phy supports P4 OTG1.1 PHY
#ifdef __cplusplus
extern "C" {
#endif