8c73db666c
While nPM1100 is to be operated in fixed configuration for some applications, it has some degree of configuration via GPIOs. For example, mode (auto/PWM) can be configured via MODE pin. VBUS current can also be adjusted using ISET pin, even though there is no API yet to limit the PMIC input current. This patch adds a new regulator class driver for nPM1100 PMIC, so that it can be used with the standard regulator API when needed. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
17 lines
476 B
Plaintext
17 lines
476 B
Plaintext
# Copyright (c) 2023 Nordic Semiconductor ASA
|
|
# SPDX -License-Identifier: Apache-2.0
|
|
|
|
config REGULATOR_NPM1100
|
|
bool "nPM1100 PMIC regulator driver"
|
|
default y
|
|
depends on DT_HAS_NORDIC_NPM1100_ENABLED
|
|
help
|
|
Enable the Nordic nPM1100 PMIC regulator driver
|
|
|
|
config REGULATOR_NPM1100_INIT_PRIORITY
|
|
int "nPM1100 regulator driver init priority"
|
|
default KERNEL_INIT_PRIORITY_DEVICE
|
|
depends on REGULATOR_NPM1100
|
|
help
|
|
Init priority for the Nordic nPM1100 regulator driver.
|