drivers: clock_control: siwx91x: Fix clock init
New versions of the Wiseconnect HAL require a clock manager init function to be called as part of clock configuration. Without this, the default reference clock isn't configured correctly for use with peripherals. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
This commit is contained in:
parent
d166d53238
commit
837b0d303a
1 changed files with 2 additions and 0 deletions
|
@ -239,6 +239,8 @@ static int siwx91x_clock_init(const struct device *dev)
|
|||
{
|
||||
SystemCoreClockUpdate();
|
||||
|
||||
sl_si91x_clock_manager_init();
|
||||
|
||||
/* Use SoC PLL at configured frequency as core clock */
|
||||
sl_si91x_clock_manager_m4_set_core_clk(M4_SOCPLLCLK, CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue