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:
Sylvio Alves 2021-10-20 20:11:53 -03:00 committed by Christopher Friedt
commit 27e44acda1
17 changed files with 116 additions and 479 deletions

View file

@ -7,7 +7,7 @@ config SOC_ESP32S2
select ATOMIC_OPERATIONS_C
select DYNAMIC_INTERRUPTS
select CLOCK_CONTROL
select CLOCK_CONTROL_ESP32S2
select CLOCK_CONTROL_ESP32
if SOC_ESP32S2