zephyr/drivers/regulator/Kconfig.npm1300
Andy Sinclair 5e6f82c872 drivers: regulator: npm1300: Now uses MFD register access functions
Local register read/write functions have been removed and replaced
with calls to the new MFD functions.

Signed-off-by: Andy Sinclair <andy.sinclair@nordicsemi.no>
2023-06-19 11:02:58 +02:00

29 lines
794 B
Text

# Copyright (c) 2023 Nordic Semiconductor ASA
# SPDX -License-Identifier: Apache-2.0
config REGULATOR_NPM1300
bool "nPM1300 PMIC regulator driver"
default y
depends on DT_HAS_NORDIC_NPM1300_REGULATOR_ENABLED
select I2C
select MFD
help
Enable the Nordic nPM1300 PMIC regulator driver
if REGULATOR_NPM1300
config REGULATOR_NPM1300_COMMON_INIT_PRIORITY
int "nPM1300 regulator driver init priority (common part)"
default 75
help
Init priority for the Nordic nPM1300 regulator driver (common part).
It must be greater than I2C init priority.
config REGULATOR_NPM1300_INIT_PRIORITY
int "nPM1300 regulator driver init priority"
default 76
help
Init priority for the Nordic nPM1300 regulator driver. It must be
greater than REGULATOR_NPM1300_COMMON_INIT_PRIORITY.
endif