zephyr/subsys
Piotr Zięcik c45961daae power: Rework OS <-> Application interface
This commit simplifies OS <-> Application interface controlling power
management. In the previous approach application-based PM required
overriding sys_suspend() and sys_resume() functions. As these functions
actually implemented power state change, in such case application
basically had to provide own implementation of all PM-related stuff,
which was not portable and hard to maintain.

This commit changes this scheme: The sys_suspend() and sys_resume()
are now system functions while the application could either use
built-in power management policies or provide its own. All details
of power mode switching are now handled by the OS.

Also, this commit cleans up the Kconfig options related to system-level
power management grouping them under common CONFIG_SYS_PM_ prefix.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
2019-02-19 13:25:36 -05:00
..
app_memory app_shmem: overhaul partition specification 2019-02-08 07:04:30 -05:00
bluetooth bluetooth: controller: Static mem_pdu_rx, remove PDU_RX_SIZE_MIN 2019-02-19 10:34:48 +01:00
console console: Remove CONFIG_WEBSOCKET_CONSOLE code 2019-02-11 22:29:58 -05:00
cpp
debug debug: Place Kconfig tracing options in debug submenu 2019-02-14 10:29:06 -05:00
dfu dfu: mcuboot: rename boot_swap_type> mcuboot_swap_type 2019-02-19 09:32:02 +01:00
disk include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
fb cfb: increase maximum resolution of the framebuffer 2019-02-02 09:04:05 -05:00
fs include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
jwt jwt: Add JSON web token library 2019-02-08 15:32:58 -06:00
logging include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
mgmt shell: removing legacy shell 2019-01-16 21:35:36 -05:00
net net: if: Start index numbering from 1 2019-02-18 15:10:54 -05:00
power power: Rework OS <-> Application interface 2019-02-19 13:25:36 -05:00
random
settings include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
shell shell: allow commands to suspend shell thread 2019-02-14 13:40:28 +01:00
stats
storage storage: flash_map: fix copyright assignment 2019-02-11 20:40:47 -06:00
usb usb/net: fix ECM driver in composite mode 2019-02-19 11:26:47 -05:00
CMakeLists.txt jwt: Add JSON web token library 2019-02-08 15:32:58 -06:00
Kconfig power: Rework OS <-> Application interface 2019-02-19 13:25:36 -05:00