Merge branch 'feat/update_documentation_and_cleanup_for_esp32h4_v6.1' into 'release/v6.1'

Feat/update documentation and cleanup for esp32h4 (v6.1)

See merge request espressif/esp-idf!50398
This commit is contained in:
Mahavir Jain
2026-07-09 12:02:43 +05:30
14 changed files with 117 additions and 71 deletions
@@ -11,8 +11,6 @@
extern "C" {
#endif
//TODO: [ESP32H4] IDF-12257 inherit from verification branch, need check
#include <stdint.h>
#include <stdlib.h>
#include "efuse.h"
@@ -6,6 +6,7 @@
#include "soc/soc.h"
#include "soc/pcr_reg.h"
#include "esp_private/esp_clk_tree_common.h"
#pragma once
@@ -16,6 +17,6 @@ void esp_crypto_common_clk_enable(bool enable);
static inline void esp_crypto_clk_init(void)
{
// Set crypto clock (`clk_sec`) to use 96M PLL clock
esp_clk_tree_enable_src(SOC_MOD_CLK_PLL_F96M, true);
REG_SET_FIELD(PCR_SEC_CONF_REG, PCR_SEC_CLK_SEL, 0x3);
// TODO: IDF-12266 need to call esp_clk_tree_enable_src() to acquire PLL 96M clock gating
}
@@ -6,6 +6,7 @@
#include "soc/soc.h"
#include "soc/pcr_reg.h"
#include "esp_private/esp_clk_tree_common.h"
#pragma once
@@ -16,6 +17,6 @@ void esp_crypto_common_clk_enable(bool enable);
static inline void esp_crypto_clk_init(void)
{
// Set crypto clock (`clk_sec`) to use 96M PLL clock
esp_clk_tree_enable_src(SOC_MOD_CLK_PLL_F96M, true);
REG_SET_FIELD(PCR_SEC_CONF_REG, PCR_SEC_CLK_SEL, 0x3);
// TODO: IDF-12266 need to call esp_clk_tree_enable_src() to acquire PLL 96M clock gating
}