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:
Jordan Yates 2022-01-06 22:17:39 +10:00 committed by Anas Nashif
commit ccdc009077
6 changed files with 165 additions and 0 deletions

View 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