Merge branch 'fix/support_union_lp_io_clk_control_v5.3' into 'release/v5.3'

fix(esp_driver_gpio): manage lp_io module clock by driver (v5.3)

See merge request espressif/esp-idf!31359
This commit is contained in:
Jiang Jiang Jian
2024-06-11 10:45:00 +08:00
14 changed files with 154 additions and 80 deletions
@@ -487,6 +487,10 @@ config SOC_GPIO_SUPPORT_RTC_INDEPENDENT
bool
default y
config SOC_LP_IO_CLOCK_IS_INDEPENDENT
bool
default y
config SOC_GPIO_IN_RANGE_MAX
int
default 27
@@ -196,6 +196,9 @@
// However, there is no way to control pullup/down/capability for IOs under LP function since there is no LP_IOMUX registers
#define SOC_GPIO_SUPPORT_RTC_INDEPENDENT (1)
// LP IO peripherals have independent clock gating to manage
#define SOC_LP_IO_CLOCK_IS_INDEPENDENT (1)
// GPIO7~14 on ESP32H2 can support chip deep sleep wakeup through EXT1 wake up
#define SOC_GPIO_VALID_GPIO_MASK ((1U << SOC_GPIO_PIN_COUNT) - 1)
@@ -18,6 +18,8 @@
#include "soc/sens_struct.h"
#endif
#include "soc/io_mux_reg.h"
#ifdef __cplusplus
extern "C"
{