commit | 0b13b44a662a1baadd4ed370441fbe8a74b4d531 | [log] [tgz] |
---|---|---|
author | Flavio Ceolin <flavio.ceolin@intel.com> | Wed Jan 05 17:19:53 2022 -0800 |
committer | Marti Bolivar <marti.bolivar@nordicsemi.no> | Mon Apr 18 17:25:01 2022 -0700 |
tree | e7b5569d289711c1f97d18a0034df2716988d064 | |
parent | b2d3fdcefffa7510c2f586f9785e7ac3f6b02034 [diff] |
pm: device: Dynamically add a device to a power domain Add API to add devices to a power domain in runtime. The number of devices that can be added is defined in build time. The script gen_handles.py will check the number defined in `CONFIG_PM_DEVICE_POWER_DOMAIN_DYNAMIC` to resize the handles vector, adding empty slots in the supported sector to be used later. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>