zephyr/drivers/regulator/Kconfig.pmic

21 lines
542 B
Plaintext

# Copyright (c) 2021, NXP
# SPDX -License-Identifier: Apache-2.0
config REGULATOR_PMIC
bool "PMIC Regulator Driver"
default y
depends on DT_HAS_REGULATOR_PMIC_ENABLED
select I2C
help
Enable the pmic regulator driver
config PMIC_REGULATOR_INIT_PRIORITY
int "Regulator Init priority"
depends on REGULATOR_PMIC
default 75
help
I2C based regulator init priority.
Must be greater than KERNEL_INIT_PRIORITY_DEVICE so I2C is initialized,
and less than SDMMC_INIT_PRIORITY, since the SDMMC driver uses an I2C
PMIC regulator