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>
This commit is contained in:
parent
31ad7e2bd4
commit
d1ab0f6b6e
2 changed files with 20 additions and 1 deletions
|
@ -11,5 +11,6 @@ if POWER_DOMAIN
|
|||
config POWER_DOMAIN_GPIO
|
||||
bool "GPIO controlled power domain"
|
||||
depends on GPIO
|
||||
depends on TIMEOUT_64BIT
|
||||
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue