1# Copyright 2020 Peter Bigot Consulting, LLC
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig REGULATOR
5	bool "Regulator drivers"
6	help
7	  Include drivers for current/voltage regulators in system config
8
9if REGULATOR
10
11config REGULATOR_THREAD_SAFE_REFCNT
12	bool "Thread-safe reference counting"
13	depends on MULTITHREADING
14	default y
15	help
16	  When enabled, regulator reference counting is thread-safe.
17
18config REGULATOR_SHELL
19	bool "Regulator shell"
20	default y
21	depends on SHELL
22	help
23	  Enable regulator shell framework, for interacting with regulators via
24	  the shell interface
25
26module = REGULATOR
27module-str = regulator
28source "subsys/logging/Kconfig.template.log_config"
29
30source "drivers/regulator/Kconfig.axp192"
31source "drivers/regulator/Kconfig.adp5360"
32source "drivers/regulator/Kconfig.fake"
33source "drivers/regulator/Kconfig.fixed"
34source "drivers/regulator/Kconfig.gpio"
35source "drivers/regulator/Kconfig.npm1100"
36source "drivers/regulator/Kconfig.npm1300"
37source "drivers/regulator/Kconfig.npm6001"
38source "drivers/regulator/Kconfig.pca9420"
39source "drivers/regulator/Kconfig.rpi_pico"
40source "drivers/regulator/Kconfig.nxp_vref"
41
42endif # REGULATOR
43