soc: nxp: lpc55s69: Enable Sleep Mode

Enable sleep mode on LPC55S69 (corresponding to zephyr's runtime idle
mode). Add DT description and power api implementations.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
Declan Snyder 2024-03-28 10:46:28 -05:00 committed by Johan Hedberg
commit a7988f2986
4 changed files with 43 additions and 0 deletions

View file

@ -24,6 +24,10 @@ if(NOT DEFINED CONFIG_LPC55XXX_SRAM_CLOCKS)
zephyr_compile_definitions(DONT_ENABLE_DISABLED_RAMBANKS=1)
endif()
if (CONFIG_SOC_LPC55S69_CPU0)
zephyr_sources_ifdef(CONFIG_PM power.c)
endif()
zephyr_include_directories(.)
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "")