zephyr/drivers/regulator/Kconfig
Martin Kiepfer 09da4cf89d driver: regulator: Add support for AXP192 power management IC
AXP192 is a small and simple power management IC featuring different
LDOs, DCDCs, AINs and also GPIOs. It also offers functionaltiy for
battery management.
This change includes the basic regulator driver functionaltiy for
LDO2-3 and DCDC1-3 as well as the mfd driver layer. Further drivers
for GPIO and ADC will follow.
Drivers have been developed and tested on M5StackCore2, an ESP32-based
board. Support for M5StackCore2 is still in progress.

Signed-off-by: Martin Kiepfer <mrmarteng@teleschirm.org>
2023-07-19 09:52:15 +00:00

41 lines
1.1 KiB
Plaintext

# Copyright 2020 Peter Bigot Consulting, LLC
# SPDX-License-Identifier: Apache-2.0
menuconfig REGULATOR
bool "Regulator drivers"
help
Include drivers for current/voltage regulators in system config
if REGULATOR
config REGULATOR_THREAD_SAFE_REFCNT
bool "Thread-safe reference counting"
depends on MULTITHREADING
default y
help
When enabled, regulator reference counting is thread-safe.
config REGULATOR_SHELL
bool "Regulator shell"
default y
depends on SHELL
help
Enable regulator shell framework, for interacting with regulators via
the shell interface
module = REGULATOR
module-str = regulator
source "subsys/logging/Kconfig.template.log_config"
source "drivers/regulator/Kconfig.axp192"
source "drivers/regulator/Kconfig.adp5360"
source "drivers/regulator/Kconfig.fake"
source "drivers/regulator/Kconfig.fixed"
source "drivers/regulator/Kconfig.npm1100"
source "drivers/regulator/Kconfig.npm1300"
source "drivers/regulator/Kconfig.npm6001"
source "drivers/regulator/Kconfig.pca9420"
source "drivers/regulator/Kconfig.rpi_pico"
endif # REGULATOR