zephyr/drivers/regulator/Kconfig.fixed
Kumar Gala 8160f052d4 drivers: regulator: Update Kconfig
* Utilize DT_HAS_<COMPAT>_ENABLED for devicetree based drivers

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-17 09:58:55 -05:00

21 lines
434 B
Plaintext

# Copyright 2020 Peter Bigot Consulting, LLC
# SPDX-License-Identifier: Apache-2.0
config REGULATOR_FIXED
bool "GPIO-controlled regulators"
default y
depends on DT_HAS_REGULATOR_FIXED_ENABLED
depends on GPIO
help
Enable the driver for GPIO-controlled regulators
if REGULATOR_FIXED
config REGULATOR_FIXED_INIT_PRIORITY
int "Init priority"
default 75
help
Device driver initialization priority
endif # REGULATOR_FIXED