mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-28 11:25:21 +00:00
Add gpio driver for npm2100 pmic. Signed-off-by: Audun Korneliussen <audun.korneliussen@nordicsemi.no>
20 lines
502 B
Plaintext
20 lines
502 B
Plaintext
# Copyright (c) 2024 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config GPIO_NPM2100
|
|
bool "nPM2100 GPIO driver"
|
|
default y
|
|
depends on DT_HAS_NORDIC_NPM2100_GPIO_ENABLED
|
|
select I2C
|
|
select MFD
|
|
help
|
|
Enable the nPM2100 GPIO driver.
|
|
|
|
config GPIO_NPM2100_INIT_PRIORITY
|
|
int "nPM2100 GPIO driver initialization priority"
|
|
depends on GPIO_NPM2100
|
|
default 80
|
|
help
|
|
Initialization priority for the nPM2100 GPIO driver. It must be
|
|
greater than the I2C controller init priority.
|