driver: clock: Update clock control driver for RA8

This update is to support clock API for RA8
Move the clock initialize function into clock driver
Peripheral clock now has 2 more property in clock cell for enable
and disable clock to peripheral module

Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
This commit is contained in:
Duy Phuong Hoang. Nguyen 2024-06-18 10:24:42 +07:00 committed by Anas Nashif
commit 0c93268e52
13 changed files with 166 additions and 26 deletions

View file

@ -11,6 +11,7 @@ config SOC_SERIES_RA8M1
select FPU
select HAS_SWO
select XIP
select CLOCK_CONTROL_RENESAS_RA_CGC if CLOCK_CONTROL
select HAS_RENESAS_RA_FSP
help
Enable support for Renesas RA8M1 MCU series

View file

@ -37,7 +37,6 @@ static int renesas_ra8m1_init(void)
{
SystemCoreClock = BSP_MOCO_HZ;
g_protect_pfswe_counter = 0;
bsp_clock_init();
return 0;
}