feat(sd): added power control driver and implementation layer with ldo

This commit is contained in:
Armando
2024-01-21 19:29:42 +08:00
parent 5154be52ac
commit ec44556a07
24 changed files with 414 additions and 46 deletions

View File

@@ -967,6 +967,10 @@ config SOC_SDMMC_DELAY_PHASE_NUM
int
default 4
config SOC_SDMMC_IO_POWER_EXTERNAL
bool
default y
config SOC_SHA_DMA_MAX_BUFFER_SIZE
int
default 3968

View File

@@ -396,6 +396,7 @@
#define SOC_SDMMC_NUM_SLOTS 2
/* Supported host clock delay phase number */
#define SOC_SDMMC_DELAY_PHASE_NUM 4
#define SOC_SDMMC_IO_POWER_EXTERNAL 1 ///< SDMMC IO power controlled by external power supply
// TODO: IDF-5353 (Copy from esp32c3, need check)
/*--------------------------- SHA CAPS ---------------------------------------*/