From 1e540f965fc7c8528852eac10ea08fa2bd7a15ab Mon Sep 17 00:00:00 2001 From: Emilio Benavente Date: Mon, 21 Nov 2022 09:26:37 -0600 Subject: [PATCH] soc: lpcxpresso55S36 added PowerInit in clock_init. Added a missing SDK function POWER_PowerInit to the clock_init function of the soc in lpc55S36. Signed-off-by: Emilio Benavente --- soc/arm/nxp_lpc/lpc55xxx/soc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/soc/arm/nxp_lpc/lpc55xxx/soc.c b/soc/arm/nxp_lpc/lpc55xxx/soc.c index 08dc1085152..292406e6ac0 100644 --- a/soc/arm/nxp_lpc/lpc55xxx/soc.c +++ b/soc/arm/nxp_lpc/lpc55xxx/soc.c @@ -58,6 +58,12 @@ const pll_setup_t pll0Setup = { static ALWAYS_INLINE void clock_init(void) { + +#if defined(CONFIG_SOC_LPC55S36) + /* Power Management Controller initialization */ + POWER_PowerInit(); +#endif + #if defined(CONFIG_SOC_LPC55S06) || defined(CONFIG_SOC_LPC55S16) || \ defined(CONFIG_SOC_LPC55S28) || defined(CONFIG_SOC_LPC55S36) || \ defined(CONFIG_SOC_LPC55S69_CPU0)