drivers: power_domain: gpio controlled domain
Initial implementation of a simple GPIO controlled power domain. It exposes no API of its own, all functionality is contained inside the runtime power management callbacks. Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
This commit is contained in:
parent
7101899328
commit
ccdc009077
6 changed files with 165 additions and 0 deletions
15
drivers/power_domain/Kconfig
Normal file
15
drivers/power_domain/Kconfig
Normal file
|
@ -0,0 +1,15 @@
|
|||
# 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
|
||||
|
||||
endif
|
Loading…
Add table
Add a link
Reference in a new issue