The are no and special arch/board drivers.  There could be, of course, but they 
are not required by the PM subsystem.

Low-power mode is done via the PM subsystem and the regular drivers.  It is a 
subscibe/notify design.  Each regular driver registers for PM call backs and/or 
generates PM notifications.  The relevant calls are prototyped in 
include/nuttx/power/pm.h.

The high level, coordinating logic is in drivers/power/pm.

Example usage is in architectures whose drivers call pm_register().  That sets 
up the driver to receive PM event notifications.

Some older references:

https://cwiki.apache.org/confluence/display/NUTTX/Power+Management+-+Final+Report
https://cwiki.apache.org/confluence/display/NUTTX/Porting+Guide#pwrmgmt

And probably others in the old Wiki (that predate Apache NuttX).


________________________________
From: Tim Hardisty <[email protected]>
Sent: Saturday, October 11, 2025 3:00 AM
To: [email protected] <[email protected]>
Subject: low power mode drivers?

Hello all.

I want to put a SAMA5D2 processor into low power modes via a software
function call. I have found some Microchip App Notes but they either
refer to Linux or have pseudo code for bare-metal, but I sort of
understand what the functions will need to do.

Can someone point me to where in NuttX such arch/board drivers should
live and/or the methodology/template/whatever to use? Then I can find a
board or arch I can use as a reference.

Probably staring me in the face but can't see anything appropriate as yet!

Thanks!

Reply via email to