linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* osd3358 and "poweroff"
@ 2020-09-09 14:38 H. Nikolaus Schaller
  0 siblings, 0 replies; only message in thread
From: H. Nikolaus Schaller @ 2020-09-09 14:38 UTC (permalink / raw)
  To: beagleboard; +Cc: Tony Lindgren, Linux-OMAP

Hi,
I have a custom board based on osd3358 and a little trouble getting the
"poweroff" command work as expected.

The device tree is almost the same as am335x-pocketbeagle.dts and I am running a v5.9-rc4 kernel.
Therefore,

&rtc {
	system-power-controller;
};

is defined.

The board is powered through USB (haven't tried other options).

"poweroff" results in:

...
[info] Hardware Clock updated to Wed Sep  9 14:31:56 UTC 2020.
[ ok ] Deactivating swap...done.
[  200.324307] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[info] Will now halt.
[  202.548073] reboot: Power down

After that, the gpio-led showing cpu activity trigger goes off for a moment
but after that it is flickering as if there is still CPU activity with some
1 second modulation.

Pressing the reset button immediately reboots.

So this means that "poweroff" does not shut down the PMIC and the processor
is still idling.

Pressing the power button for 10 seconds does a forced shutdown and the
reset button is without significance.

And hints how to make "poweroff" work are welcome.

BR and thanks,
Nikolaus Schaller




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-09 16:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09 14:38 osd3358 and "poweroff" H. Nikolaus Schaller

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).