pm: rt5xx: Enable OS Timer as wakeup source
1. Enable os_timer as a wakeup-source in the board dts file. 2. Enable PM_DEVICE when PM is enabled. Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
parent
7b5c508d4f
commit
df26e99637
|
@ -69,4 +69,12 @@ endchoice
|
|||
|
||||
endif # LVGL
|
||||
|
||||
if PM
|
||||
# Turn on Device Level Power Management as we wish
|
||||
# to reconfigure the FlexSPI pins for power savings
|
||||
# when transitioning the SoC to Deep Low Power modes.
|
||||
config PM_DEVICE
|
||||
default y
|
||||
endif # PM
|
||||
|
||||
endif # BOARD_MIMXRT595_EVK
|
||||
|
|
|
@ -149,6 +149,7 @@
|
|||
*/
|
||||
&os_timer {
|
||||
status = "okay";
|
||||
wakeup-source;
|
||||
};
|
||||
|
||||
&rtc {
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#
|
||||
# Copyright 2022, NXP
|
||||
# Copyright 2022-2023, NXP
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
CONFIG_PM=y
|
||||
|
||||
# Turn on Device Level Power Management as we wish
|
||||
# to reconfigure the FlexSPI pins for power savings
|
||||
# when transitioning the SoC to Deep Low Power modes.
|
||||
CONFIG_PM_DEVICE=y
|
||||
|
||||
# Enable the RTC
|
||||
CONFIG_COUNTER=y
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# i.MX RT5XX series configuration options
|
||||
|
||||
# Copyright (c) 2022, NXP
|
||||
# Copyright (c) 2022-2023, NXP
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_SERIES_IMX_RT5XX
|
||||
|
@ -77,4 +77,4 @@ endif # MBEDTLS
|
|||
|
||||
source "soc/arm/nxp_imx/rt5xx/Kconfig.defconfig.mimxrt5*"
|
||||
|
||||
endif # SOC_SERIES_MIMXRT6XX
|
||||
endif # SOC_SERIES_MIMXRT5XX
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
#
|
||||
# Copyright 2022, NXP
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# Turn on Device Level Power Management as we wish
|
||||
# to reconfigure the FlexSPI pins for power savings
|
||||
# when transitioning the SoC to Deep Low Power modes.
|
||||
CONFIG_PM_DEVICE=y
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
* Copyright 2022, NXP
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&os_timer {
|
||||
status = "okay";
|
||||
wakeup-source;
|
||||
};
|
|
@ -1,10 +0,0 @@
|
|||
#
|
||||
# Copyright 2022, NXP
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# Turn on Device Level Power Management as we wish
|
||||
# to reconfigure the FlexSPI pins for power savings
|
||||
# when transitioning the SoC to Deep Low Power modes.
|
||||
CONFIG_PM_DEVICE=y
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
* Copyright 2022, NXP
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&os_timer {
|
||||
status = "okay";
|
||||
wakeup-source;
|
||||
};
|
Loading…
Reference in a new issue