mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-07 00:45:21 +00:00
Add support for nPM1304 in the npm13xx drivers. The nPM1304 supports different voltage and current ranges which are handled through the initialization macros. Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
20 lines
540 B
Plaintext
20 lines
540 B
Plaintext
# Copyright (c) 2023 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config GPIO_NPM13XX
|
|
bool "nPM13xx GPIO driver"
|
|
default y
|
|
depends on DT_HAS_NORDIC_NPM1300_GPIO_ENABLED || DT_HAS_NORDIC_NPM1304_GPIO_ENABLED
|
|
select I2C
|
|
select MFD
|
|
help
|
|
Enable the nPM13xx GPIO driver.
|
|
|
|
config GPIO_NPM13XX_INIT_PRIORITY
|
|
int "nPM13xx GPIO driver initialization priority"
|
|
depends on GPIO_NPM13XX
|
|
default 85
|
|
help
|
|
Initialization priority for the nPM13xx GPIO driver. It must be
|
|
greater than the I2C controller init priority.
|