feat(esp32p4): add H264 REGDMA link and sleep retention module

This commit is contained in:
houhaiyan
2026-05-11 15:10:35 +08:00
parent 7cfcecc85f
commit 6d3b78a8e1
5 changed files with 14 additions and 0 deletions
@@ -101,6 +101,9 @@ bool peripheral_domain_pd_allowed(void)
// ESP32P4 supports JPEG sleep retention
RETENTION_MODULE_BITMAP_SET(&mask, SLEEP_RETENTION_MODULE_JPEG);
// ESP32P4 supports H264 sleep retention
RETENTION_MODULE_BITMAP_SET(&mask, SLEEP_RETENTION_MODULE_H264);
const sleep_retention_module_bitmap_t peripheral_domain_inited_modules = sleep_retention_module_bitmap_and(inited_modules, mask);
const sleep_retention_module_bitmap_t peripheral_domain_created_modules = sleep_retention_module_bitmap_and(created_modules, mask);
return sleep_retention_module_bitmap_eq(peripheral_domain_inited_modules, peripheral_domain_created_modules);