zephyr/drivers/power_domain/Kconfig
Jordan Yates d1ab0f6b6e power_domain: gpio: use on-off and startup time
Respect the configured values for how long the domain takes to turn on,
and how long the domain needs to be off for before it can be repowered.

As these actions can block, guard the transition function with
pm_device_action_can_block. To avoid system PM being able to turn the
domain off but not back on again, guard the entire implementation.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2022-05-06 11:33:10 +02:00

16 lines
311 B
Text

# Copyright (c) 2022, CSIRO.
# SPDX-License-Identifier: Apache-2.0
menuconfig POWER_DOMAIN
bool "Power domain drivers"
help
Include drivers for power domains in system config
if POWER_DOMAIN
config POWER_DOMAIN_GPIO
bool "GPIO controlled power domain"
depends on GPIO
depends on TIMEOUT_64BIT
endif