Add binding, include header, and driver for NXP VREF IP block. NXP VREF is an internal voltage reference generator on some SOCs that fits well with the regulator API in zephyr. Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
# 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.gpio"
|
|
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"
|
|
source "drivers/regulator/Kconfig.nxp_vref"
|
|
|
|
endif # REGULATOR
|