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-15 11:18:10 +01:00
parent 4d11fe5847
commit 65c2cc095d
15 changed files with 209 additions and 127 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