How to disable sleep mode using AXP209 PMU ?



Recommended Posts



I'm trying to run with a PREEMPT_RT kernel to get a real-time (lowest latency as possible) performance. 

But in addition to the PREEMPT_RT patch, I want to make sure the system doesn't go to sleep (or using power save modes) to avoid additional wake-ups latencies (that the PREEMPT_RT patch cannot reduce).

I've reviewed the AXP209 datasheet and tried to understand if I can somehow disable the system from going to sleep, but I didn't find the answer for that. I do know that register 0x31 can control the entrance to sleep mode if we write '1' to bit-3, but I can't prevent other drivers or applications from doing it.



Is there a way to disable the option to control the sleep-mode ?



Link to post
Share on other sites

Armbian is a community driven open source project. Do you like to contribute your code?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.