Skip to content

Commit

Permalink
soc: arm: nxp lpc55xx: fix nxp,ctimer-pwm init procedure (attach clock)
Browse files Browse the repository at this point in the history
Add clock init for nxp-ctimer-pwm DTS nodes.

Signed-off-by: Maxime Vincent <maxime@veemax.be>
  • Loading branch information
maximevince authored and MaureenHelm committed Aug 14, 2024
1 parent 784bc06 commit 3a895ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions soc/nxp/lpc/lpc55xxx/soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ static ALWAYS_INLINE void clock_init(void)

DT_FOREACH_STATUS_OKAY(nxp_lpc_ctimer, CTIMER_CLOCK_SETUP)

DT_FOREACH_STATUS_OKAY(nxp_ctimer_pwm, CTIMER_CLOCK_SETUP)

#if (DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(flexcomm6), nxp_lpc_i2s, okay))
#if defined(CONFIG_SOC_LPC55S36)
CLOCK_SetClkDiv(kCLOCK_DivFlexcom6Clk, 0U, true);
Expand Down

0 comments on commit 3a895ec

Please sign in to comment.