Merge branch 'feature/lp_i2s' into 'master'

lp_i2s: support lp_i2s driver

Closes IDF-10355

See merge request espressif/esp-idf!31494
This commit is contained in:
Armando (Dou Yiwen)
2024-08-05 17:55:35 +08:00
39 changed files with 1885 additions and 61 deletions

View File

@@ -243,6 +243,10 @@ config SOC_LP_I2C_SUPPORTED
bool
default y
config SOC_LP_I2S_SUPPORTED
bool
default y
config SOC_LP_SPI_SUPPORTED
bool
default y
@@ -815,6 +819,10 @@ config SOC_I2S_TDM_FULL_DATA_WIDTH
bool
default y
config SOC_LP_I2S_NUM
int
default 1
config SOC_ISP_BF_SUPPORTED
bool
default y

View File

@@ -889,7 +889,7 @@ typedef union {
} lp_i2s_date_reg_t;
typedef struct {
typedef struct lp_i2s_dev_t {
volatile lp_i2s_vad_conf_reg_t vad_conf;
volatile lp_i2s_vad_result_reg_t vad_result;
volatile lp_i2s_rx_mem_conf_reg_t rx_mem_conf;

View File

@@ -163,9 +163,11 @@
/**
* @brief: Special memory address
*/
#define LP_I2S_RAM_BASE 0x50125c00
#define MIPI_CSI_BRG_MEM_BASE 0x50104000
#define MIPI_DSI_BRG_MEM_BASE 0x50105000
/**
* This are module helper MACROs for quick module reference
* including some module(renamed) address

View File

@@ -78,6 +78,7 @@
#define SOC_LP_GPIO_MATRIX_SUPPORTED 1
#define SOC_LP_PERIPHERALS_SUPPORTED 1
#define SOC_LP_I2C_SUPPORTED 1
#define SOC_LP_I2S_SUPPORTED 1
#define SOC_LP_SPI_SUPPORTED 1
#define SOC_SPIRAM_SUPPORTED 1
#define SOC_PSRAM_DMA_CAPABLE 1
@@ -325,6 +326,9 @@
#define SOC_I2S_PDM_MAX_RX_LINES (4) // On I2S0
#define SOC_I2S_TDM_FULL_DATA_WIDTH (1) /*!< No limitation to data bit width when using multiple slots */
/*-------------------------- LP_I2S CAPS -------------------------------------*/
#define SOC_LP_I2S_NUM (1U)
/*-------------------------- ISP CAPS ----------------------------------------*/
#define SOC_ISP_BF_SUPPORTED 1
#define SOC_ISP_CCM_SUPPORTED 1