* The cleanest way to power off a board inside the kernel.
@ 2011-04-18 9:23 javier Martin
2011-04-18 9:50 ` Jan Weitzel
0 siblings, 1 reply; 2+ messages in thread
From: javier Martin @ 2011-04-18 9:23 UTC (permalink / raw)
To: linux-arm-kernel
There are some boards out there, including Beagleboard xM, which are
provided with a PMIC that is able to enable or disable power supply
for the system. The interfaces used for that purpose usually include
gpios or I2C.
What is the cleanest way, provided there are some, to tell those
circuits at the end of the power down process to cut off the power
supply of the system?
At first glance I thought there could be a board specific hook for
that purpose but I couldn't find any, just an endless loop "while
(1);" instead.
--
Javier Martin
Vista Silicon S.L.
CDTUC - FASE C - Oficina S-345
Avda de los Castros s/n
39005- Santander. Cantabria. Spain
+34 942 25 32 60
www.vista-silicon.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* The cleanest way to power off a board inside the kernel.
2011-04-18 9:23 The cleanest way to power off a board inside the kernel javier Martin
@ 2011-04-18 9:50 ` Jan Weitzel
0 siblings, 0 replies; 2+ messages in thread
From: Jan Weitzel @ 2011-04-18 9:50 UTC (permalink / raw)
To: linux-arm-kernel
Am Montag, den 18.04.2011, 11:23 +0200 schrieb javier Martin:
> There are some boards out there, including Beagleboard xM, which are
> provided with a PMIC that is able to enable or disable power supply
> for the system. The interfaces used for that purpose usually include
> gpios or I2C.
> What is the cleanest way, provided there are some, to tell those
> circuits at the end of the power down process to cut off the power
> supply of the system?
>
> At first glance I thought there could be a board specific hook for
> that purpose but I couldn't find any, just an endless loop "while
> (1);" instead.
Look for pm_power_off. It's a function pointer to optional machine
specific functions
.
Regards, Jan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-18 9:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-18 9:23 The cleanest way to power off a board inside the kernel javier Martin
2011-04-18 9:50 ` Jan Weitzel
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).