Skip to content

Automatic wake-up from system-level sleep modes #14306

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

Closed
2 tasks
pizi-nordic opened this issue Mar 12, 2019 · 3 comments
Closed
2 tasks

Automatic wake-up from system-level sleep modes #14306

pizi-nordic opened this issue Mar 12, 2019 · 3 comments
Assignees
Labels
area: Power Management Enhancement Changes/Updates/Additions to existing features

Comments

@pizi-nordic
Copy link
Collaborator

pizi-nordic commented Mar 12, 2019

At the moment, the system-level power management assumes that system timer is always able trigger exit from sleep modes. Unfortunately this is not true for most of the SoCs. Only few dedicated peripherals could wake-up the system from most of the sleep modes and options are even more limited for deep-sleep modes where many SoCs need external device for wake-up.

Things needed:

  • API allowing to assign a counter device (RTC/Timer) which will be used to wake-up source from given power mode(s).
  • Ability to switch system clock device to the one selected for given power mode at suspend and restoring it back to the default on resume (Use counter drivers as a system clock source #12068 might help here)
@pizi-nordic pizi-nordic added the Enhancement Changes/Updates/Additions to existing features label Mar 12, 2019
@wentongwu
Copy link
Collaborator

Not only counter device can do the wakeup, it highly depends on soc design

@pizi-nordic
Copy link
Collaborator Author

Yes, but the kernel could automatically handle only timers.

@gmarull
Copy link
Member

gmarull commented May 30, 2023

Closing as obsolete, open new issue with more details if needed.

@gmarull gmarull closed this as completed May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Power Management Enhancement Changes/Updates/Additions to existing features
Projects
None yet
Development

No branches or pull requests

5 participants