esp32s2: drivers: clock_control: add support
add clock control driver support for esp32s2 SoC. Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
This commit is contained in:
parent
1fb4eea95c
commit
e605efc698
11 changed files with 366 additions and 0 deletions
|
@ -6,6 +6,8 @@ config SOC_ESP32S2
|
|||
select XTENSA
|
||||
select ATOMIC_OPERATIONS_C
|
||||
select DYNAMIC_INTERRUPTS
|
||||
select CLOCK_CONTROL
|
||||
select CLOCK_CONTROL_ESP32S2
|
||||
|
||||
if SOC_ESP32S2
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <soc/syscon_reg.h>
|
||||
#include <soc/system_reg.h>
|
||||
#include <soc/dport_access.h>
|
||||
#include <soc/rtc_cntl_reg.h>
|
||||
#include <soc/soc_caps.h>
|
||||
#include <esp32s2/rom/ets_sys.h>
|
||||
#include <esp32s2/rom/spi_flash.h>
|
||||
|
@ -38,4 +39,6 @@ extern void esp_rom_Cache_Set_ICache_Mode(cache_size_t cache_size, cache_ways_t
|
|||
extern void esp_rom_Cache_Invalidate_ICache_All(void);
|
||||
void esp_rom_Cache_Resume_ICache(uint32_t autoload);
|
||||
|
||||
extern uint32_t esp_rom_g_ticks_per_us_pro;
|
||||
|
||||
#endif /* __SOC_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue