linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to power gate a specific single device from outside?
@ 2017-10-24  8:34 Waldemar Rymarkiewicz
  2017-10-24 23:56 ` Alan Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Waldemar Rymarkiewicz @ 2017-10-24  8:34 UTC (permalink / raw)
  To: linux-kernel, linux-pm

Hi

I am looking for a convenient way to power gate specific single device
when the platform is running in backup mode - the platform lost main
power supply and it's on backup buttery now. The intention is to save
max power in backup mode and switch off all unnecessary blocks.

I could not find anything standard that let me power gate single
device from userland. Perhaps it's considered as a too risky operation
to expose to the user. I don't want to touch drivers too much as well
not to make them dependant on extra system feature. Better to have a
separate module that handles this system mode and forces some drivers
to unload/power gate their HW.

Are there already some proven solutions/ideas around the kernel that
can be used straight away?

Suggestions appreciated.

/Waldek

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-10-25 19:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-24  8:34 How to power gate a specific single device from outside? Waldemar Rymarkiewicz
2017-10-24 23:56 ` Alan Cox
2017-10-25 12:15   ` Waldemar Rymarkiewicz
2017-10-25 19:42     ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).