feat(sleep/usb): support usb as wakeup source from light sleep

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
JiangGuangMing
2026-06-29 16:08:35 +08:00
committed by BOT
co-authored by Cursor
parent a6928be465
commit 4625335d93
6 changed files with 56 additions and 1 deletions
@@ -1187,6 +1187,10 @@ config SOC_USB_UTMI_PHY_NUM
int
default 1
config SOC_PM_SUPPORT_USB_WAKEUP
int
default 1
config SOC_PARLIO_TX_UNIT_MAX_DATA_WIDTH
int
default 16
@@ -440,6 +440,7 @@
// USB PHY Caps
#define SOC_USB_UTMI_PHY_NUM (1U)
#define SOC_PM_SUPPORT_USB_WAKEUP (1U)
/*-------------------------- PARLIO CAPS --------------------------------------*/
#define SOC_PARLIO_TX_UNIT_MAX_DATA_WIDTH 16 /*!< Number of data lines of the TX unit */
@@ -387,6 +387,10 @@ config SOC_USB_UTMI_PHY_NUM
int
default 1
config SOC_PM_SUPPORT_USB_WAKEUP
int
default 1
config SOC_PHY_SUPPORTED
bool
default y
@@ -128,6 +128,7 @@
#define SOC_USB_OTG_PERIPH_NUM (1U)
#define SOC_USB_FSLS_PHY_NUM (0U)
#define SOC_USB_UTMI_PHY_NUM (1U)
#define SOC_PM_SUPPORT_USB_WAKEUP (1U)
#define SOC_PHY_SUPPORTED 1
#define SOC_WIFI_SUPPORTED 1