zephyr/samples/power/power_hooks
Ramesh Thomas 4104bbfb08 power_mgmt: Add device power management support
Added device power management hook infrastructure. Added
DEVICE_INIT_PM and SYS_INIT_PM macros that creates device
structures with the supplied device_ops structure containing
the hooks.

Added example support in gpio_dw driver.  Updated the sample
app and tested using LPS and Device Suspend Only policies.

Change-Id: I2fe347f8d8fd1041d8318e02738990deb8c5d68e
Signed-off-by: Ramesh Thomas <ramesh.thomas@intel.com>
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-03-26 14:35:11 -04:00
..
src power_mgmt: Make names consistent with new RFC 2016-03-26 14:35:11 -04:00
Makefile adv_power:Power management hooks template app 2016-02-12 11:21:01 -08:00
README.txt adv_power:Power management hooks template app 2016-02-12 11:21:01 -08:00
prj.conf power_mgmt: Add device power management support 2016-03-26 14:35:11 -04:00
prj.mdef adv_power:Power management hooks template app 2016-02-12 11:21:01 -08:00
testcase.ini adv_power:Power management hooks template app 2016-02-12 11:21:01 -08:00

README.txt

Title: Power management hooks template

Description:

A template app that defines the power management hooks and
enables the power management related CONFIG flags.  This
app will enable build testing of power management code inside
the CONFIG flags.

This project is intended only for build testing.  For running
real PM tests use other applications that are full implementations
specific to SOCs

--------------------------------------------------------------------------------

Building Project:

    make pristine && make