zephyr/tests/subsys
Gerard Marull-Paretas a650c6c554 pm: policy: allow multiple subscribers to latency changes
Current API allowed to get notified when the maximum system latency
changes, however, a single callback was allowed. The design was intended
for SoC specific actions when latency changes. However, in some cases
drivers may also want to know the current maximum latency to perform
local actions if other parts of the system modify it.

This patch updates the API with a pair of subscribe/unsubscribe calls to
achieve such goal. Tests have been updated to show how the API can be
used.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-08-03 11:19:17 +02:00
..
canbus/isotp test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
cpp test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
debug test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
dfu test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
edac test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
fs test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
ipc/ipc_service test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
jwt test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
logging test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
mgmt test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
modbus test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
openthread test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
pm pm: policy: allow multiple subscribers to latency changes 2022-08-03 11:19:17 +02:00
portability test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
rtio/rtio_api test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
sd/sdmmc test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
settings tests/settings/fcb: Pick flash parameters from flash area device 2022-08-03 05:01:30 +01:00
shell tests: subsys: shell: move shell to new ztest API 2022-08-03 11:19:08 +02:00
storage test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
tracing/tracing_api test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
usb test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00