No description
Find a file
Julien Delayen fec01af64a power: Update Quark SE PM layer with QMSI 1.3
QMSI 1.3 natively supports restoring the SoC and peripherals
after sleep.

The Zephyr Power Management shim layer is updated
in order to support QMSI functions.

The following functions have been added:
void _sys_soc_set_power_state(enum power_state);
void _sys_soc_power_state_post_ops(void);

In order to fully support deep sleep, the function
_sys_soc_set_power_state now support saving and
restoring CPU context and returns to the application.

_sys_soc_set_power_state function also abstracts
QMSI cpu states and enable the application to choose
between C1/C2 or C2LP states.

The QMSI power states are mapped as follows:
SYS_SOC_POWER_STATE_CPU_LPS -> power_cpu_c2lp
SYS_SOC_POWER_STATE_CPU_LPS_1 -> power_cpu_c2
SYS_SOC_POWER_STATE_CPU_LPS_2 -> power_cpu_c1
SYS_SOC_POWER_STATE_DEEP_SLEEP -> power_soc_deep_sleep
SYS_SOC_POWER_STATE_DEEP_SLEEP_1 -> power_soc_sleep

The following functions have been removed:
void _sys_soc_set_power_policy(uint32_t pm_policy);
int _sys_soc_get_power_policy(void);
FUNC_NORETURN void _sys_soc_put_deep_sleep(void);
void _sys_soc_put_low_power_state(void);
void _sys_soc_deep_sleep_post_ops(void);

Those changes are propagated to the samples.
All calls to QMSI are removed.

Jira: ZEP-1045, ZEP-993, ZEP-1047

Change-Id: I26822727985b63be0a310cc3590a3e71b8e72c8c
Signed-off-by: Julien Delayen <julien.delayen@intel.com>
Signed-off-by: Ramesh Thomas <ramesh.thomas@intel.com>
2016-11-03 21:31:30 +00:00
.known-issues known-issues: update rule for TCF summary line 2016-09-16 11:31:27 -07:00
arch power: Update Quark SE PM layer with QMSI 1.3 2016-11-03 21:31:30 +00:00
boards stm32f4: Adapt CONFIG_SOC to STM32Cube values 2016-11-03 20:29:06 +00:00
doc unified/doc: Update Application Development Primer 2016-11-03 20:27:38 +00:00
drivers rtc_qmsi: Add get_pending_int API 2016-11-03 21:30:21 +00:00
ext stm32f1: Enable STM32Cube SDK support on stm32f1 family 2016-11-03 20:29:07 +00:00
include power: Update Quark SE PM layer with QMSI 1.3 2016-11-03 21:31:30 +00:00
kernel power: Update Quark SE PM layer with QMSI 1.3 2016-11-03 21:31:30 +00:00
lib iot/zoap: Add support for block sized transfers 2016-10-25 12:56:51 +00:00
misc console: shell: Support multiple modules 2016-11-02 00:23:18 +00:00
net Bluetooth: L2CAP: Add security check for LE CoC 2016-11-01 21:40:39 +02:00
samples power: Update Quark SE PM layer with QMSI 1.3 2016-11-03 21:31:30 +00:00
scripts sanitycheck: enable missing ARM platforms 2016-11-03 19:20:20 +00:00
subsys usb: move usb subsystem to subsys/usb and cleanup header inclusion 2016-10-31 19:21:42 +00:00
tests power: Update Quark SE PM layer with QMSI 1.3 2016-11-03 21:31:30 +00:00
.checkpatch.conf checkpatch: do not check for min_t/max_t 2016-09-13 17:12:55 -04:00
.gitattributes First commit 2015-04-10 16:44:37 -07:00
.gitignore testcases: instruct git to ignore *log and outdir-* 2016-06-14 22:01:34 +00:00
.gitreview Add a .gitreview file 2016-02-20 14:25:01 +00:00
.mailmap mailmap: update with new emails 2016-10-07 16:15:24 +00:00
defaults.tc testcases: catch 'Fatal essential task error" messages 2016-10-31 12:57:28 +00:00
Kbuild unified/build: adapt Kbuild for unified kernel 2016-09-13 17:12:55 -04:00
Kconfig kconfig: Do not put architecture in the title 2016-03-14 16:50:51 -04:00
Kconfig.zephyr usb: move usb subsystem to subsys/usb and cleanup header inclusion 2016-10-31 19:21:42 +00:00
LICENSE add top level Apache 2.0 license file 2016-02-05 20:24:37 -05:00
MAINTAINERS usb: move usb subsystem to subsys/usb and cleanup header inclusion 2016-10-31 19:21:42 +00:00
Makefile usb: move usb subsystem to subsys/usb and cleanup header inclusion 2016-10-31 19:21:42 +00:00
Makefile.inc board: organize boards based on architecture 2016-10-24 19:59:42 +00:00
zephyr-env.sh win-build: corrects scripts_path for windows build. 2016-10-15 15:09:54 +00:00