Skip to content

Conversation

nxf58150
Copy link
Contributor

@nxf58150 nxf58150 commented Jun 24, 2025

Added wlan wakeup pin in MIMXRT1060-EVK dts file. This WLAN wakeup support is for IW610 and MIMXRT1060-EVK acts as host. Add wakeup pin configuration when doing device related initialization.

Copy link

github-actions bot commented Jun 24, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_nxp zephyrproject-rtos/hal_nxp@fc66564 zephyrproject-rtos/hal_nxp#566 zephyrproject-rtos/hal_nxp#566/files

DNM label due to: 1 project with PR revision

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@github-actions github-actions bot added manifest manifest-hal_nxp DNM (manifest) This PR should not be merged (controlled by action-manifest) labels Jun 24, 2025
@butok
Copy link
Contributor

butok commented Jun 24, 2025

Please use correct board name MMXRT1060-EVK instead of EVKC1060 in the PR name & description.

@nxf58150 nxf58150 changed the title drivers: wifi: Add WLAN wakeup for EVKC1060 drivers: wifi: Add WLAN wakeup for MIMXRT1060-EVK Jun 24, 2025
@nxf58150
Copy link
Contributor Author

Please use correct board name MMXRT1060-EVK instead of EVKC1060 in the PR name & description.

Updated. Thanks!

Comment on lines +1997 to +2024
static void gpio_wakeup_callback(const struct device *port, struct gpio_callback *cb,
gpio_port_pins_t pins)
{
/* TODO: Reserved for future use. */
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is causing a build failure in twister testing of the PR for not being used

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compiler flag for IW610 added to fix it. Thanks!

@nxf58150 nxf58150 force-pushed the huibai_upstream branch 2 times, most recently from 48ff7da to b3ca380 Compare June 25, 2025 05:42
@github-actions github-actions bot added the area: Shields Shields (add-on boards) label Jun 25, 2025
Copy link

sonarqubecloud bot commented Jul 8, 2025

irq_enable(IMU_WAKEUP_IRQ_N);
#if (DT_INST_PROP(0, wakeup_source))
EnableDeepSleepIRQ(IMU_IRQ_N);
#endif
#endif
#else
#ifdef CONFIG_PM_DEVICE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it need to add #ifdef CONFIG_NXP_IW610 here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated. Thanks! Hopefully the wakeup_gpios can be used for all wifi chips with OOB wakeup, except for RW610.

@nxf58150 nxf58150 force-pushed the huibai_upstream branch 2 times, most recently from 9925354 to fcbd8e3 Compare August 18, 2025 06:30
Added wlan wakeup pin in IW610 overlay file. This WLAN wakeup
support is for IW610 and MIMXRT1060-EVK acts as host. Add wakeup
pin configuration when doing device related initialization.

Signed-off-by: Hui Bai <[email protected]>
Copy link

sonarqubecloud bot commented Sep 1, 2025

@nxf58150
Copy link
Contributor Author

nxf58150 commented Sep 1, 2025

Hi @mmahadevan108
Please help review this PR. The downstream PR is already merged. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking area: Samples Samples area: Shields Shields (add-on boards) area: Wi-Fi Wi-Fi DNM (manifest) This PR should not be merged (controlled by action-manifest) manifest manifest-hal_nxp platform: NXP Drivers NXP Semiconductors, drivers platform: NXP NXP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants