clock: esp32: unify clock control for all espressif socs
This joins all clock control handling to same source by using hal clock functions. It also brings ESP32C3 clock support. Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
parent
2c08114c27
commit
27e44acda1
17 changed files with 116 additions and 479 deletions
|
@ -18,7 +18,8 @@
|
|||
#define ESP32_CLK_CPU_160M 160U
|
||||
|
||||
/* Supported XTAL Frequencies */
|
||||
#define ESP32_CLK_XTAL_40M 0U
|
||||
#define ESP32_CLK_XTAL_32M 0U
|
||||
#define ESP32_CLK_XTAL_40M 1U
|
||||
|
||||
/* Modules IDs
|
||||
* These IDs are actually offsets in CLK and RST Control registers.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue