Skip to content

Enable poweroff feature on NXP MCXA series MCUs. #92844

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ZhaoxiangJin
Copy link
Contributor

This PR enabled poweroff feature for NXP MCXA series MCUs.

Pulling MCUX SDK cmc, vbat, wuu driver to Zephyr build tree.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
@ZhaoxiangJin ZhaoxiangJin force-pushed the enable-poweroff-on-mcx branch 3 times, most recently from f05d9c5 to 52be524 Compare July 8, 2025 14:21
@ZhaoxiangJin ZhaoxiangJin marked this pull request as ready for review July 8, 2025 14:21
@ZhaoxiangJin ZhaoxiangJin changed the title Enable poweroff on mcx Enable poweroff feature on NXP MCXA series MCUs. Jul 8, 2025
This commit introduced the following changes:
1. Selected kconfig option 'HAS_POWEROFF' for NXP
   MCXA series.
2. Added power.c for NXP MCXA series, in this file,
   we currently implemented 'z_sys_poweroff()' function.
3. For the MCXA series, after waking up from the deep
   power down mode, the reset handler will be executed,
   and we need to release the I/O pads and certain peripheral
   devices to normal operating mode in 'soc_reset_hook'.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
Enabled FRO16k for LPTMR when LPTMR clock source
is set to 0x1.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
This commit enabled poweroff case for NXP MCXA series.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
@ZhaoxiangJin ZhaoxiangJin force-pushed the enable-poweroff-on-mcx branch from 52be524 to a99e520 Compare July 8, 2025 14:46
Copy link

sonarqubecloud bot commented Jul 8, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants