Hi All,
I am working on imx8qm-mek board with Android 9 Automotive. I needs to configure the power key as a wake-up source in M4 MCU (SDK_MEK-MIMX8QM, 2.5.1)
in fsl-imx8qm-device.dtsi file,
sc_pwrkey: sc-powerkey {
compatible = "fsl,imx8-pwrkey";
linux,keycode = <KEY_POWER>;
wakeup-source;
};
Is there anyway to configure power key button as a wake up source in M4 MCU ?
Thanks & Regards,
VinothS,
Hi VinothS
one can look at wake examples in M4 SDK_MEK-MIMX8QM /power_mode_switch/../power_mode_switch.c
Welcome | MCUXpresso SDK Builder
and try to reconfigure it in the same manner, may be useful:
https://community.nxp.com/docs/DOC-341481
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------