drivers: gnss: nmea_generic: implement basic power management
As of now only the resume action is supported, and doesn't perform any power action on the GNSS modem. It allows to initialize the GNSS driver later than it would otherwise be. Also, the driver now runs a modem-specific chat script on resumption. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
This commit is contained in:
parent
a986905df5
commit
21efdc23c9
2 changed files with 43 additions and 4 deletions
|
@ -159,6 +159,14 @@ Flash
|
|||
General Purpose I/O (GPIO)
|
||||
==========================
|
||||
|
||||
GNSS
|
||||
====
|
||||
|
||||
* Basic power management support has been added to the ``gnss-nmea-generic`` driver.
|
||||
If ``CONFIG_PM_DEVICE=y`` the driver is now initialized in suspended mode and the
|
||||
application needs to call :c:func:`pm_device_action_run` with :c:macro:`PM_DEVICE_ACTION_RESUME`
|
||||
to start up the driver.
|
||||
|
||||
Input
|
||||
=====
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue