fix(esp_hw_support): add PD_TOP lightsleep mspi failure workaround for p4 rev3

This commit is contained in:
wuzhenghui
2025-11-11 21:56:26 +08:00
parent 468376642a
commit 9d865e22a6
12 changed files with 120 additions and 15 deletions
@@ -83,8 +83,10 @@ void pau_regdma_trigger_extra_link_restore(void);
* link entry configuration in always-on domain
*
* @param enable Set true to use always-on domain link configuration instead
*
* @return The origin aon link bypass enable status
*/
void pau_regdma_enable_aon_link_entry(bool enable);
bool pau_regdma_enable_aon_link_entry(bool enable);
#endif
#ifdef __cplusplus
@@ -0,0 +1,25 @@
/*
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <stdint.h>
#include "sdkconfig.h"
#include "soc/soc_caps.h"
#ifdef __cplusplus
extern "C" {
#endif
#if CONFIG_IDF_TARGET_ESP32P4 && (CONFIG_ESP_REV_MIN_FULL == 300)
/**
* Workaround for esp32p4 v3 MPSI access failure after power up.
*/
void sleep_flash_p4_rev3_workaround(void);
#endif
#ifdef __cplusplus
}
#endif