mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 06:11:06 +00:00 
			
		
		
		
	feat(esp_hw_support): use pvt to auto control digital ldo and rtc ldo for esp32p4
This commit is contained in:
		
				
					committed by
					
						
						Xiao Xufeng
					
				
			
			
				
	
			
			
			
						parent
						
							b971cf5bf9
						
					
				
				
					commit
					08eea3c058
				
			@@ -235,6 +235,10 @@ config SOC_PMU_SUPPORTED
 | 
			
		||||
    bool
 | 
			
		||||
    default y
 | 
			
		||||
 | 
			
		||||
config SOC_PMU_PVT_SUPPORTED
 | 
			
		||||
    bool
 | 
			
		||||
    default y
 | 
			
		||||
 | 
			
		||||
config SOC_DCDC_SUPPORTED
 | 
			
		||||
    bool
 | 
			
		||||
    default y
 | 
			
		||||
 
 | 
			
		||||
@@ -75,6 +75,7 @@
 | 
			
		||||
#define SOC_VBAT_SUPPORTED              1
 | 
			
		||||
#define SOC_APM_SUPPORTED               1
 | 
			
		||||
#define SOC_PMU_SUPPORTED               1
 | 
			
		||||
#define SOC_PMU_PVT_SUPPORTED           1
 | 
			
		||||
#define SOC_DCDC_SUPPORTED              1
 | 
			
		||||
#define SOC_PAU_SUPPORTED               1     //TODO: IDF-7531
 | 
			
		||||
#define SOC_LP_TIMER_SUPPORTED          1
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
 | 
			
		||||
 * SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD
 | 
			
		||||
 *
 | 
			
		||||
 * SPDX-License-Identifier: Apache-2.0
 | 
			
		||||
 */
 | 
			
		||||
@@ -95,6 +95,16 @@ extern const regdma_entries_config_t systimer_regs_retention[SYSTIMER_RETENTION_
 | 
			
		||||
#define PAU_RETENTION_LINK_LEN 1
 | 
			
		||||
extern const regdma_entries_config_t pau_regs_retention[PAU_RETENTION_LINK_LEN];
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @brief Provide access to pvt configuration registers retention
 | 
			
		||||
 * context definition.
 | 
			
		||||
 *
 | 
			
		||||
 * This is an internal function of the sleep retention driver, and is not
 | 
			
		||||
 * useful for external use.
 | 
			
		||||
 */
 | 
			
		||||
#define PVT_RETENTION_LINK_LEN   1
 | 
			
		||||
extern const regdma_entries_config_t pvt_regs_retention[PVT_RETENTION_LINK_LEN];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user