zephyr/drivers/regulator/Kconfig.gpio
Mykola Kvach 5a87252c53 drivers: regulator: add regulator-gpio driver
Add basic support of 'regulator-gpio'. For now, it is support
only controling voltage and driver presents only six functions:
  * enable and disable the regulator;
  * set and get voltage;
  * count and list of voltage(s).

Signed-off-by: Mykola Kvach <mykola_kvach@epam.com>
2023-08-21 10:55:26 +02:00

21 lines
410 B
Plaintext

# Copyright 2023 EPAM Systems
# SPDX-License-Identifier: Apache-2.0
config REGULATOR_GPIO
bool "GPIO-controlled regulators"
default y
depends on DT_HAS_REGULATOR_GPIO_ENABLED
select GPIO
help
Enable the driver for GPIO-controlled regulators
if REGULATOR_GPIO
config REGULATOR_GPIO_INIT_PRIORITY
int "Init priority"
default 75
help
Device driver initialization priority
endif # REGULATOR_GPIO