Skip to content

Conversation

decsny
Copy link
Member

@decsny decsny commented Oct 17, 2025

The driver should not take the whole interface down and re-initialize on every low power entry and exit. This is a lot of latency for no real gain as far as I can tell. We can just do as the reference manual actually says which is to set the sleep enable bit to put the module to sleep while still being able to detect magic packets for wake on LAN.

Also, the only platform that this power action was "enabled" for was kinetis, but that platform does not have any power management enabled in Zephyr. Which means this code was never getting called even with all the PM configs on. So basically this code is dead code. But it could be useful for other platform, such as RT, so there's no reason not to remove the dependency on kinetis and let it be used for any of the platform as long as PM_DEVICE is enabled (hence the imply).

Resolves #69284

The driver should not take the whole interface down and re-initialize on
every low power entry and exit. This is a lot of latency for no real gain
as far as I can tell. We can just do as the reference manual actually says
which is to set the sleep enable bit to put the module to sleep while still
being able to detect magic packets for wake on LAN.

Also, the only platform that this power action was "enabled" for was
kinetis, but that platform does not have any power management enabled in
Zephyr.  Which means this code was never getting called even with all the
PM configs on.  So basically this code is dead code. But it could be useful
for other platform, such as RT, so there's no reason not to remove the
dependency on kinetis and let it be used for any of the platform as long as
PM_DEVICE is enabled (hence the imply).

Signed-off-by: Declan Snyder <[email protected]>
Copy link

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.

eth_mcux: PM_DEVICE in the ethernet driver on the RT series

6 participants