zephyr/boards
Gerard Marull-Paretas 5a71eeb35c pm: policy: move constraints to policy API
The pm_constraint_* APIs were effectively used by the policy manager
only. This patch renames the API to the policy namespace and makes its
naming more explicit:

- pm_constraint_set -> pm_policy_state_lock_get()
- pm_constraint_release -> pm_policy_state_lock_put()
- pm_constraint_get -> pm_policy_state_lock_is_active()

The reason for these changes is that constraints can be of many types:
allow/disallow states, impose latency requirements, etc. The new naming
also makes explicit that the API calls will influence the PM policy
behavior.

All drivers and documentation have been updated accordingly.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-16 15:26:47 +01:00
..
arc doc: use :kconfig:option: domain role 2022-03-02 09:28:37 +01:00
arm pm: policy: move constraints to policy API 2022-03-16 15:26:47 +01:00
arm64 boards: fvp v8r: Fix the SRAM/FLASH to the right address 2022-03-16 09:19:44 -05:00
common runners: pyocd: Enable semihosting in pyOCD 2022-01-13 13:37:58 -06:00
mips boards: mips: add Qemu Malta support 2022-01-19 13:48:21 -05:00
nios2 cmake: support multiple entries in board.cmake 2021-11-12 21:33:42 -05:00
posix everywhere: fix typos 2022-03-14 20:22:24 -04:00
riscv everywhere: fix typos 2022-03-14 20:22:24 -04:00
shields boards: shields: keyestudio_can_bus_ks0411: add CAN transceiver 2022-03-15 14:32:29 -05:00
sparc cmake: support multiple entries in board.cmake 2021-11-12 21:33:42 -05:00
x86 scripts: Allow use of bash outside of /bin 2022-03-08 11:11:10 +01:00
xtensa everywhere: fix typos 2022-03-14 20:22:24 -04:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
deprecated.cmake boards: arm: bt610: Rename from bt6x0 2021-10-28 13:53:21 -04:00
index.rst boards: mips: add Qemu Malta support 2022-01-19 13:48:21 -05:00
Kconfig cmake: boards: make QEMU icount sleep parameter configurable 2021-10-28 15:26:50 +02:00