zephyr/include
Gerard Marull-Paretas d6ebab55f3 pm: device_runtime: add pm_device_runtime_init_suspended
By default device state is initialized to PM_DEVICE_STATE_ACTIVE. In
general, this makes sense because the device initialization function
will resume and configure a device, leaving it operational. However,
when device runtime PM is enabled, the device may not be resumed and the
init function will just enable device runtime PM. If that is the case,
this function can be used to set the initial device state to
PM_DEVICE_STATE_SUSPENDED.

Documentation has been updated to comment on this case, and example code
has been adjusted accordingly.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2021-12-16 10:41:04 +01:00
..
app_memory kernel: mem_domain: remove extra slash in Z_PROGBITS_SYM 2021-12-05 10:22:26 -05:00
arch arch/xtensa: Fix cache.h include dependency 2021-12-15 16:50:11 -05:00
audio
bluetooth Bluetooth: Mesh: Fix Config/Health Client async API 2021-12-16 10:15:36 +01:00
canbus canbus: isotp: fix net_buf usage in recv function 2021-11-09 18:12:08 +02:00
console
crypto
data json: Add top-level array decoding support 2021-12-01 12:21:19 -05:00
debug debug: coredump: add xtensa coredump 2021-12-14 07:40:55 -05:00
devicetree drivers: can: remove DT_CHOSEN_ZEPHYR_CANBUS_LABEL macro 2021-11-09 11:19:50 +01:00
dfu
disk
display
drivers drivers: counter: Added get_freq to API 2021-12-09 19:55:17 -05:00
dt-bindings boards: arm: Add NXP i.MX8M Plus EVK board support 2021-12-15 13:15:00 -06:00
fs fs: Add FS_MOUNT_FLAG_USE_DISK_ACCESS flag 2021-12-06 08:08:26 -05:00
ipc ipc_service: Extend RPMsg structs and misc fixes 2021-11-22 23:03:23 -05:00
kernel kernel: add 'static' keyword to select routines 2021-12-13 17:21:58 -05:00
linker linker: remove unused usb_data data section in RAM 2021-12-10 07:22:15 -06:00
logging zephyr: fix errors when building with -Wundef 2021-12-14 11:47:13 -06:00
lorawan
mgmt mgmt/mcumgr: Correct packet length information 2021-11-30 11:44:26 +01:00
modbus
multi_heap multi_heap: Introduce shared multi-heap memory pool manager 2021-10-12 07:44:46 -04:00
net stats: i2c: I2C stats 2021-12-04 07:22:56 -05:00
pm pm: device_runtime: add pm_device_runtime_init_suspended 2021-12-16 10:41:04 +01:00
portability lib/os: bitarray: introduce SYS_BITARRAY_DEFINE_STATIC() 2021-11-24 14:22:23 -05:00
posix posix: semaphore: use ZRESTRICT 2021-11-05 13:29:31 +01:00
random
settings
shell shell: do not alias atomic_t 2021-11-17 12:25:10 +01:00
stats stats: i2c: I2C stats 2021-12-04 07:22:56 -05:00
storage storage/flash_map: Add FLASH_AREA_DEVICE macro 2021-11-06 21:37:47 -04:00
sys sys: cbprintf: Fix unused arg warning 2021-12-14 11:47:13 -06:00
task_wdt task_wdt: fix silent init failures 2021-10-01 15:21:32 +02:00
timing
toolchain include: Add a macro to check pointer alignment 2021-12-10 14:08:59 +01:00
tracing docs: Adds syscall tracing to tracing docs 2021-12-15 16:51:31 -05:00
usb include: usb: add iterable section in ram for usb_cfg_data 2021-12-10 07:22:15 -06:00
xen xenvm: drivers: serial: add interrupt-driven API for Xen PV console 2021-12-07 12:15:38 -05:00
zephyr
cache.h
device.h stats: i2c: I2C stats 2021-12-04 07:22:56 -05:00
devicetree.h devicetree: fix DT_FOREACH_STATUS_OKAY brief 2021-12-07 09:26:45 -06:00
ec_host_cmd.h
emul.h
exc_handle.h
fatal.h fatal: fix missing extern "C" 2021-12-14 11:47:13 -06:00
init.h
irq_nextlevel.h
irq_offload.h
irq.h
kernel_includes.h
kernel_structs.h kernel/sched: Separate idle from app thread stats in THREAD_USAGE 2021-11-08 21:32:20 -05:00
kernel_version.h
kernel.h kernel: Bring back object tracking 2021-12-14 07:42:31 -05:00
ptp_clock.h
shared_irq.h
smf.h lib: smf: Add State Machine Framework 2021-10-04 20:33:11 -04:00
spinlock.h
sw_isr_table.h
sys_clock.h
syscall_handler.h
syscall.h
timeout_q.h
toolchain.h
wait_q.h
zephyr.h