Skip to content
Commit 4104bbfb authored by Ramesh Thomas's avatar Ramesh Thomas Committed by Anas Nashif
Browse files

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: default avatarRamesh Thomas <ramesh.thomas@intel.com>
Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent bb19e6f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment