drivers: regulator: add GPIO-controlled regulator driver

This provides structure for the regulator device hierarchy and a
driver for GPIO-controlled regulators along with its binding.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
This commit is contained in:
Peter A. Bigot 2020-08-03 12:07:16 -05:00 committed by Carles Cufí
commit f951566e56
8 changed files with 489 additions and 0 deletions

View file

@ -0,0 +1,6 @@
# Copyright 2020 Peter Bigot Consulting, LLC
# SPDX-License-Identifier: Apache-2.0
zephyr_library()
zephyr_library_sources_ifdef(CONFIG_REGULATOR_FIXED regulator_fixed.c)