Commit Graph

13 Commits

Author SHA1 Message Date
ligd
e1622f60a6 drivers/power/pm: Use the start time of state btime) to calculate thrcnt; remove the loop whose count may be very big after the long idle 2018-11-10 07:30:23 -06:00
ligd
a02f919bec drivers/power: PM: Add timer to decrease PM level automatically 2018-08-27 13:28:48 -06:00
zhuguangqing
1bbe9baa29 drivers/pm: PM: Add PM_RESTORE to notify driver that device exit WFI so the driver could restore state. For example, WDT may stop counting before enter low power state and restore the counting agian in PM_RESTORE notification 2018-08-27 13:26:33 -06:00
zhuguangqing
7f4064e511 drivers/pm: PM: Decrease the power state in the reverse order. Since the child driver need power off before parent driver. 2018-08-27 13:22:11 -06:00
zhuguangqing
7d9787d530 drivers/power: PM: Add pm_querystate function 2018-08-27 13:18:09 -06:00
Gregory Nutt
fbaee9db34 PM: Some cosmetic updates 2016-03-27 13:37:28 -06:00
Gregory Nutt
54dbec248e PM: Add domain to all PM interfaces. Internal PM data structures now handle multiple PM domains. 2016-03-27 13:03:47 -06:00
Gregory Nutt
dea4fe5d90 PM: Add activity domain to all PM callbacks 2016-03-27 11:19:39 -06:00
Gregory Nutt
2244ed46bc nuttx/drivers: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-14 07:32:58 -06:00
Gregory Nutt
426eb61e47 Fix an error introduced in the last big set of header file renaming 2015-12-29 18:29:24 -06:00
Gregory Nutt
695a8890a6 Rename pm_internal.h to pm.h 2015-12-29 18:19:03 -06:00
patacongo
596484ea54 PM update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4982 42af7a65-404d-4744-a932-0658087f49c3
2012-07-27 00:14:38 +00:00
patacongo
5fa0189cee Create directory structures to support power-related devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4321 42af7a65-404d-4744-a932-0658087f49c3
2012-01-22 16:42:49 +00:00